diff options
author | Rob Herring <robh@kernel.org> | 2021-01-04 17:58:08 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2021-01-22 22:40:15 +0100 |
commit | 066a94e28a23e04c0e9cb293f9ead56d409d7e41 (patch) | |
tree | 716b8caac927880937e86d97733056a3c05b46cb /Documentation/devicetree/bindings/media/allwinner,sun6i-a31-csi.yaml | |
parent | media: dt-bindings: Convert video-interfaces.txt properties to schemas (diff) | |
download | linux-066a94e28a23e04c0e9cb293f9ead56d409d7e41.tar.xz linux-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 'Documentation/devicetree/bindings/media/allwinner,sun6i-a31-csi.yaml')
-rw-r--r-- | Documentation/devicetree/bindings/media/allwinner,sun6i-a31-csi.yaml | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/Documentation/devicetree/bindings/media/allwinner,sun6i-a31-csi.yaml b/Documentation/devicetree/bindings/media/allwinner,sun6i-a31-csi.yaml index 1fd9b5532a21..8b568072a069 100644 --- a/Documentation/devicetree/bindings/media/allwinner,sun6i-a31-csi.yaml +++ b/Documentation/devicetree/bindings/media/allwinner,sun6i-a31-csi.yaml @@ -40,17 +40,15 @@ properties: resets: maxItems: 1 - # See ./video-interfaces.txt for details port: - type: object + $ref: /schemas/graph.yaml#/$defs/port-base properties: endpoint: - type: object + $ref: video-interfaces.yaml# + unevaluatedProperties: false properties: - remote-endpoint: true - bus-width: enum: [ 8, 10, 12, 16 ] @@ -60,10 +58,6 @@ properties: required: - bus-width - - remote-endpoint - - required: - - endpoint additionalProperties: false |