[PATCH 1/4] iio: proximity: vl53l0x-i2c: Add optional vddio regulator

Petr Hodina via B4 Relay posted 4 patches 3 weeks ago
[PATCH 1/4] iio: proximity: vl53l0x-i2c: Add optional vddio regulator
Posted by Petr Hodina via B4 Relay 3 weeks ago
From: Petr Hodina <petr.hodina@protonmail.com>

The VL53L0X can be powered using separate core (VDD) and I/O (VDDIO)
supplies. Add support for an optional vio regulator and enable/disable
it during power on/off when present.

Signed-off-by: Petr Hodina <petr.hodina@protonmail.com>
---
 Documentation/devicetree/bindings/iio/proximity/st,vl53l0x.yaml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Documentation/devicetree/bindings/iio/proximity/st,vl53l0x.yaml b/Documentation/devicetree/bindings/iio/proximity/st,vl53l0x.yaml
index 322befc41de6..f7e55d427fe4 100644
--- a/Documentation/devicetree/bindings/iio/proximity/st,vl53l0x.yaml
+++ b/Documentation/devicetree/bindings/iio/proximity/st,vl53l0x.yaml
@@ -24,6 +24,8 @@ properties:
 
   vdd-supply: true
 
+  vio-supply: true
+
 required:
   - compatible
   - reg

-- 
2.52.0
Re: [PATCH 1/4] iio: proximity: vl53l0x-i2c: Add optional vddio regulator
Posted by Krzysztof Kozlowski 2 weeks, 6 days ago
On 19/01/2026 18:19, Petr Hodina via B4 Relay wrote:
> From: Petr Hodina <petr.hodina@protonmail.com>
> 
> The VL53L0X can be powered using separate core (VDD) and I/O (VDDIO)
> supplies. Add support for an optional vio regulator and enable/disable
> it during power on/off when present.
> 
> Signed-off-by: Petr Hodina <petr.hodina@protonmail.com>
> ---


Please use subject prefixes matching the subsystem. You can get them for
example with `git log --oneline -- DIRECTORY_OR_FILE` on the directory
your patch is touching. For bindings, the preferred subjects are
explained here:
https://www.kernel.org/doc/html/latest/devicetree/bindings/submitting-patches.html#i-for-patch-submitters


Best regards,
Krzysztof
Re: [PATCH 1/4] iio: proximity: vl53l0x-i2c: Add optional vddio regulator
Posted by Krzysztof Kozlowski 2 weeks, 6 days ago
On Mon, Jan 19, 2026 at 06:19:55PM +0100, Petr Hodina wrote:
> The VL53L0X can be powered using separate core (VDD) and I/O (VDDIO)

There is no VDDIO pin. I checked on datasheet.

> supplies. Add support for an optional vio regulator and enable/disable
> it during power on/off when present.

Last sentence is incorrect in this context. This patch is not doing that
and anyway, whatever your driver is doing is not here really that
relevant.


Best regards,
Krzysztof