Skip to contentSkip to conversation

dt-bindings: Fix property name typos in if/then schemas

PATCH Applied Rob Herring (Arm) 9 participants 10 messages Oct 28 – Oct 30

Subsystems (22)
lore
Share & tools
lore

Rob Herring (Arm)

author maintainer
#0 lore raw

PATCH 1/1 dt-bindings: Fix property name typos in if/then schemas

Property names within if/then schemas currently go unchecked whether they have a type defined or match what's in the top-level schema. Adding a check finds a number of instances of typos. The typos result in the schema having no effect on constraints.

With this, fix the mediatek,vcodec-encoder 'clocks' count constraint exposed by the name correction.

---
 .../devicetree/bindings/clock/qcom,kpss-gcc.yaml     |  2 +-
 .../bindings/display/brcm,bcm2711-hdmi.yaml          |  2 +-
 .../bindings/display/msm/dp-controller.yaml          |  2 +-
 .../devicetree/bindings/display/msm/hdmi.yaml        |  4 ++--
 Documentation/devicetree/bindings/dma/fsl,edma.yaml  |  2 +-
 .../devicetree/bindings/gpio/loongson,ls-gpio.yaml   |  2 +-
 .../bindings/iio/adc/amlogic,meson-saradc.yaml       |  2 +-
 .../bindings/media/mediatek,vcodec-encoder.yaml      | 12 ++++--------
 .../devicetree/bindings/media/samsung,s5p-mfc.yaml   |  2 +-
 .../devicetree/bindings/pci/mediatek-pcie.yaml       | 12 ++++++------
 10 files changed, 19 insertions(+), 23 deletions(-)
Documentation/devicetree/bindings/clock/qcom,kpss-gcc.yaml +1 -1
index 88b7672123a0..ed347096df46 100644
@@ -62,7 +62,7 @@ then:
     - '#clock-cells'
 else:
   properties:
-    clock: false
+    clocks: false
     clock-names: false
     '#clock-cells': false
 
Documentation/devicetree/bindings/display/brcm,bcm2711-hdmi.yaml +1 -1
index c1cefd547391..fd4d598f6ff8 100644
@@ -145,7 +145,7 @@ allOf:
             - description: CEC stuck at low interrupt
             - description: Hotplug connected interrupt
             - description: Hotplug removed interrupt
-        interrupts-names:
+        interrupt-names:
           items:
             - const: cec-tx
             - const: cec-rx
Documentation/devicetree/bindings/display/msm/dp-controller.yaml +1 -1
index 094a6383bb77..f72d1b354007 100644
@@ -304,7 +304,7 @@ allOf:
         clocks:
           minItems: 6
           maxItems: 6
-        clocks-names:
+        clock-names:
           minItems: 6
           maxItems: 6
 
Documentation/devicetree/bindings/display/msm/hdmi.yaml +2 -2
index dfec6c3480f3..02d27ccad024 100644
@@ -113,7 +113,7 @@ allOf:
             - const: core
             - const: master_iface
             - const: slave_iface
-        core-vcc-supplies: false
+        core-vcc-supply: false
 
   - if:
       properties:
@@ -136,7 +136,7 @@ allOf:
             - const: core
             - const: alt_iface
             - const: extp
-        hdmi-mux-supplies: false
+        hdmi-mux-supply: false
 
   - if:
       properties:
Documentation/devicetree/bindings/dma/fsl,edma.yaml +1 -1
index f609038e35ae..0260d177c7d0 100644
@@ -172,7 +172,7 @@ allOf:
             const: fsl,imx7ulp-edma
     then:
       properties:
-        clock:
+        clocks:
           minItems: 2
           maxItems: 2
         clock-names:
Documentation/devicetree/bindings/gpio/loongson,ls-gpio.yaml +1 -1
index 69852444df23..07c8b233c6bd 100644
@@ -80,7 +80,7 @@ allOf:
         - resets
     else:
       properties:
-        "#interrupts-cells": false
+        "#interrupt-cells": false
         interrupt-controller: false
         resets: false
 
Documentation/devicetree/bindings/iio/adc/amlogic,meson-saradc.yaml +1 -1
index 70ab4e140e71..535213ba0c5e 100644
@@ -92,7 +92,7 @@ allOf:
     else:
       properties:
         nvmem-cells: false
-        mvmem-cel-names: false
+        nvmem-cell-names: false
         clocks:
           minItems: 4
         clock-names:
