Skip to contentSkip to conversation

dt-bindings: Drop unnecessary *-supply schemas properties

PATCH In review Rob Herring 7 participants 7 messages Dec 21, 2020 – Dec 29, 2020

Subsystems (17)
lore
Share & tools
lore

Rob Herring

author maintainer
#0 lore raw

PATCH 1/1 dt-bindings: Drop unnecessary *-supply schemas properties

*-supply properties are always a single phandle, so binding schemas don't need a type $ref nor 'maxItems'.

A meta-schema check for this is pending once these existing cases are fixed.

Cc Jonathan Cameron <[email protected]>
Cc Dmitry Torokhov <[email protected]>
Cc Laurent Pinchart <[email protected]>
Cc Mauro Carvalho Chehab <[email protected]>
Cc Sakari Ailus <[email protected]>
Cc Lee Jones <[email protected]>
Cc Mark Brown <[email protected]>
Cc Maxime Ripard <[email protected]>
---
 Documentation/devicetree/bindings/display/bridge/anx6345.yaml | 2 --
 .../devicetree/bindings/display/bridge/ite,it6505.yaml        | 2 --
 .../devicetree/bindings/display/bridge/lvds-codec.yaml        | 3 +--
 Documentation/devicetree/bindings/display/bridge/ps8640.yaml  | 2 --
 .../devicetree/bindings/display/bridge/simple-bridge.yaml     | 1 -
 .../bindings/display/bridge/thine,thc63lvd1024.yaml           | 1 -
 .../devicetree/bindings/display/bridge/toshiba,tc358775.yaml  | 2 --
 Documentation/devicetree/bindings/iio/adc/lltc,ltc2496.yaml   | 4 +---
 .../devicetree/bindings/iio/humidity/ti,hdc2010.yaml          | 3 +--
 .../devicetree/bindings/input/fsl,mpr121-touchkey.yaml        | 3 +--
 .../devicetree/bindings/input/touchscreen/edt-ft5x06.yaml     | 3 +--
 .../devicetree/bindings/media/i2c/maxim,max9286.yaml          | 1 -
 Documentation/devicetree/bindings/media/i2c/mipi-ccs.yaml     | 3 ---
 Documentation/devicetree/bindings/media/i2c/sony,imx214.yaml  | 3 ---
 Documentation/devicetree/bindings/media/i2c/sony,imx274.yaml  | 3 ---
 Documentation/devicetree/bindings/mfd/st,stmfx.yaml           | 3 +--
 .../devicetree/bindings/regulator/anatop-regulator.yaml       | 1 -
 17 files changed, 6 insertions(+), 34 deletions(-)
Documentation/devicetree/bindings/display/bridge/anx6345.yaml +0 -2
index 8c0e4f285fbc..fccd63521a8c 100644
@@ -26,11 +26,9 @@ properties:
     description: GPIO connected to active low reset
 
   dvdd12-supply:
-    maxItems: 1
     description: Regulator for 1.2V digital core power.
 
   dvdd25-supply:
-    maxItems: 1
     description: Regulator for 2.5V digital core power.
 
   ports:
Documentation/devicetree/bindings/display/bridge/ite,it6505.yaml +0 -2
index efbb3d0117dc..02cfc0a3b550 100644
@@ -35,11 +35,9 @@ properties:
     maxItems: 1
 
   ovdd-supply:
-    maxItems: 1
     description: I/O voltage
 
   pwr18-supply:
-    maxItems: 1
     description: core voltage
 
   interrupts:
Documentation/devicetree/bindings/display/bridge/lvds-codec.yaml +1 -2
index e5e3c72630cf..66a14d60ce1d 100644
@@ -79,8 +79,7 @@ properties:
       The GPIO used to control the power down line of this device.
     maxItems: 1
 
-  power-supply:
-    maxItems: 1
+  power-supply: true
 
 required:
   - compatible
Documentation/devicetree/bindings/display/bridge/ps8640.yaml +0 -2
index 7e27cfcf770d..763c7909473e 100644
@@ -35,11 +35,9 @@ properties:
     description: GPIO connected to active low reset.
 
   vdd12-supply:
-    maxItems: 1
     description: Regulator for 1.2V digital core power.
 
   vdd33-supply:
-    maxItems: 1
     description: Regulator for 3.3V digital core power.
 
   ports:
