Skip to contentSkip to conversation

media: dt-bindings: mipi-ccs: Refer to video-interface-devices.yaml

PATCH In review Sakari Ailus 2 participants 2 messages May 7, 2025 – May 14, 2025

Subsystems (3)
lore
Share & tools
lore

Sakari Ailus

author maintainer
#0 lore raw

PATCH 1/1 media: dt-bindings: mipi-ccs: Refer to video-interface-devices.yaml

Refer to video-interface-devices.yaml instead of documenting the common properties here.

---
 .../devicetree/bindings/media/i2c/mipi-ccs.yaml     | 13 +++++--------
 1 file changed, 5 insertions(+), 8 deletions(-)
Documentation/devicetree/bindings/media/i2c/mipi-ccs.yaml +5 -8
index f8ace8cbccdb..bc664a016396 100644
@@ -23,6 +23,9 @@ description:
   More detailed documentation can be found in
   Documentation/devicetree/bindings/media/video-interfaces.txt .
 
+allOf:
+  - $ref: /schemas/media/video-interface-devices.yaml#
+
 properties:
   compatible:
     oneOf:
@@ -58,16 +61,10 @@ properties:
       documentation.
     maxItems: 1
 
-  flash-leds:
-    description: Flash LED phandles. See ../video-interfaces.txt for details.
-
-  lens-focus:
-    description: Lens focus controller phandles. See ../video-interfaces.txt
-      for details.
+  flash-leds: true
+  lens-focus: true
 
   rotation:
-    description: Rotation of the sensor.  See ../video-interfaces.txt for
-      details.
     enum: [ 0, 180 ]
 
   port:
Signature · 1 line
2.39.5