summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmil Gedenryd <emil.gedenryd@axis.com>2024-10-03 15:22:16 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2024-10-28 23:04:10 +0300
commit0d7fd2d6aa410371ce66ac4fc4b03ca91233bff4 (patch)
tree57e2d29f392296287078d29ecfdd457e5fd8796c
parentc9a3f8c7bfcb4e7fd2d298aa1748116f9cc6b1de (diff)
downloadlinux-0d7fd2d6aa410371ce66ac4fc4b03ca91233bff4.tar.xz
dt-bindings: iio: light: opt3001: add compatible for opt3002
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. Acked-by: Conor Dooley <conor.dooley@microchip.com> Signed-off-by: Emil Gedenryd <emil.gedenryd@axis.com> Link: https://patch.msgid.link/20241003-add_opt3002-v4-1-c550dc4591b4@axis.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
-rw-r--r--Documentation/devicetree/bindings/iio/light/ti,opt3001.yaml4
1 files changed, 3 insertions, 1 deletions
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