Documentation/devicetree/bindings/media/mediatek,vcodec-encoder.yaml +4 -8
index 4505e66876a2..52f471a070d5 100644
@@ -110,19 +110,15 @@ allOf:
 
     then:
       properties:
-        clock:
-          items:
-            minItems: 1
-            maxItems: 1
+        clocks:
+          maxItems: 1
         clock-names:
           items:
             - const: venc_lt_sel
     else:
       properties:
-        clock:
-          items:
-            minItems: 1
-            maxItems: 1
+        clocks:
+          maxItems: 1
         clock-names:
           items:
             - const: venc_sel
Documentation/devicetree/bindings/media/samsung,s5p-mfc.yaml +1 -1
index b46cc780703c..4488d5ca9b9c 100644
@@ -174,7 +174,7 @@ allOf:
             - const: mfc
         iommus:
           maxItems: 2
-        iommus-names: false
+        iommu-names: false
 
 examples:
   - |
Documentation/devicetree/bindings/pci/mediatek-pcie.yaml +6 -6
index c009a7a52bc6..7c40361f95ec 100644
@@ -127,7 +127,7 @@ allOf:
         phy-names:
           const: pcie-phy1
 
-        power-domain: false
+        power-domains: false
 
       required:
         - resets
@@ -150,7 +150,7 @@ allOf:
           minItems: 2
           maxItems: 2
 
-        reset: false
+        resets: false
 
         reset-names: false
 
@@ -171,7 +171,7 @@ allOf:
         clocks:
           minItems: 6
 
-        reset: false
+        resets: false
 
         reset-names: false
 
@@ -193,7 +193,7 @@ allOf:
         clocks:
           minItems: 6
 
-        reset: false
+        resets: false
 
         reset-names: false
 
@@ -215,7 +215,7 @@ allOf:
         clock-names:
           maxItems: 1
 
-        reset: false
+        resets: false
 
         reset-names: false
 
@@ -223,7 +223,7 @@ allOf:
 
         phy-names: false
 
-        power-domain: false
+        power-domains: false
 
         mediatek,pbus-csr: false
 
Signature · 1 line
2.53.0
#1 lore raw
Sashiko has reviewed this patch and found no issues.
Quoted 9 lines

Property names within if/then schemas currently go unchecked whether they have a type defined or match what's in the top-level schema. Adding a check finds a number of instances of typos. The typos result in the schema having no effect on constraints.

With this, fix the mediatek,vcodec-encoder 'clocks' count constraint exposed by the name correction.

Sashiko has reviewed this patch and found no issues.

Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=1
Reviewed-by on v1 1/1
#2 lore raw
In reply to Rob Herring (Arm)
Quoted 9 lines · Rob Herring (Arm)

Property names within if/then schemas currently go unchecked whether they have a type defined or match what's in the top-level schema. Adding a check finds a number of instances of typos. The typos result in the schema having no effect on constraints.

With this, fix the mediatek,vcodec-encoder 'clocks' count constraint exposed by the name correction.

Quoted 12 lines
---
 .../devicetree/bindings/clock/qcom,kpss-gcc.yaml     |  2 +-
 .../bindings/display/brcm,bcm2711-hdmi.yaml          |  2 +-
 .../bindings/display/msm/dp-controller.yaml          |  2 +-
 .../devicetree/bindings/display/msm/hdmi.yaml        |  4 ++--
 Documentation/devicetree/bindings/dma/fsl,edma.yaml  |  2 +-
 .../devicetree/bindings/gpio/loongson,ls-gpio.yaml   |  2 +-
 .../bindings/iio/adc/amlogic,meson-saradc.yaml       |  2 +-
 .../bindings/media/mediatek,vcodec-encoder.yaml      | 12 ++++--------
 .../devicetree/bindings/media/samsung,s5p-mfc.yaml   |  2 +-
 .../devicetree/bindings/pci/mediatek-pcie.yaml       | 12 ++++++------
 10 files changed, 19 insertions(+), 23 deletions(-)
Quoted 204 lines
Documentation/devicetree/bindings/clock/qcom,kpss-gcc.yaml +1 -1
index 88b7672123a0..ed347096df46 100644
@@ -62,7 +62,7 @@ then:
     - '#clock-cells'
 else:
   properties:
-    clock: false
+    clocks: false
     clock-names: false
     '#clock-cells': false
 
