Devicetree
 help / color / mirror / Atom feed
* Re: Re: [RFC PATCH] ARM: dts: sun8i: add simplefb node for H3
@ 2016-11-30 19:03 Icenowy Zheng
       [not found] ` <20161130220324.3Kg4VPEw-3YhIAYTWRJA0PDqKvflMoHmW9unr2Ajn@public.gmane.org>
  0 siblings, 1 reply; 9+ messages in thread
From: Icenowy Zheng @ 2016-11-30 19:03 UTC (permalink / raw)
  To: Jernej Skrabec
  Cc: linux-sunxi, linux-kernel,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	devicetree-u79uwXL29TY76Z2rM5mHXA, jernej.skrabec-gGgVlfcn5nU,
	wens-jdAy2FN1RRM, maxime.ripard-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8

[-- Attachment #1: Type: text/html, Size: 4545 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread
* [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; 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-12-01  8:45 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-30 19:03 Re: [RFC PATCH] ARM: dts: sun8i: add simplefb node for H3 Icenowy Zheng
     [not found] ` <20161130220324.3Kg4VPEw-3YhIAYTWRJA0PDqKvflMoHmW9unr2Ajn@public.gmane.org>
2016-11-30 19:14   ` Jernej Škrabec
2016-11-30 19:37     ` Jean-Francois Moine
     [not found]       ` <20161130203724.a390595df0199ed19069f91d-GANU6spQydw@public.gmane.org>
2016-11-30 20:41         ` Jernej Škrabec
2016-11-30 20:52           ` Maxime Ripard
2016-12-01  2:02             ` Icenowy Zheng
     [not found]               ` <1777251480557779-y7RzsOdW5YFxpj1cXAZ9Bg@public.gmane.org>
2016-12-01  8:45                 ` Maxime Ripard
  -- strict thread matches above, loose matches on Subject: below --
2016-11-28  9:59 Icenowy Zheng
2016-11-28 10:06 ` Chen-Yu Tsai
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

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