[PATCH 0/4] iio: proximity: vl53l0x: power sequencing, optional VDDIO, raw I2C ID read

Petr Hodina via B4 Relay posted 4 patches 2 weeks, 5 days ago
.../bindings/iio/proximity/st,vl53l0x.yaml         |  2 +
drivers/iio/proximity/vl53l0x-i2c.c                | 71 +++++++++++++++++++---
2 files changed, 63 insertions(+), 10 deletions(-)
[PATCH 0/4] iio: proximity: vl53l0x: power sequencing, optional VDDIO, raw I2C ID read
Posted by Petr Hodina via B4 Relay 2 weeks, 5 days ago
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>