Documentation/devicetree/bindings/display/brcm,bcm2711-hdmi.yaml +1 -1
index c1cefd547391..fd4d598f6ff8 100644
@@ -145,7 +145,7 @@ allOf:
             - description: CEC stuck at low interrupt
             - description: Hotplug connected interrupt
             - description: Hotplug removed interrupt
-        interrupts-names:
+        interrupt-names:
           items:
             - const: cec-tx
             - const: cec-rx
Documentation/devicetree/bindings/display/msm/dp-controller.yaml +1 -1
index 094a6383bb77..f72d1b354007 100644
@@ -304,7 +304,7 @@ allOf:
         clocks:
           minItems: 6
           maxItems: 6
-        clocks-names:
+        clock-names:
           minItems: 6
           maxItems: 6
 
Documentation/devicetree/bindings/display/msm/hdmi.yaml +2 -2
index dfec6c3480f3..02d27ccad024 100644
@@ -113,7 +113,7 @@ allOf:
             - const: core
             - const: master_iface
             - const: slave_iface
-        core-vcc-supplies: false
+        core-vcc-supply: false
 
   - if:
       properties:
@@ -136,7 +136,7 @@ allOf:
             - const: core
             - const: alt_iface
             - const: extp
-        hdmi-mux-supplies: false
+        hdmi-mux-supply: false
 
   - if:
       properties:
Documentation/devicetree/bindings/dma/fsl,edma.yaml +1 -1
index f609038e35ae..0260d177c7d0 100644
@@ -172,7 +172,7 @@ allOf:
             const: fsl,imx7ulp-edma
     then:
       properties:
-        clock:
+        clocks:
           minItems: 2
           maxItems: 2
         clock-names:
Documentation/devicetree/bindings/gpio/loongson,ls-gpio.yaml +1 -1
index 69852444df23..07c8b233c6bd 100644
@@ -80,7 +80,7 @@ allOf:
         - resets
     else:
       properties:
-        "#interrupts-cells": false
+        "#interrupt-cells": false
         interrupt-controller: false
         resets: false
 
Documentation/devicetree/bindings/iio/adc/amlogic,meson-saradc.yaml +1 -1
index 70ab4e140e71..535213ba0c5e 100644
@@ -92,7 +92,7 @@ allOf:
     else:
       properties:
         nvmem-cells: false
-        mvmem-cel-names: false
+        nvmem-cell-names: false
         clocks:
           minItems: 4
         clock-names:
Documentation/devicetree/bindings/media/mediatek,vcodec-encoder.yaml +4 -8
index 4505e66876a2..52f471a070d5 100644
@@ -110,19 +110,15 @@ allOf:
 
     then:
       properties:
-        clock:
-          items:
-            minItems: 1
-            maxItems: 1
+        clocks:
+          maxItems: 1
         clock-names:
           items:
             - const: venc_lt_sel
     else:
       properties:
-        clock:
-          items:
-            minItems: 1
-            maxItems: 1
+        clocks:
+          maxItems: 1
         clock-names:
           items:
             - const: venc_sel
Documentation/devicetree/bindings/media/samsung,s5p-mfc.yaml +1 -1
index b46cc780703c..4488d5ca9b9c 100644
@@ -174,7 +174,7 @@ allOf:
             - const: mfc
         iommus:
           maxItems: 2
-        iommus-names: false
+        iommu-names: false
 
 examples:
   - |
Documentation/devicetree/bindings/pci/mediatek-pcie.yaml +6 -7
index c009a7a52bc6..7c40361f95ec 100644
@@ -127,7 +127,7 @@ allOf:
         phy-names:
           const: pcie-phy1
 
-        power-domain: false
+        power-domains: false
 
       required:
         - resets
@@ -150,7 +150,7 @@ allOf:
           minItems: 2
           maxItems: 2
 
-        reset: false
+        resets: false
 
         reset-names: false
 
@@ -171,7 +171,7 @@ allOf:
         clocks:
           minItems: 6
 
-        reset: false
+        resets: false
 
         reset-names: false
 
@@ -193,7 +193,7 @@ allOf:
         clocks:
           minItems: 6
 
-        reset: false
+        resets: false
 
         reset-names: false
 
@@ -215,7 +215,7 @@ allOf:
         clock-names:
           maxItems: 1
 
-        reset: false
+        resets: false
 
         reset-names: false
 
@@ -223,7 +223,7 @@ allOf:
 
         phy-names: false
 
