Skip to contentSkip to conversation

dt-bindings: Drop type references on common properties

PATCH In review Rob Herring 11 participants 11 messages Mar 16, 2021 – Mar 18, 2021

Subsystems (27)
lore
Share & tools
lore

Rob Herring

author maintainer
#0 lore raw

PATCH 1/1 dt-bindings: Drop type references on common properties

Users of common properties shouldn't have a type definition as the common schemas already have one. Drop all the unnecessary type references in the tree.

A meta-schema update to catch these is pending.

Cc Nicolas Saenz Julienne <[email protected]>
Cc Maxime Ripard <[email protected]>
Cc Linus Walleij <[email protected]>
Cc Bartosz Golaszewski <[email protected]>
Cc Bjorn Andersson <[email protected]>
Cc Krzysztof Kozlowski <[email protected]>
Cc Marc Kleine-Budde <[email protected]>
Cc "David S. Miller" <[email protected]>
Cc Jakub Kicinski <[email protected]>
Cc Srinivas Kandagatla <[email protected]>
Cc Ohad Ben-Cohen <[email protected]>
Cc Mark Brown <[email protected]>
Cc Cheng-Yi Chiang <[email protected]>
Cc Benson Leung <[email protected]>
Cc Zhang Rui <[email protected]>
Cc Daniel Lezcano <[email protected]>
Cc Greg Kroah-Hartman <[email protected]>
Cc Stefan Wahren <[email protected]>
Cc Masahiro Yamada <[email protected]>
Cc Odelu Kukatla <[email protected]>
Cc Alex Elder <[email protected]>
Cc Suman Anna <[email protected]>
Cc Kuninori Morimoto <[email protected]>
Cc Dmitry Baryshkov <[email protected]>
---
 .../bindings/arm/bcm/raspberrypi,bcm2835-firmware.yaml       | 5 +----
 Documentation/devicetree/bindings/arm/cpus.yaml              | 2 --
 .../bindings/display/allwinner,sun4i-a10-tcon.yaml           | 1 -
 .../devicetree/bindings/gpio/socionext,uniphier-gpio.yaml    | 3 +--
 .../devicetree/bindings/iio/adc/st,stm32-dfsdm-adc.yaml      | 1 -
 .../devicetree/bindings/interconnect/qcom,rpmh.yaml          | 1 -
 .../bindings/memory-controllers/nvidia,tegra210-emc.yaml     | 2 +-
 Documentation/devicetree/bindings/net/can/fsl,flexcan.yaml   | 1 -
 Documentation/devicetree/bindings/net/qcom,ipa.yaml          | 1 -
 Documentation/devicetree/bindings/nvmem/nvmem-consumer.yaml  | 2 --
 .../devicetree/bindings/remoteproc/ti,omap-remoteproc.yaml   | 2 +-
 Documentation/devicetree/bindings/sound/ak4642.yaml          | 2 --
 .../devicetree/bindings/sound/google,cros-ec-codec.yaml      | 2 +-
 Documentation/devicetree/bindings/sound/renesas,rsnd.yaml    | 1 -
 .../devicetree/bindings/thermal/qcom-spmi-adc-tm5.yaml       | 1 -
 Documentation/devicetree/bindings/usb/usb.yaml               | 1 -
 16 files changed, 5 insertions(+), 23 deletions(-)
Documentation/devicetree/bindings/arm/bcm/raspberrypi,bcm2835-firmware.yaml +1 -4
index a2c63c8b1d10..c6144c8421fa 100644
@@ -26,10 +26,7 @@ properties:
       - const: simple-mfd
 
   mboxes:
-    $ref: '/schemas/types.yaml#/definitions/phandle'
-    description: |
-      Phandle to the firmware device's Mailbox.
-      (See: ../mailbox/mailbox.txt for more information)
+    maxItems: 1
 
   clocks:
     type: object
Documentation/devicetree/bindings/arm/cpus.yaml +0 -2
index 26b886b20b27..6be4a8852ee5 100644
@@ -256,13 +256,11 @@ properties:
       where voltage is in V, frequency is in MHz.
 
   power-domains:
-    $ref: '/schemas/types.yaml#/definitions/phandle-array'
     description:
       List of phandles and PM domain specifiers, as defined by bindings of the
       PM domain provider (see also ../power_domain.txt).
 
   power-domain-names:
-    $ref: '/schemas/types.yaml#/definitions/string-array'
     description:
       A list of power domain name strings sorted in the same order as the
       power-domains property.
Documentation/devicetree/bindings/display/allwinner,sun4i-a10-tcon.yaml +0 -1
index c13faf3e6581..3a7d5d731712 100644
@@ -73,7 +73,6 @@ properties:
   clock-output-names:
     description:
       Name of the LCD pixel clock created.
-    $ref: /schemas/types.yaml#/definitions/string-array
     maxItems: 1
 
   dmas:
Documentation/devicetree/bindings/gpio/socionext,uniphier-gpio.yaml +1 -2
index 1a54db04f29d..bcafa494ed7a 100644
@@ -43,8 +43,7 @@ properties:
 
   gpio-ranges: true
 
-  gpio-ranges-group-names:
-    $ref: /schemas/types.yaml#/definitions/string-array
+  gpio-ranges-group-names: true
 
   socionext,interrupt-ranges:
     description: |
Documentation/devicetree/bindings/iio/adc/st,stm32-dfsdm-adc.yaml +0 -1
index 6f2398cdc82d..1e7894e524f9 100644
@@ -102,7 +102,6 @@ patternProperties:
 
       st,adc-channel-names:
         description: List of single-ended channel names.
-        $ref: /schemas/types.yaml#/definitions/string-array
 
       st,filter-order:
         description: |
Documentation/devicetree/bindings/interconnect/qcom,rpmh.yaml +0 -1
index 799e73cdb90b..13da7b29c707 100644
@@ -82,7 +82,6 @@ properties:
       this interconnect to send RPMh commands.
 
   qcom,bcm-voter-names:
