dt-bindings: i2c: Convert arm,i2c-versatile to DT schema
Subsystems (3)
Rob Herring
maintainerPATCH 1/1 dt-bindings: i2c: Convert arm,i2c-versatile to DT schema
Convert the arm,i2c-versatile binding to DT schema format.
Signed-off-by Rob Herring <[email protected]>
--- .../bindings/i2c/arm,i2c-versatile.yaml | 29 +++++++++++++++++++ .../devicetree/bindings/i2c/i2c-versatile.txt | 10 ------- MAINTAINERS | 2 +- 3 files changed, 30 insertions(+), 11 deletions(-) create mode 100644 Documentation/devicetree/bindings/i2c/arm,i2c-versatile.yaml delete mode 100644 Documentation/devicetree/bindings/i2c/i2c-versatile.txt
Documentation/devicetree/bindings/i2c/arm,i2c-versatile.yaml new file +29 -0
@@ -0,0 +1,29 @@ +# SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/i2c/arm,i2c-versatile.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: I2C Controller on ARM Ltd development platforms + +maintainers: + - Linus Walleij <[email protected]> + +allOf: + - $ref: /schemas/i2c/i2c-controller.yaml# + +properties: + compatible: + const: arm,versatile-i2c + + reg: + maxItems: 1 + +required: + - compatible + - reg + +unevaluatedProperties: false + +... +
Documentation/devicetree/bindings/i2c/i2c-versatile.txt deleted +0 -10
@@ -1,10 +0,0 @@ -i2c Controller on ARM Versatile platform: - -Required properties: -- compatible : Must be "arm,versatile-i2c"; -- reg -- #address-cells = <1>; -- #size-cells = <0>; - -Optional properties: -- Child nodes conforming to i2c bus binding
MAINTAINERS +1 -1
@@ -1520,7 +1520,7 @@ F: Documentation/devicetree/bindings/arm/arm,versatile.yaml F: Documentation/devicetree/bindings/arm/arm,vexpress-juno.yaml F: Documentation/devicetree/bindings/auxdisplay/arm,versatile-lcd.yaml F: Documentation/devicetree/bindings/clock/arm,syscon-icst.yaml -F: Documentation/devicetree/bindings/i2c/i2c-versatile.txt +F: Documentation/devicetree/bindings/i2c/arn,i2c-versatile.yaml F: Documentation/devicetree/bindings/interrupt-controller/arm,versatile-fpga-irq.txt F: Documentation/devicetree/bindings/mtd/mtd-physmap.yaml F: arch/arm/boot/dts/arm-realview-*
Signature · 1 line
2.34.1
Quoted 67 lines · Rob Herring
Convert the arm,i2c-versatile binding to DT schema format.
Signed-off-by Rob Herring <[email protected]>--- .../bindings/i2c/arm,i2c-versatile.yaml | 29 +++++++++++++++++++ .../devicetree/bindings/i2c/i2c-versatile.txt | 10 ------- MAINTAINERS | 2 +- 3 files changed, 30 insertions(+), 11 deletions(-) create mode 100644 Documentation/devicetree/bindings/i2c/arm,i2c-versatile.yaml delete mode 100644 Documentation/devicetree/bindings/i2c/i2c-versatile.txtDocumentation/devicetree/bindings/i2c/arm,i2c-versatile.yaml new file +29
-0@@ -0,0 +1,29 @@ +# SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/i2c/arm,i2c-versatile.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: I2C Controller on ARM Ltd development platforms + +maintainers: + - Linus Walleij <[email protected]> + +allOf: + - $ref: /schemas/i2c/i2c-controller.yaml# + +properties: + compatible: + const: arm,versatile-i2c + + reg: + maxItems: 1 + +required: + - compatible + - reg + +unevaluatedProperties: false + +... +Documentation/devicetree/bindings/i2c/i2c-versatile.txt deleted +0
-10@@ -1,10 +0,0 @@ -i2c Controller on ARM Versatile platform: - -Required properties: -- compatible : Must be "arm,versatile-i2c"; -- reg -- #address-cells = <1>; -- #size-cells = <0>; - -Optional properties: -- Child nodes conforming to i2c bus bindingMAINTAINERS +0
-0
MAINTAINERS F: Documentation/devicetree/bindings/arm/arm,versatile.yaml · line 1523
Quoted 5 lines
MAINTAINERS +1
-1@@ -1520,7 +1520,7 @@ F: Documentation/devicetree/bindings/arm/arm,versatile.yaml F: Documentation/devicetree/bindings/arm/arm,vexpress-juno.yaml F: Documentation/devicetree/bindings/auxdisplay/arm,versatile-lcd.yaml F: Documentation/devicetree/bindings/clock/arm,syscon-icst.yaml -F: Documentation/devicetree/bindings/i2c/i2c-versatile.txt +F: Documentation/devicetree/bindings/i2c/arn,i2c-versatile.yaml
typo:
s/arn/arm/
With that:
Reviewed-by Krzysztof Kozlowski <[email protected]>
Best regards,
Krzysztof
Quoted 3 lines · Rob Herring
Convert the arm,i2c-versatile binding to DT schema format.
Signed-off-by Rob Herring <[email protected]>
Fixed typo and applied to for-next, thanks!