xref: /freebsd/sys/contrib/device-tree/Bindings/display/connector/analog-tv-connector.yaml (revision 59c8e88e72633afbc47a4ace0d2170d00d51f7dc)
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    $ref: /schemas/graph.yaml#/properties/port
29    description: Connection to controller providing analog TV signals
30
31required:
32  - compatible
33  - port
34
35additionalProperties: false
36
37examples:
38  - |
39    #include <dt-bindings/display/sdtv-standards.h>
40
41    connector {
42        compatible = "composite-video-connector";
43        label = "tv";
44        sdtv-standards = <(SDTV_STD_PAL | SDTV_STD_NTSC)>;
45
46        port {
47            tv_connector_in: endpoint {
48                remote-endpoint = <&venc_out>;
49            };
50        };
51    };
52
53...
54