Commit 369cee79 authored by Marco Felsch's avatar Marco Felsch Committed by Mauro Carvalho Chehab

media: dt-bindings: connector: analog: add sdtv standards property

Some connectors no matter if in- or output supports only a limited
range of sdtv standards. It doesn't matter if the hardware behind that
connector supports more than the listed formats since the users are
restriced by a label e.g. to plug only a camera into this connector
which uses the PAL format.

This patch adds the capability to describe such limitation within the
firmware. There are no format restrictions if the property isn't
present, so it's completely backward compatible.
Signed-off-by: default avatarMarco Felsch <m.felsch@pengutronix.de>
Reviewed-by: default avatarRob Herring <robh@kernel.org>
Signed-off-by: default avatarHans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+huawei@kernel.org>
parent 3f870a45
...@@ -6,16 +6,22 @@ Required properties: ...@@ -6,16 +6,22 @@ Required properties:
Optional properties: Optional properties:
- label: a symbolic name for the connector - label: a symbolic name for the connector
- sdtv-standards: limit the supported TV standards on a connector to the given
ones. If not specified all TV standards are allowed.
Possible TV standards are defined in
include/dt-bindings/display/sdtv-standards.h.
Required nodes: Required nodes:
- Video port for TV input - Video port for TV input
Example Example
------- -------
#include <dt-bindings/display/sdtv-standards.h>
tv: connector { tv: connector {
compatible = "composite-video-connector"; compatible = "composite-video-connector";
label = "tv"; label = "tv";
sdtv-standards = <(SDTV_STD_PAL | SDTV_STD_NTSC)>;
port { port {
tv_connector_in: endpoint { tv_connector_in: endpoint {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment