All of lore.kernel.org
 help / color / mirror / Atom feed
From: Simon Horman <horms+renesas@verge.net.au>
To: linux-renesas-soc@vger.kernel.org
Cc: linux-arm-kernel@lists.infradead.org,
	Magnus Damm <magnus.damm@gmail.com>,
	Biju Das <biju.das@bp.renesas.com>,
	Simon Horman <horms+renesas@verge.net.au>
Subject: [PATCH 16/21] soc: renesas: rcar-sysc: Add r8a7744 support
Date: Fri, 28 Sep 2018 12:23:31 +0200	[thread overview]
Message-ID: <c3299eb2770b43471516666bd20f78ed5588f868.1538128711.git.horms+renesas@verge.net.au> (raw)
In-Reply-To: <cover.1538128711.git.horms+renesas@verge.net.au>

From: Biju Das <biju.das@bp.renesas.com>

Add support for RZ/G1N (R8A7744) SoC power areas to the R-Car SYSC driver.

Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Reviewed-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
 drivers/soc/renesas/Kconfig     | 2 +-
 drivers/soc/renesas/rcar-sysc.c | 2 ++
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/drivers/soc/renesas/Kconfig b/drivers/soc/renesas/Kconfig
index 05086ac2108b..407f02c80e8b 100644
--- a/drivers/soc/renesas/Kconfig
+++ b/drivers/soc/renesas/Kconfig
@@ -7,7 +7,7 @@ config SOC_RENESAS
 			   ARCH_R8A774A1 || ARCH_R8A774C0 || ARCH_R8A7795 || \
 			   ARCH_R8A7796 || ARCH_R8A77965 || ARCH_R8A77970 || \
 			   ARCH_R8A77980 || ARCH_R8A77990 || ARCH_R8A77995
-	select SYSC_R8A7743 if ARCH_R8A7743
+	select SYSC_R8A7743 if ARCH_R8A7743 || ARCH_R8A7744
 	select SYSC_R8A7745 if ARCH_R8A7745
 	select SYSC_R8A77470 if ARCH_R8A77470
 	select SYSC_R8A774A1 if ARCH_R8A774A1
diff --git a/drivers/soc/renesas/rcar-sysc.c b/drivers/soc/renesas/rcar-sysc.c
index 08c8b62896b7..af53363eda03 100644
--- a/drivers/soc/renesas/rcar-sysc.c
+++ b/drivers/soc/renesas/rcar-sysc.c
@@ -265,6 +265,8 @@ static int __init rcar_sysc_pd_setup(struct rcar_sysc_pd *pd)
 static const struct of_device_id rcar_sysc_matches[] __initconst = {
 #ifdef CONFIG_SYSC_R8A7743
 	{ .compatible = "renesas,r8a7743-sysc", .data = &r8a7743_sysc_info },
+	/* RZ/G1N is identical to RZ/G2M w.r.t. power domains. */
+	{ .compatible = "renesas,r8a7744-sysc", .data = &r8a7743_sysc_info },
 #endif
 #ifdef CONFIG_SYSC_R8A7745
 	{ .compatible = "renesas,r8a7745-sysc", .data = &r8a7745_sysc_info },
-- 
2.11.0

WARNING: multiple messages have this Message-ID (diff)
From: horms+renesas@verge.net.au (Simon Horman)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 16/21] soc: renesas: rcar-sysc: Add r8a7744 support
Date: Fri, 28 Sep 2018 12:23:31 +0200	[thread overview]
Message-ID: <c3299eb2770b43471516666bd20f78ed5588f868.1538128711.git.horms+renesas@verge.net.au> (raw)
In-Reply-To: <cover.1538128711.git.horms+renesas@verge.net.au>

From: Biju Das <biju.das@bp.renesas.com>

Add support for RZ/G1N (R8A7744) SoC power areas to the R-Car SYSC driver.

Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Reviewed-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
 drivers/soc/renesas/Kconfig     | 2 +-
 drivers/soc/renesas/rcar-sysc.c | 2 ++
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/drivers/soc/renesas/Kconfig b/drivers/soc/renesas/Kconfig
index 05086ac2108b..407f02c80e8b 100644
--- a/drivers/soc/renesas/Kconfig
+++ b/drivers/soc/renesas/Kconfig
@@ -7,7 +7,7 @@ config SOC_RENESAS
 			   ARCH_R8A774A1 || ARCH_R8A774C0 || ARCH_R8A7795 || \
 			   ARCH_R8A7796 || ARCH_R8A77965 || ARCH_R8A77970 || \
 			   ARCH_R8A77980 || ARCH_R8A77990 || ARCH_R8A77995
-	select SYSC_R8A7743 if ARCH_R8A7743
+	select SYSC_R8A7743 if ARCH_R8A7743 || ARCH_R8A7744
 	select SYSC_R8A7745 if ARCH_R8A7745
 	select SYSC_R8A77470 if ARCH_R8A77470
 	select SYSC_R8A774A1 if ARCH_R8A774A1
