Re: [PATCH 1/4] dt-bindings: iio: light: stk33xx: add power supply support

From: Jonathan Cameron

Date: Sat Nov 07 2026 - 17:36:19 EST


On Sun, 08 Nov 2026 00:15:03 +0200
Roman Vivchar via B4 Relay <devnull+rva333.protonmail.com@xxxxxxxxxx> wrote:

> From: Roman Vivchar <rva333@xxxxxxxxxxxxxx>
>
> On some boards, the chip shares a power rail with other components. If
> that rail is turned off, the chip can't function.
Not sure how the sharing is relevant. Even if shared with nothing
else we need to turn it on. So just mention that on some boards it
isn't always on.

The only reason this would be optional in the binding is if there
was internal routing in some packaging or similar that meant there
was no pin to connect.

Upshot, make this required in the binding. Note that doesn't mean
the driver must require it - we are simply documenting that the
device needs power.

Thanks,

Jonathan

>
> Add vdd-supply property to document the chip power supply.
>
> Signed-off-by: Roman Vivchar <rva333@xxxxxxxxxxxxxx>
> ---
> Documentation/devicetree/bindings/iio/light/stk33xx.yaml | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/iio/light/stk33xx.yaml b/Documentation/devicetree/bindings/iio/light/stk33xx.yaml
> index f655a570aac7..114cf87eb54d 100644
> --- a/Documentation/devicetree/bindings/iio/light/stk33xx.yaml
> +++ b/Documentation/devicetree/bindings/iio/light/stk33xx.yaml
> @@ -37,6 +37,8 @@ properties:
>
> proximity-near-level: true
>
> + vdd-supply: true
> +
> required:
> - compatible
> - reg
>