devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC PATCH] ARM: dts: sun8i: add simplefb node for H3
@ 2016-11-28  9:59 Icenowy Zheng
       [not found] ` <20161128095900.27615-1-icenowy-ymACFijhrKM@public.gmane.org>
  0 siblings, 1 reply; 9+ messages in thread
From: Icenowy Zheng @ 2016-11-28  9:59 UTC (permalink / raw)
  To: Maxime Ripard, Chen-Yu Tsai, Jernej Skrabec, Jean-Francois Moine
  Cc: devicetree-u79uwXL29TY76Z2rM5mHXA,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA,
	linux-sunxi-/JYPxA39Uh5TLH3MbocFFw, Icenowy Zheng

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-ymACFijhrKM@public.gmane.org>
---

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@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] 9+ messages in thread

end of thread, other threads:[~2016-11-30 18:49 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-28  9:59 [RFC PATCH] ARM: dts: sun8i: add simplefb node for H3 Icenowy Zheng
     [not found] ` <20161128095900.27615-1-icenowy-ymACFijhrKM@public.gmane.org>
2016-11-28 10:06   ` Chen-Yu Tsai
     [not found]     ` <CAGb2v67akcT6z-xOdCzpLQRZbgNGh3E5akYEs1BvFNP1rH8UeA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2016-11-28 10:19       ` Icenowy Zheng
     [not found]         ` <496171480328390-w+qEnKy0EGlxpj1cXAZ9Bg@public.gmane.org>
2016-11-28 10:24           ` Chen-Yu Tsai
     [not found]             ` <CAGb2v66yQ2d=12P_MYyQXTfcZnNAMcb+0i=NEab4sNcJZUyL-w-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2016-11-29 21:43               ` Maxime Ripard
2016-11-28 10:42   ` Jean-Francois Moine
     [not found]     ` <20161128114218.14d2ed434802a20fa6b62023-GANU6spQydw@public.gmane.org>
2016-11-29 21:59       ` Maxime Ripard
2016-11-30  9:35         ` Jean-Francois Moine
     [not found]           ` <20161130103503.01061303ace71c74e1cac66f-GANU6spQydw@public.gmane.org>
2016-11-30 18:49             ` Jernej Skrabec

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).