]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
media: dt-bindings: vd55g1: Add vd65g4 compatible
authorBenjamin Mugnier <benjamin.mugnier@foss.st.com>
Tue, 19 Aug 2025 14:47:41 +0000 (16:47 +0200)
committerHans Verkuil <hverkuil+cisco@kernel.org>
Wed, 29 Oct 2025 13:07:01 +0000 (14:07 +0100)
Switch compatible from a const to an enum to accommodate both the vd55g1
and the vd65g4, which is the color variant.

Signed-off-by: Benjamin Mugnier <benjamin.mugnier@foss.st.com>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
Documentation/devicetree/bindings/media/i2c/st,vd55g1.yaml

index 3c071e6fbea613e560f63d38af579421daee0efb..060ac6829b661dc50ee30a43eadb60173ff93814 100644 (file)
@@ -25,7 +25,11 @@ allOf:
 
 properties:
   compatible:
-    const: st,vd55g1
+    enum:
+      - st,vd55g1
+      - st,vd65g4
+    description:
+      VD55G1 is the monochrome variant, while VD65G4 is the color one.
 
   reg:
     maxItems: 1