public inbox for devicetree@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4] iio: proximity: vl53l0x: power sequencing, optional VDDIO, raw I2C ID read
@ 2026-01-19 17:19 Petr Hodina via B4 Relay
  2026-01-19 17:19 ` [PATCH 1/4] iio: proximity: vl53l0x-i2c: Add optional vddio regulator Petr Hodina via B4 Relay
                   ` (3 more replies)
  0 siblings, 4 replies; 13+ messages in thread
From: Petr Hodina via B4 Relay @ 2026-01-19 17:19 UTC (permalink / raw)
  To: Song Qiang, Jonathan Cameron, David Lechner, Nuno Sá,
	Andy Shevchenko, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Liam Girdwood, Mark Brown, David Heidelberg
  Cc: linux-iio, devicetree, linux-kernel, Petr Hodina

Hi,

this series improves robustness and hardware compatibility of the
VL53L0X IIO proximity driver.

Patch 1 and 2 adds support for an optional VDDIO (vio) regulator and documents
it in the device tree binding.

Patch 3 fixes the reset and power-up sequencing. The previous logic drove
the reset GPIO in a way that does not match the datasheet timing and
level requirements.

Patch 4 switches the initial device identification from SMBus helpers to
raw I2C transfers and reads the full 16-bit model and revision IDs.

The series has been tested on hardware - Sony Xperia XZ3 (akatsuki).

Signed-off-by: Petr Hodina <petr.hodina@protonmail.com>
---
Petr Hodina (4):
      iio: proximity: vl53l0x-i2c: Add optional vddio regulator
      iio: proximity: vl53l0x-i2c: Add optional vddio supply
      iio: proximity: vl53l0x-i2c: Fix reset sequence
      iio: proximity: vl53l0x-i2c: Use raw I2C access and read full device ID

 .../bindings/iio/proximity/st,vl53l0x.yaml         |  2 +
 drivers/iio/proximity/vl53l0x-i2c.c                | 71 +++++++++++++++++++---
 2 files changed, 63 insertions(+), 10 deletions(-)
---
base-commit: 46fe65a2c28ecf5df1a7475aba1f08ccf4c0ac1b
change-id: 20251228-vl53l0x-573541e03f0d

Best regards,
-- 
Petr Hodina <petr.hodina@protonmail.com>



^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2026-01-23  9:25 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-19 17:19 [PATCH 0/4] iio: proximity: vl53l0x: power sequencing, optional VDDIO, raw I2C ID read Petr Hodina via B4 Relay
2026-01-19 17:19 ` [PATCH 1/4] iio: proximity: vl53l0x-i2c: Add optional vddio regulator Petr Hodina via B4 Relay
2026-01-20 10:35   ` Krzysztof Kozlowski
2026-01-20 10:41   ` Krzysztof Kozlowski
2026-01-19 17:19 ` [PATCH 2/4] iio: proximity: vl53l0x-i2c: Add optional vddio supply Petr Hodina via B4 Relay
2026-01-23  9:13   ` Jonathan Cameron
2026-01-19 17:19 ` [PATCH 3/4] iio: proximity: vl53l0x-i2c: Fix reset sequence Petr Hodina via B4 Relay
2026-01-19 18:22   ` Andy Shevchenko
2026-01-20 10:33   ` Krzysztof Kozlowski
2026-01-19 17:19 ` [PATCH 4/4] iio: proximity: vl53l0x-i2c: Use raw I2C access and read full device ID Petr Hodina via B4 Relay
2026-01-19 18:44   ` Andy Shevchenko
2026-01-20 10:42   ` Krzysztof Kozlowski
2026-01-23  9:25   ` Jonathan Cameron

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox