aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/media/allwinner,sun4i-a10-csi.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/allwinner,sun4i-a10-csi.yaml
parentmedia: dt-bindings: Convert video-interfaces.txt properties to schemas (diff)
downloadlinux-dev-066a94e28a23e04c0e9cb293f9ead56d409d7e41.tar.xz
linux-dev-066a94e28a23e04c0e9cb293f9ead56d409d7e41.zip
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 '')
-rw-r--r--Documentation/devicetree/bindings/media/allwinner,sun4i-a10-csi.yaml11
1 files changed, 3 insertions, 8 deletions
diff --git a/Documentation/devicetree/bindings/media/allwinner,sun4i-a10-csi.yaml b/Documentation/devicetree/bindings/media/allwinner,sun4i-a10-csi.yaml
index 09318830db47..6ced94064215 100644
--- a/Documentation/devicetree/bindings/media/allwinner,sun4i-a10-csi.yaml
+++ b/Documentation/devicetree/bindings/media/allwinner,sun4i-a10-csi.yaml
@@ -67,14 +67,14 @@ properties:
interconnect-names:
const: dma-mem
- # See ./video-interfaces.txt for details
port:
- type: object
+ $ref: /schemas/graph.yaml#/$defs/port-base
additionalProperties: false
properties:
endpoint:
- type: object
+ $ref: video-interfaces.yaml#
+ unevaluatedProperties: false
properties:
bus-width:
@@ -83,7 +83,6 @@ properties:
data-active: true
hsync-active: true
pclk-sample: true
- remote-endpoint: true
vsync-active: true
required:
@@ -91,12 +90,8 @@ properties:
- data-active
- hsync-active
- pclk-sample
- - remote-endpoint
- vsync-active
- required:
- - endpoint
-
required:
- compatible
- reg