-    $ref: /schemas/types.yaml#/definitions/string-array
     description: |
       Names for each of the qcom,bcm-voters specified.
 
Documentation/devicetree/bindings/memory-controllers/nvidia,tegra210-emc.yaml +1 -1
index 49ab09252e52..bc8477e7ab19 100644
@@ -34,7 +34,7 @@ properties:
       - description: EMC general interrupt
 
   memory-region:
-    $ref: /schemas/types.yaml#/definitions/phandle
+    maxItems: 1
     description:
       phandle to a reserved memory region describing the table of EMC
       frequencies trained by the firmware
Documentation/devicetree/bindings/net/can/fsl,flexcan.yaml +0 -1
index fe6a949a2eab..55bff1586b6f 100644
@@ -57,7 +57,6 @@ properties:
       - const: per
 
   clock-frequency:
-    $ref: /schemas/types.yaml#/definitions/uint32
     description: |
       The oscillator frequency driving the flexcan device, filled in by the
       boot loader. This property should only be used the used operating system
Documentation/devicetree/bindings/net/qcom,ipa.yaml +0 -1
index 8f86084bf12e..4e8dee4aa90d 100644
@@ -100,7 +100,6 @@ properties:
       - description: Whether the IPA clock is enabled (if valid)
 
   qcom,smem-state-names:
-    $ref: /schemas/types.yaml#/definitions/string-array
     description: The names of the state bits used for SMP2P output
     items:
       - const: ipa-clock-enabled-valid
Documentation/devicetree/bindings/nvmem/nvmem-consumer.yaml +0 -2
index d5d7f113bade..828e4a1ece41 100644
@@ -23,12 +23,10 @@ properties:
       List of phandle to the nvmem data cells.
 
   nvmem-names:
-    $ref: /schemas/types.yaml#/definitions/string-array
     description:
       Names for the each nvmem provider.
 
   nvmem-cell-names:
-    $ref: /schemas/types.yaml#/definitions/string-array
     description:
       Names for each nvmem-cells specified.
 
Documentation/devicetree/bindings/remoteproc/ti,omap-remoteproc.yaml +1 -1
index 1a1159097a2a..73400bc6e91d 100644
@@ -93,7 +93,7 @@ properties:
 # The following are the optional properties:
 
   memory-region:
-    $ref: /schemas/types.yaml#/definitions/phandle
+    maxItems: 1
     description: |
       phandle to the reserved memory node to be associated
       with the remoteproc device. The reserved memory node
Documentation/devicetree/bindings/sound/ak4642.yaml +0 -2
index 6cd213be2266..1e2caa29790e 100644
@@ -29,11 +29,9 @@ properties:
 
   clock-frequency:
     description: common clock binding; frequency of MCKO
-    $ref: /schemas/types.yaml#/definitions/uint32
 
   clock-output-names:
     description: common clock name
-    $ref: /schemas/types.yaml#/definitions/string
 
 required:
   - compatible
Documentation/devicetree/bindings/sound/google,cros-ec-codec.yaml +1 -1
index acfb9db021dc..77adbebed824 100644
@@ -32,7 +32,7 @@ properties:
           The last one integer is the length of the shared memory.
 
   memory-region:
-    $ref: '/schemas/types.yaml#/definitions/phandle'
+    maxItems: 1
     description: |
       Shared memory region to EC.  A "shared-dma-pool".
       See ../reserved-memory/reserved-memory.txt for details.
Documentation/devicetree/bindings/sound/renesas,rsnd.yaml +0 -1
index 2e1046513603..e494a0416748 100644
@@ -78,7 +78,6 @@ properties:
 
   clock-frequency:
     description: for audio_clkout0/1/2/3
-    $ref: /schemas/types.yaml#/definitions/uint32-array
 
   clkout-lr-asynchronous:
     description: audio_clkoutn is asynchronizes with lr-clock.
Documentation/devicetree/bindings/thermal/qcom-spmi-adc-tm5.yaml +0 -1
index 95a728f4d333..3ea8c0c1f45f 100644
@@ -59,7 +59,6 @@ patternProperties:
 
     properties:
       reg:
-        $ref: /schemas/types.yaml#/definitions/uint32
         description: Specify the sensor channel. There are 8 channels in PMIC5's ADC TM
         minimum: 0
         maximum: 7
Documentation/devicetree/bindings/usb/usb.yaml +0 -1
index 78491e66ed24..939f217b8c7b 100644
@@ -16,7 +16,6 @@ properties:
     pattern: "^usb(@.*)?"
 
   phys:
-    $ref: /schemas/types.yaml#/definitions/phandle-array
     description:
       List of all the USB PHYs on this HCD
 
Signature · 1 line
2.27.0
Acked-by on v1 1/1
#1 lore raw
Quoted 49 lines · Rob Herring

Users of common properties shouldn't have a type definition as the common schemas already have one. Drop all the unnecessary type references in the tree.

A meta-schema update to catch these is pending.

