mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Daniel Palmer <daniel@0x0f.com>
To: soc@kernel.org
Cc: arnd@arndb.de, linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org, Daniel Palmer <daniel@0x0f.com>
Subject: [PATCH 6/7] ARM:mstar: Add syscon node for "pmsleep" area
Date: Sun, 26 Jul 2020 13:39:47 +0900	[thread overview]
Message-ID: <20200726043948.1357573-7-daniel@0x0f.com> (raw)
In-Reply-To: <20200726043948.1357573-1-daniel@0x0f.com>

MStar v7 SoCs contain a region of registers that are in the always on
domain that the vendor code calls the "pmsleep" area.

This area contains registers for a broad range of functionality and
needs to be shared between drivers.

This patch adds a syscon node for the pmsleep area so that other
drivers can access registers in the area.

Signed-off-by: Daniel Palmer <daniel@0x0f.com>
---
 arch/arm/boot/dts/mstar-v7.dtsi | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/arch/arm/boot/dts/mstar-v7.dtsi b/arch/arm/boot/dts/mstar-v7.dtsi
index a73b1d162dfd..c8b192569d05 100644
--- a/arch/arm/boot/dts/mstar-v7.dtsi
+++ b/arch/arm/boot/dts/mstar-v7.dtsi
@@ -73,6 +73,11 @@ riu: bus@1f000000 {
 			#size-cells = <1>;
 			ranges = <0x0 0x1f000000 0x00400000>;
 
+			pmsleep: syscon@1c00 {
+				compatible = "syscon";
+				reg = <0x1c00 0x100>;
+			};
+
 			l3bridge: l3bridge@204400 {
 				compatible = "mstar,l3bridge";
 				reg = <0x204400 0x200>;
-- 
2.27.0


  parent reply	other threads:[~2020-07-26  4:40 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-26  4:39 [PATCH 0/7] ARM:mstar: DT filling out Daniel Palmer
2020-07-26  4:39 ` [PATCH 1/7] ARM:mstar: Add IMI SRAM region Daniel Palmer
2020-07-26  4:39 ` [PATCH 2/7] ARM:mstar: Adjust IMI size of infinity Daniel Palmer
2020-07-26  4:39 ` [PATCH 3/7] ARM:mstar: Adjust IMI size for mercury5 Daniel Palmer
2020-07-26  4:39 ` [PATCH 4/7] ARM:mstar: Adjust IMI size for infinity3 Daniel Palmer
2020-07-26  4:39 ` [PATCH 5/7] ARM:mstar: Add PMU Daniel Palmer
2020-07-26  4:39 ` Daniel Palmer [this message]
2020-07-27  7:49   ` [PATCH 6/7] ARM:mstar: Add syscon node for "pmsleep" area Arnd Bergmann
2020-07-26  4:39 ` [PATCH 7/7] ARM:mstar: Add reboot support Daniel Palmer
2020-07-27 12:33 ` [PATCH 0/7] ARM:mstar: DT filling out Arnd Bergmann
2020-07-27 13:26   ` Daniel Palmer

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=20200726043948.1357573-7-daniel@0x0f.com \
    --to=daniel@0x0f.com \
    --cc=arnd@arndb.de \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=soc@kernel.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

all inboxes | Powered by JetHome®