linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Icenowy Zheng <icenowy@aosc.io>
To: Rob Herring <robh+dt@kernel.org>,
	Maxime Ripard <maxime.ripard@bootlin.com>,
	Chen-Yu Tsai <wens@csie.org>,
	Jagan Teki <jagan@amarulasolutions.com>,
	Jernej Skrabec <jernej.skrabec@siol.net>
Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org,
	linux-sunxi@googlegroups.com, Icenowy Zheng <icenowy@aosc.io>
Subject: [PATCH v2 6/7] arm64: allwinner: a64: add device tree node for HDMI simplefb
Date: Fri, 22 Jun 2018 20:45:39 +0800	[thread overview]
Message-ID: <20180622124540.56203-5-icenowy@aosc.io> (raw)
In-Reply-To: <20180622124540.56203-1-icenowy@aosc.io>

As the U-Boot bootloader now is also capable of initialize the HDMI on
A64 boards, add a simplefb device tree node for accessing the HDMI
framebuffer initialized by the bootloader.

Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
---
Changes in v2:
- Dropped LCD SimpleFB as it's already added. LCD SimpleFB needs some
  fix but the fix is present when adding DE2 CCU.

 arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi
index 318c4ba8ae9f..840753432ea5 100644
--- a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi
+++ b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi
@@ -68,6 +68,15 @@
 				 <&display_clocks CLK_MIXER0>;
 			status = "disabled";
 		};
+
+		simplefb_hdmi: framebuffer-hdmi {
+			compatible = "allwinner,simple-framebuffer",
+				     "simple-framebuffer";
+			allwinner,pipeline = "mixer1-lcd1-hdmi";
+			clocks = <&display_clocks CLK_MIXER1>,
+				 <&ccu CLK_TCON1>, <&ccu CLK_HDMI>;
+			status = "disabled";
+		};
 	};
 
 	cpus {
-- 
2.17.1


  parent reply	other threads:[~2018-06-22 12:52 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-22 12:45 [PATCH v2 2/7] dt-bindings: add binding for the Allwinner A64 DE2 bus Icenowy Zheng
2018-06-22 12:45 ` [PATCH v2 3/7] bus: add bus driver for accessing Allwinner A64 DE2 Icenowy Zheng
2018-06-25 15:58   ` Maxime Ripard
2018-06-25 15:59     ` Icenowy Zheng
2018-06-22 12:45 ` [PATCH v2 4/7] clk: sunxi-ng: add A64 compatible string Icenowy Zheng
2018-06-25 15:58   ` Maxime Ripard
2018-06-22 12:45 ` [PATCH v2 5/7] arm64: allwinner: a64: add necessary device tree nodes for DE2 CCU Icenowy Zheng
2018-06-23 14:06   ` [linux-sunxi] " Julian Calaby
2018-06-23 14:18     ` Icenowy Zheng
2018-06-23 14:49       ` Julian Calaby
2018-06-22 12:45 ` Icenowy Zheng [this message]
2018-06-25 15:59   ` [PATCH v2 6/7] arm64: allwinner: a64: add device tree node for HDMI simplefb Maxime Ripard
2018-06-26  3:32   ` [linux-sunxi] " Chen-Yu Tsai
2018-06-25 20:18 ` [PATCH v2 2/7] dt-bindings: add binding for the Allwinner A64 DE2 bus Rob Herring

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180622124540.56203-5-icenowy@aosc.io \
    --to=icenowy@aosc.io \
    --cc=devicetree@vger.kernel.org \
    --cc=jagan@amarulasolutions.com \
    --cc=jernej.skrabec@siol.net \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-clk@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-sunxi@googlegroups.com \
    --cc=maxime.ripard@bootlin.com \
    --cc=robh+dt@kernel.org \
    --cc=wens@csie.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).