Re: [PATCH v5 1/8] dt-bindings: iio: light: vcnl4000: add regulators
From: Krzysztof Kozlowski
Date: Thu Mar 19 2026 - 08:13:29 EST
On 19/03/2026 12:58, Erikas Bitovtas wrote:
> 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
That's still a property of I2C bus controller, but if you disagree then
I expect following Rob's comment.
https://lore.kernel.org/all/20230321220825.GA1685482-robh@xxxxxxxxxx/
Best regards,
Krzysztof