Thread (57 messages) 57 messages, 8 authors, 2015-11-19

[PATCH 19/19] ARM: sun5i: chip: Enable the TV Encoder

From: Chen-Yu Tsai <hidden>
Date: 2015-10-30 15:21:09
Also in: dri-devel, linux-clk, linux-devicetree, lkml

On Fri, Oct 30, 2015 at 10:21 PM, Maxime Ripard
[off-list ref] wrote:
The TV encoder is used to drive VGA and composite display.

Enable it on the CHIP
The commit message does not match the contents. Missing a patch? :)

ChenYu
quoted hunk ↗ jump to hunk
Signed-off-by: Maxime Ripard <redacted>
---
 arch/arm/boot/dts/sun5i-r8.dtsi | 12 ++++++++++++
 1 file changed, 12 insertions(+)
diff --git a/arch/arm/boot/dts/sun5i-r8.dtsi b/arch/arm/boot/dts/sun5i-r8.dtsi
index d69df3a73cbf..e39c903da864 100644
--- a/arch/arm/boot/dts/sun5i-r8.dtsi
+++ b/arch/arm/boot/dts/sun5i-r8.dtsi
@@ -86,4 +86,16 @@
                                             "ahb_mali400";
                };
        };
+
+       soc at 01c00000 {
+               tve: encoder at 01c0a000 {
+                       compatible = "allwinner,sun4i-a10-tv-encoder";
+                       reg = <0x01c0a000 0x1000>;
+                       clocks = <&ahb_gates 34>;
+               };
+       };
+};
+
+&de {
+       allwinner,tv-encoder = <&tve>;
 };
--
2.6.2
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help