Cc Nicolas Saenz Julienne <[email protected]>
Cc Maxime Ripard <[email protected]>
Cc Linus Walleij <[email protected]>
Cc Bartosz Golaszewski <[email protected]>
Cc Bjorn Andersson <[email protected]>
Cc Krzysztof Kozlowski <[email protected]>
Cc Marc Kleine-Budde <[email protected]>
Cc "David S. Miller" <[email protected]>
Cc Jakub Kicinski <[email protected]>
Cc Srinivas Kandagatla <[email protected]>
Cc Ohad Ben-Cohen <[email protected]>
Cc Mark Brown <[email protected]>
Cc Cheng-Yi Chiang <[email protected]>
Cc Benson Leung <[email protected]>
Cc Zhang Rui <[email protected]>
Cc Daniel Lezcano <[email protected]>
Cc Greg Kroah-Hartman <[email protected]>
Cc Stefan Wahren <[email protected]>
Cc Masahiro Yamada <[email protected]>
Cc Odelu Kukatla <[email protected]>
Cc Alex Elder <[email protected]>
Cc Suman Anna <[email protected]>
Cc Kuninori Morimoto <[email protected]>
Cc Dmitry Baryshkov <[email protected]>
---
 .../bindings/arm/bcm/raspberrypi,bcm2835-firmware.yaml       | 5 +----
 Documentation/devicetree/bindings/arm/cpus.yaml              | 2 --
 .../bindings/display/allwinner,sun4i-a10-tcon.yaml           | 1 -
 .../devicetree/bindings/gpio/socionext,uniphier-gpio.yaml    | 3 +--
 .../devicetree/bindings/iio/adc/st,stm32-dfsdm-adc.yaml      | 1 -
 .../devicetree/bindings/interconnect/qcom,rpmh.yaml          | 1 -
 .../bindings/memory-controllers/nvidia,tegra210-emc.yaml     | 2 +-
 Documentation/devicetree/bindings/net/can/fsl,flexcan.yaml   | 1 -
 Documentation/devicetree/bindings/net/qcom,ipa.yaml          | 1 -
Quoted 8 lines
 Documentation/devicetree/bindings/nvmem/nvmem-consumer.yaml  | 2 --
 .../devicetree/bindings/remoteproc/ti,omap-remoteproc.yaml   | 2 +-
 Documentation/devicetree/bindings/sound/ak4642.yaml          | 2 --
 .../devicetree/bindings/sound/google,cros-ec-codec.yaml      | 2 +-
 Documentation/devicetree/bindings/sound/renesas,rsnd.yaml    | 1 -
 .../devicetree/bindings/thermal/qcom-spmi-adc-tm5.yaml       | 1 -
 Documentation/devicetree/bindings/usb/usb.yaml               | 1 -
 16 files changed, 5 insertions(+), 23 deletions(-)

For the qcom-spmi-adc-tm5.yaml:

Quoted 220 lines
Documentation/devicetree/bindings/arm/bcm/raspberrypi,bcm2835-firmware.yaml +1 -4
index a2c63c8b1d10..c6144c8421fa 100644
@@ -26,10 +26,7 @@ properties:
       - const: simple-mfd
 
   mboxes:
-    $ref: '/schemas/types.yaml#/definitions/phandle'
-    description: |
-      Phandle to the firmware device's Mailbox.
-      (See: ../mailbox/mailbox.txt for more information)
+    maxItems: 1
 
   clocks:
     type: object
Documentation/devicetree/bindings/arm/cpus.yaml +0 -2
index 26b886b20b27..6be4a8852ee5 100644
@@ -256,13 +256,11 @@ properties:
       where voltage is in V, frequency is in MHz.
 
   power-domains:
-    $ref: '/schemas/types.yaml#/definitions/phandle-array'
     description:
       List of phandles and PM domain specifiers, as defined by bindings of the
       PM domain provider (see also ../power_domain.txt).
 
   power-domain-names:
-    $ref: '/schemas/types.yaml#/definitions/string-array'
     description:
       A list of power domain name strings sorted in the same order as the
       power-domains property.
Documentation/devicetree/bindings/display/allwinner,sun4i-a10-tcon.yaml +0 -1
index c13faf3e6581..3a7d5d731712 100644
@@ -73,7 +73,6 @@ properties:
   clock-output-names:
     description:
       Name of the LCD pixel clock created.
-    $ref: /schemas/types.yaml#/definitions/string-array
     maxItems: 1
 
   dmas:
Documentation/devicetree/bindings/gpio/socionext,uniphier-gpio.yaml +1 -2
index 1a54db04f29d..bcafa494ed7a 100644
@@ -43,8 +43,7 @@ properties:
 
   gpio-ranges: true
 
-  gpio-ranges-group-names:
-    $ref: /schemas/types.yaml#/definitions/string-array
+  gpio-ranges-group-names: true
 
   socionext,interrupt-ranges:
     description: |
Documentation/devicetree/bindings/iio/adc/st,stm32-dfsdm-adc.yaml +0 -1
index 6f2398cdc82d..1e7894e524f9 100644
@@ -102,7 +102,6 @@ patternProperties:
 
       st,adc-channel-names:
         description: List of single-ended channel names.
-        $ref: /schemas/types.yaml#/definitions/string-array
 
       st,filter-order:
         description: |
Documentation/devicetree/bindings/interconnect/qcom,rpmh.yaml +0 -1
index 799e73cdb90b..13da7b29c707 100644
@@ -82,7 +82,6 @@ properties:
       this interconnect to send RPMh commands.
 
   qcom,bcm-voter-names:
-    $ref: /schemas/types.yaml#/definitions/string-array
     description: |
       Names for each of the qcom,bcm-voters specified.
 
Documentation/devicetree/bindings/memory-controllers/nvidia,tegra210-emc.yaml +1 -1
index 49ab09252e52..bc8477e7ab19 100644
@@ -34,7 +34,7 @@ properties:
       - description: EMC general interrupt
 
   memory-region:
-    $ref: /schemas/types.yaml#/definitions/phandle
+    maxItems: 1
     description:
       phandle to a reserved memory region describing the table of EMC
       frequencies trained by the firmware
Documentation/devicetree/bindings/net/can/fsl,flexcan.yaml +0 -1
index fe6a949a2eab..55bff1586b6f 100644
@@ -57,7 +57,6 @@ properties:
       - const: per
 
   clock-frequency:
-    $ref: /schemas/types.yaml#/definitions/uint32
     description: |
       The oscillator frequency driving the flexcan device, filled in by the
       boot loader. This property should only be used the used operating system
Documentation/devicetree/bindings/net/qcom,ipa.yaml +0 -1
index 8f86084bf12e..4e8dee4aa90d 100644
@@ -100,7 +100,6 @@ properties:
       - description: Whether the IPA clock is enabled (if valid)
 
   qcom,smem-state-names:
