Texas Instruments TVP5150 and TVP5151 video decoders

Schema identifier ($id): "http://devicetree.org/schemas/media/i2c/ti,tvp5150.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Frank Li <Frank.Li@nxp.com>"

The TVP5150 and TVP5151 are video decoders that convert baseband NTSC and PAL (and also SECAM in the TVP5151 case) video signals to either 8-bit 4:2:2 YUV with discrete syncs or 8-bit ITU-R BT.656 with embedded syncs output formats.

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "ti,tvp5150"

reg — required here #

Maximum number of items (maxItems): 1

pdn-gpios — not listed as required here #

Maximum number of items (maxItems): 1

reset-gpios — not listed as required here #

Maximum number of items (maxItems): 1

#address-cells — not listed as required here #

Exact value (const): 1

#size-cells — not listed as required here #

Exact value (const): 0

port@0 — not listed as required here #

Shared schema rule ($ref): /schemas/graph.yaml#/$defs/port-base

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

sink port node, AIP1A

Properties and child nodes (properties) #

endpoint — not listed as required here

Shared schema rule ($ref): /schemas/media/video-interfaces.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

port@1 — not listed as required here #

Shared schema rule ($ref): /schemas/graph.yaml#/$defs/port-base

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

sink port node, AIP1B

Properties and child nodes (properties) #

endpoint — not listed as required here

Shared schema rule ($ref): /schemas/media/video-interfaces.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

port@2 — required here #

Shared schema rule ($ref): /schemas/graph.yaml#/$defs/port-base

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

source port node, Y-OUT

Properties and child nodes (properties) #

endpoint — not listed as required here

Shared schema rule ($ref): /schemas/media/video-interfaces.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

Required in this object (required): "compatible", "reg", "port@2"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/display/sdtv-standards.h>
#include <dt-bindings/gpio/gpio.h>

i2c {
    #address-cells = <1>;
    #size-cells = <0>;

    bridge@5c {
        compatible = "ti,tvp5150";
        reg = <0x5c>;
        pdn-gpios = <&gpio4 30 GPIO_ACTIVE_LOW>;
        reset-gpios = <&gpio6 7 GPIO_ACTIVE_LOW>;
        #address-cells = <1>;
        #size-cells = <0>;

        port@0 {
            #address-cells = <1>;
            #size-cells = <0>;
            reg = <0>;

            endpoint@0 {
                reg = <0>;
                remote-endpoint = <&composite0_to_tvp5150>;
            };

            endpoint@1 {
                reg = <1>;
                remote-endpoint = <&svideo_luma_to_tvp5150>;
            };
        };

        port@1 {
            #address-cells = <1>;
            #size-cells = <0>;
            reg = <1>;

            endpoint@0 {
                reg = <0>;
                remote-endpoint = <&composite1_to_tvp5150>;
            };

            endpoint@1 {
                reg = <1>;
                remote-endpoint = <&svideo_chroma_to_tvp5150>;
            };
        };

        port@2 {
            reg = <2>;

            endpoint {
                remote-endpoint = <&ccdc_ep>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Edit this page