All of lore.kernel.org
 help / color / mirror / Atom feed
From: Icenowy Zheng <icenowy@aosc.io>
To: Maxime Ripard <maxime.ripard@free-electrons.com>,
	Chen-Yu Tsai <wens@csie.org>, Rob Herring <robh+dt@kernel.org>
Cc: linux-clk@vger.kernel.org, devicetree@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org,
	linux-sunxi@googlegroups.com, Icenowy Zheng <icenowy@aosc.io>
Subject: [PATCH v2 07/10] ARM: sunxi: h3/h5: add simplefb nodes
Date: Fri, 27 Oct 2017 23:06:55 +0800	[thread overview]
Message-ID: <20171027150658.18509-8-icenowy@aosc.io> (raw)
In-Reply-To: <20171027150658.18509-1-icenowy@aosc.io>

The H3/H5 SoCs have a HDMI output and a TV Composite output.

Add simplefb nodes for these outputs.

Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
---
 arch/arm/boot/dts/sunxi-h3-h5.dtsi | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/arch/arm/boot/dts/sunxi-h3-h5.dtsi b/arch/arm/boot/dts/sunxi-h3-h5.dtsi
index 367319d22116..2ce0c3bb9896 100644
--- a/arch/arm/boot/dts/sunxi-h3-h5.dtsi
+++ b/arch/arm/boot/dts/sunxi-h3-h5.dtsi
@@ -53,6 +53,35 @@
 	#address-cells = <1>;
 	#size-cells = <1>;
 