Documentation/devicetree/bindings/display/bridge/simple-bridge.yaml +0 -1
index 3ddb35fcf0a2..64e8a1c24b40 100644
@@ -60,7 +60,6 @@ properties:
     description: GPIO controlling bridge enable
 
   vdd-supply:
-    maxItems: 1
     description: Power supply for the bridge
 
 required:
Documentation/devicetree/bindings/display/bridge/thine,thc63lvd1024.yaml +0 -1
index 469ac4a34273..3d5ce08a5792 100644
@@ -74,7 +74,6 @@ properties:
     description: Power down GPIO signal, pin name "/PDWN", active low.
 
   vcc-supply:
-    maxItems: 1
     description:
       Power supply for the TTL output, TTL CLOCKOUT signal, LVDS input, PLL and
       digital circuitry.
Documentation/devicetree/bindings/display/bridge/toshiba,tc358775.yaml +0 -2
index fd3113aa9ccd..b5959cc78b8d 100644
@@ -28,11 +28,9 @@ properties:
     description: i2c address of the bridge, 0x0f
 
   vdd-supply:
-    maxItems: 1
     description: 1.2V LVDS Power Supply
 
   vddio-supply:
-    maxItems: 1
     description: 1.8V IO Power Supply
 
   stby-gpios:
Documentation/devicetree/bindings/iio/adc/lltc,ltc2496.yaml +1 -3
index 6a991e9f78e2..f04084fae5e8 100644
@@ -16,9 +16,7 @@ properties:
     enum:
       - lltc,ltc2496
 
-  vref-supply:
-    description: phandle to an external regulator providing the reference voltage
-    $ref: /schemas/types.yaml#/definitions/phandle
+  vref-supply: true
 
   reg:
     description: spi chipselect number according to the usual spi bindings
Documentation/devicetree/bindings/iio/humidity/ti,hdc2010.yaml +1 -2
index 7037f82ec753..88384b69f917 100644
@@ -22,8 +22,7 @@ properties:
       - ti,hdc2010
       - ti,hdc2080
 
-  vdd-supply:
-    maxItems: 1
+  vdd-supply: true
 
   reg:
     maxItems: 1
Documentation/devicetree/bindings/input/fsl,mpr121-touchkey.yaml +1 -2
index 378a85c09d34..878464f128dc 100644
@@ -31,8 +31,7 @@ properties:
   interrupts:
     maxItems: 1
 
-  vdd-supply:
-    maxItems: 1
+  vdd-supply: true
 
   linux,keycodes:
     minItems: 1
Documentation/devicetree/bindings/input/touchscreen/edt-ft5x06.yaml +1 -2
index 4ce109476a0e..bfc3a8b5e118 100644
@@ -55,8 +55,7 @@ properties:
 
   wakeup-source: true
 
-  vcc-supply:
-    maxItems: 1
+  vcc-supply: true
 
   gain:
     description: Allows setting the sensitivity in the range from 0 to 31.
Documentation/devicetree/bindings/media/i2c/maxim,max9286.yaml +0 -1
index 9ea827092fdd..68ee8c7d9e79 100644
@@ -40,7 +40,6 @@ properties:
 
   poc-supply:
     description: Regulator providing Power over Coax to the cameras
-    maxItems: 1
 
   enable-gpios:
     description: GPIO connected to the \#PWDN pin with inverted polarity
Documentation/devicetree/bindings/media/i2c/mipi-ccs.yaml +0 -3
index 0df0334d2d0d..bb3528315f20 100644
@@ -39,15 +39,12 @@ properties:
 
   vana-supply:
     description: Analogue voltage supply (VANA), sensor dependent.
-    maxItems: 1
 
   vcore-supply:
     description: Core voltage supply (VCore), sensor dependent.
-    maxItems: 1
 
   vio-supply:
     description: I/O voltage supply (VIO), sensor dependent.
-    maxItems: 1
 
   clocks:
     description: External clock to the sensor.
Documentation/devicetree/bindings/media/i2c/sony,imx214.yaml +0 -3
index 1a3590dd0e98..eb12526a462f 100644
@@ -37,15 +37,12 @@ properties:
 
   vdddo-supply:
     description: Chip digital IO regulator (1.8V).
-    maxItems: 1
 
   vdda-supply:
     description: Chip analog regulator (2.7V).
-    maxItems: 1
 
   vddd-supply:
     description: Chip digital core regulator (1.12V).
