On Tue Aug 19 16:47:41 2025 +0200, Benjamin Mugnier wrote:
> 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 <[email protected]>
> Acked-by: Conor Dooley <[email protected]>
> Signed-off-by: Sakari Ailus <[email protected]>
> Signed-off-by: Hans Verkuil <[email protected]>
Patch committed.
Thanks,
Hans Verkuil
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 3c071e6fbea6..060ac6829b66 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
_______________________________________________
linuxtv-commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]