diff --git a/drivers/soc/renesas/rcar-sysc.c b/drivers/soc/renesas/rcar-sysc.c
index 08c8b62896b7..af53363eda03 100644
--- a/drivers/soc/renesas/rcar-sysc.c
+++ b/drivers/soc/renesas/rcar-sysc.c
@@ -265,6 +265,8 @@ static int __init rcar_sysc_pd_setup(struct rcar_sysc_pd *pd)
 static const struct of_device_id rcar_sysc_matches[] __initconst = {
 #ifdef CONFIG_SYSC_R8A7743
 	{ .compatible = "renesas,r8a7743-sysc", .data = &r8a7743_sysc_info },
+	/* RZ/G1N is identical to RZ/G2M w.r.t. power domains. */
+	{ .compatible = "renesas,r8a7744-sysc", .data = &r8a7743_sysc_info },
 #endif
 #ifdef CONFIG_SYSC_R8A7745
 	{ .compatible = "renesas,r8a7745-sysc", .data = &r8a7745_sysc_info },
-- 
2.11.0

  parent reply	other threads:[~2018-09-28 16:47 UTC|newest]

Thread overview: 46+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-09-28 10:23 [GIT PULL] Renesas ARM Based SoC Drivers Updates for v4.20 Simon Horman
2018-09-28 10:23 ` Simon Horman
2018-09-28 10:23 ` [PATCH 01/21] soc: renesas: Identify RZ/G2M Simon Horman
2018-09-28 10:23   ` Simon Horman
2018-09-28 10:23 ` [PATCH 02/21] ARM: shmobile: Add basic RZ/A2 SoC support Simon Horman
2018-09-28 10:23   ` Simon Horman
2018-09-28 10:23 ` [PATCH 03/21] soc: renesas: identify RZ/A2 Simon Horman
2018-09-28 10:23   ` Simon Horman
2018-09-28 10:23 ` [PATCH 04/21] dt-bindings: power: Add r8a774a1 SYSC power domain definitions Simon Horman
2018-09-28 10:23   ` Simon Horman
2018-09-28 10:23 ` [PATCH 05/21] soc: renesas: rcar-sysc: Add r8a774a1 support Simon Horman
2018-09-28 10:23   ` Simon Horman
2018-09-28 10:23 ` [PATCH 06/21] soc: renesas: rcar-rst: Add support for RZ/G2M Simon Horman
2018-09-28 10:23   ` Simon Horman
2018-09-28 10:23 ` [PATCH 07/21] soc: renesas: convert to SPDX identifiers Simon Horman
2018-09-28 10:23   ` Simon Horman
2018-09-28 10:23 ` [PATCH 08/21] soc: renesas: Identify RZ/G2E Simon Horman
2018-09-28 10:23   ` Simon Horman
2018-09-28 10:23 ` [PATCH 09/21] dt-bindings: power: Add r8a774c0 SYSC power domain definitions Simon Horman
2018-09-28 10:23   ` Simon Horman
2018-09-28 10:23 ` [PATCH 10/21] dt-bindings: power: rcar-sysc: Document r8a774c0 sysc Simon Horman
2018-09-28 10:23   ` Simon Horman
2018-09-28 10:23 ` [PATCH 11/21] soc: renesas: rcar-sysc: Add r8a774c0 support Simon Horman
2018-09-28 10:23   ` Simon Horman
2018-09-28 10:23 ` [PATCH 12/21] dt-bindings: reset: rcar-rst: Document r8a774c0 rst Simon Horman
2018-09-28 10:23   ` Simon Horman
2018-09-28 10:23 ` [PATCH 13/21] soc: renesas: rcar-rst: Add support for RZ/G2E Simon Horman
2018-09-28 10:23   ` Simon Horman
2018-09-28 10:23 ` [PATCH 14/21] dt-bindings: power: rcar-sysc: Document r8a7744 SYSC binding Simon Horman
2018-09-28 10:23   ` Simon Horman
2018-09-28 10:23 ` [PATCH 15/21] dt-bindings: power: rcar-sysc: Add r8a7744 power domain index macros Simon Horman
2018-09-28 10:23   ` Simon Horman
2018-09-28 10:23 ` Simon Horman [this message]
2018-09-28 10:23   ` [PATCH 16/21] soc: renesas: rcar-sysc: Add r8a7744 support Simon Horman
2018-09-28 10:23 ` [PATCH 17/21] dt-bindings: reset: rcar-rst: Document r8a7744 reset module Simon Horman
2018-09-28 10:23   ` Simon Horman
2018-09-28 10:23 ` [PATCH 18/21] soc: renesas: rcar-rst: Add support for RZ/G1N Simon Horman
2018-09-28 10:23   ` Simon Horman
2018-09-28 10:23 ` [PATCH 19/21] dt-bindings: apmu: Document r8a77470 support Simon Horman
2018-09-28 10:23   ` Simon Horman
2018-09-28 10:23 ` [PATCH 20/21] dt-bindings: timer: renesas: tmu: document R8A779{7|8}0 bindings Simon Horman
2018-09-28 10:23   ` Simon Horman
2018-09-28 10:23 ` [PATCH 21/21] dt-bindings: apmu: Document r8a7744 support Simon Horman
2018-09-28 10:23   ` Simon Horman
2018-09-28 20:18 ` [GIT PULL] Renesas ARM Based SoC Drivers Updates for v4.20 Arnd Bergmann
2018-09-28 20:18   ` 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=c3299eb2770b43471516666bd20f78ed5588f868.1538128711.git.horms+renesas@verge.net.au \
    --to=horms+renesas@verge.net.au \
    --cc=biju.das@bp.renesas.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-renesas-soc@vger.kernel.org \
    --cc=magnus.damm@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 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.