diff options
author | Kaustabh Chakraborty <[email protected]> | 2024-07-27 00:23:33 +0530 |
---|---|---|
committer | Jonathan Cameron <[email protected]> | 2024-08-03 10:13:44 +0100 |
commit | f38d4650b505d8cbe292e6a98b8653622a22ac2c (patch) | |
tree | e249021e90e483ff8e504bd345907a3a107af164 | |
parent | a50f537002096016f7b0e997bbf76d6d4a0947e1 (diff) |
dt-bindings: iio: light: stk33xx: add compatible for stk3013
STK3013 is a proximity sensor by Sensortek, bearing chipid of 0x31. Despite
being marketed as a proximity sensor, it also appears to have ambient
light sensing capabilities.
The part is fully compatible with the existing implementation of the
device driver. Add the compatible string of stk3013 to the existing
list, with a fallback of stk3310.
Signed-off-by: Kaustabh Chakraborty <[email protected]>
Acked-by: Rob Herring (Arm) <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jonathan Cameron <[email protected]>
-rw-r--r-- | Documentation/devicetree/bindings/iio/light/stk33xx.yaml | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/Documentation/devicetree/bindings/iio/light/stk33xx.yaml b/Documentation/devicetree/bindings/iio/light/stk33xx.yaml index f6e22dc9814a..e4341fdced98 100644 --- a/Documentation/devicetree/bindings/iio/light/stk33xx.yaml +++ b/Documentation/devicetree/bindings/iio/light/stk33xx.yaml @@ -18,10 +18,15 @@ allOf: properties: compatible: - enum: - - sensortek,stk3310 - - sensortek,stk3311 - - sensortek,stk3335 + oneOf: + - enum: + - sensortek,stk3310 + - sensortek,stk3311 + - sensortek,stk3335 + - items: + - enum: + - sensortek,stk3013 + - const: sensortek,stk3310 reg: maxItems: 1 |