[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <f7fea4d1-c1ae-4ab5-bcbd-30683ad7a349@linaro.org>
Date: Thu, 9 Nov 2023 11:27:07 +0100
From: Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>
To: Anshul Dalal <anshulusr@...il.com>, linux-iio@...r.kernel.org,
devicetree@...r.kernel.org
Cc: Rob Herring <robh+dt@...nel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
Conor Dooley <conor+dt@...nel.org>,
Jonathan Cameron <jic23@...nel.org>,
Lars-Peter Clausen <lars@...afoo.de>,
Shuah Khan <skhan@...uxfoundation.org>,
linux-kernel-mentees@...ts.linuxfoundation.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/2] dt-bindings: iio: light: add ltr390
On 09/11/2023 10:04, Anshul Dalal wrote:
> Add binding for Lite-On LTR390 which is an Ambient/UV light sensor that
> communicates over i2c with an address of 0x53.
>
> Datasheet:
> https://optoelectronics.liteon.com/upload/download/DS86-2015-0004/LTR-390UV_Final_%20DS_V1%201.pdf
>
> Signed-off-by: Anshul Dalal <anshulusr@...il.com>
> + interrupts:
> + maxItems: 1
> + description: |
> + Level interrupt pin with open drain output.
> + The sensor pulls this pin low when the measured reading is greater than
> + some configured threshold.
> +
> + vdd-supply: true
> +
> +required:
> + - compatible
> + - reg
> +
> +additionalProperties: false
> +
> +examples:
> + - |
> + i2c {
> + #address-cells = <1>;
> + #size-cells = <0>;
> +
> + light-sensor@53 {
> + compatible = "liteon,ltr390";
> + reg = <0x53>;
Please extend the example to be complete - interrupts and vdd-supply.
Best regards,
Krzysztof
Powered by blists - more mailing lists