From: HuskerMinion via B4 Relay <devnull+mocker-mug-unwoven.duck.com@kernel.org>
To: Jonathan Cameron <jic23@kernel.org>
Cc: "David Lechner" <dlechner@baylibre.com>,
"Nuno Sá" <nuno.sa@analog.com>,
"Andy Shevchenko" <andy@kernel.org>,
"Rob Herring" <robh@kernel.org>,
"Krzysztof Kozlowski" <krzk+dt@kernel.org>,
"Conor Dooley" <conor+dt@kernel.org>,
"Peter Meerwald-Stadler" <pmeerw@pmeerw.net>,
"Arka Mondal" <arka@arkamondal.net>,
linux-iio@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org,
HuskerMinion <mocker-mug-unwoven@duck.com>
Subject: [PATCH 0/2] iio: light: tcs3472: Add TCS3400 support
Date: Fri, 16 Oct 2026 02:15:40 -0600 [thread overview]
Message-ID: <20261016-tcs3400-v1-0-3d79d2a7f449@duck.com> (raw)
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@duck.com>
next reply other threads:[~2026-10-16 8:15 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-16 8:15 HuskerMinion via B4 Relay [this message]
2026-10-16 8:15 ` [PATCH 1/2] dt-bindings: iio: light: Add AMS TCS3472 and TCS3400 HuskerMinion via B4 Relay
2026-10-16 14:43 ` Krzysztof Kozlowski
2026-10-17 0:36 ` Jonathan Cameron
2026-10-17 7:58 ` Krzysztof Kozlowski
2026-10-16 8:15 ` [PATCH 2/2] iio: light: tcs3472: Add TCS3400 support HuskerMinion via B4 Relay
2026-10-17 0:43 ` Jonathan Cameron
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261016-tcs3400-v1-0-3d79d2a7f449@duck.com \
--to=devnull+mocker-mug-unwoven.duck.com@kernel.org \
--cc=andy@kernel.org \
--cc=arka@arkamondal.net \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=dlechner@baylibre.com \
--cc=jic23@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linux-iio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mocker-mug-unwoven@duck.com \
--cc=nuno.sa@analog.com \
--cc=pmeerw@pmeerw.net \
--cc=robh@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®