-    $ref: /schemas/types.yaml#/definitions/string-array
     description: The names of the state bits used for SMP2P output
     items:
       - const: ipa-clock-enabled-valid
Documentation/devicetree/bindings/nvmem/nvmem-consumer.yaml +0 -2
index d5d7f113bade..828e4a1ece41 100644
@@ -23,12 +23,10 @@ properties:
       List of phandle to the nvmem data cells.
 
   nvmem-names:
-    $ref: /schemas/types.yaml#/definitions/string-array
     description:
       Names for the each nvmem provider.
 
   nvmem-cell-names:
-    $ref: /schemas/types.yaml#/definitions/string-array
     description:
       Names for each nvmem-cells specified.
 
Documentation/devicetree/bindings/remoteproc/ti,omap-remoteproc.yaml +1 -1
index 1a1159097a2a..73400bc6e91d 100644
@@ -93,7 +93,7 @@ properties:
 # The following are the optional properties:
 
   memory-region:
-    $ref: /schemas/types.yaml#/definitions/phandle
+    maxItems: 1
     description: |
       phandle to the reserved memory node to be associated
       with the remoteproc device. The reserved memory node
Documentation/devicetree/bindings/sound/ak4642.yaml +0 -2
index 6cd213be2266..1e2caa29790e 100644
@@ -29,11 +29,9 @@ properties:
 
   clock-frequency:
     description: common clock binding; frequency of MCKO
-    $ref: /schemas/types.yaml#/definitions/uint32
 
   clock-output-names:
     description: common clock name
-    $ref: /schemas/types.yaml#/definitions/string
 
 required:
   - compatible
Documentation/devicetree/bindings/sound/google,cros-ec-codec.yaml +1 -1
index acfb9db021dc..77adbebed824 100644
@@ -32,7 +32,7 @@ properties:
           The last one integer is the length of the shared memory.
 
   memory-region:
-    $ref: '/schemas/types.yaml#/definitions/phandle'
+    maxItems: 1
     description: |
       Shared memory region to EC.  A "shared-dma-pool".
       See ../reserved-memory/reserved-memory.txt for details.
Documentation/devicetree/bindings/sound/renesas,rsnd.yaml +0 -1
index 2e1046513603..e494a0416748 100644
@@ -78,7 +78,6 @@ properties:
 
   clock-frequency:
     description: for audio_clkout0/1/2/3
-    $ref: /schemas/types.yaml#/definitions/uint32-array
 
   clkout-lr-asynchronous:
     description: audio_clkoutn is asynchronizes with lr-clock.
Documentation/devicetree/bindings/thermal/qcom-spmi-adc-tm5.yaml +0 -1
index 95a728f4d333..3ea8c0c1f45f 100644
@@ -59,7 +59,6 @@ patternProperties:
 
     properties:
       reg:
-        $ref: /schemas/types.yaml#/definitions/uint32
         description: Specify the sensor channel. There are 8 channels in PMIC5's ADC TM
         minimum: 0
         maximum: 7
Documentation/devicetree/bindings/usb/usb.yaml +0 -2
index 78491e66ed24..939f217b8c7b 100644
@@ -16,7 +16,6 @@ properties:
     pattern: "^usb(@.*)?"
 
   phys:
-    $ref: /schemas/types.yaml#/definitions/phandle-array
     description:
       List of all the USB PHYs on this HCD
 
--

2.27.0

Signature · 2 lines
With best wishes
Dmitry
Acked-by on v1 1/1
#2 lore raw
In reply to Rob Herring
Quoted 5 lines · Rob Herring

Users of common properties shouldn't have a type definition as the common schemas already have one. Drop all the unnecessary type references in the tree.

A meta-schema update to catch these is pending.

For net/qcom,ipa.yaml:

Quoted 269 lines
Cc Nicolas Saenz Julienne <[email protected]>
Cc Maxime Ripard <[email protected]>
Cc Linus Walleij <[email protected]>
Cc Bartosz Golaszewski <[email protected]>
Cc Bjorn Andersson <[email protected]>
Cc Krzysztof Kozlowski <[email protected]>
Cc Marc Kleine-Budde <[email protected]>
Cc "David S. Miller" <[email protected]>
Cc Jakub Kicinski <[email protected]>
Cc Srinivas Kandagatla <[email protected]>
Cc Ohad Ben-Cohen <[email protected]>
Cc Mark Brown <[email protected]>
Cc Cheng-Yi Chiang <[email protected]>
Cc Benson Leung <[email protected]>
Cc Zhang Rui <[email protected]>
Cc Daniel Lezcano <[email protected]>
Cc Greg Kroah-Hartman <[email protected]>
Cc Stefan Wahren <[email protected]>
Cc Masahiro Yamada <[email protected]>
Cc Odelu Kukatla <[email protected]>
Cc Alex Elder <[email protected]>
Cc Suman Anna <[email protected]>
Cc Kuninori Morimoto <[email protected]>
Cc Dmitry Baryshkov <[email protected]>
---
  .../bindings/arm/bcm/raspberrypi,bcm2835-firmware.yaml       | 5 +----
  Documentation/devicetree/bindings/arm/cpus.yaml              | 2 --
  .../bindings/display/allwinner,sun4i-a10-tcon.yaml           | 1 -
  .../devicetree/bindings/gpio/socionext,uniphier-gpio.yaml    | 3 +--
  .../devicetree/bindings/iio/adc/st,stm32-dfsdm-adc.yaml      | 1 -
  .../devicetree/bindings/interconnect/qcom,rpmh.yaml          | 1 -
  .../bindings/memory-controllers/nvidia,tegra210-emc.yaml     | 2 +-
  Documentation/devicetree/bindings/net/can/fsl,flexcan.yaml   | 1 -
  Documentation/devicetree/bindings/net/qcom,ipa.yaml          | 1 -
  Documentation/devicetree/bindings/nvmem/nvmem-consumer.yaml  | 2 --
  .../devicetree/bindings/remoteproc/ti,omap-remoteproc.yaml   | 2 +-
  Documentation/devicetree/bindings/sound/ak4642.yaml          | 2 --
  .../devicetree/bindings/sound/google,cros-ec-codec.yaml      | 2 +-
  Documentation/devicetree/bindings/sound/renesas,rsnd.yaml    | 1 -
  .../devicetree/bindings/thermal/qcom-spmi-adc-tm5.yaml       | 1 -
  Documentation/devicetree/bindings/usb/usb.yaml               | 1 -
  16 files changed, 5 insertions(+), 23 deletions(-)
