Skip to contentSkip to conversation

Start converting MVEBU bindings to YAML

PATCH Superseded Andrew Lunn 2 participants 27 messages Aug 20, 2022 – Aug 30, 2022

Subsystems (9)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

cover Start converting MVEBU bindings to YAML

This is the first batch of patches converting the Marvell MVEBU driver bindings from .txt to .yaml. So far, kirkwood has been used for testing, but these drivers apply to a range of Marvell SoCs.

In order to reduce the number of warnings from the DT schema checking tools, a few minor changes have been made to a few DT files. No actual errors have been found, the changes just make the checker quiet.

Andrew Lunn (11):
DT: RTC: orion-rtc: Convert to YAML
DT: thermal: marvell,kirkwood-thermal: Convert to YAML
DT: pinctrl: Convert marvell,kirkwood-pintctrl to YAML
DT: USB: Convert ehci-orion to YAML
DT: watchdog: Convert marvel.txt to YAML
arm: DT: kirkwood/orion5: Rename watchdog node
DT: nand-controller: Reflect reality of marvell,orion-nand
DT: mtd: Convert orion-nand to YAML
arm: DT: kirkwood.dtsi: Rename nand to nand-controller
DT: timer: Convert marvell,orion-timer.txt to YAML
DT: clock: Convert mvebu-gated-clock.txt to YAML

 .../clock/marvell,kirkwood-gating-clock.yaml  | 230 +++++++++++
 .../bindings/clock/mvebu-gated-clock.txt      | 205 ----------
 .../bindings/mtd/marvell,orion-nand.yaml      |  85 +++++
 .../bindings/mtd/nand-controller.yaml         |  17 +-
 .../devicetree/bindings/mtd/orion-nand.txt    |  50 ---
 .../pinctrl/marvell,88f6180-pinctrl.yaml      |  73 ++++
 .../pinctrl/marvell,88f6190-pinctrl.yaml      |  73 ++++
 .../pinctrl/marvell,88f6192-pinctrl.yaml      |  73 ++++
 .../pinctrl/marvell,88f6281-pinctrl.yaml      |  74 ++++
 .../pinctrl/marvell,88f6282-pinctrl.yaml      |  74 ++++
 .../pinctrl/marvell,98dx1135-pinctrl.yaml     |  72 ++++
 .../pinctrl/marvell,98dx4122-pinctrl.yaml     |  71 ++++
 .../bindings/pinctrl/marvell,ac5-pinctrl.yaml |  14 +-
 .../pinctrl/marvell,kirkwood-pinctrl.txt      | 359 ------------------
 .../bindings/rtc/marvell,orion-rtc.yaml       |  48 +++
 .../devicetree/bindings/rtc/orion-rtc.txt     |  18 -
 .../bindings/thermal/kirkwood-thermal.txt     |  15 -
 .../thermal/marvell,kirkwood-thermal.yaml     |  32 ++
 .../bindings/timer/marvell,orion-timer.txt    |  16 -
 .../bindings/timer/marvell,orion-timer.yaml   |  51 +++
 .../devicetree/bindings/usb/ehci-orion.txt    |  22 --
 .../bindings/usb/marvell,orion-ehci.yaml      |  44 +++
 .../devicetree/bindings/watchdog/marvel.txt   |  45 ---
 .../bindings/watchdog/marvell,orion-wdt.yaml  |  83 ++++
 arch/arm/boot/dts/kirkwood.dtsi               |   4 +-
 arch/arm/boot/dts/orion5x.dtsi                |   2 +-
 26 files changed, 1109 insertions(+), 741 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/clock/marvell,kirkwood-gating-clock.yaml
 delete mode 100644 Documentation/devicetree/bindings/clock/mvebu-gated-clock.txt
 create mode 100644 Documentation/devicetree/bindings/mtd/marvell,orion-nand.yaml
 delete mode 100644 Documentation/devicetree/bindings/mtd/orion-nand.txt
 create mode 100644 Documentation/devicetree/bindings/pinctrl/marvell,88f6180-pinctrl.yaml
 create mode 100644 Documentation/devicetree/bindings/pinctrl/marvell,88f6190-pinctrl.yaml
 create mode 100644 Documentation/devicetree/bindings/pinctrl/marvell,88f6192-pinctrl.yaml
 create mode 100644 Documentation/devicetree/bindings/pinctrl/marvell,88f6281-pinctrl.yaml
 create mode 100644 Documentation/devicetree/bindings/pinctrl/marvell,88f6282-pinctrl.yaml
 create mode 100644 Documentation/devicetree/bindings/pinctrl/marvell,98dx1135-pinctrl.yaml
 create mode 100644 Documentation/devicetree/bindings/pinctrl/marvell,98dx4122-pinctrl.yaml
 delete mode 100644 Documentation/devicetree/bindings/pinctrl/marvell,kirkwood-pinctrl.txt
 create mode 100644 Documentation/devicetree/bindings/rtc/marvell,orion-rtc.yaml
 delete mode 100644 Documentation/devicetree/bindings/rtc/orion-rtc.txt
 delete mode 100644 Documentation/devicetree/bindings/thermal/kirkwood-thermal.txt
 create mode 100644 Documentation/devicetree/bindings/thermal/marvell,kirkwood-thermal.yaml
 delete mode 100644 Documentation/devicetree/bindings/timer/marvell,orion-timer.txt
 create mode 100644 Documentation/devicetree/bindings/timer/marvell,orion-timer.yaml
 delete mode 100644 Documentation/devicetree/bindings/usb/ehci-orion.txt
 create mode 100644 Documentation/devicetree/bindings/usb/marvell,orion-ehci.yaml
 delete mode 100644 Documentation/devicetree/bindings/watchdog/marvel.txt
 create mode 100644 Documentation/devicetree/bindings/watchdog/marvell,orion-wdt.yaml
Signature · 1 line
2.37.2
#1 lore raw

PATCH 1/11 DT: RTC: orion-rtc: Convert to YAML

Covert the text description to YAML. The clock is optional, Orion5x based boards don't have it, but kirkwood should.

---
 .../bindings/rtc/marvell,orion-rtc.yaml       | 48 +++++++++++++++++++
 .../devicetree/bindings/rtc/orion-rtc.txt     | 18 -------
 2 files changed, 48 insertions(+), 18 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/rtc/marvell,orion-rtc.yaml
 delete mode 100644 Documentation/devicetree/bindings/rtc/orion-rtc.txt
Documentation/devicetree/bindings/rtc/marvell,orion-rtc.yaml new file +48 -0
new file mode 100644
index 000000000000..d240e67a4555
@@ -0,0 +1,48 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/rtc/marvell,orion-rtc.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: MVEBU Orion RTC Device Tree Bindings
+
+allOf:
+  - $ref: "rtc.yaml#"
+
+maintainers:
+  - Andrew Lunn <[email protected]>
+
+properties:
+  compatible:
+    oneOf:
+      - enum:
+          - marvell,orion-rtc
+      - items:
+          - enum:
+              - marvell,kirkwood-rtc
+          - const: marvell,orion-rtc
+
+  reg:
+    maxItems: 1
+
+  interrupts:
+    maxItems: 1
+
+  clocks:
+    maxItems: 1
+
+required:
+  - compatible
+  - reg
+  - interrupts
+
+additionalProperties: false
+
+examples:
+  - |
+    rtc@10300 {
+        compatible = "marvell,orion-rtc";
+        reg = <0xd0010300 0x20>;
+        interrupts = <50>;
+    };
+...
Documentation/devicetree/bindings/rtc/orion-rtc.txt deleted +0 -18
deleted file mode 100644
index 3bf63ffa5160..000000000000
@@ -1,18 +0,0 @@
-* Mvebu Real Time Clock
-
-RTC controller for the Kirkwood, the Dove, the Armada 370 and the
-Armada XP SoCs
-
-Required properties:
-- compatible : Should be "marvell,orion-rtc"
-- reg: physical base address of the controller and length of memory mapped
-  region.
-- interrupts: IRQ line for the RTC.
-
-Example:
-
-rtc@10300 {
-        compatible = "marvell,orion-rtc";
-        reg = <0xd0010300 0x20>;
-        interrupts = <50>;
-};
Signature · 1 line
2.37.2
maintainer
#2 lore raw

Re: [PATCH 01/11] DT: RTC: orion-rtc: Convert to YAML

Quoted 17 lines · Andrew Lunn

Covert the text description to YAML. The clock is optional, Orion5x based boards don't have it, but kirkwood should.

---
 .../bindings/rtc/marvell,orion-rtc.yaml       | 48 +++++++++++++++++++
 .../devicetree/bindings/rtc/orion-rtc.txt     | 18 -------
 2 files changed, 48 insertions(+), 18 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/rtc/marvell,orion-rtc.yaml
 delete mode 100644 Documentation/devicetree/bindings/rtc/orion-rtc.txt
Documentation/devicetree/bindings/rtc/marvell,orion-rtc.yaml new file +0 -0
new file mode 100644
index 000000000000..d240e67a4555

Documentation/devicetree/bindings/rtc/marvell,orion-rtc.yaml line 7

Quoted 7 lines
Documentation/devicetree/bindings/rtc/marvell,orion-rtc.yaml new file +7 -0
@@ -0,0 +1,48 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/rtc/marvell,orion-rtc.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: MVEBU Orion RTC Device Tree Bindings

Drop 'Device Tree Bindings'

Same on the rest.

Quoted 69 lines
Documentation/devicetree/bindings/rtc/marvell,orion-rtc.yaml new file +41 -0
+
+allOf:
+  - $ref: "rtc.yaml#"
+
+maintainers:
+  - Andrew Lunn <[email protected]>
+
+properties:
+  compatible:
+    oneOf:
+      - enum:
+          - marvell,orion-rtc
+      - items:
+          - enum:
+              - marvell,kirkwood-rtc
+          - const: marvell,orion-rtc
+
+  reg:
+    maxItems: 1
+
+  interrupts:
+    maxItems: 1
+
+  clocks:
+    maxItems: 1
+
+required:
+  - compatible
+  - reg
+  - interrupts
+
+additionalProperties: false
+
+examples:
+  - |
+    rtc@10300 {
+        compatible = "marvell,orion-rtc";
+        reg = <0xd0010300 0x20>;
+        interrupts = <50>;
+    };
+...
Documentation/devicetree/bindings/rtc/orion-rtc.txt deleted +0 -18
deleted file mode 100644
index 3bf63ffa5160..000000000000
@@ -1,18 +0,0 @@
-* Mvebu Real Time Clock
-
-RTC controller for the Kirkwood, the Dove, the Armada 370 and the
-Armada XP SoCs
-
-Required properties:
-- compatible : Should be "marvell,orion-rtc"
-- reg: physical base address of the controller and length of memory mapped
-  region.
-- interrupts: IRQ line for the RTC.
-
-Example:
-
-rtc@10300 {
-        compatible = "marvell,orion-rtc";
-        reg = <0xd0010300 0x20>;
-        interrupts = <50>;
-};
Signature · 1 line
2.37.2
maintainer
#3 lore raw

Re: [PATCH 01/11] DT: RTC: orion-rtc: Convert to YAML

In reply to Andrew Lunn
Quoted 1 line · Andrew Lunn

Covert the text description to YAML. The clock is optional, Orion5x

Convert

Quoted 1 line

based boards don't have it, but kirkwood should.

Please use get_maintainers.pl. RTC maintainers were copied nor linux-rtc and they should apply this. arm-soc ([email protected] now BTW) shouldn't really be Cc'ed either unless they are supposed to apply these.

Rob

#4 lore raw

PATCH 2/11 DT: thermal: marvell,kirkwood-thermal: Convert to YAML

In reply to Andrew Lunn

Add a simple YAML description of the thermal binding for the kirkwood thermal sensor.

---
 .../bindings/thermal/kirkwood-thermal.txt     | 15 ---------
 .../thermal/marvell,kirkwood-thermal.yaml     | 32 +++++++++++++++++++
 2 files changed, 32 insertions(+), 15 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/thermal/kirkwood-thermal.txt
 create mode 100644 Documentation/devicetree/bindings/thermal/marvell,kirkwood-thermal.yaml
