diff options
author | Marco Felsch <m.felsch@pengutronix.de> | 2019-04-03 14:31:44 +0200 |
---|---|---|
committer | Marco Felsch <m.felsch@pengutronix.de> | 2019-08-19 16:09:11 +0200 |
commit | 196306e3d85886a0682e7da2c12a1b5b12f89a1e (patch) | |
tree | 5df7088b6fd0e3dbfb5ae110a8ea83b66b70e1ab | |
parent | 6fec001905d96e9e8fe73eed9bf56aa8cbc80a82 (diff) | |
download | linux-0-day-196306e3d85886a0682e7da2c12a1b5b12f89a1e.tar.gz linux-0-day-196306e3d85886a0682e7da2c12a1b5b12f89a1e.tar.xz |
media: dt-bindings: tvp5150: add optional sdtv standards documentation
Document the optional binding to limit the possible sdtv standards on the
input connectors.
Signed-off-by: Marco Felsch <m.felsch@pengutronix.de>
Reviewed-by: Rob Herring <robh@kernel.org>
v8:
- adapt to new sdtv-standards
- adapt commit message
- fix missing include within example code
-rw-r--r-- | Documentation/devicetree/bindings/media/i2c/tvp5150.txt | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/media/i2c/tvp5150.txt b/Documentation/devicetree/bindings/media/i2c/tvp5150.txt index cc98b38c7e733..f876b79c335fa 100644 --- a/Documentation/devicetree/bindings/media/i2c/tvp5150.txt +++ b/Documentation/devicetree/bindings/media/i2c/tvp5150.txt @@ -49,13 +49,22 @@ Required Endpoint Properties for parallel synchronization on output port: Note: Do not specify any of these properties if you want to use the embedded BT.656 synchronization. +Optional Connector Properties: +============================== + +- sdtv-standards: Set the possible signals to which the hardware tries to lock + instead of using the autodetection mechnism. Please look at + [1] for more information. + [1] Documentation/devicetree/bindings/display/connector/analog-tv-connector.txt. Example - three input sources: +#include <dt-bindings/display/sdtv-standards.h> comp_connector_0 { compatible = "composite-video-connector"; label = "Composite0"; + sdtv-standards = <TVNORM_PAL_M>; /* limit to pal-m signals */ port { composite0_to_tvp5150: endpoint { @@ -67,6 +76,7 @@ comp_connector_0 { comp_connector_1 { compatible = "composite-video-connector"; label = "Composite1"; + sdtv-standards = <TVNORM_NTSC_M>; /* limit to ntsc-m signals */ port { composite1_to_tvp5150: endpoint { |