dt-bindings: iio: light: adps9300: Add missing vdd-supply
authorSubhajit Ghosh <subhajit.ghosh@tweaklogic.com>
Sat, 9 Mar 2024 10:50:28 +0000 (21:20 +1030)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Mon, 25 Mar 2024 20:10:12 +0000 (20:10 +0000)
All devices covered by the binding have a vdd supply.

Acked-by: Conor Dooley <conor.dooley@microchip.com>
Signed-off-by: Subhajit Ghosh <subhajit.ghosh@tweaklogic.com>
Link: https://lore.kernel.org/r/20240309105031.10313-3-subhajit.ghosh@tweaklogic.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Documentation/devicetree/bindings/iio/light/avago,apds9300.yaml

index c610780346e8764055c31ab710dedf8197b43b80..a328c8a1daef88868b8c13ef1b060d8adcfe6f81 100644 (file)
@@ -25,6 +25,8 @@ properties:
   interrupts:
     maxItems: 1
 
+  vdd-supply: true
+
 additionalProperties: false
 
 required:
@@ -42,6 +44,7 @@ examples:
             reg = <0x39>;
             interrupt-parent = <&gpio2>;
             interrupts = <29 8>;
+            vdd-supply = <&regulator_3v3>;
         };
     };
 ...