-        power-domain: false
+        power-domains: false
 
         mediatek,pbus-csr: false
 
--

2.53.0

maintainer Acked-by on v1 1/1
#3 lore raw
In reply to Rob Herring (Arm)
Quoted 8 lines · Rob Herring (Arm)

Property names within if/then schemas currently go unchecked whether they have a type defined or match what's in the top-level schema. Adding a check finds a number of instances of typos. The typos result in the schema having no effect on constraints.

With this, fix the mediatek,vcodec-encoder 'clocks' count constraint exposed by the name correction.

Quoted 8 lines
---
 .../devicetree/bindings/clock/qcom,kpss-gcc.yaml     |  2 +-
 .../bindings/display/brcm,bcm2711-hdmi.yaml          |  2 +-
 .../bindings/display/msm/dp-controller.yaml          |  2 +-
 .../devicetree/bindings/display/msm/hdmi.yaml        |  4 ++--
 Documentation/devicetree/bindings/dma/fsl,edma.yaml  |  2 +-
 .../devicetree/bindings/gpio/loongson,ls-gpio.yaml   |  2 +-

For GPIO:

Reviewed-by on v1 1/1
#4 lore raw
In reply to Rob Herring (Arm)
Quoted 9 lines · Rob Herring (Arm)

Property names within if/then schemas currently go unchecked whether they have a type defined or match what's in the top-level schema. Adding a check finds a number of instances of typos. The typos result in the schema having no effect on constraints.

With this, fix the mediatek,vcodec-encoder 'clocks' count constraint exposed by the name correction.

For KPSS:

Signature · 1 line
	Ansuel
maintainer Acked-by on v1 1/1
#5 lore raw
In reply to Rob Herring (Arm)
Quoted 9 lines · On Wed, 28 Oct 2026 07:02:12 -0500 "Rob Herring (Arm)" <[email protected]> wrote:

Property names within if/then schemas currently go unchecked whether they have a type defined or match what's in the top-level schema. Adding a check finds a number of instances of typos. The typos result in the schema having no effect on constraints.

With this, fix the mediatek,vcodec-encoder 'clocks' count constraint exposed by the name correction.

Quoted 8 lines
---
 .../devicetree/bindings/clock/qcom,kpss-gcc.yaml     |  2 +-
 .../bindings/display/brcm,bcm2711-hdmi.yaml          |  2 +-
 .../bindings/display/msm/dp-controller.yaml          |  2 +-
 .../devicetree/bindings/display/msm/hdmi.yaml        |  4 ++--
 Documentation/devicetree/bindings/dma/fsl,edma.yaml  |  2 +-
 .../devicetree/bindings/gpio/loongson,ls-gpio.yaml   |  2 +-
 .../bindings/iio/adc/amlogic,meson-saradc.yaml       |  2 +-

For IIO

Quoted 204 lines
 .../bindings/media/mediatek,vcodec-encoder.yaml      | 12 ++++--------
 .../devicetree/bindings/media/samsung,s5p-mfc.yaml   |  2 +-
 .../devicetree/bindings/pci/mediatek-pcie.yaml       | 12 ++++++------
 10 files changed, 19 insertions(+), 23 deletions(-)
Documentation/devicetree/bindings/clock/qcom,kpss-gcc.yaml +1 -1
index 88b7672123a0..ed347096df46 100644
@@ -62,7 +62,7 @@ then:
     - '#clock-cells'
 else:
   properties:
-    clock: false
+    clocks: false
     clock-names: false
     '#clock-cells': false
 
Documentation/devicetree/bindings/display/brcm,bcm2711-hdmi.yaml +1 -1
index c1cefd547391..fd4d598f6ff8 100644
@@ -145,7 +145,7 @@ allOf:
             - description: CEC stuck at low interrupt
             - description: Hotplug connected interrupt
             - description: Hotplug removed interrupt
-        interrupts-names:
+        interrupt-names:
           items:
             - const: cec-tx
             - const: cec-rx
Documentation/devicetree/bindings/display/msm/dp-controller.yaml +1 -1
index 094a6383bb77..f72d1b354007 100644
@@ -304,7 +304,7 @@ allOf:
         clocks:
           minItems: 6
           maxItems: 6
-        clocks-names:
+        clock-names:
           minItems: 6
           maxItems: 6
 
