diff mbox series

[v3,2/3] dt-bindings: iio: light: opt3001: add compatible for opt3002

Message ID 20240916-add_opt3002-v3-2-984b190cd68c@axis.com
State Handled Elsewhere
Headers show
Series iio: light: opt3001: add support for TI's opt3002 light sensor | expand

Commit Message

Emil Gedenryd Sept. 16, 2024, 2:56 p.m. UTC
The opt3002 is a Light-to-Digital Sensor by TI with support for wide-range
spectrum light. It shares most properties with their opt3001 model with
the exception of having a wide spectral bandwidth, ranging from 300 nm
to 1000 nm.

Add the compatible string of opt3002.

Signed-off-by: Emil Gedenryd <emil.gedenryd@axis.com>
---
 Documentation/devicetree/bindings/iio/light/ti,opt3001.yaml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

Comments

Conor Dooley Sept. 16, 2024, 3:24 p.m. UTC | #1
On Mon, Sep 16, 2024 at 04:56:38PM +0200, Emil Gedenryd wrote:
> The opt3002 is a Light-to-Digital Sensor by TI with support for wide-range
> spectrum light. It shares most properties with their opt3001 model with
> the exception of having a wide spectral bandwidth, ranging from 300 nm
> to 1000 nm.
> 
> Add the compatible string of opt3002.
> 
> Signed-off-by: Emil Gedenryd <emil.gedenryd@axis.com>

Pretty sure I gave you an ack for this already, provided you added the
a description of the differences, which you have.

Acked-by: Conor Dooley <conor.dooley@microchip.com>

Cheers,
Conor.
Emil Gedenryd Sept. 17, 2024, 7:06 a.m. UTC | #2
On Mon, 2024-09-16 at 16:24 +0100, Conor Dooley wrote:
> On Mon, Sep 16, 2024 at 04:56:38PM +0200, Emil Gedenryd wrote:
> > The opt3002 is a Light-to-Digital Sensor by TI with support for wide-range
> > spectrum light. It shares most properties with their opt3001 model with
> > the exception of having a wide spectral bandwidth, ranging from 300 nm
> > to 1000 nm.
> > 
> > Add the compatible string of opt3002.
> > 
> > Signed-off-by: Emil Gedenryd <emil.gedenryd@axis.com>
> 
> Pretty sure I gave you an ack for this already, provided you added the
> a description of the differences, which you have.
> 
> Acked-by: Conor Dooley <conor.dooley@microchip.com>
> 
> Cheers,
> Conor.

Thank you!

Regards,
Emil
diff mbox series

Patch

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