Re: [PATCH 2/3] iio: light: add AMS TCS3400 RGB and RGB-IR color sensor driver

From: Andy Shevchenko

Date: Tue Jan 20 2026 - 08:33:16 EST


On Tue, Jan 20, 2026 at 12:03:26PM +0100, Konrad Dybcio wrote:
> On 1/19/26 6:19 PM, Petr Hodina via B4 Relay wrote:

> > 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

Thanks for finding this! It can be transformed to Datasheet tag
in the commit message.

--
With Best Regards,
Andy Shevchenko