Documentation/devicetree/bindings/arm/bcm/raspberrypi,bcm2835-firmware.yaml +1 -4
index a2c63c8b1d10..c6144c8421fa 100644
@@ -26,10 +26,7 @@ properties:
        - const: simple-mfd
 
    mboxes:
-    $ref: '/schemas/types.yaml#/definitions/phandle'
-    description: |
-      Phandle to the firmware device's Mailbox.
-      (See: ../mailbox/mailbox.txt for more information)
+    maxItems: 1
 
    clocks:
      type: object
Documentation/devicetree/bindings/arm/cpus.yaml +0 -2
index 26b886b20b27..6be4a8852ee5 100644
@@ -256,13 +256,11 @@ properties:
        where voltage is in V, frequency is in MHz.
 
    power-domains:
-    $ref: '/schemas/types.yaml#/definitions/phandle-array'
      description:
        List of phandles and PM domain specifiers, as defined by bindings of the
        PM domain provider (see also ../power_domain.txt).
 
    power-domain-names:
-    $ref: '/schemas/types.yaml#/definitions/string-array'
      description:
        A list of power domain name strings sorted in the same order as the
        power-domains property.
Documentation/devicetree/bindings/display/allwinner,sun4i-a10-tcon.yaml +0 -1
index c13faf3e6581..3a7d5d731712 100644
@@ -73,7 +73,6 @@ properties:
    clock-output-names:
      description:
        Name of the LCD pixel clock created.
-    $ref: /schemas/types.yaml#/definitions/string-array
      maxItems: 1
 
    dmas:
Documentation/devicetree/bindings/gpio/socionext,uniphier-gpio.yaml +1 -2
index 1a54db04f29d..bcafa494ed7a 100644
@@ -43,8 +43,7 @@ properties:
 
    gpio-ranges: true
 
-  gpio-ranges-group-names:
-    $ref: /schemas/types.yaml#/definitions/string-array
+  gpio-ranges-group-names: true
 
    socionext,interrupt-ranges:
      description: |
Documentation/devicetree/bindings/iio/adc/st,stm32-dfsdm-adc.yaml +0 -1
index 6f2398cdc82d..1e7894e524f9 100644
@@ -102,7 +102,6 @@ patternProperties:
 
        st,adc-channel-names:
          description: List of single-ended channel names.
-        $ref: /schemas/types.yaml#/definitions/string-array
 
        st,filter-order:
          description: |
Documentation/devicetree/bindings/interconnect/qcom,rpmh.yaml +0 -1
index 799e73cdb90b..13da7b29c707 100644
@@ -82,7 +82,6 @@ properties:
        this interconnect to send RPMh commands.
 
    qcom,bcm-voter-names:
-    $ref: /schemas/types.yaml#/definitions/string-array
      description: |
        Names for each of the qcom,bcm-voters specified.
 
Documentation/devicetree/bindings/memory-controllers/nvidia,tegra210-emc.yaml +1 -1
index 49ab09252e52..bc8477e7ab19 100644
@@ -34,7 +34,7 @@ properties:
        - description: EMC general interrupt
 
    memory-region:
-    $ref: /schemas/types.yaml#/definitions/phandle
+    maxItems: 1
      description:
        phandle to a reserved memory region describing the table of EMC
        frequencies trained by the firmware
Documentation/devicetree/bindings/net/can/fsl,flexcan.yaml +0 -1
index fe6a949a2eab..55bff1586b6f 100644
@@ -57,7 +57,6 @@ properties:
        - const: per
 
    clock-frequency:
-    $ref: /schemas/types.yaml#/definitions/uint32
      description: |
        The oscillator frequency driving the flexcan device, filled in by the
        boot loader. This property should only be used the used operating system
Documentation/devicetree/bindings/net/qcom,ipa.yaml +0 -1
index 8f86084bf12e..4e8dee4aa90d 100644
@@ -100,7 +100,6 @@ properties:
        - description: Whether the IPA clock is enabled (if valid)
 
    qcom,smem-state-names:
-    $ref: /schemas/types.yaml#/definitions/string-array
      description: The names of the state bits used for SMP2P output
      items:
        - const: ipa-clock-enabled-valid
Documentation/devicetree/bindings/nvmem/nvmem-consumer.yaml +0 -2
index d5d7f113bade..828e4a1ece41 100644
@@ -23,12 +23,10 @@ properties:
        List of phandle to the nvmem data cells.
 
    nvmem-names:
-    $ref: /schemas/types.yaml#/definitions/string-array
      description:
        Names for the each nvmem provider.
 
    nvmem-cell-names:
-    $ref: /schemas/types.yaml#/definitions/string-array
      description:
        Names for each nvmem-cells specified.
 
Documentation/devicetree/bindings/remoteproc/ti,omap-remoteproc.yaml +1 -1
index 1a1159097a2a..73400bc6e91d 100644
@@ -93,7 +93,7 @@ properties:
  # The following are the optional properties:
 
    memory-region:
-    $ref: /schemas/types.yaml#/definitions/phandle
+    maxItems: 1
      description: |
        phandle to the reserved memory node to be associated
        with the remoteproc device. The reserved memory node
Documentation/devicetree/bindings/sound/ak4642.yaml +0 -2
index 6cd213be2266..1e2caa29790e 100644
@@ -29,11 +29,9 @@ properties:
 
    clock-frequency:
      description: common clock binding; frequency of MCKO
