Documentation / devicetree / bindings / media / i2c / ti,tvp5150.yaml


Based on kernel version 6.19. Page generated on 2026-02-12 08:38 EST.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/media/i2c/ti,tvp5150.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Texas Instruments TVP5150 and TVP5151 video decoders

maintainers:
  - Frank Li <Frank.Li@nxp.com>

description:
  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:
  compatible:
    const: ti,tvp5150

  reg:
    maxItems: 1

  pdn-gpios:
    maxItems: 1

  reset-gpios:
    maxItems: 1
 
  '#address-cells':
    const: 1
 
  '#size-cells':
    const: 0

  port@0:
    $ref: /schemas/graph.yaml#/$defs/port-base
    unevaluatedProperties: false
    description:
      sink port node, AIP1A

    properties:
      endpoint:
        $ref: /schemas/media/video-interfaces.yaml#
        unevaluatedProperties: false

  port@1:
    $ref: /schemas/graph.yaml#/$defs/port-base
    unevaluatedProperties: false
    description:
      sink port node, AIP1B

    properties:
      endpoint:
        $ref: /schemas/media/video-interfaces.yaml#
        unevaluatedProperties: false

  port@2:
    $ref: /schemas/graph.yaml#/$defs/port-base
    unevaluatedProperties: false
    description:
      source port node, Y-OUT

    properties:
      endpoint:
        $ref: /schemas/media/video-interfaces.yaml#
        unevaluatedProperties: false

required:
  - compatible
  - reg
  - port@2

additionalProperties: false

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>;
                };
            };
        };
    };