Skip to content

Commit 7300bff

Browse files
Marek Beliskotmlind
authored andcommitted
ARM: dts: omap3-gta04: Add handling for tv output
Add handling for gta04 tv out chain: venc -> opa362 -> svideo Use invert-polarity in venc node because opa362 is doing polarity inversion also. Signed-off-by: Marek Belisko <marek@goldelico.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
1 parent df73b7f commit 7300bff

File tree

1 file changed

+49
-0
lines changed

1 file changed

+49
-0
lines changed

arch/arm/boot/dts/omap3-gta04.dtsi

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,41 @@
8383
compatible = "usb-nop-xceiv";
8484
reset-gpios = <&gpio6 14 GPIO_ACTIVE_LOW>;
8585
};
86+
87+
tv0: connector@1 {
88+
compatible = "svideo-connector";
89+
label = "tv";
90+
91+
port {
92+
tv_connector_in: endpoint {
93+
remote-endpoint = <&opa_out>;
94+
};
95+
};
96+
};
97+
98+
tv_amp: opa362 {
99+
compatible = "ti,opa362";
100+
enable-gpios = <&gpio1 23 0>;
101+
102+
ports {
103+
#address-cells = <1>;
104+
#size-cells = <0>;
105+
106+
port@0 {
107+
reg = <0>;
108+
opa_in: endpoint@0 {
109+
remote-endpoint = <&venc_out>;
110+
};
111+
};
112+
113+
port@1 {
114+
reg = <1>;
115+
opa_out: endpoint@0 {
116+
remote-endpoint = <&tv_connector_in>;
117+
};
118+
};
119+
};
120+
};
86121
};
87122

88123
&omap3_pmx_core {
@@ -396,6 +431,20 @@
396431
};
397432
};
398433

434+
&venc {
435+
status = "okay";
436+
437+
vdda-supply = <&vdac>;
438+
439+
port {
440+
venc_out: endpoint {
441+
remote-endpoint = <&opa_in>;
442+
ti,channels = <2>;
443+
ti,invert-polarity;
444+
};
445+
};
446+
};
447+
399448
&gpmc {
400449
ranges = <0 0 0x30000000 0x1000000>; /* CS0: 16MB for NAND */
401450

0 commit comments

Comments
 (0)