[PATCH v5 1/8] dt-bindings: iio: light: vcnl4000: add regulators

From: Erikas Bitovtas

Date: Thu Mar 19 2026 - 08:06:23 EST


These sensors can accept 2 supplies - one for the sensor and one for IR
LED [1]. Add supply properties for the sensor - 2 for the sensors and
one external, for their open drain interrupt line, to ensure the sensor
is powered on before proceeding with setup.

[1] https://www.vishay.com/docs/84274/vcnl4040.pdf

Reviewed-by: David Lechner <dlechner@xxxxxxxxxxxx>
Signed-off-by: Erikas Bitovtas <xerikasxx@xxxxxxxxx>
---
Documentation/devicetree/bindings/iio/light/vishay,vcnl4000.yaml | 7 +++++++
1 file changed, 7 insertions(+)

diff --git a/Documentation/devicetree/bindings/iio/light/vishay,vcnl4000.yaml b/Documentation/devicetree/bindings/iio/light/vishay,vcnl4000.yaml
index 2ba4d5de4ec4..44882a90bc76 100644
--- a/Documentation/devicetree/bindings/iio/light/vishay,vcnl4000.yaml
+++ b/Documentation/devicetree/bindings/iio/light/vishay,vcnl4000.yaml
@@ -33,6 +33,10 @@ properties:
interrupts:
maxItems: 1

+ vdd-supply: true
+ vio-supply: true
+ vled-supply: true
+
reg:
maxItems: 1

@@ -54,6 +58,9 @@ examples:
compatible = "vishay,vcnl4200";
reg = <0x51>;
proximity-near-level = <220>;
+ vdd-supply = <&reg_vdd>;
+ vddio-supply = <&reg_vddio>;
+ vled-supply = <&reg_vled>;
};
};
...

--
2.53.0