Documentation/devicetree/bindings/thermal/kirkwood-thermal.txt deleted +0 -15
deleted file mode 100644
index 8c0f5eb86da7..000000000000
@@ -1,15 +0,0 @@
-* Kirkwood Thermal
-
-This version is for Kirkwood 88F8262 & 88F6283 SoCs. Other kirkwoods
-don't contain a thermal sensor.
-
-Required properties:
-- compatible : "marvell,kirkwood-thermal"
-- reg : Address range of the thermal registers
-
-Example:
-
-	thermal@10078 {
-		compatible = "marvell,kirkwood-thermal";
-		reg = <0x10078 0x4>;
-	};
Documentation/devicetree/bindings/thermal/marvell,kirkwood-thermal.yaml new file +32 -0
new file mode 100644
index 000000000000..5d0cc6c1af33
@@ -0,0 +1,32 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/thermal/marvell,kirkwood-thermal.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Marvell Kirkwood Thermal Controller Device Tree Bindings
+
+maintainers:
+  - Andrew Lunn <[email protected]>
+
+properties:
+  compatible:
+    enum:
+      - marvell,kirkwood-thermal
+
+  reg:
+    maxItems: 1
+
+required:
+  - compatible
+  - reg
+
+additionalProperties: false
+
+examples:
+  - |
+    thermal@10078 {
+        compatible = "marvell,kirkwood-thermal";
+        reg = <0x10078 0x4>;
+    };
+...
Signature · 1 line
2.37.2
#5 lore raw

PATCH 3/11 DT: pinctrl: Convert marvell,kirkwood-pintctrl to YAML

In reply to Andrew Lunn

Convert the text description to YAML. To keep the YAML versions readable, add a file per compatible.

---
 .../pinctrl/marvell,88f6180-pinctrl.yaml      |  73 ++++
 .../pinctrl/marvell,88f6190-pinctrl.yaml      |  73 ++++
 .../pinctrl/marvell,88f6192-pinctrl.yaml      |  73 ++++
 .../pinctrl/marvell,88f6281-pinctrl.yaml      |  74 ++++
 .../pinctrl/marvell,88f6282-pinctrl.yaml      |  74 ++++
 .../pinctrl/marvell,98dx1135-pinctrl.yaml     |  72 ++++
 .../pinctrl/marvell,98dx4122-pinctrl.yaml     |  71 ++++
 .../bindings/pinctrl/marvell,ac5-pinctrl.yaml |  14 +-
 .../pinctrl/marvell,kirkwood-pinctrl.txt      | 359 ------------------
 9 files changed, 517 insertions(+), 366 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/pinctrl/marvell,88f6180-pinctrl.yaml
 create mode 100644 Documentation/devicetree/bindings/pinctrl/marvell,88f6190-pinctrl.yaml
 create mode 100644 Documentation/devicetree/bindings/pinctrl/marvell,88f6192-pinctrl.yaml
 create mode 100644 Documentation/devicetree/bindings/pinctrl/marvell,88f6281-pinctrl.yaml
 create mode 100644 Documentation/devicetree/bindings/pinctrl/marvell,88f6282-pinctrl.yaml
 create mode 100644 Documentation/devicetree/bindings/pinctrl/marvell,98dx1135-pinctrl.yaml
 create mode 100644 Documentation/devicetree/bindings/pinctrl/marvell,98dx4122-pinctrl.yaml
 delete mode 100644 Documentation/devicetree/bindings/pinctrl/marvell,kirkwood-pinctrl.txt
Documentation/devicetree/bindings/pinctrl/marvell,88f6180-pinctrl.yaml new file +73 -0
new file mode 100644
index 000000000000..c3c679f95274
@@ -0,0 +1,73 @@
+# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/pinctrl/marvell,88f6180-pinctrl.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Marvell Kirkwood 88f6180 pin controller
+
+maintainers:
+  - Andrew Lunn <[email protected]>
+
+description:
+  Bindings for Marvell's Kirkwood 88F6180 memory-mapped pin controller.
+
+properties:
+  compatible:
+    items:
+      - const: marvell,88f6180-pinctrl
+
+  reg:
+    maxItems: 1
+
+patternProperties:
+  '^pmx-.*$':
+    type: object
+    $ref: pinmux-node.yaml#
+
+    properties:
+      marvell,function:
+        $ref: "/schemas/types.yaml#/definitions/string"
+        description:
+          Indicates the function to select.
+        enum: [ audio, gpio, gpo, mii, nand, pex, ptp, ptp-1, ptp-2, sdio,
+                spi, sysrst, twsi0, uart0, uart1 ]
+
+      marvell,pins:
+        $ref: /schemas/types.yaml#/definitions/string-array
+        description:
+          Array of MPP pins to be used for the given function.
+        minItems: 1
+        items:
+          enum: [ mpp0, mpp1, mpp2, mpp3, mpp4, mpp5, mpp6, mpp7, mpp8, mpp9,
+                  mpp10, mpp11, mpp12, mpp13, mpp14, mpp15, mpp16, mpp17,
+                  mpp18, mpp19, mpp20, mpp21, mpp22, mpp23, mpp24, mpp25,
+                  mpp26, mpp27, mpp28, mpp29, mpp30, mpp31, mpp32, mpp33,
+                  mpp34, mpp35, mpp36, mpp37, mpp38, mpp39, mpp40, mpp41,
+                  mpp42, mpp43, mpp44 ]
+
+allOf:
+  - $ref: "pinctrl.yaml#"
+
+required:
+  - compatible
+  - reg
+
+additionalProperties: false
+
+examples:
+  - |
+    pinctrl@80020100 {
+      compatible = "marvell,88f6180-pinctrl";
+      reg = <0x80020100 0x20>;
+
+      pmx_spi: pmx-spidc {
+        marvell,pins = "mpp0", "mpp1", "mpp2", "mpp3";
+        marvell,function = "spi";
+      };
+
+      pmx_spic_gpio: pmx-gpio-spi {
+        marvell,pins = "mpp26", "mpp27";
+        marvell,function = "gpio";
+      };
+    };
Documentation/devicetree/bindings/pinctrl/marvell,88f6190-pinctrl.yaml new file +73 -0

73 lines not on this page · raw message

Documentation/devicetree/bindings/pinctrl/marvell,88f6192-pinctrl.yaml new file +73 -0

73 lines not on this page · raw message

Documentation/devicetree/bindings/pinctrl/marvell,88f6281-pinctrl.yaml new file +74 -0

74 lines not on this page · raw message

Documentation/devicetree/bindings/pinctrl/marvell,88f6282-pinctrl.yaml new file +74 -0

74 lines not on this page · raw message

Documentation/devicetree/bindings/pinctrl/marvell,98dx1135-pinctrl.yaml new file +72 -0

72 lines not on this page · raw message

Documentation/devicetree/bindings/pinctrl/marvell,98dx4122-pinctrl.yaml new file +71 -0

71 lines not on this page · raw message

Documentation/devicetree/bindings/pinctrl/marvell,ac5-pinctrl.yaml +7 -7
index a651b2744caf..4109bf1a2e5f 100644
@@ -21,7 +21,7 @@ properties:
     maxItems: 1
 
 patternProperties:
-  '-pins$':
+  '^pmx-':
     type: object
     $ref: pinmux-node.yaml#
 
@@ -40,10 +40,10 @@ patternProperties:
         minItems: 1
         items:
           enum: [ mpp0, mpp1, mpp2, mpp3, mpp4, mpp5, mpp6, mpp7, mpp8, mpp9,
-                  mpp10, mpp11, mpp12, mpp13, mpp14, mpp15, mpp16, mpp17, mpp18, mpp19,
-                  mpp20, mpp21, mpp22, mpp23, mpp24, mpp25, mpp26, mpp27, mpp28, mpp29,
-                  mpp30, mpp31, mpp32, mpp33, mpp34, mpp35, mpp36, mpp37, mpp38, mpp39,
-                  mpp40, mpp41, mpp42, mpp43, mpp44, mpp45 ]
+                  mpp10, mpp11, mpp12, mpp13, mpp14, mpp15, mpp16, mpp17, mpp18,
+                  mpp19, mpp20, mpp21, mpp22, mpp23, mpp24, mpp25, mpp26, mpp27,
+                  mpp28, mpp29, mpp30, mpp31, mpp32, mpp33, mpp34, mpp35, mpp36,
+                  mpp37, mpp38, mpp39, mpp40, mpp41, mpp42, mpp43, mpp44, mpp45 ]
 
 allOf:
   - $ref: "pinctrl.yaml#"
@@ -60,12 +60,12 @@ examples:
       compatible = "marvell,ac5-pinctrl";
       reg = <0x80020100 0x20>;
 