+	chosen {
+		#address-cells = <1>;
+		#size-cells = <1>;
+		ranges;
+
+		framebuffer-hdmi {
+			compatible = "allwinner,simple-framebuffer",
+				     "simple-framebuffer";
+			allwinner,pipeline = "mixer0-lcd0-hdmi";
+			clocks = <&display_clocks CLK_BUS_MIXER0>,
+				 <&ccu CLK_BUS_TCON0>, <&ccu CLK_BUS_HDMI>,
+				 <&display_clocks CLK_MIXER0>,
+				 <&ccu CLK_TCON0>, <&ccu CLK_HDMI>,
+				 <&ccu CLK_HDMI_DDC>;
+			status = "disabled";
+		};
+
+		framebuffer-tve {
+			compatible = "allwinner,simple-framebuffer",
+				     "simple-framebuffer";
+			allwinner,pipeline = "mixer1-lcd1-tve";
+			clocks = <&display_clocks CLK_BUS_MIXER1>,
+				 <&ccu CLK_BUS_TCON1>, <&ccu CLK_BUS_TVE>,
+				 <&display_clocks CLK_MIXER1>,
+				 <&ccu CLK_TVE>;
+			status = "disabled";
+		};
+	};
+
 	clocks {
 		#address-cells = <1>;
 		#size-cells = <1>;
-- 
2.13.6

WARNING: multiple messages have this Message-ID (diff)
From: Icenowy Zheng <icenowy-h8G6r0blFSE@public.gmane.org>
To: Maxime Ripard
	<maxime.ripard-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>,
	Chen-Yu Tsai <wens-jdAy2FN1RRM@public.gmane.org>,
	Rob Herring <robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
Cc: linux-clk-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	dri-devel-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org,
	linux-sunxi-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org,
	Icenowy Zheng <icenowy-h8G6r0blFSE@public.gmane.org>
Subject: [PATCH v2 07/10] ARM: sunxi: h3/h5: add simplefb nodes
Date: Fri, 27 Oct 2017 23:06:55 +0800	[thread overview]
Message-ID: <20171027150658.18509-8-icenowy@aosc.io> (raw)
In-Reply-To: <20171027150658.18509-1-icenowy-h8G6r0blFSE@public.gmane.org>

The H3/H5 SoCs have a HDMI output and a TV Composite output.

Add simplefb nodes for these outputs.

Signed-off-by: Icenowy Zheng <icenowy-h8G6r0blFSE@public.gmane.org>
---
 arch/arm/boot/dts/sunxi-h3-h5.dtsi | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/arch/arm/boot/dts/sunxi-h3-h5.dtsi b/arch/arm/boot/dts/sunxi-h3-h5.dtsi
index 367319d22116..2ce0c3bb9896 100644
--- a/arch/arm/boot/dts/sunxi-h3-h5.dtsi
+++ b/arch/arm/boot/dts/sunxi-h3-h5.dtsi
@@ -53,6 +53,35 @@
 	#address-cells = <1>;
 	#size-cells = <1>;
 
+	chosen {
+		#address-cells = <1>;
+		#size-cells = <1>;
+		ranges;
+
+		framebuffer-hdmi {
+			compatible = "allwinner,simple-framebuffer",
+				     "simple-framebuffer";
+			allwinner,pipeline = "mixer0-lcd0-hdmi";
+			clocks = <&display_clocks CLK_BUS_MIXER0>,
+				 <&ccu CLK_BUS_TCON0>, <&ccu CLK_BUS_HDMI>,
+				 <&display_clocks CLK_MIXER0>,
+				 <&ccu CLK_TCON0>, <&ccu CLK_HDMI>,
+				 <&ccu CLK_HDMI_DDC>;
+			status = "disabled";
+		};
+
+		framebuffer-tve {
+			compatible = "allwinner,simple-framebuffer",
+				     "simple-framebuffer";
+			allwinner,pipeline = "mixer1-lcd1-tve";
+			clocks = <&display_clocks CLK_BUS_MIXER1>,
+				 <&ccu CLK_BUS_TCON1>, <&ccu CLK_BUS_TVE>,
+				 <&display_clocks CLK_MIXER1>,
+				 <&ccu CLK_TVE>;
+			status = "disabled";
+		};
+	};
+
 	clocks {
 		#address-cells = <1>;
 		#size-cells = <1>;
-- 
2.13.6

WARNING: multiple messages have this Message-ID (diff)
From: icenowy@aosc.io (Icenowy Zheng)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2 07/10] ARM: sunxi: h3/h5: add simplefb nodes
Date: Fri, 27 Oct 2017 23:06:55 +0800	[thread overview]
Message-ID: <20171027150658.18509-8-icenowy@aosc.io> (raw)
In-Reply-To: <20171027150658.18509-1-icenowy@aosc.io>

The H3/H5 SoCs have a HDMI output and a TV Composite output.

Add simplefb nodes for these outputs.

Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
---
 arch/arm/boot/dts/sunxi-h3-h5.dtsi | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/arch/arm/boot/dts/sunxi-h3-h5.dtsi b/arch/arm/boot/dts/sunxi-h3-h5.dtsi
index 367319d22116..2ce0c3bb9896 100644
--- a/arch/arm/boot/dts/sunxi-h3-h5.dtsi
+++ b/arch/arm/boot/dts/sunxi-h3-h5.dtsi
@@ -53,6 +53,35 @@
 	#address-cells = <1>;
 	#size-cells = <1>;
 
+	chosen {
+		#address-cells = <1>;
+		#size-cells = <1>;
+		ranges;
+
+		framebuffer-hdmi {
+			compatible = "allwinner,simple-framebuffer",
+				     "simple-framebuffer";
+			allwinner,pipeline = "mixer0-lcd0-hdmi";
+			clocks = <&display_clocks CLK_BUS_MIXER0>,
+				 <&ccu CLK_BUS_TCON0>, <&ccu CLK_BUS_HDMI>,
+				 <&display_clocks CLK_MIXER0>,
+				 <&ccu CLK_TCON0>, <&ccu CLK_HDMI>,
+				 <&ccu CLK_HDMI_DDC>;
+			status = "disabled";
+		};
+
+		framebuffer-tve {
+			compatible = "allwinner,simple-framebuffer",
+				     "simple-framebuffer";
+			allwinner,pipeline = "mixer1-lcd1-tve";
+			clocks = <&display_clocks CLK_BUS_MIXER1>,
+				 <&ccu CLK_BUS_TCON1>, <&ccu CLK_BUS_TVE>,
+				 <&display_clocks CLK_MIXER1>,
+				 <&ccu CLK_TVE>;
+			status = "disabled";
+		};
+	};
+
 	clocks {
 		#address-cells = <1>;
 		#size-cells = <1>;
-- 
2.13.6

  parent reply	other threads:[~2017-10-27 15:10 UTC|newest]

Thread overview: 55+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-27 15:06 [PATCH v2 00/10] Allwinner H3/H5/A64(DE2) SimpleFB support Icenowy Zheng
2017-10-27 15:06 ` Icenowy Zheng
2017-10-27 15:06 ` Icenowy Zheng
2017-10-27 15:06 ` [PATCH v2 01/10] dt-bindings: fix the binding of Allwinner DE2 CCU of A83T and H3 Icenowy Zheng
2017-10-27 15:06   ` Icenowy Zheng
2017-10-27 15:06   ` Icenowy Zheng
2017-11-01 21:12   ` Rob Herring
2017-11-01 21:12     ` Rob Herring
2017-11-01 21:12     ` Rob Herring
2017-10-27 15:06 ` [PATCH v2 02/10] clk: sunxi-ng: add support for Allwinner H3 DE2 CCU Icenowy Zheng
2017-10-27 15:06   ` Icenowy Zheng
2017-10-27 15:06   ` Icenowy Zheng
2017-10-27 15:06 ` [PATCH v2 03/10] clk: sunxi-ng: fix the A64/H5 clock description of " Icenowy Zheng
2017-10-27 15:06   ` Icenowy Zheng
2017-10-27 15:06   ` Icenowy Zheng
2017-10-27 15:06   ` Icenowy Zheng
2017-10-27 15:06 ` [PATCH v2 04/10] dt-bindings: simplefb-sunxi: add pipelines for DE2 Icenowy Zheng
2017-10-27 15:06   ` Icenowy Zheng
2017-10-27 15:06   ` Icenowy Zheng
2017-10-27 15:06 ` [PATCH v2 05/10] ARM: sun8i: h3/h5: add DE2 CCU device node for H3 Icenowy Zheng
2017-10-27 15:06   ` Icenowy Zheng
2017-10-27 15:06   ` Icenowy Zheng
2017-10-27 15:06 ` [PATCH v2 06/10] arm64: allwinner: h5: add compatible string for DE2 CCU Icenowy Zheng
2017-10-27 15:06   ` Icenowy Zheng
2017-10-27 15:06   ` Icenowy Zheng
2017-10-27 15:06 ` Icenowy Zheng [this message]
2017-10-27 15:06   ` [PATCH v2 07/10] ARM: sunxi: h3/h5: add simplefb nodes Icenowy Zheng
2017-10-27 15:06   ` Icenowy Zheng
2017-10-27 15:06 ` [PATCH v2 08/10] dt-bindings: add binding for A64 DE2 CCU SRAM Icenowy Zheng
2017-10-27 15:06   ` Icenowy Zheng
2017-10-27 15:06   ` Icenowy Zheng
2017-11-01 21:11   ` Rob Herring
2017-11-01 21:11     ` Rob Herring
2017-10-27 15:06 ` [PATCH v2 09/10] arm64: allwinner: a64: add DE2 CCU for A64 SoC Icenowy Zheng
2017-10-27 15:06   ` Icenowy Zheng
2017-10-27 15:06   ` Icenowy Zheng
2017-10-27 15:06 ` [PATCH v2 10/10] arm64: allwinner: a64: add simplefb " Icenowy Zheng
2017-10-27 15:06   ` Icenowy Zheng
2017-10-27 15:06   ` Icenowy Zheng
2017-10-30 10:44 ` [PATCH v2 00/10] Allwinner H3/H5/A64(DE2) SimpleFB support icenowy
2017-10-30 10:44   ` icenowy at aosc.io
2017-10-30 10:44   ` icenowy-h8G6r0blFSE
2017-11-02  8:51 ` Icenowy Zheng
2017-11-02  8:51   ` Icenowy Zheng
2017-11-02  8:51   ` Icenowy Zheng
2017-11-02 15:44   ` Maxime Ripard
2017-11-02 15:44     ` Maxime Ripard
2017-11-02 15:44     ` Maxime Ripard
2017-11-06  8:40     ` Daniel Vetter
2017-11-06  8:40       ` Daniel Vetter
2017-11-06  8:40       ` Daniel Vetter
     [not found]       ` <20171106084043.2vv56w2dmrutz4gn-dv86pmgwkMBes7Z6vYuT8azUEOm+Xw19@public.gmane.org>
2017-11-09 11:17         ` Chris Obbard
2017-11-09 12:15           ` [linux-sunxi] " Maxime Ripard
2017-11-09 12:15             ` Maxime Ripard
2017-11-09 12:15             ` Maxime Ripard

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=20171027150658.18509-8-icenowy@aosc.io \
    --to=icenowy@aosc.io \
    --cc=devicetree@vger.kernel.org \
    --cc=dri-devel@lists.freedesktop.org \
    --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@free-electrons.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.