0001 # SPDX-License-Identifier: GPL-2.0-only
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/display/connector/analog-tv-connector.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006
0007 title: Analog TV Connector
0008
0009 maintainers:
0010 - Laurent Pinchart <Laurent.pinchart@ideasonboard.com>
0011
0012 properties:
0013 compatible:
0014 enum:
0015 - composite-video-connector
0016 - svideo-connector
0017
0018 label: true
0019
0020 sdtv-standards:
0021 description:
0022 Limit the supported TV standards on a connector to the given ones. If
0023 not specified all TV standards are allowed. Possible TV standards are
0024 defined in include/dt-bindings/display/sdtv-standards.h.
0025 $ref: /schemas/types.yaml#/definitions/uint32
0026
0027 port:
0028 $ref: /schemas/graph.yaml#/properties/port
0029 description: Connection to controller providing analog TV signals
0030
0031 required:
0032 - compatible
0033 - port
0034
0035 additionalProperties: false
0036
0037 examples:
0038 - |
0039 #include <dt-bindings/display/sdtv-standards.h>
0040
0041 connector {
0042 compatible = "composite-video-connector";
0043 label = "tv";
0044 sdtv-standards = <(SDTV_STD_PAL | SDTV_STD_NTSC)>;
0045
0046 port {
0047 tv_connector_in: endpoint {
0048 remote-endpoint = <&venc_out>;
0049 };
0050 };
0051 };
0052
0053 ...