Re: [PATCH 2/3] iio: light: add AMS TCS3400 RGB and RGB-IR color sensor driver
From: phodina
Date: Tue Jan 20 2026 - 08:51:17 EST
Thanks Konrad for posting the datasheet.
I used directly the link from the vendor site.
https://look.ams-osram.com/m/595d46c644740603/original/TCS3400-Color-Light-to-Digital-Converter.pdf
Will add the link to the driver commit.
Kind regards
Petr Hodina
On Tuesday, January 20th, 2026 at 2:33 PM, Andy Shevchenko <andriy.shevchenko@xxxxxxxxx> wrote:
> 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