Documentation/devicetree/bindings/display/msm/hdmi.yaml +2 -2
index dfec6c3480f3..02d27ccad024 100644
@@ -113,7 +113,7 @@ allOf:
             - const: core
             - const: master_iface
             - const: slave_iface
-        core-vcc-supplies: false
+        core-vcc-supply: false
 
   - if:
       properties:
@@ -136,7 +136,7 @@ allOf:
             - const: core
             - const: alt_iface
             - const: extp
-        hdmi-mux-supplies: false
+        hdmi-mux-supply: false
 
   - if:
       properties:
Documentation/devicetree/bindings/dma/fsl,edma.yaml +1 -1
index f609038e35ae..0260d177c7d0 100644
@@ -172,7 +172,7 @@ allOf:
             const: fsl,imx7ulp-edma
     then:
       properties:
-        clock:
+        clocks:
           minItems: 2
           maxItems: 2
         clock-names:
Documentation/devicetree/bindings/gpio/loongson,ls-gpio.yaml +1 -1
index 69852444df23..07c8b233c6bd 100644
@@ -80,7 +80,7 @@ allOf:
         - resets
     else:
       properties:
-        "#interrupts-cells": false
+        "#interrupt-cells": false
         interrupt-controller: false
         resets: false
 
Documentation/devicetree/bindings/iio/adc/amlogic,meson-saradc.yaml +1 -1
index 70ab4e140e71..535213ba0c5e 100644
@@ -92,7 +92,7 @@ allOf:
     else:
       properties:
         nvmem-cells: false
-        mvmem-cel-names: false
+        nvmem-cell-names: false
         clocks:
           minItems: 4
         clock-names:
Documentation/devicetree/bindings/media/mediatek,vcodec-encoder.yaml +4 -8
index 4505e66876a2..52f471a070d5 100644
@@ -110,19 +110,15 @@ allOf:
 
     then:
       properties:
-        clock:
-          items:
-            minItems: 1
-            maxItems: 1
+        clocks:
+          maxItems: 1
         clock-names:
           items:
             - const: venc_lt_sel
     else:
       properties:
-        clock:
-          items:
-            minItems: 1
-            maxItems: 1
+        clocks:
+          maxItems: 1
         clock-names:
           items:
             - const: venc_sel
Documentation/devicetree/bindings/media/samsung,s5p-mfc.yaml +1 -1
index b46cc780703c..4488d5ca9b9c 100644
@@ -174,7 +174,7 @@ allOf:
             - const: mfc
         iommus:
           maxItems: 2
-        iommus-names: false
+        iommu-names: false
 
 examples:
   - |
Documentation/devicetree/bindings/pci/mediatek-pcie.yaml +6 -6
index c009a7a52bc6..7c40361f95ec 100644
@@ -127,7 +127,7 @@ allOf:
         phy-names:
           const: pcie-phy1
 
-        power-domain: false
+        power-domains: false
 
       required:
         - resets
@@ -150,7 +150,7 @@ allOf:
           minItems: 2
           maxItems: 2
 
-        reset: false
+        resets: false
 
         reset-names: false
 
@@ -171,7 +171,7 @@ allOf:
         clocks:
           minItems: 6
 
-        reset: false
+        resets: false
 
         reset-names: false
 
@@ -193,7 +193,7 @@ allOf:
         clocks:
           minItems: 6
 
-        reset: false
+        resets: false
 
         reset-names: false
 
@@ -215,7 +215,7 @@ allOf:
         clock-names:
           maxItems: 1
 
-        reset: false
+        resets: false
 
         reset-names: false
 
@@ -223,7 +223,7 @@ allOf:
 
         phy-names: false
 
-        power-domain: false
+        power-domains: false
 
         mediatek,pbus-csr: false
 
Acked-by on v1 1/1
#6 lore raw
In reply to Rob Herring (Arm)
Quoted 7 lines · On Wed, 28 Oct 2026 07:02:12 -0500 "Rob Herring (Arm)" <[email protected]> wrote:

Property names within if/then schemas currently go unchecked whether they have a type defined or match what's in the top-level schema. Adding a check finds a number of instances of typos. The typos result in the schema having no effect on constraints.

With this, fix the mediatek,vcodec-encoder 'clocks' count constraint exposed by the name correction.

For media:

