Re: [PATCH 2/3] iio: light: add AMS TCS3400 RGB and RGB-IR color sensor driver
From: Konrad Dybcio
Date: Tue Jan 20 2026 - 06:03:31 EST
On 1/19/26 6:19 PM, Petr Hodina via B4 Relay wrote:
> From: Petr Hodina <petr.hodina@xxxxxxxxxxxxxx>
>
> Add support for the AMS TCS3400 I2C color light-to-digital converter.
> The driver supports RGBC and RGB-IR modes, programmable integration
> time, optional interrupt-driven buffered capture, and regulator-based
> power control.
>
> Signed-off-by: Petr Hodina <petr.hodina@xxxxxxxxxxxxxx>
> ---
FYI this is the driver that shipped on Sony phones:
https://github.com/LineageOS/android_kernel_sony_sdm845/blob/lineage-23.0/drivers/misc/tcs3490.c
And it seems there's a datasheet available:
https://mm.digikey.com/Volume0/opasdata/d220001/medias/docus/897/TCS3490.pdf
Konrad