[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20260119-vl53l0x-v1-0-cf71715a1353@protonmail.com>
Date: Mon, 19 Jan 2026 18:19:54 +0100
From: Petr Hodina via B4 Relay <devnull+petr.hodina.protonmail.com@...nel.org>
To: Song Qiang <songqiang1304521@...il.com>,
Jonathan Cameron <jic23@...nel.org>, David Lechner <dlechner@...libre.com>,
Nuno Sá <nuno.sa@...log.com>,
Andy Shevchenko <andy@...nel.org>, Rob Herring <robh@...nel.org>,
Krzysztof Kozlowski <krzk+dt@...nel.org>,
Conor Dooley <conor+dt@...nel.org>, Liam Girdwood <lgirdwood@...il.com>,
Mark Brown <broonie@...nel.org>, David Heidelberg <david@...t.cz>
Cc: linux-iio@...r.kernel.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org, Petr Hodina <petr.hodina@...tonmail.com>
Subject: [PATCH 0/4] iio: proximity: vl53l0x: power sequencing, optional
VDDIO, raw I2C ID read
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@...tonmail.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@...tonmail.com>
Powered by blists - more mailing lists