Quoted 206 lines
---
 .../devicetree/bindings/clock/qcom,kpss-gcc.yaml     |  2 +-
 .../bindings/display/brcm,bcm2711-hdmi.yaml          |  2 +-
 .../bindings/display/msm/dp-controller.yaml          |  2 +-
 .../devicetree/bindings/display/msm/hdmi.yaml        |  4 ++--
 Documentation/devicetree/bindings/dma/fsl,edma.yaml  |  2 +-
 .../devicetree/bindings/gpio/loongson,ls-gpio.yaml   |  2 +-
 .../bindings/iio/adc/amlogic,meson-saradc.yaml       |  2 +-
 .../bindings/media/mediatek,vcodec-encoder.yaml      | 12 ++++--------
 .../devicetree/bindings/media/samsung,s5p-mfc.yaml   |  2 +-
 .../devicetree/bindings/pci/mediatek-pcie.yaml       | 12 ++++++------
 10 files changed, 19 insertions(+), 23 deletions(-)
Documentation/devicetree/bindings/clock/qcom,kpss-gcc.yaml +1 -1
index 88b7672123a0..ed347096df46 100644
@@ -62,7 +62,7 @@ then:
     - '#clock-cells'
 else:
   properties:
-    clock: false
+    clocks: false
     clock-names: false
     '#clock-cells': false
 
Documentation/devicetree/bindings/display/brcm,bcm2711-hdmi.yaml +1 -1
index c1cefd547391..fd4d598f6ff8 100644
@@ -145,7 +145,7 @@ allOf:
             - description: CEC stuck at low interrupt
             - description: Hotplug connected interrupt
             - description: Hotplug removed interrupt
-        interrupts-names:
+        interrupt-names:
           items:
             - const: cec-tx
             - const: cec-rx
Documentation/devicetree/bindings/display/msm/dp-controller.yaml +1 -1
index 094a6383bb77..f72d1b354007 100644
@@ -304,7 +304,7 @@ allOf:
         clocks:
           minItems: 6
           maxItems: 6
-        clocks-names:
+        clock-names:
           minItems: 6
           maxItems: 6
 
Documentation/devicetree/bindings/display/msm/hdmi.yaml +2 -2
index dfec6c3480f3..02d27ccad024 100644
@@ -113,7 +113,7 @@ allOf:
             - const: core
             - const: master_iface
             - const: slave_iface
-        core-vcc-supplies: false
+        core-vcc-supply: false
 
   - if:
       properties:
@@ -136,7 +136,7 @@ allOf:
             - const: core
             - const: alt_iface
             - const: extp
-        hdmi-mux-supplies: false
+        hdmi-mux-supply: false
 
   - if:
       properties:
Documentation/devicetree/bindings/dma/fsl,edma.yaml +1 -1
index f609038e35ae..0260d177c7d0 100644
@@ -172,7 +172,7 @@ allOf:
             const: fsl,imx7ulp-edma
     then:
       properties:
-        clock:
+        clocks:
           minItems: 2
           maxItems: 2
         clock-names:
Documentation/devicetree/bindings/gpio/loongson,ls-gpio.yaml +1 -1
index 69852444df23..07c8b233c6bd 100644
@@ -80,7 +80,7 @@ allOf:
         - resets
     else:
       properties:
-        "#interrupts-cells": false
+        "#interrupt-cells": false
         interrupt-controller: false
         resets: false
 
Documentation/devicetree/bindings/iio/adc/amlogic,meson-saradc.yaml +1 -1
index 70ab4e140e71..535213ba0c5e 100644
@@ -92,7 +92,7 @@ allOf:
     else:
       properties:
         nvmem-cells: false
-        mvmem-cel-names: false
+        nvmem-cell-names: false
         clocks:
           minItems: 4
         clock-names:
Documentation/devicetree/bindings/media/mediatek,vcodec-encoder.yaml +4 -8
index 4505e66876a2..52f471a070d5 100644
@@ -110,19 +110,15 @@ allOf:
 
     then:
       properties:
-        clock:
-          items:
-            minItems: 1
-            maxItems: 1
+        clocks:
+          maxItems: 1
         clock-names:
           items:
             - const: venc_lt_sel
     else:
       properties:
-        clock:
-          items:
-            minItems: 1
-            maxItems: 1
+        clocks:
+          maxItems: 1
         clock-names:
           items:
             - const: venc_sel
Documentation/devicetree/bindings/media/samsung,s5p-mfc.yaml +1 -1
index b46cc780703c..4488d5ca9b9c 100644
@@ -174,7 +174,7 @@ allOf:
             - const: mfc
         iommus:
           maxItems: 2