-    $ref: /schemas/types.yaml#/definitions/uint32
 
    clock-output-names:
      description: common clock name
-    $ref: /schemas/types.yaml#/definitions/string
 
  required:
    - compatible
Documentation/devicetree/bindings/sound/google,cros-ec-codec.yaml +1 -1
index acfb9db021dc..77adbebed824 100644
@@ -32,7 +32,7 @@ properties:
            The last one integer is the length of the shared memory.
 
    memory-region:
-    $ref: '/schemas/types.yaml#/definitions/phandle'
+    maxItems: 1
      description: |
        Shared memory region to EC.  A "shared-dma-pool".
        See ../reserved-memory/reserved-memory.txt for details.
Documentation/devicetree/bindings/sound/renesas,rsnd.yaml +0 -1
index 2e1046513603..e494a0416748 100644
@@ -78,7 +78,6 @@ properties:
 
    clock-frequency:
      description: for audio_clkout0/1/2/3
-    $ref: /schemas/types.yaml#/definitions/uint32-array
 
    clkout-lr-asynchronous:
      description: audio_clkoutn is asynchronizes with lr-clock.
Documentation/devicetree/bindings/thermal/qcom-spmi-adc-tm5.yaml +0 -1
index 95a728f4d333..3ea8c0c1f45f 100644
@@ -59,7 +59,6 @@ patternProperties:
 
      properties:
        reg:
-        $ref: /schemas/types.yaml#/definitions/uint32
          description: Specify the sensor channel. There are 8 channels in PMIC5's ADC TM
          minimum: 0
          maximum: 7
Documentation/devicetree/bindings/usb/usb.yaml +0 -1
index 78491e66ed24..939f217b8c7b 100644
@@ -16,7 +16,6 @@ properties:
      pattern: "^usb(@.*)?"
 
    phys:
-    $ref: /schemas/types.yaml#/definitions/phandle-array
      description:
        List of all the USB PHYs on this HCD
 
Acked-by on v1 1/1
#4 lore raw
In reply to Rob Herring
Quoted 38 lines · Rob Herring

Users of common properties shouldn't have a type definition as the common schemas already have one. Drop all the unnecessary type references in the tree.

A meta-schema update to catch these is pending.

Cc Nicolas Saenz Julienne <[email protected]>
Cc Maxime Ripard <[email protected]>
Cc Linus Walleij <[email protected]>
Cc Bartosz Golaszewski <[email protected]>
Cc Bjorn Andersson <[email protected]>
Cc Krzysztof Kozlowski <[email protected]>
Cc Marc Kleine-Budde <[email protected]>
Cc "David S. Miller" <[email protected]>
Cc Jakub Kicinski <[email protected]>
Cc Srinivas Kandagatla <[email protected]>
Cc Ohad Ben-Cohen <[email protected]>
Cc Mark Brown <[email protected]>
Cc Cheng-Yi Chiang <[email protected]>
Cc Benson Leung <[email protected]>
Cc Zhang Rui <[email protected]>
Cc Daniel Lezcano <[email protected]>
Cc Greg Kroah-Hartman <[email protected]>
Cc Stefan Wahren <[email protected]>
Cc Masahiro Yamada <[email protected]>
Cc Odelu Kukatla <[email protected]>
Cc Alex Elder <[email protected]>
Cc Suman Anna <[email protected]>
Cc Kuninori Morimoto <[email protected]>
Cc Dmitry Baryshkov <[email protected]>
Quoted 12 lines
---
 .../bindings/arm/bcm/raspberrypi,bcm2835-firmware.yaml       | 5 +----
 Documentation/devicetree/bindings/arm/cpus.yaml              | 2 --
 .../bindings/display/allwinner,sun4i-a10-tcon.yaml           | 1 -
 .../devicetree/bindings/gpio/socionext,uniphier-gpio.yaml    | 3 +--
 .../devicetree/bindings/iio/adc/st,stm32-dfsdm-adc.yaml      | 1 -
 .../devicetree/bindings/interconnect/qcom,rpmh.yaml          | 1 -
 .../bindings/memory-controllers/nvidia,tegra210-emc.yaml     | 2 +-
 Documentation/devicetree/bindings/net/can/fsl,flexcan.yaml   | 1 -
 Documentation/devicetree/bindings/net/qcom,ipa.yaml          | 1 -
 Documentation/devicetree/bindings/nvmem/nvmem-consumer.yaml  | 2 --
 .../devicetree/bindings/remoteproc/ti,omap-remoteproc.yaml   | 2 +-

For OMAP remoteproc,

regards
Suman

maintainer Acked-by on v1 1/1
#5 lore raw
In reply to Rob Herring
Quoted 48 lines · Rob Herring

Users of common properties shouldn't have a type definition as the common schemas already have one. Drop all the unnecessary type references in the tree.

A meta-schema update to catch these is pending.

Cc Nicolas Saenz Julienne <[email protected]>
Cc Maxime Ripard <[email protected]>
Cc Linus Walleij <[email protected]>
Cc Bartosz Golaszewski <[email protected]>
Cc Bjorn Andersson <[email protected]>
Cc Krzysztof Kozlowski <[email protected]>
Cc Marc Kleine-Budde <[email protected]>
Cc "David S. Miller" <[email protected]>
Cc Jakub Kicinski <[email protected]>
Cc Srinivas Kandagatla <[email protected]>
Cc Ohad Ben-Cohen <[email protected]>
Cc Mark Brown <[email protected]>
Cc Cheng-Yi Chiang <[email protected]>
Cc Benson Leung <[email protected]>
Cc Zhang Rui <[email protected]>
Cc Daniel Lezcano <[email protected]>
Cc Greg Kroah-Hartman <[email protected]>
Cc Stefan Wahren <[email protected]>
Cc Masahiro Yamada <[email protected]>
Cc Odelu Kukatla <[email protected]>
Cc Alex Elder <[email protected]>
Cc Suman Anna <[email protected]>
Cc Kuninori Morimoto <[email protected]>
Cc Dmitry Baryshkov <[email protected]>
---
 .../bindings/arm/bcm/raspberrypi,bcm2835-firmware.yaml       | 5 +----
 Documentation/devicetree/bindings/arm/cpus.yaml              | 2 --
 .../bindings/display/allwinner,sun4i-a10-tcon.yaml           | 1 -
 .../devicetree/bindings/gpio/socionext,uniphier-gpio.yaml    | 3 +--
 .../devicetree/bindings/iio/adc/st,stm32-dfsdm-adc.yaml      | 1 -
 .../devicetree/bindings/interconnect/qcom,rpmh.yaml          | 1 -
 .../bindings/memory-controllers/nvidia,tegra210-emc.yaml     | 2 +-
 Documentation/devicetree/bindings/net/can/fsl,flexcan.yaml   | 1 -
 Documentation/devicetree/bindings/net/qcom,ipa.yaml          | 1 -