-    maxItems: 1
 
   flash-leds:
     description: See ../video-interfaces.txt
Documentation/devicetree/bindings/media/i2c/sony,imx274.yaml +0 -3
index f697e1a20beb..a66acb20d59b 100644
@@ -33,15 +33,12 @@ properties:
 
   vana-supply:
     description: Sensor 2.8 V analog supply.
-    maxItems: 1
 
   vdig-supply:
     description: Sensor 1.8 V digital core supply.
-    maxItems: 1
 
   vddl-supply:
     description: Sensor digital IO 1.2 V supply.
-    maxItems: 1
 
   port:
     type: object
Documentation/devicetree/bindings/mfd/st,stmfx.yaml +1 -2
index 888ab4b5df45..19e9afb385ac 100644
@@ -26,8 +26,7 @@ properties:
 
   drive-open-drain: true
 
-  vdd-supply:
-    maxItems: 1
+  vdd-supply: true
 
   pinctrl:
     type: object
Documentation/devicetree/bindings/regulator/anatop-regulator.yaml +0 -1
index e7b3abe30363..0a66338c7e5a 100644
@@ -59,7 +59,6 @@ properties:
     description: u32 value representing regulator enable bit offset.
 
   vin-supply:
-    $ref: '/schemas/types.yaml#/definitions/phandle'
     description: input supply phandle.
 
 required:
Signature · 6 lines
2.27.0

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
Acked-by on v1 1/1
#1 lore raw

Hi Rob

Quoted 6 lines · Rob Herring

*-supply properties are always a single phandle, so binding schemas don't need a type $ref nor 'maxItems'.

A meta-schema check for this is pending once these existing cases are fixed.

Quoted 13 lines
Cc Jonathan Cameron <[email protected]>
Cc Dmitry Torokhov <[email protected]>
Cc Laurent Pinchart <[email protected]>
Cc Mauro Carvalho Chehab <[email protected]>
Cc Sakari Ailus <[email protected]>
Cc Lee Jones <[email protected]>
Cc Mark Brown <[email protected]>
Cc Maxime Ripard <[email protected]>

