[PATCH 0/2] iio: light: tcs3472: Add TCS3400 support

From: HuskerMinion via B4 Relay

Date: Fri Oct 16 2026 - 04:18:26 EST


This series adds the AMS TCS3400 to the tcs3472 driver. The TCS3400 is
the ambient light sensor in the Amazon Echo Show 8 (2nd gen). I added
it while bringing up mainline Linux on that device.

The TCS3400 has the TCS3472 register map, but no command type field,
other gains, a 2.78 ms time step and its own interrupt clear register.
The driver picks the variant from the ID register, so nothing changes
for the TCS3472.

Patch 1 adds a binding. The TCS3472 had none, so it covers both
families. I listed myself as its maintainer, since the driver has no
MAINTAINERS entry.

Patch 2 adds the driver support.

On the device, raw reads follow the light. I tested that on a 6.18
based kernel. The sampling frequency code that is new in togreg now
uses the 2.78 ms step for WTIME and the init time as well. That part
and the threshold interrupt are only build tested on the TCS3400.

---
HuskerMinion (2):
dt-bindings: iio: light: Add AMS TCS3472 and TCS3400
iio: light: tcs3472: Add TCS3400 support

.../devicetree/bindings/iio/light/ams,tcs3472.yaml | 57 ++++++++
drivers/iio/light/Kconfig | 7 +-
drivers/iio/light/tcs3472.c | 162 ++++++++++++++++-----
3 files changed, 189 insertions(+), 37 deletions(-)
---
base-commit: a3b3580713f3ac5a32dc2874ee546828977a1d68
change-id: 20261015-tcs3400-e2e55e7a4980

Best regards,
--
HuskerMinion <mocker-mug-unwoven@xxxxxxxx>