[PATCH v2 0/4] iio: light: ltr501: Add ltr329 support

From: Esben Haabendal

Date: Wed Jul 15 2026 - 08:31:41 EST


The LiteON LTR-329ALS-01 chip is similar to the LTR-303ALS-01, except for
interrupt support and related registers, which LTR-329ALS-01 does not have.

Signed-off-by: Esben Haabendal <esben@xxxxxxxxxx>
---
Changes in v2:
- Fixed error handling when irq is defined for a chip that does not support
irq, powering the chip down again.
- Added simlar fix to error handling of devm_request_threaded_irq() error
handling, powering the chip down again on failure.
- Added explicit #include <linux/array_size.h>.
- Link to v1: https://patch.msgid.link/20260715-liteon-ltr329-v1-0-31f027051594@xxxxxxxxxx

To: Jonathan Cameron <jic23@xxxxxxxxxx>
To: David Lechner <dlechner@xxxxxxxxxxxx>
To: Nuno Sá <nuno.sa@xxxxxxxxxx>
To: Andy Shevchenko <andy@xxxxxxxxxx>
To: Rob Herring <robh@xxxxxxxxxx>
To: Krzysztof Kozlowski <krzk+dt@xxxxxxxxxx>
To: Conor Dooley <conor+dt@xxxxxxxxxx>
To: Nikita Travkin <nikita@xxxxxxx>
To: Maslov Dmitry <maslovdmitry@xxxxxxxx>
Cc: Jonathan Cameron <Jonathan.Cameron@xxxxxxxxxx>
Cc: linux-iio@xxxxxxxxxxxxxxx
Cc: devicetree@xxxxxxxxxxxxxxx
Cc: linux-kernel@xxxxxxxxxxxxxxx

---
Esben Haabendal (4):
dt-bindings: iio: light: ltr501: Add missing ltr303 compatible
dt-bindings: iio: light: ltr501: Add ltr329 compatible
iio: light: ltr501: Add ltr329 driver support
iio: light: ltr501: Power down chip if request irq fails

.../bindings/iio/light/liteon,ltr501.yaml | 2 ++
drivers/iio/light/ltr501.c | 35 +++++++++++++++++++++-
2 files changed, 36 insertions(+), 1 deletion(-)
---
base-commit: a13c140cc289c0b7b3770bce5b3ad42ab35074aa
change-id: 20260711-liteon-ltr329-a3eb12414866

Best regards,
--
Esben Haabendal <esben@xxxxxxxxxx>