linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Chunyan Zhang <zhang.chunyan@linaro.org>
To: arm@kernel.org
Cc: Stephen Boyd <sboyd@codeaurora.org>,
	linux-clk@vger.kernel.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org,
	Chunyan Zhang <zhang.lyra@gmail.com>
Subject: [RECEND PATCH V7 11/12] arm64: dts: add syscon for whale2 platform
Date: Thu,  4 Jan 2018 15:08:03 +0800	[thread overview]
Message-ID: <1515049684-23481-1-git-send-email-zhang.chunyan@linaro.org> (raw)
In-Reply-To: <20171207125715.16160-1-chunyan.zhang@spreadtrum.com>

From: Chunyan Zhang <chunyan.zhang@spreadtrum.com>

Some clocks on SC9860 are in the same address area with syscon
devices, the proper syscon node will be quoted under the
definitions of those clocks in DT.

Signed-off-by: Chunyan Zhang <chunyan.zhang@spreadtrum.com>
---
 arch/arm64/boot/dts/sprd/whale2.dtsi | 46 +++++++++++++++++++++++++++++++++++-
 1 file changed, 45 insertions(+), 1 deletion(-)

diff --git a/arch/arm64/boot/dts/sprd/whale2.dtsi b/arch/arm64/boot/dts/sprd/whale2.dtsi
index 7c217c5..6ea3a75 100644
--- a/arch/arm64/boot/dts/sprd/whale2.dtsi
+++ b/arch/arm64/boot/dts/sprd/whale2.dtsi
@@ -17,6 +17,51 @@
 		#size-cells = <2>;
 		ranges;
 
+		ap_ahb_regs: syscon@20210000 {
+			compatible = "syscon";
+			reg = <0 0x20210000 0 0x10000>;
+		};
+
+		pmu_regs: syscon@402b0000 {
+			compatible = "syscon";
+			reg = <0 0x402b0000 0 0x10000>;
+		};
+
+		aon_regs: syscon@402e0000 {
+			compatible = "syscon";
+			reg = <0 0x402e0000 0 0x10000>;
+		};
+
+		ana_regs: syscon@40400000 {
+			compatible = "syscon";
+			reg = <0 0x40400000 0 0x10000>;
+		};
+
+		agcp_regs: syscon@415e0000 {
+			compatible = "syscon";
+			reg = <0 0x415e0000 0 0x1000000>;
+		};
+
+		vsp_regs: syscon@61100000 {
+			compatible = "syscon";
+			reg = <0 0x61100000 0 0x10000>;
+		};
+
+		cam_regs: syscon@62100000 {
+			compatible = "syscon";
+			reg = <0 0x62100000 0 0x10000>;
+		};
+
+		disp_regs: syscon@63100000 {
+			compatible = "syscon";
+			reg = <0 0x63100000 0 0x10000>;
+		};
+
+		ap_apb_regs: syscon@70b00000 {
+			compatible = "syscon";
+			reg = <0 0x70b00000 0 0x40000>;
+		};
+
 		ap-apb {
 			compatible = "simple-bus";
 			#address-cells = <1>;
@@ -59,7 +104,6 @@
 				status = "disabled";
 			};
 		};
-
 	};
 
 	ext_26m: ext-26m {
-- 
2.7.4

  parent reply	other threads:[~2018-01-04  7:08 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-07 12:57 [PATCH V7 00/12] add clock driver for Spreadtrum platforms Chunyan Zhang
2017-12-07 12:57 ` [PATCH V7 01/12] drivers: move clock common macros out from vendor directories Chunyan Zhang
2017-12-21 23:02   ` Stephen Boyd
2017-12-07 12:57 ` [PATCH V7 02/12] clk: sprd: Add common infrastructure Chunyan Zhang
2017-12-07 13:25   ` Philippe Ombredanne
2017-12-21 23:02   ` Stephen Boyd
2017-12-07 12:57 ` [PATCH V7 03/12] clk: sprd: add gate clock support Chunyan Zhang
2017-12-21 23:02   ` Stephen Boyd
2017-12-07 12:57 ` [PATCH V7 04/12] clk: sprd: add mux " Chunyan Zhang
2017-12-21 23:02   ` Stephen Boyd
2017-12-07 12:57 ` [PATCH V7 05/12] clk: sprd: add divider " Chunyan Zhang
2017-12-21 23:02   ` Stephen Boyd
2017-12-07 12:57 ` [PATCH V7 06/12] clk: sprd: add composite " Chunyan Zhang
2017-12-21 23:02   ` Stephen Boyd
2017-12-07 12:57 ` [PATCH V7 07/12] clk: sprd: add adjustable pll support Chunyan Zhang
2017-12-21 23:02   ` Stephen Boyd
2017-12-07 12:57 ` [PATCH V7 08/12] dt-bindings: Add Spreadtrum clock binding documentation Chunyan Zhang
2017-12-21 23:02   ` Stephen Boyd
2017-12-07 12:57 ` [PATCH V7 09/12] clk: sprd: Add dt-bindings include file for SC9860 Chunyan Zhang
2017-12-21 23:02   ` Stephen Boyd
2017-12-07 12:57 ` [PATCH V7 10/12] clk: sprd: add clocks support " Chunyan Zhang
2017-12-21 23:03   ` Stephen Boyd
2017-12-07 12:57 ` [PATCH V7 11/12] arm64: dts: add syscon for whale2 platform Chunyan Zhang
2017-12-21 23:03   ` Stephen Boyd
2017-12-22  5:30     ` Chunyan Zhang
2018-01-04 16:51       ` Arnd Bergmann
2017-12-07 12:57 ` [PATCH V7 12/12] arm64: dts: add clocks for SC9860 Chunyan Zhang
2017-12-22  5:31   ` Chunyan Zhang
2018-01-04 21:34   ` Arnd Bergmann
2018-01-04 23:01     ` Arnd Bergmann
2018-01-05  5:27       ` Chunyan Zhang
2017-12-18  9:46 ` [PATCH V7 00/12] add clock driver for Spreadtrum platforms Chunyan Zhang
2018-01-04  7:08 ` Chunyan Zhang [this message]
2018-01-04  7:08   ` [RECEND PATCH V7 12/12] arm64: dts: add clocks for SC9860 Chunyan Zhang
2018-01-04 16:51     ` Arnd Bergmann

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=1515049684-23481-1-git-send-email-zhang.chunyan@linaro.org \
    --to=zhang.chunyan@linaro.org \
    --cc=arm@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=linux-clk@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sboyd@codeaurora.org \
    --cc=zhang.lyra@gmail.com \
    /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).