1# SPDX-License-Identifier: GPL-2.0-only
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/display/connector/analog-tv-connector.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Analog TV Connector
8
9maintainers:
10  - Laurent Pinchart <Laurent.pinchart@ideasonboard.com>
11
12properties:
13  compatible:
14    enum:
15      - composite-video-connector
16      - svideo-connector
17
18  label: true
19
20  sdtv-standards:
21    description:
22      Limit the supported TV standards on a connector to the given ones. If
23      not specified all TV standards are allowed. Possible TV standards are
24      defined in include/dt-bindings/display/sdtv-standards.h.
25    $ref: /schemas/types.yaml#/definitions/uint32
26
27  port:
28    description: Connection to controller providing analog TV signals
29
30required:
31  - compatible
32  - port
33
34additionalProperties: false
35
36examples:
37  - |
38    #include <dt-bindings/display/sdtv-standards.h>
39
40    connector {
41        compatible = "composite-video-connector";
42        label = "tv";
43        sdtv-standards = <(SDTV_STD_PAL | SDTV_STD_NTSC)>;
44
45        port {
46            tv_connector_in: endpoint {
47                remote-endpoint = <&venc_out>;
48            };
49        };
50    };
51
52...
53