dt-bindings: ata: convert MediaTek controller to the json-schema
Subsystems (3)
PATCH 1/1 dt-bindings: ata: convert MediaTek controller to the json-schema
From: Rafał Miłecki <[email protected]>
This helps validating DTS files.
--- .../devicetree/bindings/ata/ahci-mtk.txt | 51 ---------- .../bindings/ata/mediatek,mtk-ahci.yaml | 98 +++++++++++++++++++ 2 files changed, 98 insertions(+), 51 deletions(-) delete mode 100644 Documentation/devicetree/bindings/ata/ahci-mtk.txt create mode 100644 Documentation/devicetree/bindings/ata/mediatek,mtk-ahci.yaml
Documentation/devicetree/bindings/ata/ahci-mtk.txt deleted +0 -51
@@ -1,51 +0,0 @@ -MediaTek Serial ATA controller - -Required properties: - - compatible : Must be "mediatek,<chip>-ahci", "mediatek,mtk-ahci". - When using "mediatek,mtk-ahci" compatible strings, you - need SoC specific ones in addition, one of: - - "mediatek,mt7622-ahci" - - reg : Physical base addresses and length of register sets. - - interrupts : Interrupt associated with the SATA device. - - interrupt-names : Associated name must be: "hostc". - - clocks : A list of phandle and clock specifier pairs, one for each - entry in clock-names. - - clock-names : Associated names must be: "ahb", "axi", "asic", "rbc", "pm". - - phys : A phandle and PHY specifier pair for the PHY port. - - phy-names : Associated name must be: "sata-phy". - - ports-implemented : See ./ahci-platform.txt for details. - -Optional properties: - - power-domains : A phandle and power domain specifier pair to the power - domain which is responsible for collapsing and restoring - power to the peripheral. - - resets : Must contain an entry for each entry in reset-names. - See ../reset/reset.txt for details. - - reset-names : Associated names must be: "axi", "sw", "reg". - - mediatek,phy-mode : A phandle to the system controller, used to enable - SATA function. - -Example: - - sata: sata@1a200000 { - compatible = "mediatek,mt7622-ahci", - "mediatek,mtk-ahci"; - reg = <0 0x1a200000 0 0x1100>; - interrupts = <GIC_SPI 233 IRQ_TYPE_LEVEL_HIGH>; - interrupt-names = "hostc"; - clocks = <&pciesys CLK_SATA_AHB_EN>, - <&pciesys CLK_SATA_AXI_EN>, - <&pciesys CLK_SATA_ASIC_EN>, - <&pciesys CLK_SATA_RBC_EN>, - <&pciesys CLK_SATA_PM_EN>; - clock-names = "ahb", "axi", "asic", "rbc", "pm"; - phys = <&u3port1 PHY_TYPE_SATA>; - phy-names = "sata-phy"; - ports-implemented = <0x1>; - power-domains = <&scpsys MT7622_POWER_DOMAIN_HIF0>; - resets = <&pciesys MT7622_SATA_AXI_BUS_RST>, - <&pciesys MT7622_SATA_PHY_SW_RST>, - <&pciesys MT7622_SATA_PHY_REG_RST>; - reset-names = "axi", "sw", "reg"; - mediatek,phy-mode = <&pciesys>; - };
Documentation/devicetree/bindings/ata/mediatek,mtk-ahci.yaml new file +98 -0
98 lines not on this page · raw message
Signature · 1 line
2.35.3
Quoted 9 lines · Rafał Miłecki
From: Rafał Miłecki <[email protected]>
This helps validating DTS files.
Signed-off-by Rafał Miłecki <[email protected]>--- .../devicetree/bindings/ata/ahci-mtk.txt | 51 ---------- .../bindings/ata/mediatek,mtk-ahci.yaml | 98 +++++++++++++++++++ 2 files changed, 98 insertions(+), 51 deletions(-)
Best regards,
Krzysztof
Niklas Cassel
maintainerQuoted 6 lines · Rafał Miłecki
From: Rafał Miłecki <[email protected]>
This helps validating DTS files.
Signed-off-by Rafał Miłecki <[email protected]>---
Hello Rob,
For device tree patches forDocumentation/devicetree/bindings/ata/
Usually, if we see your Acked-by, we queue the patch via the libata tree. (If it is part of a series, usually you take it via your tree.)
We have a R-b from Krzysztof, but no Ack from you.
Kind regards,
Niklas
Quoted 10 lines · Niklas Cassel
Quoted 6 lines · Rafał Miłecki
From: Rafał Miłecki <[email protected]>
This helps validating DTS files.
Signed-off-by Rafał Miłecki <[email protected]>---
Hello Rob,
Quoted 7 lines
For device tree patches for
Documentation/devicetree/bindings/ata/Usually, if we see your Acked-by, we queue the patch via the libata tree. (If it is part of a series, usually you take it via your tree.)
We have a R-b from Krzysztof, but no Ack from you.
You don't need Ack from Rob. Rb or Ack from one of three DT maintainers is enough. Therefore mine is enough.
Best regards,
Krzysztof
Il 13/02/24 08:47, Rafał Miłecki ha scritto:
Quoted 5 lines
From: Rafał Miłecki <[email protected]>
This helps validating DTS files.
Signed-off-by Rafał Miłecki <[email protected]>
Quoted 4 lines · Rafał Miłecki
From: Rafał Miłecki <[email protected]>
This helps validating DTS files.
Quoted 8 lines
Signed-off-by Rafał Miłecki <[email protected]>--- .../devicetree/bindings/ata/ahci-mtk.txt | 51 ---------- .../bindings/ata/mediatek,mtk-ahci.yaml | 98 +++++++++++++++++++ 2 files changed, 98 insertions(+), 51 deletions(-) delete mode 100644 Documentation/devicetree/bindings/ata/ahci-mtk.txt create mode 100644 Documentation/devicetree/bindings/ata/mediatek,mtk-ahci.yaml
Applied:
https://git.kernel.org/pub/scm/linux/kernel/git/libata/linux.git/log/?h=for-6.9