media: dt-bindings: imx258: Add alternate compatible strings
authorDave Stevenson <dave.stevenson@raspberrypi.com>
Mon, 4 Jul 2022 10:48:57 +0000 (11:48 +0100)
committerPhil Elwell <8911409+pelwell@users.noreply.github.com>
Mon, 4 Jul 2022 12:26:06 +0000 (14:26 +0200)
There are a number of variants of the imx258 modules that can not
be differentiated at runtime, so add compatible strings for them.

Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
Documentation/devicetree/bindings/media/i2c/imx258.yaml

index cde0f73..3fc30a7 100644 (file)
@@ -14,10 +14,13 @@ description: |-
   type stacked image sensor with a square pixel array of size 4208 x 3120. It
   is programmable through I2C interface.  Image data is sent through MIPI
   CSI-2.
+  There are a number of variants of the sensor which cannot be detected at
+  runtime, so multiple compatible strings are required to differentiate these.
 
 properties:
   compatible:
     const: sony,imx258
+    const: sony,imx258-pdaf
 
   assigned-clocks: true
   assigned-clock-parents: true