dt-bindings: pinctrl: Convert marvell,armada-3710-(sb|nb)-pinctrl to DT schema
Subsystems (5)
Rob Herring (Arm)
maintainerPATCH v2 1/1 dt-bindings: pinctrl: Convert marvell,armada-3710-(sb|nb)-pinctrl to DT schema
Convert the marvell,armada3710-(sb|nb)-pinctrl binding to DT schema format. The binding includes the "marvell,armada-3700-xtal-clock" subnode which is simple enough to include here.
Mark interrupt-controller/#interrupt-cells as required as the users have them and the h/w is either capable of interrupts or not.
As this syscon has 2 register ranges, syscon-common.yaml needs to be updated to drop the restriction of 1 register entry.
--- .../bindings/clock/armada3700-xtal-clock.txt | 29 --- .../bindings/mfd/syscon-common.yaml | 3 - .../pinctrl/marvell,armada-37xx-pinctrl.txt | 195 ------------------ .../marvell,armada3710-xb-pinctrl.yaml | 124 +++++++++++ 4 files changed, 124 insertions(+), 227 deletions(-) delete mode 100644 Documentation/devicetree/bindings/clock/armada3700-xtal-clock.txt delete mode 100644 Documentation/devicetree/bindings/pinctrl/marvell,armada-37xx-pinctrl.txt create mode 100644 Documentation/devicetree/bindings/pinctrl/marvell,armada3710-xb-pinctrl.yaml
Documentation/devicetree/bindings/clock/armada3700-xtal-clock.txt deleted +0 -29
@@ -1,29 +0,0 @@ -* Xtal Clock bindings for Marvell Armada 37xx SoCs - -Marvell Armada 37xx SoCs allow to determine the xtal clock frequencies by -reading the gpio latch register. - -This node must be a subnode of the node exposing the register address -of the GPIO block where the gpio latch is located. -See Documentation/devicetree/bindings/pinctrl/marvell,armada-37xx-pinctrl.txt - -Required properties: -- compatible : shall be one of the following: - "marvell,armada-3700-xtal-clock" -- #clock-cells : from common clock binding; shall be set to 0 - -Optional properties: -- clock-output-names : from common clock binding; allows overwrite default clock - output names ("xtal") - -Example: -pinctrl_nb: pinctrl-nb@13800 { - compatible = "armada3710-nb-pinctrl", "syscon", "simple-mfd"; - reg = <0x13800 0x100>, <0x13C00 0x20>; - - xtalclk: xtal-clk { - compatible = "marvell,armada-3700-xtal-clock"; - clock-output-names = "xtal"; - #clock-cells = <0>; - }; -};
Documentation/devicetree/bindings/mfd/syscon-common.yaml +0 -3
@@ -35,9 +35,6 @@ properties: minItems: 2 maxItems: 5 # Should be enough - reg: - maxItems: 1 - reg-io-width: description: The size (in bytes) of the IO accesses that should be performed
Documentation/devicetree/bindings/pinctrl/marvell,armada-37xx-pinctrl.txt deleted +0 -195
195 lines not on this page · raw message
Documentation/devicetree/bindings/pinctrl/marvell,armada3710-xb-pinctrl.yaml new file +124 -0
124 lines not on this page · raw message
Signature · 1 line
2.51.0
Quoted 11 lines · Rob Herring (Arm)
Convert the marvell,armada3710-(sb|nb)-pinctrl binding to DT schema format. The binding includes the "marvell,armada-3700-xtal-clock" subnode which is simple enough to include here.
Mark interrupt-controller/#interrupt-cells as required as the users have them and the h/w is either capable of interrupts or not.
As this syscon has 2 register ranges,
syscon-common.yamlneeds to be updated to drop the restriction of 1 register entry.Signed-off-by Rob Herring (Arm) <[email protected]>
Patch applied!
Yours,
Linus Walleij