[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240913-stimulate-swell-3964c45e6e81@spud>
Date: Fri, 13 Sep 2024 19:07:17 +0100
From: Conor Dooley <conor@...nel.org>
To: Emil Gedenryd <emil.gedenryd@...s.com>
Cc: Jonathan Cameron <jic23@...nel.org>,
Lars-Peter Clausen <lars@...afoo.de>, Rob Herring <robh@...nel.org>,
Krzysztof Kozlowski <krzk+dt@...nel.org>,
Conor Dooley <conor+dt@...nel.org>,
Andreas Dannenberg <dannenberg@...com>, linux-iio@...r.kernel.org,
linux-kernel@...r.kernel.org, devicetree@...r.kernel.org,
kernel@...s.com
Subject: Re: [PATCH v2 2/3] dt-bindings: iio: light: opt3001: add compatible
for opt3002
On Fri, Sep 13, 2024 at 11:57:03AM +0200, Emil Gedenryd wrote:
> OPT3002 is a Light-to-Digital Sensor by TI with support for wide-range
> spectrum light.
>
> Add the compatible string of opt3002.
You should mention what makes the 02 and 01 devices different here, and
with that done,
Acked-by: Conor Dooley <conor.dooley@...rochip.com>
Thanks,
Conor.
>
> Signed-off-by: Emil Gedenryd <emil.gedenryd@...s.com>
> ---
> Documentation/devicetree/bindings/iio/light/ti,opt3001.yaml | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/Documentation/devicetree/bindings/iio/light/ti,opt3001.yaml b/Documentation/devicetree/bindings/iio/light/ti,opt3001.yaml
> index 441e9343fc97..67ca8d08256a 100644
> --- a/Documentation/devicetree/bindings/iio/light/ti,opt3001.yaml
> +++ b/Documentation/devicetree/bindings/iio/light/ti,opt3001.yaml
> @@ -15,7 +15,9 @@ description: |
>
> properties:
> compatible:
> - const: ti,opt3001
> + enum:
> + - ti,opt3001
> + - ti,opt3002
>
> reg:
> maxItems: 1
>
> --
> 2.39.2
>
Download attachment "signature.asc" of type "application/pgp-signature" (229 bytes)
Powered by blists - more mailing lists