[PATCH v2 0/4] iio: light: ltr501: Add LTR-659PS-01 prox sensor support
From: Svyatoslav Ryhel
Date: Fri Nov 06 2026 - 04:27:21 EST
Add support for the Lite-On LTR-659PS-01 proximity sensor. This device is
nearly identical to the LTR-559ALS-01, but omits all elements related to
ambient light sensing.
---
Changes in v2:
- set IIO_PROXIMITY channel to scan_index 2 since driver will not handle other
id properly
- add IIO_CHAN_INFO_SAMP_FREQ for IIO_PROXIMITY channel
- isolate missed ALS register calls
- add commit to use read_avail operation
- convert to use modern chip info match
---
Svyatoslav Ryhel (4):
iio: light: ltr501: Switch to read_avail() op from manual attribute
registration
iio: light: ltr501: Switch to modern match mechanism
dt-bindings: iio: light: ltr501: Document LTR659 proximity sensor
iio: light: ltr501: Add support for the LTR-659PS-01 proximity sensor
.../bindings/iio/light/liteon,ltr501.yaml | 1 +
drivers/iio/light/ltr501.c | 383 +++++++++---------
2 files changed, 184 insertions(+), 200 deletions(-)
--
2.53.0