-        iommus-names: false
+        iommu-names: false
 
 examples:
   - |
Documentation/devicetree/bindings/pci/mediatek-pcie.yaml +5 -5
index c009a7a52bc6..7c40361f95ec 100644
@@ -127,7 +127,7 @@ allOf:
         phy-names:
           const: pcie-phy1
 
-        power-domain: false
+        power-domains: false
 
       required:
         - resets
@@ -150,7 +150,7 @@ allOf:
           minItems: 2
           maxItems: 2
 
-        reset: false
+        resets: false
 
         reset-names: false
 
@@ -171,7 +171,7 @@ allOf:
         clocks:
           minItems: 6
 
-        reset: false
+        resets: false
 
         reset-names: false
 
@@ -193,7 +193,7 @@ allOf:
         clocks:
           minItems: 6
 
-        reset: false
+        resets: false
 
         reset-names: false
 
@@ -215,7 +215,7 @@ allOf:
         clock-names:
           maxItems: 1
 
-        reset: false
+        resets: false
 
         reset-names: false
 

Documentation/devicetree/bindings/pci/mediatek-pcie.yaml allOf: · line 229

Quoted 8 lines
Documentation/devicetree/bindings/pci/mediatek-pcie.yaml +1 -1
@@ -223,7 +223,7 @@ allOf:
 
         phy-names: false
 
-        power-domain: false
+        power-domains: false
 
         mediatek,pbus-csr: false
 

Thanks,
Mauro

maintainer Acked-by on v1 1/1
#7 lore raw
In reply to Rob Herring (Arm)
Quoted 8 lines · Rob Herring (Arm)

Property names within if/then schemas currently go unchecked whether they have a type defined or match what's in the top-level schema. Adding a check finds a number of instances of typos. The typos result in the schema having no effect on constraints.

With this, fix the mediatek,vcodec-encoder 'clocks' count constraint exposed by the name correction.

Quoted 7 lines
---
 .../devicetree/bindings/clock/qcom,kpss-gcc.yaml     |  2 +-
 .../bindings/display/brcm,bcm2711-hdmi.yaml          |  2 +-
 .../bindings/display/msm/dp-controller.yaml          |  2 +-
 .../devicetree/bindings/display/msm/hdmi.yaml        |  4 ++--
 Documentation/devicetree/bindings/dma/fsl,edma.yaml  |  2 +-
Signature · 1 line
~Vinod
Reviewed-by on v1 1/1
#8 lore raw
In reply to Rob Herring (Arm)
Quoted 10 lines · Rob Herring (Arm)

Property names within if/then schemas currently go unchecked whether they have a type defined or match what's in the top-level schema. Adding a check finds a number of instances of typos. The typos result in the schema having no effect on constraints.

With this, fix the mediatek,vcodec-encoder 'clocks' count constraint exposed by the name correction.

---

I just git grepped kernel sources and weirdly no one made a typo in "clocks" of forgetting the second letter. We became way too polite :).

Best regards,
Krzysztof

author maintainer Applied
#9 lore raw
In reply to Rob Herring (Arm)
Quoted 9 lines · Rob Herring (Arm)

Property names within if/then schemas currently go unchecked whether they have a type defined or match what's in the top-level schema. Adding a check finds a number of instances of typos. The typos result in the schema having no effect on constraints.

With this, fix the mediatek,vcodec-encoder 'clocks' count constraint exposed by the name correction.

Quoted 13 lines
---
 .../devicetree/bindings/clock/qcom,kpss-gcc.yaml     |  2 +-
 .../bindings/display/brcm,bcm2711-hdmi.yaml          |  2 +-
 .../bindings/display/msm/dp-controller.yaml          |  2 +-
 .../devicetree/bindings/display/msm/hdmi.yaml        |  4 ++--
 Documentation/devicetree/bindings/dma/fsl,edma.yaml  |  2 +-
 .../devicetree/bindings/gpio/loongson,ls-gpio.yaml   |  2 +-
 .../bindings/iio/adc/amlogic,meson-saradc.yaml       |  2 +-
 .../bindings/media/mediatek,vcodec-encoder.yaml      | 12 ++++--------
 .../devicetree/bindings/media/samsung,s5p-mfc.yaml   |  2 +-
 .../devicetree/bindings/pci/mediatek-pcie.yaml       | 12 ++++++------
 10 files changed, 19 insertions(+), 23 deletions(-)

Applied, thanks!