dt-bindings: interrupt-controller: Convert aspeed,ast2400-i2c-ic to DT schema
Subsystems (5)
Device tree bindings I2C subsystem host drivers Arm/Aspeed machine support irqchip drivers +1 more subsystems
Rob Herring (Arm)
maintainerPATCH 1/1 dt-bindings: interrupt-controller: Convert aspeed,ast2400-i2c-ic to DT schema
Convert the Aspeed I2C interrupt controller binding to schema format.
Drop the "#address-cells" and "#size-cells" as they are unused and incorrect anyways.
Signed-off-by Rob Herring (Arm) <[email protected]>
--- .../aspeed,ast2400-i2c-ic.txt | 25 ---------- .../aspeed,ast2400-i2c-ic.yaml | 46 +++++++++++++++++++ MAINTAINERS | 2 +- 3 files changed, 47 insertions(+), 26 deletions(-) delete mode 100644 Documentation/devicetree/bindings/interrupt-controller/aspeed,ast2400-i2c-ic.txt create mode 100644 Documentation/devicetree/bindings/interrupt-controller/aspeed,ast2400-i2c-ic.yaml
Documentation/devicetree/bindings/interrupt-controller/aspeed,ast2400-i2c-ic.txt deleted +0 -25
@@ -1,25 +0,0 @@ -Device tree configuration for the I2C Interrupt Controller on the AST24XX and -AST25XX SoCs. - -Required Properties: -- #address-cells : should be 1 -- #size-cells : should be 1 -- #interrupt-cells : should be 1 -- compatible : should be "aspeed,ast2400-i2c-ic" - or "aspeed,ast2500-i2c-ic" -- reg : address start and range of controller -- interrupts : interrupt number -- interrupt-controller : denotes that the controller receives and fires - new interrupts for child busses - -Example: - -i2c_ic: interrupt-controller@0 { - #address-cells = <1>; - #size-cells = <1>; - #interrupt-cells = <1>; - compatible = "aspeed,ast2400-i2c-ic"; - reg = <0x0 0x40>; - interrupts = <12>; - interrupt-controller; -};
Documentation/devicetree/bindings/interrupt-controller/aspeed,ast2400-i2c-ic.yaml new file +46 -0
46 lines not on this page · raw message
MAINTAINERS +1 -1
@@ -2328,7 +2328,7 @@ L: [email protected] L: [email protected] (moderated for non-subscribers) S: Maintained F: Documentation/devicetree/bindings/i2c/aspeed,i2c.yaml -F: Documentation/devicetree/bindings/interrupt-controller/aspeed,ast2400-i2c-ic.txt +F: Documentation/devicetree/bindings/interrupt-controller/aspeed,ast2400-i2c-ic.yaml F: drivers/i2c/busses/i2c-aspeed.c F: drivers/irqchip/irq-aspeed-i2c-ic.c
Signature · 1 line
2.47.2
Quoted 6 lines · Rob Herring (Arm)
Convert the Aspeed I2C interrupt controller binding to schema format.
Drop the "#address-cells" and "#size-cells" as they are unused and incorrect anyways.
Signed-off-by Rob Herring (Arm) <[email protected]>
Reviewed-by Andrew Jeffery <[email protected]>