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