Quoted 8 lines
 Documentation/devicetree/bindings/nvmem/nvmem-consumer.yaml  | 2 --
 .../devicetree/bindings/remoteproc/ti,omap-remoteproc.yaml   | 2 +-
 Documentation/devicetree/bindings/sound/ak4642.yaml          | 2 --
 .../devicetree/bindings/sound/google,cros-ec-codec.yaml      | 2 +-
 Documentation/devicetree/bindings/sound/renesas,rsnd.yaml    | 1 -
 .../devicetree/bindings/thermal/qcom-spmi-adc-tm5.yaml       | 1 -
 Documentation/devicetree/bindings/usb/usb.yaml               | 1 -
 16 files changed, 5 insertions(+), 23 deletions(-)
maintainer Acked-by on v1 1/1
#6 lore raw
In reply to Rob Herring
Quoted 38 lines · Rob Herring

Users of common properties shouldn't have a type definition as the common schemas already have one. Drop all the unnecessary type references in the tree.

A meta-schema update to catch these is pending.

Cc Nicolas Saenz Julienne <[email protected]>
Cc Maxime Ripard <[email protected]>
Cc Linus Walleij <[email protected]>
Cc Bartosz Golaszewski <[email protected]>
Cc Bjorn Andersson <[email protected]>
Cc Krzysztof Kozlowski <[email protected]>
Cc Marc Kleine-Budde <[email protected]>
Cc "David S. Miller" <[email protected]>
Cc Jakub Kicinski <[email protected]>
Cc Srinivas Kandagatla <[email protected]>
Cc Ohad Ben-Cohen <[email protected]>
Cc Mark Brown <[email protected]>
Cc Cheng-Yi Chiang <[email protected]>
Cc Benson Leung <[email protected]>
Cc Zhang Rui <[email protected]>
Cc Daniel Lezcano <[email protected]>
Cc Greg Kroah-Hartman <[email protected]>
Cc Stefan Wahren <[email protected]>
Cc Masahiro Yamada <[email protected]>
Cc Odelu Kukatla <[email protected]>
Cc Alex Elder <[email protected]>
Cc Suman Anna <[email protected]>
Cc Kuninori Morimoto <[email protected]>
Cc Dmitry Baryshkov <[email protected]>
Quoted 9 lines
---
 .../bindings/arm/bcm/raspberrypi,bcm2835-firmware.yaml       | 5 +----
 Documentation/devicetree/bindings/arm/cpus.yaml              | 2 --
 .../bindings/display/allwinner,sun4i-a10-tcon.yaml           | 1 -
 .../devicetree/bindings/gpio/socionext,uniphier-gpio.yaml    | 3 +--
 .../devicetree/bindings/iio/adc/st,stm32-dfsdm-adc.yaml      | 1 -
 .../devicetree/bindings/interconnect/qcom,rpmh.yaml          | 1 -
 .../bindings/memory-controllers/nvidia,tegra210-emc.yaml     | 2 +-
 Documentation/devicetree/bindings/net/can/fsl,flexcan.yaml   | 1 -

For the flexcan:

regards,
Marc

Signature · 4 lines
Pengutronix e.K.                 | Marc Kleine-Budde           |
Embedded Linux                   | https://www.pengutronix.de  |
Vertretung West/Dortmund         | Phone: +49-231-2826-924     |
Amtsgericht Hildesheim, HRA 2686 | Fax:   +49-5121-206917-5555 |
Reviewed-by on v1 1/1
#7 lore raw
In reply to Rob Herring
Quoted 38 lines · Rob Herring

Users of common properties shouldn't have a type definition as the common schemas already have one. Drop all the unnecessary type references in the tree.

A meta-schema update to catch these is pending.

Cc Nicolas Saenz Julienne<[email protected]>
Cc Maxime Ripard<[email protected]>
Cc Linus Walleij<[email protected]>
Cc Bartosz Golaszewski<[email protected]>
Cc Bjorn Andersson<[email protected]>
Cc Krzysztof Kozlowski<[email protected]>
Cc Marc Kleine-Budde<[email protected]>
Cc "David S. Miller"<[email protected]>
Cc Jakub Kicinski<[email protected]>
Cc Srinivas Kandagatla<[email protected]>
Cc Ohad Ben-Cohen<[email protected]>
Cc Mark Brown<[email protected]>
Cc Cheng-Yi Chiang<[email protected]>
Cc Benson Leung<[email protected]>
Cc Zhang Rui<[email protected]>
Cc Daniel Lezcano<[email protected]>
Cc Greg Kroah-Hartman<[email protected]>
Cc Stefan Wahren<[email protected]>
Cc Masahiro Yamada<[email protected]>
Cc Odelu Kukatla<[email protected]>
Cc Alex Elder<[email protected]>
Cc Suman Anna<[email protected]>
Cc Kuninori Morimoto<[email protected]>
Cc Dmitry Baryshkov<[email protected]>
Quoted 11 lines
---
  .../bindings/arm/bcm/raspberrypi,bcm2835-firmware.yaml       | 5 +----
  Documentation/devicetree/bindings/arm/cpus.yaml              | 2 --
  .../bindings/display/allwinner,sun4i-a10-tcon.yaml           | 1 -
  .../devicetree/bindings/gpio/socionext,uniphier-gpio.yaml    | 3 +--
  .../devicetree/bindings/iio/adc/st,stm32-dfsdm-adc.yaml      | 1 -
  .../devicetree/bindings/interconnect/qcom,rpmh.yaml          | 1 -
  .../bindings/memory-controllers/nvidia,tegra210-emc.yaml     | 2 +-
  Documentation/devicetree/bindings/net/can/fsl,flexcan.yaml   | 1 -
  Documentation/devicetree/bindings/net/qcom,ipa.yaml          | 1 -
  Documentation/devicetree/bindings/nvmem/nvmem-consumer.yaml  | 2 --

