[PATCH v2 1/2] media: dt-bindings: vd55g1: Add vd65g4 compatible

Benjamin Mugnier posted 2 patches 1 month, 2 weeks ago
[PATCH v2 1/2] media: dt-bindings: vd55g1: Add vd65g4 compatible
Posted by Benjamin Mugnier 1 month, 2 weeks ago
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>
---
 Documentation/devicetree/bindings/media/i2c/st,vd55g1.yaml | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/media/i2c/st,vd55g1.yaml b/Documentation/devicetree/bindings/media/i2c/st,vd55g1.yaml
index 3c071e6fbea613e560f63d38af579421daee0efb..060ac6829b661dc50ee30a43eadb60173ff93814 100644
--- a/Documentation/devicetree/bindings/media/i2c/st,vd55g1.yaml
+++ b/Documentation/devicetree/bindings/media/i2c/st,vd55g1.yaml
@@ -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

-- 
2.25.1
Re: [PATCH v2 1/2] media: dt-bindings: vd55g1: Add vd65g4 compatible
Posted by Conor Dooley 1 month, 2 weeks ago

Acked-by: Conor Dooley <conor.dooley@microchip.com>