From: Kaustabh Chakraborty Date: Fri, 26 Jul 2024 18:53:33 +0000 (+0530) Subject: dt-bindings: iio: light: stk33xx: add compatible for stk3013 X-Git-Tag: v6.12-rc1~39^2~37^2~69 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f38d4650b505d8cbe292e6a98b8653622a22ac2c;p=thirdparty%2Fkernel%2Flinux.git 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 Acked-by: Rob Herring (Arm) Link: https://patch.msgid.link/20240727-stk3310-v4-3-02497b1407ba@disroot.org Signed-off-by: Jonathan Cameron --- diff --git a/Documentation/devicetree/bindings/iio/light/stk33xx.yaml b/Documentation/devicetree/bindings/iio/light/stk33xx.yaml index f6e22dc9814a2..e4341fdced98c 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