diff mbox series

[1/2] dt-bindings: iio: light: opt3001: add compatible for opt3004

Message ID 20241224061321.6048-2-hardevsinh.palaniya@siliconsignals.io (mailing list archive)
State Superseded
Headers show
Series iio: light: opt3001: Add Support for OPT3004 Light Sensor | expand

Commit Message

Hardevsinh Palaniya Dec. 24, 2024, 6:13 a.m. UTC
Add Support for OPT3004 Digital ambient light sensor (ALS) with
increased angular IR rejection

The OPT3004 sensor shares the same functionality and scale range as
the OPT3001. This Adds the compatible string for OPT3004.

Datasheet: https://www.ti.com/lit/gpn/opt3004

Signed-off-by: Hardevsinh Palaniya <hardevsinh.palaniya@siliconsignals.io>
---
 Documentation/devicetree/bindings/iio/light/ti,opt3001.yaml | 1 +
 1 file changed, 1 insertion(+)

Comments

Krzysztof Kozlowski Dec. 24, 2024, 4:37 p.m. UTC | #1
On 24/12/2024 07:13, Hardevsinh Palaniya wrote:
> Add Support for OPT3004 Digital ambient light sensor (ALS) with
> increased angular IR rejection
> 
> The OPT3004 sensor shares the same functionality and scale range as
> the OPT3001. This Adds the compatible string for OPT3004.


Make the devices compatible (use fallback).

> 
> Datasheet: https://www.ti.com/lit/gpn/opt3004
> 
> Signed-off-by: Hardevsinh Palaniya <hardevsinh.palaniya@siliconsignals.io>
> ---


Best regards,
Krzysztof
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 67ca8d08256a..05b9a4f510bd 100644
--- a/Documentation/devicetree/bindings/iio/light/ti,opt3001.yaml
+++ b/Documentation/devicetree/bindings/iio/light/ti,opt3001.yaml
@@ -18,6 +18,7 @@  properties:
     enum:
       - ti,opt3001
       - ti,opt3002
+      - ti,opt3004
 
   reg:
     maxItems: 1