FILE
ti,tvp5150.yaml
File preview with syntax highlighting.
linux-6.19.14/Documentation/devicetree/bindings/media/i2c/ti,tvp5150.yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2%YAML 1.2 3--- 4$id: http://devicetree.org/schemas/media/i2c/ti,tvp5150.yaml# 5$schema: http://devicetree.org/meta-schemas/core.yaml# 6 7title: Texas Instruments TVP5150 and TVP5151 video decoders 8 9maintainers: 10 - Frank Li <Frank.Li@nxp.com> 11 12description: 13 The TVP5150 and TVP5151 are video decoders that convert baseband NTSC and PAL 14 (and also SECAM in the TVP5151 case) video signals to either 8-bit 4:2:2 YUV 15 with discrete syncs or 8-bit ITU-R BT.656 with embedded syncs output formats. 16 17properties: 18 compatible: 19 const: ti,tvp5150 20 21 reg: 22 maxItems: 1 23 24 pdn-gpios: 25 maxItems: 1 26 27 reset-gpios: 28 maxItems: 1 29 30 '#address-cells': 31 const: 1 32 33 '#size-cells': 34 const: 0 35 36 port@0: 37 $ref: /schemas/graph.yaml#/$defs/port-base 38 unevaluatedProperties: false 39 description: 40 sink port node, AIP1A 41 42 properties: 43 endpoint: 44 $ref: /schemas/media/video-interfaces.yaml# 45 unevaluatedProperties: false 46 47 port@1: 48 $ref: /schemas/graph.yaml#/$defs/port-base 49 unevaluatedProperties: false 50 description: 51 sink port node, AIP1B 52 53 properties: 54 endpoint: 55 $ref: /schemas/media/video-interfaces.yaml# 56 unevaluatedProperties: false 57 58 port@2: 59 $ref: /schemas/graph.yaml#/$defs/port-base 60 unevaluatedProperties: false 61 description: 62 source port node, Y-OUT 63 64 properties: 65 endpoint: 66 $ref: /schemas/media/video-interfaces.yaml# 67 unevaluatedProperties: false 68 69required: 70 - compatible 71 - reg 72 - port@2 73 74additionalProperties: false 75 76examples: 77 - | 78 #include <dt-bindings/display/sdtv-standards.h> 79 #include <dt-bindings/gpio/gpio.h> 80 81 i2c { 82 #address-cells = <1>; 83 #size-cells = <0>; 84 85 bridge@5c { 86 compatible = "ti,tvp5150"; 87 reg = <0x5c>; 88 pdn-gpios = <&gpio4 30 GPIO_ACTIVE_LOW>; 89 reset-gpios = <&gpio6 7 GPIO_ACTIVE_LOW>; 90 #address-cells = <1>; 91 #size-cells = <0>; 92 93 port@0 { 94 #address-cells = <1>; 95 #size-cells = <0>; 96 reg = <0>; 97 98 endpoint@0 { 99 reg = <0>; 100 remote-endpoint = <&composite0_to_tvp5150>; 101 }; 102 103 endpoint@1 { 104 reg = <1>; 105 remote-endpoint = <&svideo_luma_to_tvp5150>; 106 }; 107 }; 108 109 port@1 { 110 #address-cells = <1>; 111 #size-cells = <0>; 112 reg = <1>; 113 114 endpoint@0 { 115 reg = <0>; 116 remote-endpoint = <&composite1_to_tvp5150>; 117 }; 118 119 endpoint@1 { 120 reg = <1>; 121 remote-endpoint = <&svideo_chroma_to_tvp5150>; 122 }; 123 }; 124 125 port@2 { 126 reg = <2>; 127 128 endpoint { 129 remote-endpoint = <&ccdc_ep>; 130 }; 131 }; 132 }; 133 };
~/
Read-only file preview.