[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <c50104fb-5f09-4d59-883f-9e22e6146893@ixit.cz>
Date: Mon, 19 Jan 2026 18:37:36 +0100
From: David Heidelberg <david@...t.cz>
To: petr.hodina@...tonmail.com, Jonathan Cameron <jic23@...nel.org>,
David Lechner <dlechner@...libre.com>, Nuno Sá
<nuno.sa@...log.com>, Andy Shevchenko <andy@...nel.org>,
Rob Herring <robh@...nel.org>, Krzysztof Kozlowski <krzk+dt@...nel.org>,
Conor Dooley <conor+dt@...nel.org>, Bjorn Andersson <andersson@...nel.org>,
Konrad Dybcio <konradybcio@...nel.org>
Cc: linux-iio@...r.kernel.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-arm-msm@...r.kernel.org
Subject: Re: [PATCH 1/3] doc: add Device Tree binding for AMS TCS3400 light
sensor
On 19/01/2026 18:19, Petr Hodina via B4 Relay wrote:
> From: Petr Hodina <petr.hodina@...tonmail.com>
>
> Adds a new YAML binding describing the AMS TCS3400 I2C light sensor,
> including compatible string, registers, interrupts, power supply, and an
> example node.
>
> Signed-off-by: Petr Hodina <petr.hodina@...tonmail.com>
> ---
> .../devicetree/bindings/iio/light/ams,tcs3400.yaml | 54 ++++++++++++++++++++++
> MAINTAINERS | 6 +++
> 2 files changed, 60 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/iio/light/ams,tcs3400.yaml b/Documentation/devicetree/bindings/iio/light/ams,tcs3400.yaml
> new file mode 100644
> index 000000000000..2c5a9295af1a
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/iio/light/ams,tcs3400.yaml
> @@ -0,0 +1,54 @@
> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> +%YAML 1.2
> +---
> +$id: "http://devicetree.org/schemas/iio/light/ams,tcs3400.yaml#"
> +$schema: "http://devicetree.org/meta-schemas/core.yaml#"
> +
> +title: AMS TCS3400 Color Light-to-Digital Converter
> +
> +maintainers:
> + - name: Petr Hodina
> + email: petr.hodina@...tonmail.com
- name <email>
> +
> +description: |
no need to use | or > here, please drop
> + The AMS TCS3400 is an I2C-connected color light sensor providing
> + RGBC or RGB-IR measurements with a programmable integration time
> + and gain.
> +
> +properties:
> + compatible:
> + const: ams,tcs3400
> +
> + reg:
> + maxItems: 1
> +
> + interrupts:
> + maxItems: 1
> + description:
> + Interrupt line signaling ALS data ready or threshold events.
> +
> + vdd-supply:
> + description:
> + Regulator supplying the main sensor power.
> +
> +required:
> + - compatible
> + - reg
> + - vdd-supply
> +
> +additionalProperties: false
> +
> +examples:
> + - |
> + i2c {
> + #address-cells = <1>;
> + #size-cells = <0>;
> +
> + light-sensor@39 {
> + compatible = "ams,tcs3400";
> + reg = <0x39>;
> + interrupt-parent = <&gpio1>;
> + interrupts = <5 IRQ_TYPE_EDGE_FALLING>;
> + vdd-supply = <&vdd_3v3>;
> + };
> + };
> diff --git a/MAINTAINERS b/MAINTAINERS
> index 14a06f856b81..ab5307a34180 100644
> --- a/MAINTAINERS
> +++ b/MAINTAINERS
> @@ -22866,6 +22866,12 @@ S: Supported
> F: drivers/iio/adc/rohm-bd79112.c
> F: drivers/iio/adc/rohm-bd79124.c
>
> +AMS TCS3400 AMBIENT LIGHT SENSOR DRIVER
> +M: Petr Hodina
> +L: Petr Hodina <petr.hodina@...tonmail.com>
> +S: Petr Hodina <petr.hodina@...tonmail.com>
M: Petr Hodina <petr.hodina@...tonmail.com>
S: Maintained
drop the L: (e.g. read the header of Maintainers file ;) )
> +F: Documentation/devicetree/bindings/iio/light/ams,tcs3400.yaml
> +
> ROHM BH1745 COLOUR SENSOR
> M: Mudit Sharma <muditsharma.info@...il.com>
> L: linux-iio@...r.kernel.org
>
--
David Heidelberg
Powered by blists - more mailing lists