For the Documentation/devicetree/bindings/display/* parts:

Sam
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

reviewer Reviewed-by on v1 1/1
#2 lore raw
In reply to Rob Herring

Hi Rob,

Thank you for the patch.

Quoted 146 lines · Rob Herring

*-supply properties are always a single phandle, so binding schemas don't need a type $ref nor 'maxItems'.

A meta-schema check for this is pending once these existing cases are fixed.

Cc Jonathan Cameron <[email protected]>
Cc Dmitry Torokhov <[email protected]>
Cc Laurent Pinchart <[email protected]>
Cc Mauro Carvalho Chehab <[email protected]>
Cc Sakari Ailus <[email protected]>
Cc Lee Jones <[email protected]>
Cc Mark Brown <[email protected]>
Cc Maxime Ripard <[email protected]>
---
 Documentation/devicetree/bindings/display/bridge/anx6345.yaml | 2 --
 .../devicetree/bindings/display/bridge/ite,it6505.yaml        | 2 --
 .../devicetree/bindings/display/bridge/lvds-codec.yaml        | 3 +--
 Documentation/devicetree/bindings/display/bridge/ps8640.yaml  | 2 --
 .../devicetree/bindings/display/bridge/simple-bridge.yaml     | 1 -
 .../bindings/display/bridge/thine,thc63lvd1024.yaml           | 1 -
 .../devicetree/bindings/display/bridge/toshiba,tc358775.yaml  | 2 --
 Documentation/devicetree/bindings/iio/adc/lltc,ltc2496.yaml   | 4 +---
 .../devicetree/bindings/iio/humidity/ti,hdc2010.yaml          | 3 +--
 .../devicetree/bindings/input/fsl,mpr121-touchkey.yaml        | 3 +--
 .../devicetree/bindings/input/touchscreen/edt-ft5x06.yaml     | 3 +--
 .../devicetree/bindings/media/i2c/maxim,max9286.yaml          | 1 -
 Documentation/devicetree/bindings/media/i2c/mipi-ccs.yaml     | 3 ---
 Documentation/devicetree/bindings/media/i2c/sony,imx214.yaml  | 3 ---
 Documentation/devicetree/bindings/media/i2c/sony,imx274.yaml  | 3 ---
 Documentation/devicetree/bindings/mfd/st,stmfx.yaml           | 3 +--
 .../devicetree/bindings/regulator/anatop-regulator.yaml       | 1 -
 17 files changed, 6 insertions(+), 34 deletions(-)
Documentation/devicetree/bindings/display/bridge/anx6345.yaml +0 -2
index 8c0e4f285fbc..fccd63521a8c 100644
@@ -26,11 +26,9 @@ properties:
     description: GPIO connected to active low reset
 
   dvdd12-supply:
-    maxItems: 1
     description: Regulator for 1.2V digital core power.
 
   dvdd25-supply:
-    maxItems: 1
     description: Regulator for 2.5V digital core power.
 
   ports:
Documentation/devicetree/bindings/display/bridge/ite,it6505.yaml +0 -2
index efbb3d0117dc..02cfc0a3b550 100644
@@ -35,11 +35,9 @@ properties:
     maxItems: 1
 
   ovdd-supply:
-    maxItems: 1
     description: I/O voltage
 
   pwr18-supply:
-    maxItems: 1
     description: core voltage
 
   interrupts:
Documentation/devicetree/bindings/display/bridge/lvds-codec.yaml +1 -2
index e5e3c72630cf..66a14d60ce1d 100644
@@ -79,8 +79,7 @@ properties:
       The GPIO used to control the power down line of this device.
     maxItems: 1
 
-  power-supply:
-    maxItems: 1
+  power-supply: true
 
 required:
   - compatible
Documentation/devicetree/bindings/display/bridge/ps8640.yaml +0 -2
index 7e27cfcf770d..763c7909473e 100644
@@ -35,11 +35,9 @@ properties:
     description: GPIO connected to active low reset.
 
   vdd12-supply:
-    maxItems: 1
     description: Regulator for 1.2V digital core power.
 
   vdd33-supply:
-    maxItems: 1
     description: Regulator for 3.3V digital core power.
 
   ports:
Documentation/devicetree/bindings/display/bridge/simple-bridge.yaml +0 -1
index 3ddb35fcf0a2..64e8a1c24b40 100644
@@ -60,7 +60,6 @@ properties:
     description: GPIO controlling bridge enable
 
   vdd-supply:
-    maxItems: 1
     description: Power supply for the bridge
 
 required:
Documentation/devicetree/bindings/display/bridge/thine,thc63lvd1024.yaml +0 -1
index 469ac4a34273..3d5ce08a5792 100644
@@ -74,7 +74,6 @@ properties:
     description: Power down GPIO signal, pin name "/PDWN", active low.
 
   vcc-supply:
-    maxItems: 1
     description:
       Power supply for the TTL output, TTL CLOCKOUT signal, LVDS input, PLL and
       digital circuitry.
Documentation/devicetree/bindings/display/bridge/toshiba,tc358775.yaml +0 -2
index fd3113aa9ccd..b5959cc78b8d 100644
@@ -28,11 +28,9 @@ properties:
     description: i2c address of the bridge, 0x0f
 
   vdd-supply:
-    maxItems: 1
     description: 1.2V LVDS Power Supply
 
   vddio-supply:
-    maxItems: 1
     description: 1.8V IO Power Supply
 
   stby-gpios:
Documentation/devicetree/bindings/iio/adc/lltc,ltc2496.yaml +0 -0
index 6a991e9f78e2..f04084fae5e8 100644

Documentation/devicetree/bindings/iio/adc/lltc,ltc2496.yaml properties: · line 19

Quoted 7 lines
Documentation/devicetree/bindings/iio/adc/lltc,ltc2496.yaml +1 -3
@@ -16,9 +16,7 @@ properties:
     enum:
       - lltc,ltc2496
 
-  vref-supply:
-    description: phandle to an external regulator providing the reference voltage
-    $ref: /schemas/types.yaml#/definitions/phandle
+  vref-supply: true

I'd keep part of the description as it's not just the device's main power supply (at least if we can trust the current description).

vref-supply:
description: Power supply for the reference voltage

Quoted 142 lines
Documentation/devicetree/bindings/iio/adc/lltc,ltc2496.yaml +0 -0
   reg:
     description: spi chipselect number according to the usual spi bindings
Documentation/devicetree/bindings/iio/humidity/ti,hdc2010.yaml +1 -2
index 7037f82ec753..88384b69f917 100644
@@ -22,8 +22,7 @@ properties:
       - ti,hdc2010
       - ti,hdc2080
 
-  vdd-supply:
-    maxItems: 1
+  vdd-supply: true
 
   reg:
     maxItems: 1
Documentation/devicetree/bindings/input/fsl,mpr121-touchkey.yaml +1 -2
index 378a85c09d34..878464f128dc 100644
@@ -31,8 +31,7 @@ properties:
   interrupts:
     maxItems: 1
 
-  vdd-supply:
-    maxItems: 1
+  vdd-supply: true
 
   linux,keycodes:
     minItems: 1
Documentation/devicetree/bindings/input/touchscreen/edt-ft5x06.yaml +1 -2
index 4ce109476a0e..bfc3a8b5e118 100644
@@ -55,8 +55,7 @@ properties:
 
   wakeup-source: true
 
-  vcc-supply:
-    maxItems: 1
+  vcc-supply: true
 
   gain:
     description: Allows setting the sensitivity in the range from 0 to 31.
Documentation/devicetree/bindings/media/i2c/maxim,max9286.yaml +0 -1
index 9ea827092fdd..68ee8c7d9e79 100644
@@ -40,7 +40,6 @@ properties:
 
   poc-supply:
     description: Regulator providing Power over Coax to the cameras
-    maxItems: 1
 
   enable-gpios:
     description: GPIO connected to the \#PWDN pin with inverted polarity
Documentation/devicetree/bindings/media/i2c/mipi-ccs.yaml +0 -3
index 0df0334d2d0d..bb3528315f20 100644
@@ -39,15 +39,12 @@ properties:
 
   vana-supply:
     description: Analogue voltage supply (VANA), sensor dependent.
-    maxItems: 1
 
   vcore-supply:
     description: Core voltage supply (VCore), sensor dependent.
-    maxItems: 1
 
   vio-supply:
     description: I/O voltage supply (VIO), sensor dependent.
-    maxItems: 1
 
   clocks:
     description: External clock to the sensor.
Documentation/devicetree/bindings/media/i2c/sony,imx214.yaml +0 -3
index 1a3590dd0e98..eb12526a462f 100644
@@ -37,15 +37,12 @@ properties:
 
   vdddo-supply:
     description: Chip digital IO regulator (1.8V).
-    maxItems: 1
 
   vdda-supply:
     description: Chip analog regulator (2.7V).
-    maxItems: 1
 
   vddd-supply:
     description: Chip digital core regulator (1.12V).
-    maxItems: 1
 
   flash-leds:
     description: See ../video-interfaces.txt
Documentation/devicetree/bindings/media/i2c/sony,imx274.yaml +0 -3
index f697e1a20beb..a66acb20d59b 100644
@@ -33,15 +33,12 @@ properties:
 
   vana-supply:
     description: Sensor 2.8 V analog supply.
-    maxItems: 1
 
   vdig-supply:
     description: Sensor 1.8 V digital core supply.
-    maxItems: 1
 
   vddl-supply:
     description: Sensor digital IO 1.2 V supply.
-    maxItems: 1
 
   port:
     type: object
Documentation/devicetree/bindings/mfd/st,stmfx.yaml +1 -2
index 888ab4b5df45..19e9afb385ac 100644
@@ -26,8 +26,7 @@ properties:
 
   drive-open-drain: true
 
-  vdd-supply:
-    maxItems: 1
+  vdd-supply: true
 
   pinctrl:
     type: object
Documentation/devicetree/bindings/regulator/anatop-regulator.yaml +0 -1
index e7b3abe30363..0a66338c7e5a 100644
@@ -59,7 +59,6 @@ properties:
     description: u32 value representing regulator enable bit offset.
 
   vin-supply:
-    $ref: '/schemas/types.yaml#/definitions/phandle'
     description: input supply phandle.
 
 required:
Signature · 7 lines
Regards,

Laurent Pinchart
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
maintainer Acked-by on v1 1/1
#3 lore raw
In reply to Rob Herring

Hi Rob,

Quoted 6 lines · Rob Herring

*-supply properties are always a single phandle, so binding schemas don't need a type $ref nor 'maxItems'.

A meta-schema check for this is pending once these existing cases are fixed.

Quoted 13 lines
Cc Jonathan Cameron <[email protected]>
Cc Dmitry Torokhov <[email protected]>
Cc Laurent Pinchart <[email protected]>
Cc Mauro Carvalho Chehab <[email protected]>
Cc Sakari Ailus <[email protected]>
Cc Lee Jones <[email protected]>
Cc Mark Brown <[email protected]>
Cc Maxime Ripard <[email protected]>

On media bits:

Signature · 5 lines
Sakari Ailus
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
Acked-by on v1 1/1
#4 lore raw
In reply to Rob Herring
Quoted 28 lines · Rob Herring

*-supply properties are always a single phandle, so binding schemas don't need a type $ref nor 'maxItems'.

A meta-schema check for this is pending once these existing cases are fixed.

Cc Jonathan Cameron <[email protected]>
Cc Dmitry Torokhov <[email protected]>
Cc Laurent Pinchart <[email protected]>
Cc Mauro Carvalho Chehab <[email protected]>
Cc Sakari Ailus <[email protected]>
Cc Lee Jones <[email protected]>
Cc Mark Brown <[email protected]>
Cc Maxime Ripard <[email protected]>
---
 Documentation/devicetree/bindings/display/bridge/anx6345.yaml | 2 --
 .../devicetree/bindings/display/bridge/ite,it6505.yaml        | 2 --
 .../devicetree/bindings/display/bridge/lvds-codec.yaml        | 3 +--
 Documentation/devicetree/bindings/display/bridge/ps8640.yaml  | 2 --
 .../devicetree/bindings/display/bridge/simple-bridge.yaml     | 1 -
 .../bindings/display/bridge/thine,thc63lvd1024.yaml           | 1 -
 .../devicetree/bindings/display/bridge/toshiba,tc358775.yaml  | 2 --
 Documentation/devicetree/bindings/iio/adc/lltc,ltc2496.yaml   | 4 +---
Quoted 8 lines
 .../devicetree/bindings/iio/humidity/ti,hdc2010.yaml          | 3 +--
 .../devicetree/bindings/input/fsl,mpr121-touchkey.yaml        | 3 +--
 .../devicetree/bindings/input/touchscreen/edt-ft5x06.yaml     | 3 +--
 .../devicetree/bindings/media/i2c/maxim,max9286.yaml          | 1 -
 Documentation/devicetree/bindings/media/i2c/mipi-ccs.yaml     | 3 ---
 Documentation/devicetree/bindings/media/i2c/sony,imx214.yaml  | 3 ---
 Documentation/devicetree/bindings/media/i2c/sony,imx274.yaml  | 3 ---
 Documentation/devicetree/bindings/mfd/st,stmfx.yaml           | 3 +--
Quoted 2 lines
 .../devicetree/bindings/regulator/anatop-regulator.yaml       | 1 -
 17 files changed, 6 insertions(+), 34 deletions(-)
Signature · 8 lines
Lee Jones [李琼斯]
Senior Technical Lead - Developer Services
Linaro.org │ Open source software for Arm SoCs
Follow Linaro: Facebook | Twitter | Blog
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
maintainer Acked-by on v1 1/1
#6 lore raw
In reply to Rob Herring
Quoted 6 lines · On Mon, 21 Dec 2020 16:46:59 -0700 Rob Herring <[email protected]> wrote:

*-supply properties are always a single phandle, so binding schemas don't need a type $ref nor 'maxItems'.

A meta-schema check for this is pending once these existing cases are fixed.

Quoted 13 lines
Cc Jonathan Cameron <[email protected]>
Cc Dmitry Torokhov <[email protected]>
Cc Laurent Pinchart <[email protected]>
Cc Mauro Carvalho Chehab <[email protected]>
Cc Sakari Ailus <[email protected]>
Cc Lee Jones <[email protected]>
Cc Mark Brown <[email protected]>
Cc Maxime Ripard <[email protected]>
Quoted 270 lines
---
 Documentation/devicetree/bindings/display/bridge/anx6345.yaml | 2 --
 .../devicetree/bindings/display/bridge/ite,it6505.yaml        | 2 --
 .../devicetree/bindings/display/bridge/lvds-codec.yaml        | 3 +--
 Documentation/devicetree/bindings/display/bridge/ps8640.yaml  | 2 --
 .../devicetree/bindings/display/bridge/simple-bridge.yaml     | 1 -
 .../bindings/display/bridge/thine,thc63lvd1024.yaml           | 1 -
 .../devicetree/bindings/display/bridge/toshiba,tc358775.yaml  | 2 --
 Documentation/devicetree/bindings/iio/adc/lltc,ltc2496.yaml   | 4 +---
 .../devicetree/bindings/iio/humidity/ti,hdc2010.yaml          | 3 +--
 .../devicetree/bindings/input/fsl,mpr121-touchkey.yaml        | 3 +--
 .../devicetree/bindings/input/touchscreen/edt-ft5x06.yaml     | 3 +--
 .../devicetree/bindings/media/i2c/maxim,max9286.yaml          | 1 -
 Documentation/devicetree/bindings/media/i2c/mipi-ccs.yaml     | 3 ---
 Documentation/devicetree/bindings/media/i2c/sony,imx214.yaml  | 3 ---
 Documentation/devicetree/bindings/media/i2c/sony,imx274.yaml  | 3 ---
 Documentation/devicetree/bindings/mfd/st,stmfx.yaml           | 3 +--
 .../devicetree/bindings/regulator/anatop-regulator.yaml       | 1 -
 17 files changed, 6 insertions(+), 34 deletions(-)
Documentation/devicetree/bindings/display/bridge/anx6345.yaml +0 -2
index 8c0e4f285fbc..fccd63521a8c 100644
@@ -26,11 +26,9 @@ properties:
     description: GPIO connected to active low reset
 
   dvdd12-supply:
-    maxItems: 1
     description: Regulator for 1.2V digital core power.
 
   dvdd25-supply:
-    maxItems: 1
     description: Regulator for 2.5V digital core power.
 
   ports:
Documentation/devicetree/bindings/display/bridge/ite,it6505.yaml +0 -2
index efbb3d0117dc..02cfc0a3b550 100644
@@ -35,11 +35,9 @@ properties:
     maxItems: 1
 
   ovdd-supply:
-    maxItems: 1
     description: I/O voltage
 
   pwr18-supply:
-    maxItems: 1
     description: core voltage
 
   interrupts:
Documentation/devicetree/bindings/display/bridge/lvds-codec.yaml +1 -2
index e5e3c72630cf..66a14d60ce1d 100644
@@ -79,8 +79,7 @@ properties:
       The GPIO used to control the power down line of this device.
     maxItems: 1
 
-  power-supply:
-    maxItems: 1
+  power-supply: true
 
 required:
   - compatible
Documentation/devicetree/bindings/display/bridge/ps8640.yaml +0 -2
index 7e27cfcf770d..763c7909473e 100644
@@ -35,11 +35,9 @@ properties:
     description: GPIO connected to active low reset.
 
   vdd12-supply:
-    maxItems: 1
     description: Regulator for 1.2V digital core power.
 
   vdd33-supply:
-    maxItems: 1
     description: Regulator for 3.3V digital core power.
 
   ports:
Documentation/devicetree/bindings/display/bridge/simple-bridge.yaml +0 -1
index 3ddb35fcf0a2..64e8a1c24b40 100644
@@ -60,7 +60,6 @@ properties:
     description: GPIO controlling bridge enable
 
   vdd-supply:
-    maxItems: 1
     description: Power supply for the bridge
 
 required:
Documentation/devicetree/bindings/display/bridge/thine,thc63lvd1024.yaml +0 -1
index 469ac4a34273..3d5ce08a5792 100644
@@ -74,7 +74,6 @@ properties:
     description: Power down GPIO signal, pin name "/PDWN", active low.
 
   vcc-supply:
-    maxItems: 1
     description:
       Power supply for the TTL output, TTL CLOCKOUT signal, LVDS input, PLL and
       digital circuitry.
Documentation/devicetree/bindings/display/bridge/toshiba,tc358775.yaml +0 -2
index fd3113aa9ccd..b5959cc78b8d 100644
@@ -28,11 +28,9 @@ properties:
     description: i2c address of the bridge, 0x0f
 
   vdd-supply:
-    maxItems: 1
     description: 1.2V LVDS Power Supply
 
   vddio-supply:
-    maxItems: 1
     description: 1.8V IO Power Supply
 
   stby-gpios:
Documentation/devicetree/bindings/iio/adc/lltc,ltc2496.yaml +1 -3
index 6a991e9f78e2..f04084fae5e8 100644
@@ -16,9 +16,7 @@ properties:
     enum:
       - lltc,ltc2496
 
-  vref-supply:
-    description: phandle to an external regulator providing the reference voltage
-    $ref: /schemas/types.yaml#/definitions/phandle
+  vref-supply: true
 
   reg:
     description: spi chipselect number according to the usual spi bindings
Documentation/devicetree/bindings/iio/humidity/ti,hdc2010.yaml +1 -2
index 7037f82ec753..88384b69f917 100644
@@ -22,8 +22,7 @@ properties:
       - ti,hdc2010
       - ti,hdc2080
 
-  vdd-supply:
-    maxItems: 1
+  vdd-supply: true
 
   reg:
     maxItems: 1
Documentation/devicetree/bindings/input/fsl,mpr121-touchkey.yaml +1 -2
index 378a85c09d34..878464f128dc 100644
@@ -31,8 +31,7 @@ properties:
   interrupts:
     maxItems: 1
 
-  vdd-supply:
-    maxItems: 1
+  vdd-supply: true
 
   linux,keycodes:
     minItems: 1
Documentation/devicetree/bindings/input/touchscreen/edt-ft5x06.yaml +1 -2
index 4ce109476a0e..bfc3a8b5e118 100644
@@ -55,8 +55,7 @@ properties:
 
   wakeup-source: true
 
-  vcc-supply:
-    maxItems: 1
+  vcc-supply: true
 
   gain:
     description: Allows setting the sensitivity in the range from 0 to 31.
Documentation/devicetree/bindings/media/i2c/maxim,max9286.yaml +0 -1
index 9ea827092fdd..68ee8c7d9e79 100644
@@ -40,7 +40,6 @@ properties:
 
   poc-supply:
     description: Regulator providing Power over Coax to the cameras
-    maxItems: 1
 
   enable-gpios:
     description: GPIO connected to the \#PWDN pin with inverted polarity
Documentation/devicetree/bindings/media/i2c/mipi-ccs.yaml +0 -3
index 0df0334d2d0d..bb3528315f20 100644
@@ -39,15 +39,12 @@ properties:
 
   vana-supply:
     description: Analogue voltage supply (VANA), sensor dependent.
-    maxItems: 1
 
   vcore-supply:
     description: Core voltage supply (VCore), sensor dependent.
-    maxItems: 1
 
   vio-supply:
     description: I/O voltage supply (VIO), sensor dependent.
-    maxItems: 1
 
   clocks:
     description: External clock to the sensor.
Documentation/devicetree/bindings/media/i2c/sony,imx214.yaml +0 -3
index 1a3590dd0e98..eb12526a462f 100644
@@ -37,15 +37,12 @@ properties:
 
   vdddo-supply:
     description: Chip digital IO regulator (1.8V).
-    maxItems: 1
 
   vdda-supply:
     description: Chip analog regulator (2.7V).
-    maxItems: 1
 
   vddd-supply:
     description: Chip digital core regulator (1.12V).
-    maxItems: 1
 
   flash-leds:
     description: See ../video-interfaces.txt
Documentation/devicetree/bindings/media/i2c/sony,imx274.yaml +0 -3
index f697e1a20beb..a66acb20d59b 100644
@@ -33,15 +33,12 @@ properties:
 
   vana-supply:
     description: Sensor 2.8 V analog supply.
-    maxItems: 1
 
   vdig-supply:
     description: Sensor 1.8 V digital core supply.
-    maxItems: 1
 
   vddl-supply:
     description: Sensor digital IO 1.2 V supply.
-    maxItems: 1
 
   port:
     type: object
Documentation/devicetree/bindings/mfd/st,stmfx.yaml +1 -2
index 888ab4b5df45..19e9afb385ac 100644
@@ -26,8 +26,7 @@ properties:
 
   drive-open-drain: true
 
-  vdd-supply:
-    maxItems: 1
+  vdd-supply: true
 
   pinctrl:
     type: object
Documentation/devicetree/bindings/regulator/anatop-regulator.yaml +0 -0
index e7b3abe30363..0a66338c7e5a 100644

Documentation/devicetree/bindings/regulator/anatop-regulator.yaml properties: · line 64

Quoted 7 lines
Documentation/devicetree/bindings/regulator/anatop-regulator.yaml +0 -1
@@ -59,7 +59,6 @@ properties:
     description: u32 value representing regulator enable bit offset.
 
   vin-supply:
-    $ref: '/schemas/types.yaml#/definitions/phandle'
     description: input supply phandle.
 
 required:

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel