Rob Herring
066a94e28a
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 >
2021-01-22 22:40:15 +01:00
Rob Herring
583791191c
media: dt-bindings: schema indentation fixes
...
Fix a few new indentation warnings found with yamllint (now integrated
into the checks).
Cc: Ricardo Ribalda <ribalda@kernel.org >
Signed-off-by: Rob Herring <robh@kernel.org >
Acked-by: Jacopo Mondi <jacopo+renesas@jmondi.org >
Acked-by: Hans Verkuil <hverkuil-cisco@xs4all.nl > # For adv7604
Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com >
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org >
2020-12-07 15:21:40 +01:00
Sakari Ailus
f0f5472720
media: Revert "media: dt-bindings: media: Use OF graph schema"
...
This reverts commit f61eb7bc92 .
While aligning with the OF graph schema will be done for the media DT
bindings, this patch got merged a little too hastily. Revert it for now.
Suggested-by: Rob Herring <robh@kernel.org >
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com >
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com >
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org >
2020-12-07 13:53:32 +01:00
Rob Herring
f61eb7bc92
media: dt-bindings: media: Use OF graph schema
...
Now that we have a graph schema, rework the media related schemas to
use it. Mostly this is adding a reference to graph.yaml and dropping
duplicate parts from schemas.
Cc: Maxime Ripard <mripard@kernel.org >
Cc: Jacopo Mondi <jacopo@jmondi.org >
Cc: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com >
Signed-off-by: Rob Herring <robh@kernel.org >
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com >
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com >
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org >
2020-12-02 16:16:33 +01:00
Jacopo Mondi
b20d9fac5b
media: dt-bindings: media: ov772x: Document endpoint props
...
Document endpoint properties for the parallel bus type and
add them to the example.
Specify a few constraints:
- If the bus type is BT.656 no hsync or vsync polarities can be
specified.
- If the bus width is 10 bits, not data-shift can be applied.
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com >
Reviewed-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com >
Signed-off-by: Jacopo Mondi <jacopo+renesas@jmondi.org >
Reviewed-by: Rob Herring <robh@kernel.org >
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com >
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org >
2020-11-16 10:31:13 +01:00
Jacopo Mondi
b2d059460e
media: dt-bindings: media: ov772x: Make bus-type mandatory
...
In order to establish required properties based on the selected
bus type, make the 'bus-type' property mandatory. As this change
documents an endpoint property, also document the 'remote-endpoint'
one now that the 'endpoint' schema has been expanded.
Binary compatibility with existing DTB is kept as the driver does not
enforce the property to be present, and shall fall-back to default
parallel bus configuration, which was the only supported bus type, if
the property is not specified.
Reviewed-by: Rob Herring <robh@kernel.org >
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com >
Reviewed-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com >
Signed-off-by: Jacopo Mondi <jacopo+renesas@jmondi.org >
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com >
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org >
2020-11-16 10:31:13 +01:00
Jacopo Mondi
898bd5b5a4
media: dt-bindings: media: ov772x: Convert to json-schema
...
Convert the ov772x binding document to json-schema and update
the MAINTAINERS file accordingly.
Reviewed-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com >
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com >
Signed-off-by: Jacopo Mondi <jacopo+renesas@jmondi.org >
Reviewed-by: Rob Herring <robh@kernel.org >
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com >
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org >
2020-11-16 10:31:13 +01:00