Re: [PATCH v4 1/7] dt-bindings: iio: light: vcnl4000: add regulators
From: Erikas Bitovtas
Date: Wed Mar 18 2026 - 08:48:02 EST
On 3/17/26 5:42 PM, Krzysztof Kozlowski wrote:
> On 17/03/2026 09:07, Erikas Bitovtas wrote:
>>>> + vdd-supply: true
>>>> + vddio-supply: true
>>>> + vled-supply: true
>>>
>>> Same comments as before, I do not see improvements.
>>>
>>> Best regards,
>>> Krzysztof
>>>
>>
>> I explained why in v3. The message can be found here:
>> https://lore.kernel.org/linux-iio/cb92bb47-9078-475d-b242-71e3f9181a72@xxxxxxxxxxxx/T/#m6da277894cf5c2b473fbeebd4b7bafc7519ebc26
>
> Apologies, I missed that. VDD and VLED are fine, but I2C bus supply is a
> property of the I2C controller, not the device, therefore please drop VDDIO.
>
> Best regards,
> Krzysztof
VDDIO supply is needed for the pull-up resistors for the open drain I2C
and interrupt lines. Without them, the device will send spurious
interrupts. Such cases are already present in mainline, for example
Awinic AW2013 led driver [1]:
> there is usually more than just the I2C I/O lines. For AW2013 there is
> at least also the open-drain interrupt line. On other ICs there could
> also be arbitrary GPIO lines that are used in open-drain mode. Those
> are completely unrelated to the I2C controller.
>
> Do you have any suggestions how to handle the power supply for those?
>From the looks of it, it was agreed upon to rename the supply from VDDIO
to VIO. Has anything changed since then and now there is a better way to
represent this relationship?
[1]: https://lore.kernel.org/all/ZBoR0DPQ+AufzKHk@xxxxxxxxxxx/#t