summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/media/marvell,mmp2-ccic.yaml
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2021-01-04 17:58:08 +0100
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2021-01-22 22:40:15 +0100
commit066a94e28a23e04c0e9cb293f9ead56d409d7e41 (patch)
tree716b8caac927880937e86d97733056a3c05b46cb /Documentation/devicetree/bindings/media/marvell,mmp2-ccic.yaml
parent41f42b6e693dc9822f83bc832de508600b00535f (diff)
media: dt-bindings: media: Use graph and video-interfaces schemas
Now that we have graph and video-interfaces schemas, rework the media related schemas to use them. Cc: Jacopo Mondi <jacopo@jmondi.org> Signed-off-by: Rob Herring <robh@kernel.org> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Acked-by: Maxime Ripard <mripard@kernel.org> Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/media/marvell,mmp2-ccic.yaml')
-rw-r--r--Documentation/devicetree/bindings/media/marvell,mmp2-ccic.yaml15
1 files changed, 3 insertions, 12 deletions
diff --git a/Documentation/devicetree/bindings/media/marvell,mmp2-ccic.yaml b/Documentation/devicetree/bindings/media/marvell,mmp2-ccic.yaml
index 49bff738aca5..9e85c70d1a1f 100644
--- a/Documentation/devicetree/bindings/media/marvell,mmp2-ccic.yaml
+++ b/Documentation/devicetree/bindings/media/marvell,mmp2-ccic.yaml
@@ -24,29 +24,20 @@ properties:
maxItems: 1
port:
- type: object
+ $ref: /schemas/graph.yaml#/$defs/port-base
additionalProperties: false
properties:
endpoint:
- type: object
- additionalProperties: false
+ $ref: video-interfaces.yaml#
+ unevaluatedProperties: false
- # Properties described in
- # Documentation/devicetree/bindings/media/video-interfaces.txt
properties:
- remote-endpoint: true
hsync-active: true
vsync-active: true
pclk-sample: true
bus-type: true
- required:
- - remote-endpoint
-
- required:
- - endpoint
-
clocks:
minItems: 1
maxItems: 3