For nvmem parts,

--srini

Acked-by on v1 1/1
#8 lore raw
In reply to Rob Herring
Quoted 30 lines · Rob Herring

Users of common properties shouldn't have a type definition as the common schemas already have one. Drop all the unnecessary type references in the tree.

A meta-schema update to catch these is pending.

Cc Nicolas Saenz Julienne <[email protected]>
Cc Maxime Ripard <[email protected]>
Cc Linus Walleij <[email protected]>
Cc Bartosz Golaszewski <[email protected]>
Cc Bjorn Andersson <[email protected]>
Cc Krzysztof Kozlowski <[email protected]>
Cc Marc Kleine-Budde <[email protected]>
Cc "David S. Miller" <[email protected]>
Cc Jakub Kicinski <[email protected]>
Cc Srinivas Kandagatla <[email protected]>
Cc Ohad Ben-Cohen <[email protected]>
Cc Mark Brown <[email protected]>
Cc Cheng-Yi Chiang <[email protected]>
Cc Benson Leung <[email protected]>
Cc Zhang Rui <[email protected]>
Cc Daniel Lezcano <[email protected]>
Cc Greg Kroah-Hartman <[email protected]>
Cc Stefan Wahren <[email protected]>
Cc Masahiro Yamada <[email protected]>
Cc Odelu Kukatla <[email protected]>
Cc Alex Elder <[email protected]>
Cc Suman Anna <[email protected]>
Cc Kuninori Morimoto <[email protected]>
Cc Dmitry Baryshkov <[email protected]>
Quoted 8 lines

Thanks!
Maxiem

maintainer Acked-by on v1 1/1
#9 lore raw
In reply to Rob Herring

Hi Rob

Quoted 38 lines

Users of common properties shouldn't have a type definition as the common schemas already have one. Drop all the unnecessary type references in the tree.

A meta-schema update to catch these is pending.

Cc Nicolas Saenz Julienne <[email protected]>
Cc Maxime Ripard <[email protected]>
Cc Linus Walleij <[email protected]>
Cc Bartosz Golaszewski <[email protected]>
Cc Bjorn Andersson <[email protected]>
Cc Krzysztof Kozlowski <[email protected]>
Cc Marc Kleine-Budde <[email protected]>
Cc "David S. Miller" <[email protected]>
Cc Jakub Kicinski <[email protected]>
Cc Srinivas Kandagatla <[email protected]>
Cc Ohad Ben-Cohen <[email protected]>
Cc Mark Brown <[email protected]>
Cc Cheng-Yi Chiang <[email protected]>
Cc Benson Leung <[email protected]>
Cc Zhang Rui <[email protected]>
Cc Daniel Lezcano <[email protected]>
Cc Greg Kroah-Hartman <[email protected]>
Cc Stefan Wahren <[email protected]>
Cc Masahiro Yamada <[email protected]>
Cc Odelu Kukatla <[email protected]>
Cc Alex Elder <[email protected]>
Cc Suman Anna <[email protected]>
Cc Kuninori Morimoto <[email protected]>
Cc Dmitry Baryshkov <[email protected]>
Quoted 1 line

---

For below

Quoted 2 lines
 Documentation/devicetree/bindings/sound/ak4642.yaml          | 2 --
 Documentation/devicetree/bindings/sound/renesas,rsnd.yaml    | 1 -

Thank you for your help !!

Best regards
---
Kuninori Morimoto

Reviewed-by on v1 1/1
#10 lore raw
In reply to Rob Herring
Quoted 38 lines · Rob Herring

Users of common properties shouldn't have a type definition as the common schemas already have one. Drop all the unnecessary type references in the tree.

A meta-schema update to catch these is pending.

Cc Nicolas Saenz Julienne <[email protected]>
Cc Maxime Ripard <[email protected]>
Cc Linus Walleij <[email protected]>
Cc Bartosz Golaszewski <[email protected]>
Cc Bjorn Andersson <[email protected]>
Cc Krzysztof Kozlowski <[email protected]>
Cc Marc Kleine-Budde <[email protected]>
Cc "David S. Miller" <[email protected]>
Cc Jakub Kicinski <[email protected]>
Cc Srinivas Kandagatla <[email protected]>
Cc Ohad Ben-Cohen <[email protected]>
Cc Mark Brown <[email protected]>
Cc Cheng-Yi Chiang <[email protected]>
Cc Benson Leung <[email protected]>
Cc Zhang Rui <[email protected]>
Cc Daniel Lezcano <[email protected]>
Cc Greg Kroah-Hartman <[email protected]>
Cc Stefan Wahren <[email protected]>
Cc Masahiro Yamada <[email protected]>
Cc Odelu Kukatla <[email protected]>
Cc Alex Elder <[email protected]>
Cc Suman Anna <[email protected]>
Cc Kuninori Morimoto <[email protected]>
Cc Dmitry Baryshkov <[email protected]>
Quoted 2 lines

---
 .../bindings/arm/bcm/raspberrypi,bcm2835-firmware.yaml | 5 +----

				^
				|

Regards,
Nicolas