public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
* [RFC PATCH] ARM: dts: sun8i: add simplefb node for H3
@ 2016-11-28  9:59 Icenowy Zheng
  2016-11-28 10:06 ` Chen-Yu Tsai
  0 siblings, 1 reply; 8+ messages in thread
From: Icenowy Zheng @ 2016-11-28  9:59 UTC (permalink / raw)
  To: linux-arm-kernel

As there's currently a fork of U-Boot which provides simplefb support
for H3, a simplefb node can be added to the device tree.

Signed-off-by: Icenowy Zheng <icenowy@aosc.xyz>
---

I'm still not sure which pipeline should I use.

And, it seems that HDMI Slow Clock is not needed?

(seems that it's only for EDID, but simplefb won't use EDID)

 arch/arm/boot/dts/sun8i-h3.dtsi | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/arch/arm/boot/dts/sun8i-h3.dtsi b/arch/arm/boot/dts/sun8i-h3.dtsi
index 75a8654..cacc8dd 100644
--- a/arch/arm/boot/dts/sun8i-h3.dtsi
+++ b/arch/arm/boot/dts/sun8i-h3.dtsi
@@ -50,6 +50,22 @@
 / {
 	interrupt-parent = <&gic>;
 
+	chosen {
+		#address-cells = <1>;
+		#size-cells = <1>;
+		ranges;
+
+		simplefb_hdmi: framebuffer at 0 {
+			compatible = "allwinner,simple-framebuffer",
+				     "simple-framebuffer";
+			allwinner,pipeline = "de0-lcd0-hdmi";
+			clocks = <&ccu CLK_BUS_TCON0>, <&ccu CLK_BUS_DE>,
+				 <&ccu CLK_BUS_HDMI>, <&ccu CLK_DE>,
+				 <&ccu CLK_TCON0>, <&ccu CLK_HDMI>;
+			status = "disabled";
+		};
+	};
+
 	cpus {
 		#address-cells = <1>;
 		#size-cells = <0>;
-- 
2.10.2

^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2016-12-01  8:45 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20161130220324.3Kg4VPEw@smtp1m.mail.yandex.net>
2016-11-30 19:14 ` [linux-sunxi] Re: [RFC PATCH] ARM: dts: sun8i: add simplefb node for H3 Jernej Škrabec
2016-11-30 19:37   ` Jean-Francois Moine
2016-11-30 20:41     ` Jernej Škrabec
2016-11-30 20:52       ` Maxime Ripard
2016-12-01  2:02         ` Icenowy Zheng
2016-12-01  8:45           ` Maxime Ripard
2016-11-28  9:59 Icenowy Zheng
2016-11-28 10:06 ` Chen-Yu Tsai
2016-11-28 10:19   ` Icenowy Zheng
2016-11-28 10:24     ` [linux-sunxi] " Chen-Yu Tsai
2016-11-29 21:43       ` Maxime Ripard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox