All of lore.kernel.org
 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>
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 4/7] clk: sunxi-ng: add A64 compatible string
Date: Sat, 17 Mar 2018 01:53:51 +0800	[thread overview]
Message-ID: <20180316175354.21437-5-icenowy@aosc.io> (raw)
In-Reply-To: <20180316175354.21437-1-icenowy@aosc.io>

As claiming Allwinner A64 SRAM C is a prerequisite for all sub-blocks of
the A64 DE2, not only the CCU sub-block, a bus driver is then written for
enabling the access to the whole DE2 part by claiming the SRAM.

In this situation, the A64 compatible string will be just added with no
other requirments, as they're processed by the parent bus driver.

Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
---
 drivers/clk/sunxi-ng/ccu-sun8i-de2.c | 11 ++++-------
 1 file changed, 4 insertions(+), 7 deletions(-)

diff --git a/drivers/clk/sunxi-ng/ccu-sun8i-de2.c b/drivers/clk/sunxi-ng/ccu-sun8i-de2.c
index 468d1abaf0ee..8df7cd93453e 100644
--- a/drivers/clk/sunxi-ng/ccu-sun8i-de2.c
+++ b/drivers/clk/sunxi-ng/ccu-sun8i-de2.c
@@ -292,13 +292,10 @@ static const struct of_device_id sunxi_de2_clk_ids[] = {
 		.compatible = "allwinner,sun50i-h5-de2-clk",
 		.data = &sun50i_a64_de2_clk_desc,
 	},
-	/*
-	 * The Allwinner A64 SoC needs some bit to be poke in syscon to make
-	 * DE2 really working.
-	 * So there's currently no A64 compatible here.
-	 * H5 shares the same reset line with A64, so here H5 is using the
-	 * clock description of A64.
-	 */
+	{
+		.compatible = "allwinner,sun50i-a64-de2-clk",
+		.data = &sun50i_a64_de2_clk_desc,
+	},
 	{ }
 };
 
-- 
2.15.1

WARNING: multiple messages have this Message-ID (diff)
From: Icenowy Zheng <icenowy-h8G6r0blFSE@public.gmane.org>
To: Rob Herring <robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>,
	Maxime Ripard
	<maxime.ripard-LDxbnhwyfcJBDgjK7y7TUQ@public.gmane.org>,
	Chen-Yu Tsai <wens-jdAy2FN1RRM@public.gmane.org>
Cc: devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	linux-clk-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	linux-sunxi-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org,
	Icenowy Zheng <icenowy-h8G6r0blFSE@public.gmane.org>
Subject: [PATCH 4/7] clk: sunxi-ng: add A64 compatible string
Date: Sat, 17 Mar 2018 01:53:51 +0800	[thread overview]
Message-ID: <20180316175354.21437-5-icenowy@aosc.io> (raw)
In-Reply-To: <20180316175354.21437-1-icenowy-h8G6r0blFSE@public.gmane.org>

As claiming Allwinner A64 SRAM C is a prerequisite for all sub-blocks of
the A64 DE2, not only the CCU sub-block, a bus driver is then written for
enabling the access to the whole DE2 part by claiming the SRAM.

In this situation, the A64 compatible string will be just added with no
other requirments, as they're processed by the parent bus driver.

Signed-off-by: Icenowy Zheng <icenowy-h8G6r0blFSE@public.gmane.org>
---
 drivers/clk/sunxi-ng/ccu-sun8i-de2.c | 11 ++++-------
 1 file changed, 4 insertions(+), 7 deletions(-)

diff --git a/drivers/clk/sunxi-ng/ccu-sun8i-de2.c b/drivers/clk/sunxi-ng/ccu-sun8i-de2.c
index 468d1abaf0ee..8df7cd93453e 100644
--- a/drivers/clk/sunxi-ng/ccu-sun8i-de2.c
+++ b/drivers/clk/sunxi-ng/ccu-sun8i-de2.c
@@ -292,13 +292,10 @@ static const struct of_device_id sunxi_de2_clk_ids[] = {
 		.compatible = "allwinner,sun50i-h5-de2-clk",
 		.data = &sun50i_a64_de2_clk_desc,
 	},
-	/*
-	 * The Allwinner A64 SoC needs some bit to be poke in syscon to make
-	 * DE2 really working.
-	 * So there's currently no A64 compatible here.
-	 * H5 shares the same reset line with A64, so here H5 is using the
-	 * clock description of A64.
-	 */
+	{
+		.compatible = "allwinner,sun50i-a64-de2-clk",
+		.data = &sun50i_a64_de2_clk_desc,
+	},
 	{ }
 };
 
-- 
2.15.1

WARNING: multiple messages have this Message-ID (diff)
From: icenowy@aosc.io (Icenowy Zheng)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 4/7] clk: sunxi-ng: add A64 compatible string
Date: Sat, 17 Mar 2018 01:53:51 +0800	[thread overview]
Message-ID: <20180316175354.21437-5-icenowy@aosc.io> (raw)
In-Reply-To: <20180316175354.21437-1-icenowy@aosc.io>

As claiming Allwinner A64 SRAM C is a prerequisite for all sub-blocks of
the A64 DE2, not only the CCU sub-block, a bus driver is then written for
enabling the access to the whole DE2 part by claiming the SRAM.

In this situation, the A64 compatible string will be just added with no
other requirments, as they're processed by the parent bus driver.

Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
---
 drivers/clk/sunxi-ng/ccu-sun8i-de2.c | 11 ++++-------
 1 file changed, 4 insertions(+), 7 deletions(-)

diff --git a/drivers/clk/sunxi-ng/ccu-sun8i-de2.c b/drivers/clk/sunxi-ng/ccu-sun8i-de2.c
index 468d1abaf0ee..8df7cd93453e 100644
--- a/drivers/clk/sunxi-ng/ccu-sun8i-de2.c
+++ b/drivers/clk/sunxi-ng/ccu-sun8i-de2.c
@@ -292,13 +292,10 @@ static const struct of_device_id sunxi_de2_clk_ids[] = {
 		.compatible = "allwinner,sun50i-h5-de2-clk",
 		.data = &sun50i_a64_de2_clk_desc,
 	},
-	/*
-	 * The Allwinner A64 SoC needs some bit to be poke in syscon to make
-	 * DE2 really working.
-	 * So there's currently no A64 compatible here.
-	 * H5 shares the same reset line with A64, so here H5 is using the
-	 * clock description of A64.
-	 */
+	{
+		.compatible = "allwinner,sun50i-a64-de2-clk",
+		.data = &sun50i_a64_de2_clk_desc,
+	},
 	{ }
 };
 
-- 
2.15.1

  parent reply	other threads:[~2018-03-16 17:56 UTC|newest]

Thread overview: 60+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-16 17:53 [PATCH 0/7] Allwinner A64 DE2 CCU support with dedicated DE2 bus driver Icenowy Zheng
2018-03-16 17:53 ` Icenowy Zheng
2018-03-16 17:53 ` Icenowy Zheng
2018-03-16 17:53 ` [PATCH 1/7] dt-bindings: add compatible string for the A64 DE2 CCU Icenowy Zheng
2018-03-16 17:53   ` Icenowy Zheng
2018-03-16 17:53   ` Icenowy Zheng
2018-03-19 22:00   ` Stephen Boyd
2018-03-19 22:00     ` Stephen Boyd
2018-03-19 22:00     ` Stephen Boyd
2018-03-26 22:22   ` Rob Herring
2018-03-26 22:22     ` Rob Herring
2018-03-26 22:22     ` Rob Herring
2018-03-26 22:22     ` Rob Herring
2018-03-16 17:53 ` [PATCH 2/7] dt-bindings: add binding for the Allwinner A64 DE2 bus Icenowy Zheng
2018-03-16 17:53   ` Icenowy Zheng
2018-03-16 17:53   ` Icenowy Zheng
2018-03-20 18:46   ` Maxime Ripard
2018-03-20 18:46     ` Maxime Ripard
2018-03-21  2:18     ` Icenowy Zheng
2018-03-21  2:18       ` Icenowy Zheng
2018-03-21  2:18       ` Icenowy Zheng
2018-03-21 17:13       ` [linux-sunxi] " Jernej Škrabec
2018-03-21 17:13         ` Jernej Škrabec
2018-03-22  6:08         ` Icenowy Zheng
2018-03-22  6:08           ` Icenowy Zheng
2018-03-22  6:08           ` Icenowy Zheng
2018-03-26 22:22           ` [linux-sunxi] " Rob Herring
2018-03-26 22:22             ` Rob Herring
2018-03-26 22:22             ` Rob Herring
2018-03-26 23:31             ` [linux-sunxi] " Icenowy Zheng
2018-03-26 23:31               ` Icenowy Zheng
2018-03-26 23:31               ` Icenowy Zheng
2018-03-27  8:11               ` [linux-sunxi] " Maxime Ripard
2018-03-27  8:11                 ` Maxime Ripard
2018-03-16 17:53 ` [PATCH 3/7] bus: add bus driver for accessing Allwinner A64 DE2 Icenowy Zheng
2018-03-16 17:53   ` Icenowy Zheng
2018-03-16 17:53   ` Icenowy Zheng
2018-04-14 10:25   ` Jagan Teki
2018-04-14 10:25     ` Jagan Teki
2018-04-14 10:30     ` Chen-Yu Tsai
2018-04-14 10:30       ` Chen-Yu Tsai
2018-04-14 10:30       ` Chen-Yu Tsai
2018-04-14 10:46       ` Jagan Teki
2018-04-14 10:46         ` Jagan Teki
2018-04-19  6:35         ` Jagan Teki
2018-04-19  6:35           ` Jagan Teki
2018-03-16 17:53 ` Icenowy Zheng [this message]
2018-03-16 17:53   ` [PATCH 4/7] clk: sunxi-ng: add A64 compatible string Icenowy Zheng
2018-03-16 17:53   ` Icenowy Zheng
2018-03-16 17:53 ` [PATCH 5/7] arm64: allwinner: a64: add DE2 CCU related device tree nodes Icenowy Zheng
2018-03-16 17:53   ` Icenowy Zheng
2018-03-16 17:53   ` Icenowy Zheng
2018-03-20 18:47   ` Maxime Ripard
2018-03-20 18:47     ` Maxime Ripard
2018-03-16 17:53 ` [PATCH 6/7] arm64: allwinner: a64: add simplefb for A64 SoC Icenowy Zheng
2018-03-16 17:53   ` Icenowy Zheng
2018-03-16 17:53   ` Icenowy Zheng
2018-03-16 17:53 ` [PATCH 7/7] arm64: allwinner: a64: add HDMI regulator to all DTs' simplefb_hdmi Icenowy Zheng
2018-03-16 17:53   ` Icenowy Zheng
2018-03-16 17:53   ` Icenowy Zheng

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=20180316175354.21437-5-icenowy@aosc.io \
    --to=icenowy@aosc.io \
    --cc=devicetree@vger.kernel.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@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 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.