[PATCH v3 3/9] dt-bindings: iio: light: veml6030: add vdd-supply property
From: Javier Carrasco
Date: Tue Oct 01 2024 - 16:22:28 EST
Add vdd-supply to account for the sensor's power source.
Acked-by: Krzysztof Kozlowski <krzk@xxxxxxxxxx>
Signed-off-by: Javier Carrasco <javier.carrasco.cruz@xxxxxxxxx>
---
Documentation/devicetree/bindings/iio/light/vishay,veml6030.yaml | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/Documentation/devicetree/bindings/iio/light/vishay,veml6030.yaml b/Documentation/devicetree/bindings/iio/light/vishay,veml6030.yaml
index 7f4995557570..42a78cd4f812 100644
--- a/Documentation/devicetree/bindings/iio/light/vishay,veml6030.yaml
+++ b/Documentation/devicetree/bindings/iio/light/vishay,veml6030.yaml
@@ -41,9 +41,12 @@ properties:
interrupt client node bindings.
maxItems: 1
+ vdd-supply: true
+
required:
- compatible
- reg
+ - vdd-supply
additionalProperties: false
@@ -59,6 +62,7 @@ examples:
compatible = "vishay,veml6030";
reg = <0x10>;
interrupts = <12 IRQ_TYPE_LEVEL_LOW>;
+ vdd-supply = <&vdd>;
};
};
...
--
2.43.0