diff options
author | Rob Herring <robh@kernel.org> | 2021-01-04 19:58:07 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2021-01-23 00:37:15 +0300 |
commit | 41f42b6e693dc9822f83bc832de508600b00535f (patch) | |
tree | 49973f4db84e9fa3dd77ff97e588251bff2c569f /Documentation/devicetree/bindings/media/i2c/ovti,ov772x.yaml | |
parent | 321af22a3d2f6ed1fb1737c8588c01f6fec8a7b8 (diff) | |
download | linux-41f42b6e693dc9822f83bc832de508600b00535f.tar.xz |
media: dt-bindings: Convert video-interfaces.txt properties to schemas
Convert video-interfaces.txt to DT schema. As it contains a mixture of
device level and endpoint properties, split it up into 2 schemas.
Binding schemas will need to reference both the graph.yaml and
video-interfaces.yaml schemas. The exact schema depends on how many
ports and endpoints for the binding. A single port with a single
endpoint looks similar to this:
port:
$ref: /schemas/graph.yaml#/$defs/port-base
properties:
endpoint:
$ref: video-interfaces.yaml#
unevaluatedProperties: false
properties:
bus-width:
enum: [ 8, 10, 12, 16 ]
pclk-sample: true
hsync-active: true
vsync-active: true
required:
- bus-width
additionalProperties: false
Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Acked-by: Jacopo Mondi <jacopo@jmondi.org>
Acked-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Acked-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Rob Herring <robh@kernel.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/media/i2c/ovti,ov772x.yaml')
0 files changed, 0 insertions, 0 deletions