-      i2c0_pins: i2c0-pins {
+      pmx_i2c0_pins: pmx-i2c0 {
         marvell,pins = "mpp26", "mpp27";
         marvell,function = "i2c0";
       };
 
-      i2c0_gpio: i2c0-gpio-pins {
+      pmx_i2c0_gpio: pmx-gpio-i2c0 {
         marvell,pins = "mpp26", "mpp27";
         marvell,function = "gpio";
       };
Documentation/devicetree/bindings/pinctrl/marvell,kirkwood-pinctrl.txt deleted +0 -359

359 lines not on this page · raw message

Signature · 1 line
2.37.2
maintainer
#6 lore raw

Re: [PATCH 03/11] DT: pinctrl: Convert marvell,kirkwood-pintctrl to YAML

Quoted 46 lines · Andrew Lunn

Convert the text description to YAML. To keep the YAML versions readable, add a file per compatible.

---
 .../pinctrl/marvell,88f6180-pinctrl.yaml      |  73 ++++
 .../pinctrl/marvell,88f6190-pinctrl.yaml      |  73 ++++
 .../pinctrl/marvell,88f6192-pinctrl.yaml      |  73 ++++
 .../pinctrl/marvell,88f6281-pinctrl.yaml      |  74 ++++
 .../pinctrl/marvell,88f6282-pinctrl.yaml      |  74 ++++
 .../pinctrl/marvell,98dx1135-pinctrl.yaml     |  72 ++++
 .../pinctrl/marvell,98dx4122-pinctrl.yaml     |  71 ++++
 .../bindings/pinctrl/marvell,ac5-pinctrl.yaml |  14 +-
 .../pinctrl/marvell,kirkwood-pinctrl.txt      | 359 ------------------
 9 files changed, 517 insertions(+), 366 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/pinctrl/marvell,88f6180-pinctrl.yaml
 create mode 100644 Documentation/devicetree/bindings/pinctrl/marvell,88f6190-pinctrl.yaml
 create mode 100644 Documentation/devicetree/bindings/pinctrl/marvell,88f6192-pinctrl.yaml
 create mode 100644 Documentation/devicetree/bindings/pinctrl/marvell,88f6281-pinctrl.yaml
 create mode 100644 Documentation/devicetree/bindings/pinctrl/marvell,88f6282-pinctrl.yaml
 create mode 100644 Documentation/devicetree/bindings/pinctrl/marvell,98dx1135-pinctrl.yaml
 create mode 100644 Documentation/devicetree/bindings/pinctrl/marvell,98dx4122-pinctrl.yaml
 delete mode 100644 Documentation/devicetree/bindings/pinctrl/marvell,kirkwood-pinctrl.txt
Documentation/devicetree/bindings/pinctrl/marvell,88f6180-pinctrl.yaml new file +16 -0
new file mode 100644
index 000000000000..c3c679f95274
@@ -0,0 +1,73 @@
+# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/pinctrl/marvell,88f6180-pinctrl.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Marvell Kirkwood 88f6180 pin controller
+
+maintainers:
+  - Andrew Lunn <[email protected]>
+
+description:
+  Bindings for Marvell's Kirkwood 88F6180 memory-mapped pin controller.
+
+properties:
+  compatible:

Documentation/devicetree/bindings/pinctrl/marvell,88f6180-pinctrl.yaml line 26

Quoted 10 lines
Documentation/devicetree/bindings/pinctrl/marvell,88f6180-pinctrl.yaml new file +10 -0
+    items:
+      - const: marvell,88f6180-pinctrl
+
+  reg:
+    maxItems: 1
+
+patternProperties:
+  '^pmx-.*$':
+    type: object
+    $ref: pinmux-node.yaml#

What from this schema applies here? Looks like nothing to me.

You need:

additionalProperties: false

Or 'unevaluatedProperties: false' if properties from pinmux-node.yaml apply.

Quoted 11 lines
Documentation/devicetree/bindings/pinctrl/marvell,88f6180-pinctrl.yaml new file +11 -0
+
+    properties:
+      marvell,function:
+        $ref: "/schemas/types.yaml#/definitions/string"
+        description:
+          Indicates the function to select.
+        enum: [ audio, gpio, gpo, mii, nand, pex, ptp, ptp-1, ptp-2, sdio,
+                spi, sysrst, twsi0, uart0, uart1 ]
+
+      marvell,pins:
+        $ref: /schemas/types.yaml#/definitions/string-array

Documentation/devicetree/bindings/pinctrl/marvell,88f6180-pinctrl.yaml line 47

Quoted 10 lines
Documentation/devicetree/bindings/pinctrl/marvell,88f6180-pinctrl.yaml new file +10 -0
+        description:
+          Array of MPP pins to be used for the given function.
+        minItems: 1
+        items:
+          enum: [ mpp0, mpp1, mpp2, mpp3, mpp4, mpp5, mpp6, mpp7, mpp8, mpp9,
+                  mpp10, mpp11, mpp12, mpp13, mpp14, mpp15, mpp16, mpp17,
+                  mpp18, mpp19, mpp20, mpp21, mpp22, mpp23, mpp24, mpp25,
+                  mpp26, mpp27, mpp28, mpp29, mpp30, mpp31, mpp32, mpp33,
+                  mpp34, mpp35, mpp36, mpp37, mpp38, mpp39, mpp40, mpp41,
+                  mpp42, mpp43, mpp44 ]

pattern: '^mpp([0-9]|[1-3][0-9]|4[0-4])$'

Surely one or both of these properties are required?

Similar comments on the rest.

Documentation/devicetree/bindings/pinctrl/marvell,ac5-pinctrl.yaml

Quoted 503 lines
Documentation/devicetree/bindings/pinctrl/marvell,88f6180-pinctrl.yaml new file +26 -0
+
+allOf:
+  - $ref: "pinctrl.yaml#"
+
+required:
+  - compatible
+  - reg
+
+additionalProperties: false
+
+examples:
+  - |
+    pinctrl@80020100 {
+      compatible = "marvell,88f6180-pinctrl";
+      reg = <0x80020100 0x20>;
+
+      pmx_spi: pmx-spidc {
+        marvell,pins = "mpp0", "mpp1", "mpp2", "mpp3";
+        marvell,function = "spi";
+      };
+
+      pmx_spic_gpio: pmx-gpio-spi {
+        marvell,pins = "mpp26", "mpp27";
+        marvell,function = "gpio";
+      };
+    };
Documentation/devicetree/bindings/pinctrl/marvell,88f6190-pinctrl.yaml new file +73 -0
new file mode 100644
index 000000000000..46f0e61c3730
@@ -0,0 +1,73 @@
+# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/pinctrl/marvell,88f6190-pinctrl.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Marvell Kirkwood 88f6190 pin controller
+
+maintainers:
+  - Andrew Lunn <[email protected]>
+
+description:
+  Bindings for Marvell's Kirkwood 88F6190 memory-mapped pin controller.
+
+properties:
+  compatible:
+    items:
+      - const: marvell,88f6190-pinctrl
+
+  reg:
+    maxItems: 1
+
+patternProperties:
+  'pmx-.*$':
+    type: object
+    $ref: pinmux-node.yaml#
+
+    properties:
+      marvell,function:
+        $ref: "/schemas/types.yaml#/definitions/string"
+        description:
+          Indicates the function to select.
+        enum: [ ge1, gpio, gpo, mii, mii-1, nand, pex, ptp, ptp-1, ptp-2,
+                sata0, sdio, spi, sysrst, twsi0, uart0, uart1 ]
+
+      marvell,pins:
+        $ref: /schemas/types.yaml#/definitions/string-array
+        description:
+          Array of MPP pins to be used for the given function.
+        minItems: 1
+        items:
+          enum: [ mpp0, mpp1, mpp2, mpp3, mpp4, mpp5, mpp6, mpp7, mpp8, mpp9,
+                  mpp10, mpp11, mpp12, mpp13, mpp14, mpp15, mpp16, mpp17,
+                  mpp18, mpp19, mpp20, mpp21, mpp22, mpp23, mpp24, mpp25,
+                  mpp26, mpp27, mpp28, mpp29, mpp30, mpp31, mpp32, mpp33,
+                  mpp34, mpp35, mpp36, mpp37, mpp38, mpp39, mpp40, mpp41,
+                  mpp42, mpp43, mpp44 ]
+
+allOf:
+  - $ref: "pinctrl.yaml#"
+
+required:
+  - compatible
+  - reg
+
+additionalProperties: false
+
+examples:
+  - |
+    pinctrl@80020100 {
+      compatible = "marvell,88f6180-pinctrl";
+      reg = <0x80020100 0x20>;
+
+      pmx_spi: pmx-spidc {
+        marvell,pins = "mpp0", "mpp1", "mpp2", "mpp3";
+        marvell,function = "spi";
+      };
+
+      pmx_spi_gpio: pmx-gpio-spi {
+        marvell,pins = "mpp26", "mpp27";
+        marvell,function = "gpio";
+      };
+    };
Documentation/devicetree/bindings/pinctrl/marvell,88f6192-pinctrl.yaml new file +73 -0
new file mode 100644
index 000000000000..82f8ce528d13
@@ -0,0 +1,73 @@
+# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/pinctrl/marvell,88f6192-pinctrl.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Marvell Kirkwood 88f6192 pin controller
+
+maintainers:
+  - Andrew Lunn <[email protected]>
+
+description:
+  Bindings for Marvell's Kirkwood 88F6192 memory-mapped pin controller.
+
+properties:
+  compatible:
+    items:
+      - const: marvell,88f6192-pinctrl
+
+  reg:
+    maxItems: 1
+
+patternProperties:
+  '^pmx-.*$':
+    type: object
+    $ref: pinmux-node.yaml#
+
+    properties:
+      marvell,function:
+        $ref: "/schemas/types.yaml#/definitions/string"
+        description:
+          Indicates the function to select.
+        enum: [ audio, ge1, gpio, gpo, mii, mii-1, nand, pex, ptp, ptp-1, ptp-2,
+                sata0, sata1, sdio, spi, sysrst, tdm, ts, twsi0, uart0, uart1 ]
+
+      marvell,pins:
+        $ref: /schemas/types.yaml#/definitions/string-array
+        description:
+          Array of MPP pins to be used for the given function.
+        minItems: 1
+        items:
+          enum: [ mpp0, mpp1, mpp2, mpp3, mpp4, mpp5, mpp6, mpp7, mpp8, mpp9,
+                  mpp10, mpp11, mpp12, mpp13, mpp14, mpp15, mpp16, mpp17,
+                  mpp18, mpp19, mpp20, mpp21, mpp22, mpp23, mpp24, mpp25,
+                  mpp26, mpp27, mpp28, mpp29, mpp30, mpp31, mpp32, mpp33,
+                  mpp34, mpp35, mpp36, mpp37, mpp38, mpp39, mpp40, mpp41,
+                  mpp42, mpp43, mpp44 ]
+
+allOf:
+  - $ref: "pinctrl.yaml#"
+
+required:
+  - compatible
+  - reg
+
+additionalProperties: false
+
+examples:
+  - |
+    pinctrl@80020100 {
+      compatible = "marvell,88f6180-pinctrl";
+      reg = <0x80020100 0x20>;
+
+      pmx_spi: pmx-spidc {
+        marvell,pins = "mpp0", "mpp1", "mpp2", "mpp3";
+        marvell,function = "spi";
+      };
+
+      pmx_spic_gpio: pmx-gpio-spi {
+        marvell,pins = "mpp26", "mpp27";
+        marvell,function = "gpio";
+      };
+    };
Documentation/devicetree/bindings/pinctrl/marvell,88f6281-pinctrl.yaml new file +74 -0
new file mode 100644
index 000000000000..1d0c5932ca59
@@ -0,0 +1,74 @@
+# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/pinctrl/marvell,88f6281-pinctrl.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Marvell Kirkwood 88f6281 pin controller
+
+maintainers:
+  - Andrew Lunn <[email protected]>
+
+description:
+  Bindings for Marvell's Kirkwood 88F6281 memory-mapped pin controller.
+
+properties:
+  compatible:
+    items:
+      - const: marvell,88f6281-pinctrl
+
+  reg:
+    maxItems: 1
+
+patternProperties:
+  '^pmx-':
+    type: object
+    $ref: pinmux-node.yaml#
+
+    properties:
+      marvell,function:
+        $ref: "/schemas/types.yaml#/definitions/string"
+        description:
+          Indicates the function to select.
+        enum: [ audio, ge1, gpio, gpo, mii, mii-1, nand, pex, ptp, ptp-1, ptp-2,
+                sata0, sata1, sdio, spi, sysrst, tdm, ts, twsi0, twsi1, uart0,
+                uart1 ]
+
+      marvell,pins:
+        $ref: /schemas/types.yaml#/definitions/string-array
+        description:
+          Array of MPP pins to be used for the given function.
+        minItems: 1
+        items:
+          enum: [ mpp0, mpp1, mpp2, mpp3, mpp4, mpp5, mpp6, mpp7, mpp8, mpp9,
+                  mpp10, mpp11, mpp12, mpp13, mpp14, mpp15, mpp16, mpp17,
+                  mpp18, mpp19, mpp20, mpp21, mpp22, mpp23, mpp24, mpp25,
+                  mpp26, mpp27, mpp28, mpp29, mpp30, mpp31, mpp32, mpp33,
+                  mpp34, mpp35, mpp36, mpp37, mpp38, mpp39, mpp40, mpp41,
+                  mpp42, mpp43, mpp44, mpp45, mpp46, mpp47, mpp48, mpp49 ]
+
+allOf:
+  - $ref: "pinctrl.yaml#"
+
+required:
+  - compatible
+  - reg
+
+additionalProperties: false
+
+examples:
+  - |
+    pinctrl@80020100 {
+      compatible = "marvell,88f6180-pinctrl";
+      reg = <0x80020100 0x20>;
+
+      pmx_spi: pmx-spi {
+        marvell,pins = "mpp0", "mpp1", "mpp2", "mpp3";
+        marvell,function = "spi";
+      };
+
+      pmx_spi_gpio: pmx-gpio-spi {
+        marvell,pins = "mpp26", "mpp27";
+        marvell,function = "gpio";
+      };
+    };
Documentation/devicetree/bindings/pinctrl/marvell,88f6282-pinctrl.yaml new file +74 -0
new file mode 100644
index 000000000000..1365c392be9e
@@ -0,0 +1,74 @@
+# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/pinctrl/marvell,88f6282-pinctrl.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Marvell Kirkwood 88f6282 pin controller
+
+maintainers:
+  - Andrew Lunn <[email protected]>
+
+description:
+  Bindings for Marvell's Kirkwood 88F6282 memory-mapped pin controller.
+
+properties:
+  compatible:
+    items:
+      - const: marvell,88f6282-pinctrl
+
+  reg:
+    maxItems: 1
+
+patternProperties:
+  '^pmx-':
+    type: object
+    $ref: pinmux-node.yaml#
+
+    properties:
+      marvell,function:
+        $ref: "/schemas/types.yaml#/definitions/string"
+        description:
+          Indicates the function to select.
+        enum: [ audio, ge1, gpio, gpo, lcd, mii, mii-1, nand, pex,
+                sata0, sata1, sdio, spi, sysrst, tdm, ts, twsi0, twsi1, uart0,
+                uart1 ]
+
+      marvell,pins:
+        $ref: /schemas/types.yaml#/definitions/string-array
+        description:
+          Array of MPP pins to be used for the given function.
+        minItems: 1
+        items:
+          enum: [ mpp0, mpp1, mpp2, mpp3, mpp4, mpp5, mpp6, mpp7, mpp8, mpp9,
+                  mpp10, mpp11, mpp12, mpp13, mpp14, mpp15, mpp16, mpp17,
+                  mpp18, mpp19, mpp20, mpp21, mpp22, mpp23, mpp24, mpp25,
+                  mpp26, mpp27, mpp28, mpp29, mpp30, mpp31, mpp32, mpp33,
+                  mpp34, mpp35, mpp36, mpp37, mpp38, mpp39, mpp40, mpp41,
+                  mpp42, mpp43, mpp44, mpp45, mpp46, mpp47, mpp48 ]
+
+allOf:
+  - $ref: "pinctrl.yaml#"
+
+required:
+  - compatible
+  - reg
+
+additionalProperties: false
+
+examples:
+  - |
+    pinctrl@80020100 {
+      compatible = "marvell,88f6180-pinctrl";
+      reg = <0x80020100 0x20>;
+
+      pmx_spi: pmx-spidc {
+        marvell,pins = "mpp0", "mpp1", "mpp2", "mpp3";
+        marvell,function = "spi";
+      };
+
+      pmx_spi_gpio: pmx-gpio-spi {
+        marvell,pins = "mpp26", "mpp27";
+        marvell,function = "gpio";
+      };
+    };
Documentation/devicetree/bindings/pinctrl/marvell,98dx1135-pinctrl.yaml new file +72 -0
new file mode 100644
index 000000000000..38c1a48e7603
@@ -0,0 +1,72 @@
+# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/pinctrl/marvell,98dx1135-pinctrl.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Marvell 98dx1135 pin controller
+
+maintainers:
+  - Andrew Lunn <[email protected]>
+
+description:
+  Bindings for Marvell's 98DX1135 memory-mapped pin controller.
+
+properties:
+  compatible:
+    items:
+      - const: marvell,98dx1135-pinctrl
+
+  reg:
+    maxItems: 1
+
+patternProperties:
+  '^pmx-':
+    type: object
+    $ref: pinmux-node.yaml#
+
+    properties:
+      marvell,function:
+        $ref: "/schemas/types.yaml#/definitions/string"
+        description:
+          Indicates the function to select.
+        enum: [ gpio, gpo, nand, pex, spi, sysrst, twsi0, uart0, uart1 ]
+
+      marvell,pins:
+        $ref: /schemas/types.yaml#/definitions/string-array
+        description:
+          Array of MPP pins to be used for the given function.
+        minItems: 1
+        items:
+          enum: [ mpp0, mpp1, mpp2, mpp3, mpp4, mpp5, mpp6, mpp7, mpp8, mpp9,
+                  mpp10, mpp11, mpp12, mpp13, mpp14, mpp15, mpp16, mpp17,
+                  mpp18, mpp19, mpp20, mpp21, mpp22, mpp23, mpp24, mpp25,
+                  mpp26, mpp27, mpp28, mpp29, mpp30, mpp31, mpp32, mpp33,
+                  mpp34, mpp35, mpp36, mpp37, mpp38, mpp39, mpp40, mpp41,
+                  mpp42, mpp43, mpp44 ]
+
+allOf:
+  - $ref: "pinctrl.yaml#"
+
+required:
+  - compatible
+  - reg
+
+additionalProperties: false
+
+examples:
+  - |
+    pinctrl@80020100 {
+      compatible = "marvell,88f6180-pinctrl";
+      reg = <0x80020100 0x20>;
+
+      pmx_spi: pmx-spidc {
+        marvell,pins = "mpp0", "mpp1", "mpp2", "mpp3";
+        marvell,function = "spi";
+      };
+
+      pmx_spi_gpio: pmx-gpio-spi {
+        marvell,pins = "mpp26", "mpp27";
+        marvell,function = "gpio";
+      };
+    };
Documentation/devicetree/bindings/pinctrl/marvell,98dx4122-pinctrl.yaml new file +71 -0
new file mode 100644
index 000000000000..32080220748c
@@ -0,0 +1,71 @@
+# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/pinctrl/marvell,98dx4122-pinctrl.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Marvell 98dx4122 pin controller
+
+maintainers:
+  - Andrew Lunn <[email protected]>
+
+description:
+  Bindings for Marvell's 98DX4122 memory-mapped pin controller.
+
+properties:
+  compatible:
+    items:
+      - const: marvell,98dx4122-pinctrl
+
+  reg:
+    maxItems: 1
+
+patternProperties:
+  '^pmx-':
+    type: object
+    $ref: pinmux-node.yaml#
+
+    properties:
+      marvell,function:
+        $ref: "/schemas/types.yaml#/definitions/string"
+        description:
+          Indicates the function to select.
+        enum: [ gpio, gpo, nand, pex, spi, sysrst, twsi0, uart0, uart1 ]
+
+      marvell,pins:
+        $ref: /schemas/types.yaml#/definitions/string-array
+        description:
+          Array of MPP pins to be used for the given function.
+        minItems: 1
+        items:
+          enum: [ mpp0, mpp1, mpp2, mpp3, mpp4, mpp5, mpp6, mpp7, mpp8, mpp9,
+                  mpp10, mpp11, mpp12, mpp13, mpp14, mpp15, mpp16, mpp17, mpp18,
+                  mpp19, mpp20, mpp21, mpp22, mpp23, mpp24, mpp25, mpp26, mpp27,
+                  mpp28, mpp29, mpp30, mpp31, mpp32, mpp33, mpp34, mpp35, mpp36,
+                  mpp37, mpp38, mpp39, mpp40, mpp41, mpp42, mpp43, mpp44 ]
+
+allOf:
+  - $ref: "pinctrl.yaml#"
+
+required:
+  - compatible
+  - reg
+
+additionalProperties: false
+
+examples:
+  - |
+    pinctrl@80020100 {
+      compatible = "marvell,88f6180-pinctrl";
+      reg = <0x80020100 0x20>;
+
+      pmx_spi: pmx-spidc {
+        marvell,pins = "mpp0", "mpp1", "mpp2", "mpp3";
+        marvell,function = "spi";
+      };
+
+      pmx_spi_gpio: pmx-gpio-spi {
+        marvell,pins = "mpp26", "mpp27";
+        marvell,function = "gpio";
+      };
+    };
Documentation/devicetree/bindings/pinctrl/marvell,ac5-pinctrl.yaml +0 -0
index a651b2744caf..4109bf1a2e5f 100644

This file isn't a conversion and deserves to be its own patch.

Quoted 39 lines
Documentation/devicetree/bindings/pinctrl/marvell,ac5-pinctrl.yaml +7 -7
@@ -21,7 +21,7 @@ properties:
     maxItems: 1
 
 patternProperties:
-  '-pins$':
+  '^pmx-':
     type: object
     $ref: pinmux-node.yaml#
 
@@ -40,10 +40,10 @@ patternProperties:
         minItems: 1
         items:
           enum: [ mpp0, mpp1, mpp2, mpp3, mpp4, mpp5, mpp6, mpp7, mpp8, mpp9,
-                  mpp10, mpp11, mpp12, mpp13, mpp14, mpp15, mpp16, mpp17, mpp18, mpp19,
-                  mpp20, mpp21, mpp22, mpp23, mpp24, mpp25, mpp26, mpp27, mpp28, mpp29,
-                  mpp30, mpp31, mpp32, mpp33, mpp34, mpp35, mpp36, mpp37, mpp38, mpp39,
-                  mpp40, mpp41, mpp42, mpp43, mpp44, mpp45 ]
+                  mpp10, mpp11, mpp12, mpp13, mpp14, mpp15, mpp16, mpp17, mpp18,
+                  mpp19, mpp20, mpp21, mpp22, mpp23, mpp24, mpp25, mpp26, mpp27,
+                  mpp28, mpp29, mpp30, mpp31, mpp32, mpp33, mpp34, mpp35, mpp36,
+                  mpp37, mpp38, mpp39, mpp40, mpp41, mpp42, mpp43, mpp44, mpp45 ]
 
 allOf:
   - $ref: "pinctrl.yaml#"
@@ -60,12 +60,12 @@ examples:
       compatible = "marvell,ac5-pinctrl";
       reg = <0x80020100 0x20>;
 
-      i2c0_pins: i2c0-pins {
+      pmx_i2c0_pins: pmx-i2c0 {
         marvell,pins = "mpp26", "mpp27";
         marvell,function = "i2c0";
       };
 
-      i2c0_gpio: i2c0-gpio-pins {
+      pmx_i2c0_gpio: pmx-gpio-i2c0 {
         marvell,pins = "mpp26", "mpp27";
         marvell,function = "gpio";
       };
#7 lore raw

PATCH 4/11 DT: USB: Convert ehci-orion to YAML

In reply to Andrew Lunn
---
 .../devicetree/bindings/usb/ehci-orion.txt    | 22 ----------
 .../bindings/usb/marvell,orion-ehci.yaml      | 44 +++++++++++++++++++
 2 files changed, 44 insertions(+), 22 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/usb/ehci-orion.txt
 create mode 100644 Documentation/devicetree/bindings/usb/marvell,orion-ehci.yaml
Documentation/devicetree/bindings/usb/ehci-orion.txt deleted +0 -22
deleted file mode 100644
index 2855bae79fda..000000000000
@@ -1,22 +0,0 @@
-* EHCI controller, Orion Marvell variants
-
-Required properties:
-- compatible: must be one of the following
-	"marvell,orion-ehci"
-	"marvell,armada-3700-ehci"
-- reg: physical base address of the controller and length of memory mapped
-  region.
-- interrupts: The EHCI interrupt
-
-Optional properties:
-- clocks: reference to the clock
-- phys: reference to the USB PHY
-- phy-names: name of the USB PHY, should be "usb"
-
-Example:
-
-	ehci@50000 {
-		compatible = "marvell,orion-ehci";
-		reg = <0x50000 0x1000>;
-		interrupts = <19>;
-	};
Documentation/devicetree/bindings/usb/marvell,orion-ehci.yaml new file +44 -0

44 lines not on this page · raw message

Signature · 1 line
2.37.2
maintainer
#8 lore raw

Re: [PATCH 04/11] DT: USB: Convert ehci-orion to YAML

Quoted 8 lines · Andrew Lunn
---
 .../devicetree/bindings/usb/ehci-orion.txt    | 22 ----------
 .../bindings/usb/marvell,orion-ehci.yaml      | 44 +++++++++++++++++++
 2 files changed, 44 insertions(+), 22 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/usb/ehci-orion.txt
 create mode 100644 Documentation/devicetree/bindings/usb/marvell,orion-ehci.yaml

Running 'make dtbs_check' with the schema in this patch gives the following warnings. Consider if they are expected or the schema is incorrect. These may not be new warnings.

Note that it is not yet a requirement to have 0 warnings for dtbs_check. This will change in the future.

Full log is available here: https://patchwork.ozlabs.org/patch/

ehci@50000: '#address-cells', '#size-cells', 'port@1' do not match any of the regexes: 'pinctrl-[0-9]+'

	arch/arm/boot/dts/kirkwood-c200-v1.dtb
	arch/arm/boot/dts/kirkwood-l-50.dtb

usb@50000: 'phy-names' does not match any of the regexes: 'pinctrl-[0-9]+'

	arch/arm/boot/dts/armada-375-db.dtb

usb@58000: 'usb-phy' does not match any of the regexes: 'pinctrl-[0-9]+'

	arch/arm/boot/dts/armada-388-helios4.dtb

usb@58000: 'vcc-supply' does not match any of the regexes: 'pinctrl-[0-9]+'

	arch/arm/boot/dts/armada-388-gp.dtb

usb@5e000: 'marvell,usb-misc-reg', 'phy-names' do not match any of the regexes: 'pinctrl-[0-9]+'

	arch/arm64/boot/dts/marvell/armada-3720-db.dtb
	arch/arm64/boot/dts/marvell/armada-3720-espressobin.dtb
	arch/arm64/boot/dts/marvell/armada-3720-espressobin-emmc.dtb
	arch/arm64/boot/dts/marvell/armada-3720-espressobin-ultra.dtb
	arch/arm64/boot/dts/marvell/armada-3720-espressobin-v7.dtb
	arch/arm64/boot/dts/marvell/armada-3720-espressobin-v7-emmc.dtb
	arch/arm64/boot/dts/marvell/armada-3720-turris-mox.dtb
	arch/arm64/boot/dts/marvell/armada-3720-uDPU.dtb

usb@a0000: 'dr_mode', 'phy-names' do not match any of the regexes: 'pinctrl-[0-9]+'

	arch/arm64/boot/dts/marvell/ac5-98dx35xx-rd.dtb

usb-host@50000: 'vbus-supply' does not match any of the regexes: 'pinctrl-[0-9]+'

	arch/arm/boot/dts/dove-sbc-a510.dtb
#9 lore raw

PATCH 5/11 DT: watchdog: Convert marvel.txt to YAML

In reply to Andrew Lunn
---
 .../devicetree/bindings/watchdog/marvel.txt   | 45 ----------
 .../bindings/watchdog/marvell,orion-wdt.yaml  | 83 +++++++++++++++++++
 2 files changed, 83 insertions(+), 45 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/watchdog/marvel.txt
 create mode 100644 Documentation/devicetree/bindings/watchdog/marvell,orion-wdt.yaml
Documentation/devicetree/bindings/watchdog/marvel.txt deleted +0 -45
deleted file mode 100644
index c1b67a78f00c..000000000000
@@ -1,45 +0,0 @@
-* Marvell Orion Watchdog Time
-
-Required Properties:
-
-- Compatibility : "marvell,orion-wdt"
-		  "marvell,armada-370-wdt"
-		  "marvell,armada-xp-wdt"
-		  "marvell,armada-375-wdt"
-		  "marvell,armada-380-wdt"
-
-- reg		: Should contain two entries: first one with the
-		  timer control address, second one with the
-		  rstout enable address.
-
-For "marvell,armada-375-wdt" and "marvell,armada-380-wdt":
-
-- reg		: A third entry is mandatory and should contain the
-                  shared mask/unmask RSTOUT address.
-
-Clocks required for compatibles = "marvell,orion-wdt",
-				  "marvell,armada-370-wdt":
-- clocks : Must contain a single entry describing the clock input
-
-Clocks required for compatibles = "marvell,armada-xp-wdt"
-				  "marvell,armada-375-wdt"
-				  "marvell,armada-380-wdt":
-- clocks : Must contain an entry for each entry in clock-names.
-- clock-names : Must include the following entries:
-  "nbclk" (L2/coherency fabric clock),
-  "fixed" (Reference 25 MHz fixed-clock).
-
-Optional properties:
-
-- interrupts	: Contains the IRQ for watchdog expiration
-- timeout-sec	: Contains the watchdog timeout in seconds
-
-Example:
-
-	wdt@20300 {
-		compatible = "marvell,orion-wdt";
-		reg = <0x20300 0x28>, <0x20108 0x4>;
-		interrupts = <3>;
-		timeout-sec = <10>;
-		clocks = <&gate_clk 7>;
-	};
Documentation/devicetree/bindings/watchdog/marvell,orion-wdt.yaml new file +83 -0

83 lines not on this page · raw message

Signature · 1 line
2.37.2
maintainer
#10 lore raw

Re: [PATCH 05/11] DT: watchdog: Convert marvel.txt to YAML

Quoted 8 lines · Andrew Lunn
---
 .../devicetree/bindings/watchdog/marvel.txt   | 45 ----------
 .../bindings/watchdog/marvell,orion-wdt.yaml  | 83 +++++++++++++++++++
 2 files changed, 83 insertions(+), 45 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/watchdog/marvel.txt
 create mode 100644 Documentation/devicetree/bindings/watchdog/marvell,orion-wdt.yaml

Running 'make dtbs_check' with the schema in this patch gives the following warnings. Consider if they are expected or the schema is incorrect. These may not be new warnings.

Note that it is not yet a requirement to have 0 warnings for dtbs_check. This will change in the future.

Full log is available here: https://patchwork.ozlabs.org/patch/

watchdog@20300: interrupts-extended: [[3, 0, 64, 4], [3, 0, 9, 4]] is too long

	arch/arm/boot/dts/armada-381-netgear-gs110emx.dtb
	arch/arm/boot/dts/armada-382-rd-ac3x-48g4x2xl.dtb
	arch/arm/boot/dts/armada-385-atl-x530.dtb
	arch/arm/boot/dts/armada-385-clearfog-gtr-l8.dtb
	arch/arm/boot/dts/armada-385-clearfog-gtr-s4.dtb
	arch/arm/boot/dts/armada-385-db-88f6820-amc.dtb
	arch/arm/boot/dts/armada-385-db-ap.dtb
	arch/arm/boot/dts/armada-385-linksys-caiman.dtb
	arch/arm/boot/dts/armada-385-linksys-cobra.dtb
	arch/arm/boot/dts/armada-385-linksys-rango.dtb
	arch/arm/boot/dts/armada-385-linksys-shelby.dtb
	arch/arm/boot/dts/armada-385-synology-ds116.dtb
	arch/arm/boot/dts/armada-385-turris-omnia.dtb
	arch/arm/boot/dts/armada-388-clearfog-base.dtb
	arch/arm/boot/dts/armada-388-clearfog.dtb
	arch/arm/boot/dts/armada-388-clearfog-pro.dtb
	arch/arm/boot/dts/armada-388-db.dtb
	arch/arm/boot/dts/armada-388-gp.dtb
	arch/arm/boot/dts/armada-388-helios4.dtb
	arch/arm/boot/dts/armada-388-rd.dtb

watchdog@20300: 'oneOf' conditional failed, one must be fixed:

	arch/arm/boot/dts/armada-370-c200-v2.dtb
	arch/arm/boot/dts/armada-370-db.dtb
	arch/arm/boot/dts/armada-370-dlink-dns327l.dtb
	arch/arm/boot/dts/armada-370-mirabox.dtb
	arch/arm/boot/dts/armada-370-netgear-rn102.dtb
	arch/arm/boot/dts/armada-370-netgear-rn104.dtb
	arch/arm/boot/dts/armada-370-rd.dtb
	arch/arm/boot/dts/armada-370-seagate-nas-2bay.dtb
	arch/arm/boot/dts/armada-370-seagate-nas-4bay.dtb
	arch/arm/boot/dts/armada-370-seagate-personal-cloud-2bay.dtb
	arch/arm/boot/dts/armada-370-seagate-personal-cloud.dtb
	arch/arm/boot/dts/armada-370-synology-ds213j.dtb
	arch/arm/boot/dts/armada-375-db.dtb
	arch/arm/boot/dts/armada-398-db.dtb
	arch/arm/boot/dts/armada-xp-axpwifiap.dtb
	arch/arm/boot/dts/armada-xp-crs305-1g-4s-bit.dtb
	arch/arm/boot/dts/armada-xp-crs305-1g-4s.dtb
	arch/arm/boot/dts/armada-xp-crs326-24g-2s-bit.dtb
	arch/arm/boot/dts/armada-xp-crs326-24g-2s.dtb
	arch/arm/boot/dts/armada-xp-crs328-4c-20s-4s-bit.dtb
	arch/arm/boot/dts/armada-xp-crs328-4c-20s-4s.dtb
	arch/arm/boot/dts/armada-xp-db.dtb
	arch/arm/boot/dts/armada-xp-db-dxbc2.dtb
	arch/arm/boot/dts/armada-xp-db-xc3-24g4xg.dtb
	arch/arm/boot/dts/armada-xp-gp.dtb
	arch/arm/boot/dts/armada-xp-lenovo-ix4-300d.dtb
	arch/arm/boot/dts/armada-xp-linksys-mamba.dtb
	arch/arm/boot/dts/armada-xp-matrix.dtb
	arch/arm/boot/dts/armada-xp-netgear-rn2120.dtb
	arch/arm/boot/dts/armada-xp-openblocks-ax3-4.dtb
	arch/arm/boot/dts/armada-xp-synology-ds414.dtb

watchdog@20300: Unevaluated properties are not allowed ('interrupts-extended' was unexpected)

	arch/arm/boot/dts/armada-381-netgear-gs110emx.dtb
	arch/arm/boot/dts/armada-382-rd-ac3x-48g4x2xl.dtb
	arch/arm/boot/dts/armada-385-atl-x530.dtb
	arch/arm/boot/dts/armada-385-clearfog-gtr-l8.dtb
	arch/arm/boot/dts/armada-385-clearfog-gtr-s4.dtb
	arch/arm/boot/dts/armada-385-db-88f6820-amc.dtb
	arch/arm/boot/dts/armada-385-db-ap.dtb
	arch/arm/boot/dts/armada-385-linksys-caiman.dtb
	arch/arm/boot/dts/armada-385-linksys-cobra.dtb
	arch/arm/boot/dts/armada-385-linksys-rango.dtb
	arch/arm/boot/dts/armada-385-linksys-shelby.dtb
	arch/arm/boot/dts/armada-385-synology-ds116.dtb
	arch/arm/boot/dts/armada-385-turris-omnia.dtb
	arch/arm/boot/dts/armada-388-clearfog-base.dtb
	arch/arm/boot/dts/armada-388-clearfog.dtb
	arch/arm/boot/dts/armada-388-clearfog-pro.dtb
	arch/arm/boot/dts/armada-388-db.dtb
	arch/arm/boot/dts/armada-388-gp.dtb
	arch/arm/boot/dts/armada-388-helios4.dtb
	arch/arm/boot/dts/armada-388-rd.dtb

watchdog-timer@20300: $nodename:0: 'watchdog-timer@20300' does not match '^watchdog(@.*|-[0-9a-f])?$'

	arch/arm/boot/dts/kirkwood-b3.dtb
	arch/arm/boot/dts/kirkwood-blackarmor-nas220.dtb
	arch/arm/boot/dts/kirkwood-c200-v1.dtb
	arch/arm/boot/dts/kirkwood-cloudbox.dtb
	arch/arm/boot/dts/kirkwood-d2net.dtb
	arch/arm/boot/dts/kirkwood-db-88f6281.dtb
	arch/arm/boot/dts/kirkwood-db-88f6282.dtb
	arch/arm/boot/dts/kirkwood-dir665.dtb
	arch/arm/boot/dts/kirkwood-dns320.dtb
	arch/arm/boot/dts/kirkwood-dns325.dtb
	arch/arm/boot/dts/kirkwood-dockstar.dtb
	arch/arm/boot/dts/kirkwood-dreamplug.dtb
	arch/arm/boot/dts/kirkwood-ds109.dtb
	arch/arm/boot/dts/kirkwood-ds110jv10.dtb
	arch/arm/boot/dts/kirkwood-ds111.dtb
	arch/arm/boot/dts/kirkwood-ds112.dtb
	arch/arm/boot/dts/kirkwood-ds209.dtb
	arch/arm/boot/dts/kirkwood-ds210.dtb
	arch/arm/boot/dts/kirkwood-ds212.dtb
	arch/arm/boot/dts/kirkwood-ds212j.dtb
	arch/arm/boot/dts/kirkwood-ds409.dtb
	arch/arm/boot/dts/kirkwood-ds409slim.dtb
	arch/arm/boot/dts/kirkwood-ds411.dtb
	arch/arm/boot/dts/kirkwood-ds411j.dtb
	arch/arm/boot/dts/kirkwood-ds411slim.dtb
	arch/arm/boot/dts/kirkwood-goflexnet.dtb
	arch/arm/boot/dts/kirkwood-guruplug-server-plus.dtb
	arch/arm/boot/dts/kirkwood-ib62x0.dtb
	arch/arm/boot/dts/kirkwood-iconnect.dtb
	arch/arm/boot/dts/kirkwood-iomega_ix2_200.dtb
	arch/arm/boot/dts/kirkwood-is2.dtb
	arch/arm/boot/dts/kirkwood-km_kirkwood.dtb
	arch/arm/boot/dts/kirkwood-l-50.dtb
	arch/arm/boot/dts/kirkwood-laplug.dtb
	arch/arm/boot/dts/kirkwood-linkstation-lsqvl.dtb
	arch/arm/boot/dts/kirkwood-linkstation-lsvl.dtb
	arch/arm/boot/dts/kirkwood-linkstation-lswsxl.dtb
	arch/arm/boot/dts/kirkwood-linkstation-lswvl.dtb
	arch/arm/boot/dts/kirkwood-linkstation-lswxl.dtb
	arch/arm/boot/dts/kirkwood-linksys-viper.dtb
	arch/arm/boot/dts/kirkwood-lschlv2.dtb
	arch/arm/boot/dts/kirkwood-lsxhl.dtb
	arch/arm/boot/dts/kirkwood-mplcec4.dtb
	arch/arm/boot/dts/kirkwood-mv88f6281gtw-ge.dtb
	arch/arm/boot/dts/kirkwood-nas2big.dtb
	arch/arm/boot/dts/kirkwood-net2big.dtb
	arch/arm/boot/dts/kirkwood-net5big.dtb
	arch/arm/boot/dts/kirkwood-netgear_readynas_duo_v2.dtb
	arch/arm/boot/dts/kirkwood-netgear_readynas_nv+_v2.dtb
	arch/arm/boot/dts/kirkwood-ns2.dtb
	arch/arm/boot/dts/kirkwood-ns2lite.dtb
	arch/arm/boot/dts/kirkwood-ns2max.dtb
	arch/arm/boot/dts/kirkwood-ns2mini.dtb
	arch/arm/boot/dts/kirkwood-nsa310a.dtb
	arch/arm/boot/dts/kirkwood-nsa310.dtb
	arch/arm/boot/dts/kirkwood-nsa320.dtb
	arch/arm/boot/dts/kirkwood-nsa325.dtb
	arch/arm/boot/dts/kirkwood-openblocks_a6.dtb
	arch/arm/boot/dts/kirkwood-openblocks_a7.dtb
	arch/arm/boot/dts/kirkwood-openrd-base.dtb
	arch/arm/boot/dts/kirkwood-openrd-client.dtb
	arch/arm/boot/dts/kirkwood-openrd-ultimate.dtb
	arch/arm/boot/dts/kirkwood-pogo_e02.dtb
	arch/arm/boot/dts/kirkwood-pogoplug-series-4.dtb
	arch/arm/boot/dts/kirkwood-rd88f6192.dtb
	arch/arm/boot/dts/kirkwood-rd88f6281-a.dtb
	arch/arm/boot/dts/kirkwood-rd88f6281-z0.dtb
	arch/arm/boot/dts/kirkwood-rs212.dtb
	arch/arm/boot/dts/kirkwood-rs409.dtb
	arch/arm/boot/dts/kirkwood-rs411.dtb
	arch/arm/boot/dts/kirkwood-sheevaplug.dtb
	arch/arm/boot/dts/kirkwood-sheevaplug-esata.dtb
	arch/arm/boot/dts/kirkwood-t5325.dtb
	arch/arm/boot/dts/kirkwood-topkick.dtb
	arch/arm/boot/dts/kirkwood-ts219-6281.dtb
	arch/arm/boot/dts/kirkwood-ts219-6282.dtb
	arch/arm/boot/dts/kirkwood-ts419-6281.dtb
	arch/arm/boot/dts/kirkwood-ts419-6282.dtb

wdt@20300: $nodename:0: 'wdt@20300' does not match '^watchdog(@.*|-[0-9a-f])?$'

	arch/arm/boot/dts/orion5x-kuroboxpro.dtb
	arch/arm/boot/dts/orion5x-lacie-d2-network.dtb
	arch/arm/boot/dts/orion5x-lacie-ethernet-disk-mini-v2.dtb
	arch/arm/boot/dts/orion5x-linkstation-lschl.dtb
	arch/arm/boot/dts/orion5x-linkstation-lsgl.dtb
	arch/arm/boot/dts/orion5x-linkstation-lswtgl.dtb
	arch/arm/boot/dts/orion5x-lswsgl.dtb
	arch/arm/boot/dts/orion5x-maxtor-shared-storage-2.dtb
	arch/arm/boot/dts/orion5x-netgear-wnr854t.dtb
	arch/arm/boot/dts/orion5x-rd88f5182-nas.dtb
#11 lore raw

Re: [PATCH 05/11] DT: watchdog: Convert marvel.txt to YAML

Quoted 3 lines

watchdog-timer@20300: $nodename:0: 'watchdog-timer@20300' does not match '^watchdog(@.*|-[0-9a-f])?$'
arch/arm/boot/dts/kirkwood-b3.dtb arch/arm/boot/dts/kirkwood-blackarmor-nas220.dtb

This is fixed in the next patch.

So far, i've been working on kirkwood. There are too many mvebu platforms to convert them all at once to YAML, i have over 50 patches with just kirkwood. So i expect there to be warnings for other SoC at the moment. Once i have kirkwood finished, i will probably work on orion5x and then armada-xp, and the other armada SoCs.

Andrew

maintainer
#12 lore raw

Re: [PATCH 05/11] DT: watchdog: Convert marvel.txt to YAML

Quoted 5 lines · Andrew Lunn
Quoted 3 lines

watchdog-timer@20300: $nodename:0: 'watchdog-timer@20300' does not match '^watchdog(@.*|-[0-9a-f])?$'
arch/arm/boot/dts/kirkwood-b3.dtb arch/arm/boot/dts/kirkwood-blackarmor-nas220.dtb

This is fixed in the next patch.

Not really worried about that one.

Quoted 5 lines

So far, i've been working on kirkwood. There are too many mvebu platforms to convert them all at once to YAML, i have over 50 patches with just kirkwood. So i expect there to be warnings for other SoC at the moment. Once i have kirkwood finished, i will probably work on orion5x and then armada-xp, and the other armada SoCs.

It was interrupts-extended warning that caught my attention. You've said there is only 1 interrupt, but clearly some platforms have 2. It's fine to fix the schemas to match reality in the conversion if needed, just note the changes in the commit msg.

Rob

#13 lore raw

PATCH 6/11 arm: DT: kirkwood/orion5: Rename watchdog node

In reply to Andrew Lunn

The watchdog.yaml requires the node be called watchdog. So change from the current wdt/watchdog-timer.

---
 arch/arm/boot/dts/kirkwood.dtsi | 2 +-
 arch/arm/boot/dts/orion5x.dtsi  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
arch/arm/boot/dts/kirkwood.dtsi +1 -1
index fca31a5d5ac7..362d2a6fbb54 100644
@@ -243,7 +243,7 @@ timer: timer@20300 {
 			clocks = <&core_clk 0>;
 		};
 
-		wdt: watchdog-timer@20300 {
+		wdt: watchdog@20300 {
 			compatible = "marvell,orion-wdt";
 			reg = <0x20300 0x28>, <0x20108 0x4>;
 			interrupt-parent = <&bridge_intc>;
arch/arm/boot/dts/orion5x.dtsi +1 -1
index 2d41f5c166ee..7de95818663e 100644
@@ -137,7 +137,7 @@ timer: timer@20300 {
 				clocks = <&core_clk 0>;
 			};
 
-			wdt: wdt@20300 {
+			wdt: watchdog@20300 {
 				compatible = "marvell,orion-wdt";
 				reg = <0x20300 0x28>, <0x20108 0x4>;
 				interrupt-parent = <&bridge_intc>;
Signature · 1 line
2.37.2
#14 lore raw

PATCH 7/11 DT: nand-controller: Reflect reality of marvell,orion-nand

In reply to Andrew Lunn

The Marvell Orion NAND driver comes from before the time of the standardised NAND binding. The controller only supports a single device, and expects the NAND partition table to be directly in the controller node. This goes against the standardised NAND binding which expects a sub node per NAND device, which contains the partition table.

Since the partition table contains a reg property indicating the start address of the partition and its length, it needs #size-cells set to
1. However, for a list of nand devices, the reg value is the device number, requiring #size-cells of 0.

Add an exception to nand-controller.yaml to allow this #size-cells value when the compatible matches the orion controller.

In order that the example works, it needs a compatible string so the comparison can be made.

---
 .../bindings/mtd/nand-controller.yaml           | 17 ++++++++++++++++-
 1 file changed, 16 insertions(+), 1 deletion(-)
Documentation/devicetree/bindings/mtd/nand-controller.yaml +16 -1
index 359a015d4e5a..ab90e34557ad 100644
@@ -34,7 +34,7 @@ properties:
     const: 1
 
   "#size-cells":
-    const: 0
+    enum: [0, 1]
 
   ranges: true
 
@@ -130,11 +130,26 @@ required:
   - "#address-cells"
   - "#size-cells"
 
+if:
+  properties:
+    compatible:
+      contains:
+        const: marvell,orion-nand
+then:
+  properties:
+    "#size-cells":
+      const: 1
+else:
+  properties:
+    "#size-cells":
+      const: 0
+
 additionalProperties: true
 
 examples:
   - |
     nand-controller {
+      compatible = "bar";
       #address-cells = <1>;
       #size-cells = <0>;
       cs-gpios = <0>, <&gpioA 1>; /* A single native CS is available */
Signature · 1 line
2.37.2
maintainer
#15 lore raw

Re: [PATCH 07/11] DT: nand-controller: Reflect reality of marvell,orion-nand

Quoted 15 lines · Andrew Lunn

The Marvell Orion NAND driver comes from before the time of the standardised NAND binding. The controller only supports a single device, and expects the NAND partition table to be directly in the controller node. This goes against the standardised NAND binding which expects a sub node per NAND device, which contains the partition table.

Since the partition table contains a reg property indicating the start address of the partition and its length, it needs #size-cells set to
1. However, for a list of nand devices, the reg value is the device number, requiring #size-cells of 0.

Add an exception to nand-controller.yaml to allow this #size-cells value when the compatible matches the orion controller.

Quoted 8 lines

In order that the example works, it needs a compatible string so the comparison can be made.

---
 .../bindings/mtd/nand-controller.yaml           | 17 ++++++++++++++++-
 1 file changed, 16 insertions(+), 1 deletion(-)

My bot found errors running 'make DT_CHECKER_FLAGS=-m dt_binding_check' on your patch (DT_CHECKER_FLAGS is new in v5.13):

yamllint warnings/errors:

dtschema/dtc warnings/errors:
Documentation/devicetree/bindings/mtd/nand-controller.example.dtb:0:0: /example-0/nand-controller: failed to match any schema with compatible: ['bar']

doc reference errors (make refcheckdocs):

See https://patchwork.ozlabs.org/patch/

This check can fail if there are any dependencies. The base for a patch series is generally the most recent rc1.

If you already ran 'make dt_binding_check' and didn't see the above error(s), then make sure 'yamllint' is installed and dt-schema is up to date:

pip3 install dtschema --upgrade

Please check and re-submit.

#16 lore raw

PATCH 8/11 DT: mtd: Convert orion-nand to YAML

In reply to Andrew Lunn

This works for Kirkwood, but orion5x has an odd bus structure which results in some warnings.

---
 .../bindings/mtd/marvell,orion-nand.yaml      | 85 +++++++++++++++++++
 .../devicetree/bindings/mtd/orion-nand.txt    | 50 -----------
 2 files changed, 85 insertions(+), 50 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/mtd/marvell,orion-nand.yaml
 delete mode 100644 Documentation/devicetree/bindings/mtd/orion-nand.txt
Documentation/devicetree/bindings/mtd/marvell,orion-nand.yaml new file +85 -0
new file mode 100644
index 000000000000..127c12e6f5ce
@@ -0,0 +1,85 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/mtd/marvell,orion-nand.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Marvell Orion NAND Controller Device Tree Bindings
+
+allOf:
+  - $ref: "nand-controller.yaml"
+
+maintainers:
+  - Andrew Lunn <[email protected]>
+
+properties:
+  "#address-cells": true
+  "#size-cells": true
+
+  compatible:
+    enum:
+      - marvell,orion-nand
+
+  reg:
+    maxItems: 1
+
+  interrupts:
+    maxItems: 1
+
+  clocks:
+    maxItems: 1
+
+  cle:
+    description:
+      Address line number connected to CLE. Default is 0
+    $ref: /schemas/types.yaml#/definitions/uint32
+    minimum: 0
+    maximum: 255
+
+  ale:
+    description:
+      Address line number connected to ALE. Default is 1
+    $ref: /schemas/types.yaml#/definitions/uint32
+    minimum: 0
+    maximum: 255
+
+  bank-width:
+    description: Width (in bytes) of the bank.  Equal to the device width times
+      the number of interleaved chips.
+    $ref: /schemas/types.yaml#/definitions/uint32
+    enum: [ 1, 2, 4 ]
+
+  chip-delay:
+    description:
+      Chip dependent delay for transferring data from array to read
+      registers in usecs
+    $ref: /schemas/types.yaml#/definitions/uint32
+    minimum: 0
+    maximum: 255
+
+  partitions:
+    type: object
+
+patternProperties:
+  "@[0-9a-f]+$":
+    $ref: "/schemas/mtd/partitions/partition.yaml"
+
+required:
+  - compatible
+  - reg
+
+additionalProperties: false
+
+examples:
+  - |
+    nand-controller@f4000000 {
+        #address-cells = <1>;
+        #size-cells = <1>;
+        cle = <0>;
+        ale = <1>;
+        bank-width = <1>;
+        chip-delay = <25>;
+        compatible = "marvell,orion-nand";
+        reg = <0xf4000000 0x400>;
+    };
+...
Documentation/devicetree/bindings/mtd/orion-nand.txt deleted +0 -50

50 lines not on this page · raw message

Signature · 1 line
2.37.2
maintainer
#17 lore raw

Re: [PATCH 08/11] DT: mtd: Convert orion-nand to YAML

Quoted 11 lines · Andrew Lunn

This works for Kirkwood, but orion5x has an odd bus structure which results in some warnings.

---
 .../bindings/mtd/marvell,orion-nand.yaml      | 85 +++++++++++++++++++
 .../devicetree/bindings/mtd/orion-nand.txt    | 50 -----------
 2 files changed, 85 insertions(+), 50 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/mtd/marvell,orion-nand.yaml
 delete mode 100644 Documentation/devicetree/bindings/mtd/orion-nand.txt

My bot found errors running 'make DT_CHECKER_FLAGS=-m dt_binding_check' on your patch (DT_CHECKER_FLAGS is new in v5.13):

yamllint warnings/errors:

dtschema/dtc warnings/errors:
/builds/robherring/linux-dt-review/Documentation/devicetree/bindings/mtd/marvell,orion-nand.example.dtb: nand-controller@f4000000: #size-cells:0:0: 0 was expected
From schema: /builds/robherring/linux-dt-review/Documentation/devicetree/bindings/mtd/nand-controller.yaml
/builds/robherring/linux-dt-review/Documentation/devicetree/bindings/mtd/marvell,orion-nand.example.dtb: nand-controller@f4000000: #size-cells:0:0: 0 was expected
From schema: /builds/robherring/linux-dt-review/Documentation/devicetree/bindings/mtd/marvell,orion-nand.yaml

doc reference errors (make refcheckdocs):

See https://patchwork.ozlabs.org/patch/

This check can fail if there are any dependencies. The base for a patch series is generally the most recent rc1.

If you already ran 'make dt_binding_check' and didn't see the above error(s), then make sure 'yamllint' is installed and dt-schema is up to date:

pip3 install dtschema --upgrade

Please check and re-submit.

#18 lore raw

Re: [PATCH 08/11] DT: mtd: Convert orion-nand to YAML

Quoted 16 lines · Rob Herring
Quoted 11 lines · Andrew Lunn

This works for Kirkwood, but orion5x has an odd bus structure which results in some warnings.

---
 .../bindings/mtd/marvell,orion-nand.yaml      | 85 +++++++++++++++++++
 .../devicetree/bindings/mtd/orion-nand.txt    | 50 -----------
 2 files changed, 85 insertions(+), 50 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/mtd/marvell,orion-nand.yaml
 delete mode 100644 Documentation/devicetree/bindings/mtd/orion-nand.txt

My bot found errors running 'make DT_CHECKER_FLAGS=-m dt_binding_check' on your patch (DT_CHECKER_FLAGS is new in v5.13):

Quoted 7 lines

yamllint warnings/errors:

dtschema/dtc warnings/errors:
/builds/robherring/linux-dt-review/Documentation/devicetree/bindings/mtd/marvell,orion-nand.example.dtb: nand-controller@f4000000: #size-cells:0:0: 0 was expected
From schema: /builds/robherring/linux-dt-review/Documentation/devicetree/bindings/mtd/nand-controller.yaml
/builds/robherring/linux-dt-review/Documentation/devicetree/bindings/mtd/marvell,orion-nand.example.dtb: nand-controller@f4000000: #size-cells:0:0: 0 was expected
From schema: /builds/robherring/linux-dt-review/Documentation/devicetree/bindings/mtd/marvell,orion-nand.yaml

Does the bot not apply patches N-1 before testing patch N? In this case, if patch N-2 was applied, you would not see this warning.

Andrew

maintainer
#19 lore raw

Re: [PATCH 08/11] DT: mtd: Convert orion-nand to YAML

Quoted 19 lines · Andrew Lunn
Quoted 18 lines · Rob Herring
Quoted 11 lines · Andrew Lunn

This works for Kirkwood, but orion5x has an odd bus structure which results in some warnings.

---
 .../bindings/mtd/marvell,orion-nand.yaml      | 85 +++++++++++++++++++
 .../devicetree/bindings/mtd/orion-nand.txt    | 50 -----------
 2 files changed, 85 insertions(+), 50 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/mtd/marvell,orion-nand.yaml
 delete mode 100644 Documentation/devicetree/bindings/mtd/orion-nand.txt

My bot found errors running 'make DT_CHECKER_FLAGS=-m dt_binding_check' on your patch (DT_CHECKER_FLAGS is new in v5.13):

yamllint warnings/errors:

Quoted 8 lines
Quoted 5 lines

dtschema/dtc warnings/errors:
/builds/robherring/linux-dt-review/Documentation/devicetree/bindings/mtd/marvell,orion-nand.example.dtb: nand-controller@f4000000: #size-cells:0:0: 0 was expected
From schema: /builds/robherring/linux-dt-review/Documentation/devicetree/bindings/mtd/nand-controller.yaml
/builds/robherring/linux-dt-review/Documentation/devicetree/bindings/mtd/marvell,orion-nand.example.dtb: nand-controller@f4000000: #size-cells:0:0: 0 was expected
From schema: /builds/robherring/linux-dt-review/Documentation/devicetree/bindings/mtd/marvell,orion-nand.yaml

Does the bot not apply patches N-1 before testing patch N? In this case, if patch N-2 was applied, you would not see this warning.

It does unless there is a failure and it drops the prior patches.

Rob

#20 lore raw

PATCH 9/11 arm: DT: kirkwood.dtsi: Rename nand to nand-controller

In reply to Andrew Lunn

Current convention is to use the name namd-controller. Now that the orion-nand controller binding has validation via YAML, fix the name.

---
 arch/arm/boot/dts/kirkwood.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/kirkwood.dtsi +1 -1
index 362d2a6fbb54..122a6db6c001 100644
@@ -42,7 +42,7 @@ MBUS_ID(0x03, 0x01) 0 0xf5000000 0x10000	/* crypto sram */
 		pcie-mem-aperture = <0xe0000000 0x10000000>; /* 256 MiB memory space */
 		pcie-io-aperture  = <0xf2000000 0x100000>;   /*   1 MiB    I/O space */
 
-		nand: nand@12f {
+		nand: nand-controller@12f {
 			#address-cells = <1>;
 			#size-cells = <1>;
 			cle = <0>;
Signature · 1 line
2.37.2
#21 lore raw

PATCH 10/11 DT: timer: Convert marvell,orion-timer.txt to YAML

In reply to Andrew Lunn
---
 .../bindings/timer/marvell,orion-timer.txt    | 16 ------
 .../bindings/timer/marvell,orion-timer.yaml   | 51 +++++++++++++++++++
 2 files changed, 51 insertions(+), 16 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/timer/marvell,orion-timer.txt
 create mode 100644 Documentation/devicetree/bindings/timer/marvell,orion-timer.yaml
Documentation/devicetree/bindings/timer/marvell,orion-timer.txt deleted +0 -16
deleted file mode 100644
index cd1a0c256f94..000000000000
@@ -1,16 +0,0 @@
-Marvell Orion SoC timer
-
-Required properties:
-- compatible: shall be "marvell,orion-timer"
-- reg: base address of the timer register starting with TIMERS CONTROL register
-- interrupts: should contain the interrupts for Timer0 and Timer1
-- clocks: phandle of timer reference clock (tclk)
-
-Example:
-	timer: timer {
-		compatible = "marvell,orion-timer";
-		reg = <0x20300 0x20>;
-		interrupt-parent = <&bridge_intc>;
-		interrupts = <1>, <2>;
-		clocks = <&core_clk 0>;
-	};
Documentation/devicetree/bindings/timer/marvell,orion-timer.yaml new file +51 -0

51 lines not on this page · raw message

Signature · 1 line
2.37.2
#22 lore raw

PATCH 11/11 DT: clock: Convert mvebu-gated-clock.txt to YAML

In reply to Andrew Lunn
---
 .../clock/marvell,kirkwood-gating-clock.yaml  | 230 ++++++++++++++++++
 .../bindings/clock/mvebu-gated-clock.txt      | 205 ----------------
 2 files changed, 230 insertions(+), 205 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/clock/marvell,kirkwood-gating-clock.yaml
 delete mode 100644 Documentation/devicetree/bindings/clock/mvebu-gated-clock.txt
Documentation/devicetree/bindings/clock/marvell,kirkwood-gating-clock.yaml new file +230 -0
new file mode 100644
index 000000000000..b420a2c2a8d3
@@ -0,0 +1,230 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/clock/marvell,kirkwood-gating-clock.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Marvel Gating Clock Device Tree Bindings
+
+maintainers:
+  - Andrew Lunn <[email protected]>
+
+# Marvell Armada 370/375/380/385/39x/XP, Dove and Kirkwood allow some
+# peripheral clocks to be gated to save some power. The clock consumer
+# should specify the desired clock by having the clock ID in its
+# "clocks" phandle cell. The clock ID is directly mapped to the
+# corresponding clock gating control bit in HW to ease manual clock
+# lookup in datasheet.
+#
+# The following is a list of provided IDs for Armada 370:
+# ID	Clock	Peripheral
+# -----------------------------------
+# 0	Audio	AC97 Cntrl
+# 1	pex0_en	PCIe 0 Clock out
+# 2	pex1_en	PCIe 1 Clock out
+# 3	ge1	Gigabit Ethernet 1
+# 4	ge0	Gigabit Ethernet 0
+# 5	pex0	PCIe Cntrl 0
+# 9	pex1	PCIe Cntrl 1
+# 15	sata0	SATA Host 0
+# 17	sdio	SDHCI Host
+# 23	crypto	CESA (crypto engine)
+# 25	tdm	Time Division Mplx
+# 28	ddr	DDR Cntrl
+# 30	sata1	SATA Host 0
+#
+# The following is a list of provided IDs for Armada 375:
+# ID	Clock		Peripheral
+# -----------------------------------
+# 2	mu		Management Unit
+# 3	pp		Packet Processor
+# 4	ptp		PTP
+# 5	pex0		PCIe 0 Clock out
+# 6	pex1		PCIe 1 Clock out
+# 8	audio		Audio Cntrl
+# 11	nd_clk		Nand Flash Cntrl
+# 14	sata0_link	SATA 0 Link
+# 15	sata0_core	SATA 0 Core
+# 16	usb3		USB3 Host
+# 17	sdio		SDHCI Host
+# 18	usb		USB Host
+# 19	gop		Gigabit Ethernet MAC
+# 20	sata1_link	SATA 1 Link
+# 21	sata1_core	SATA 1 Core
+# 22	xor0		XOR DMA 0
+# 23	xor1		XOR DMA 0
+# 24	copro		Coprocessor
+# 25	tdm		Time Division Mplx
+# 28	crypto0_enc	Cryptographic Unit Port 0 Encryption
+# 29	crypto0_core	Cryptographic Unit Port 0 Core
+# 30	crypto1_enc	Cryptographic Unit Port 1 Encryption
+# 31	crypto1_core	Cryptographic Unit Port 1 Core
+#
+# The following is a list of provided IDs for Armada 380/385:
+# ID	Clock		Peripheral
+# -----------------------------------
+# 0	audio		Audio
+# 2	ge2		Gigabit Ethernet 2
+# 3	ge1		Gigabit Ethernet 1
+# 4	ge0		Gigabit Ethernet 0
+# 5	pex1		PCIe 1
+# 6	pex2		PCIe 2
+# 7	pex3		PCIe 3
+# 8	pex0		PCIe 0
+# 9	usb3h0		USB3 Host 0
+# 10	usb3h1		USB3 Host 1
+# 11	usb3d		USB3 Device
+# 13	bm		Buffer Management
+# 14	crypto0z	Cryptographic 0 Z
+# 15	sata0		SATA 0
+# 16	crypto1z	Cryptographic 1 Z
+# 17	sdio		SDIO
+# 18	usb2		USB 2
+# 21	crypto1		Cryptographic 1
+# 22	xor0		XOR 0
+# 23	crypto0		Cryptographic 0
+# 25	tdm		Time Division Multiplexing
+# 28	xor1		XOR 1
+# 30	sata1		SATA 1
+#
+# The following is a list of provided IDs for Armada 39x:
+# ID	Clock		Peripheral
+# -----------------------------------
+# 5	pex1		PCIe 1
+# 6	pex2		PCIe 2
+# 7	pex3		PCIe 3
+# 8	pex0		PCIe 0
+# 9	usb3h0		USB3 Host 0
+# 10	usb3h1		USB3 Host 1
+# 15	sata0		SATA 0
+# 17	sdio		SDIO
+# 22	xor0		XOR 0
+# 28	xor1		XOR 1
+#
+# The following is a list of provided IDs for Armada XP:
+# ID	Clock	Peripheral
+# -----------------------------------
+# 0	audio	Audio Cntrl
+# 1	ge3	Gigabit Ethernet 3
+# 2	ge2	Gigabit Ethernet 2
+# 3	ge1	Gigabit Ethernet 1
+# 4	ge0	Gigabit Ethernet 0
+# 5	pex0	PCIe Cntrl 0
+# 6	pex1	PCIe Cntrl 1
+# 7	pex2	PCIe Cntrl 2
+# 8	pex3	PCIe Cntrl 3
+# 13	bp
+# 14	sata0lnk
+# 15	sata0	SATA Host 0
+# 16	lcd	LCD Cntrl
+# 17	sdio	SDHCI Host
+# 18	usb0	USB Host 0
+# 19	usb1	USB Host 1
+# 20	usb2	USB Host 2
+# 22	xor0	XOR DMA 0
+# 23	crypto	CESA engine
+# 25	tdm	Time Division Mplx
+# 28	xor1	XOR DMA 1
+# 29	sata1lnk
+# 30	sata1	SATA Host 1
+#
+# The following is a list of provided IDs for 98dx3236:
+# ID	Clock	Peripheral
+# -----------------------------------
+# 3	ge1	Gigabit Ethernet 1
+# 4	ge0	Gigabit Ethernet 0
+# 5	pex0	PCIe Cntrl 0
+# 17	sdio	SDHCI Host
+# 18	usb0	USB Host 0
+# 22	xor0	XOR DMA 0
+#
+# The following is a list of provided IDs for Dove:
+# ID	Clock	Peripheral
+# -----------------------------------
+# 0	usb0	USB Host 0
+# 1	usb1	USB Host 1
+# 2	ge	Gigabit Ethernet
+# 3	sata	SATA Host
+# 4	pex0	PCIe Cntrl 0
+# 5	pex1	PCIe Cntrl 1
+# 8	sdio0	SDHCI Host 0
+# 9	sdio1	SDHCI Host 1
+# 10	nand	NAND Cntrl
+# 11	camera	Camera Cntrl
+# 12	i2s0	I2S Cntrl 0
+# 13	i2s1	I2S Cntrl 1
+# 15	crypto	CESA engine
+# 21	ac97	AC97 Cntrl
+# 22	pdma	Peripheral DMA
+# 23	xor0	XOR DMA 0
+# 24	xor1	XOR DMA 1
+# 30	gephy	Gigabit Ethernel PHY
+# Note: gephy(30) is implemented as a parent clock of ge(2)
+#
+# The following is a list of provided IDs for Kirkwood:
+# ID	Clock	Peripheral
+# -----------------------------------
+# 0	ge0	Gigabit Ethernet 0
+# 2	pex0	PCIe Cntrl 0
+# 3	usb0	USB Host 0
+# 4	sdio	SDIO Cntrl
+# 5	tsu	Transp. Stream Unit
+# 6	dunit	SDRAM Cntrl
+# 7	runit	Runit
+# 8	xor0	XOR DMA 0
+# 9	audio	I2S Cntrl 0
+# 14	sata0	SATA Host 0
+# 15	sata1	SATA Host 1
+# 16	xor1	XOR DMA 1
+# 17	crypto	CESA engine
+# 18	pex1	PCIe Cntrl 1
+# 19	ge1	Gigabit Ethernet 1
+# 20	tdm	Time Division Mplx
+#
+#
+
+properties:
+  compatible:
+    enum:
+      - marvell,armada-370-gating-clock
+      - marvell,armada-375-gating-clock
+      - marvell,armada-380-gating-clock
+      - marvell,armada-390-gating-clock
+      - marvell,armada-xp-gating-clock
+      - marvell,mv98dx3236-gating-clock
+      - marvell,dove-gating-clock
+      - marvell,kirkwood-gating-clock
+
+  reg:
+    description:
+      Shall be the register address of the Clock Gating Control register
+    maxItems: 1
+
+  "#clock-cells":
+    const: 1
+    description:
+      This additional argument passed to that clock is the offset of
+      the bit controlling this particular gate in the register.
+
+  clocks:
+    description:
+      default parent clock phandle (e.g. tclk)
+    maxItems: 1
+
+required:
+  - "#clock-cells"
+  - compatible
+  - reg
+
+additionalProperties: false
+
+examples:
+  - |
+    gate_clk: clock-gating-control@d0038 {
+      compatible = "marvell,dove-gating-clock";
+      reg = <0xd0038 0x4>;
+      /* default parent clock is tclk */
+      clocks = <&core_clk 0>;
+      #clock-cells = <1>;
+    };
+...
Documentation/devicetree/bindings/clock/mvebu-gated-clock.txt deleted +0 -205

205 lines not on this page · raw message

Signature · 1 line
2.37.2
maintainer
#23 lore raw
In reply to Andrew Lunn
Quoted 8 lines · Andrew Lunn

This is the first batch of patches converting the Marvell MVEBU driver bindings from .txt to .yaml. So far, kirkwood has been used for testing, but these drivers apply to a range of Marvell SoCs.

In order to reduce the number of warnings from the DT schema checking tools, a few minor changes have been made to a few DT files. No actual errors have been found, the changes just make the checker quiet.

Quoted 12 lines

Andrew Lunn (11):
DT: RTC: orion-rtc: Convert to YAML
DT: thermal: marvell,kirkwood-thermal: Convert to YAML
DT: pinctrl: Convert marvell,kirkwood-pintctrl to YAML
DT: USB: Convert ehci-orion to YAML
DT: watchdog: Convert marvel.txt to YAML
arm: DT: kirkwood/orion5: Rename watchdog node
DT: nand-controller: Reflect reality of marvell,orion-nand
DT: mtd: Convert orion-nand to YAML
arm: DT: kirkwood.dtsi: Rename nand to nand-controller
DT: timer: Convert marvell,orion-timer.txt to YAML
DT: clock: Convert mvebu-gated-clock.txt to YAML

Please follow naming conventions of the subsystem for the subject.

s/^DT/dt-bindings/
s/YAML/DT schema/

Rob

maintainer
#24 lore raw
In reply to Andrew Lunn
Quoted 8 lines · Andrew Lunn

This is the first batch of patches converting the Marvell MVEBU driver bindings from .txt to .yaml. So far, kirkwood has been used for testing, but these drivers apply to a range of Marvell SoCs.

In order to reduce the number of warnings from the DT schema checking tools, a few minor changes have been made to a few DT files. No actual errors have been found, the changes just make the checker quiet.

Quoted 12 lines

Andrew Lunn (11):
DT: RTC: orion-rtc: Convert to YAML
DT: thermal: marvell,kirkwood-thermal: Convert to YAML
DT: pinctrl: Convert marvell,kirkwood-pintctrl to YAML
DT: USB: Convert ehci-orion to YAML
DT: watchdog: Convert marvel.txt to YAML
arm: DT: kirkwood/orion5: Rename watchdog node
DT: nand-controller: Reflect reality of marvell,orion-nand
DT: mtd: Convert orion-nand to YAML
arm: DT: kirkwood.dtsi: Rename nand to nand-controller
DT: timer: Convert marvell,orion-timer.txt to YAML
DT: clock: Convert mvebu-gated-clock.txt to YAML

Also, there's not any dependency between most of these patches and they all go thru different subsystems, so no need for this to be 1 series.

Rob

#25 lore raw
Quoted 22 lines · Rob Herring
Quoted 8 lines · Andrew Lunn

This is the first batch of patches converting the Marvell MVEBU driver bindings from .txt to .yaml. So far, kirkwood has been used for testing, but these drivers apply to a range of Marvell SoCs.

In order to reduce the number of warnings from the DT schema checking tools, a few minor changes have been made to a few DT files. No actual errors have been found, the changes just make the checker quiet.

Quoted 12 lines

Andrew Lunn (11):
DT: RTC: orion-rtc: Convert to YAML
DT: thermal: marvell,kirkwood-thermal: Convert to YAML
DT: pinctrl: Convert marvell,kirkwood-pintctrl to YAML
DT: USB: Convert ehci-orion to YAML
DT: watchdog: Convert marvel.txt to YAML
arm: DT: kirkwood/orion5: Rename watchdog node
DT: nand-controller: Reflect reality of marvell,orion-nand
DT: mtd: Convert orion-nand to YAML
arm: DT: kirkwood.dtsi: Rename nand to nand-controller
DT: timer: Convert marvell,orion-timer.txt to YAML
DT: clock: Convert mvebu-gated-clock.txt to YAML

Quoted 2 lines

Also, there's not any dependency between most of these patches and they all go thru different subsystems, so no need for this to be 1 series.

My intention was for them all to go through mvebu, to arm-soc and in. That is how all these .txt files got merged many years ago.

There is one exception that i know of, somewhere in a later series i convert the PCI controller. There is conflicting change being made, so i plan to submit that one via the PCI Maintainer to solve the conflict.

Andrew

maintainer
#26 lore raw
Quoted 24 lines · Andrew Lunn
Quoted 22 lines · Rob Herring
Quoted 20 lines · Andrew Lunn

This is the first batch of patches converting the Marvell MVEBU driver bindings from .txt to .yaml. So far, kirkwood has been used for testing, but these drivers apply to a range of Marvell SoCs.

In order to reduce the number of warnings from the DT schema checking tools, a few minor changes have been made to a few DT files. No actual errors have been found, the changes just make the checker quiet.

Andrew Lunn (11):
DT: RTC: orion-rtc: Convert to YAML
DT: thermal: marvell,kirkwood-thermal: Convert to YAML
DT: pinctrl: Convert marvell,kirkwood-pintctrl to YAML
DT: USB: Convert ehci-orion to YAML
DT: watchdog: Convert marvel.txt to YAML
arm: DT: kirkwood/orion5: Rename watchdog node
DT: nand-controller: Reflect reality of marvell,orion-nand
DT: mtd: Convert orion-nand to YAML
arm: DT: kirkwood.dtsi: Rename nand to nand-controller
DT: timer: Convert marvell,orion-timer.txt to YAML
DT: clock: Convert mvebu-gated-clock.txt to YAML

Quoted 5 lines
Quoted 2 lines

Also, there's not any dependency between most of these patches and they all go thru different subsystems, so no need for this to be 1 series.

My intention was for them all to go through mvebu, to arm-soc and in. That is how all these .txt files got merged many years ago.

Yes, that did happen some, but the documented path in for bindings is via subsystem maintainers (with the driver for new bindings). The 2nd preference is the DT tree as I'm about the only one testing (or continuously testing) the schemas.

Rob