All of lore.kernel.org
 help / color / mirror / Atom feed
From: Geert Uytterhoeven <geert+renesas@glider.be>
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 07/11] [WIP] ARM: shmobile: r8a7740/armadillo legacy: Add A4MP pm domain support
Date: Fri, 29 Aug 2014 13:50:13 +0000	[thread overview]
Message-ID: <1409320217-13278-8-git-send-email-geert+renesas@glider.be> (raw)
In-Reply-To: <1409320217-13278-1-git-send-email-geert+renesas@glider.be>

Add support for the A4MP power domain, and hook up the FSI hardware block.
This domain also contains the SPU2, FMSI, and BBIF2 hardware blocks,
but these are currently not used by any driver.

FIXME: A4PM is not added, as it causes "irq 163: nobody cared" (irq 163
       is registered by sh-mobile-hdmi), either on boot, or, when trying
       to fix it using pm_domain_always_on_gov, on resume.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
 arch/arm/mach-shmobile/board-armadillo800eva.c |    1 +
 arch/arm/mach-shmobile/pm-r8a7740.c            |    3 +++
 2 files changed, 4 insertions(+)

diff --git a/arch/arm/mach-shmobile/board-armadillo800eva.c b/arch/arm/mach-shmobile/board-armadillo800eva.c
index 735036038951..c2ac4ee51710 100644
--- a/arch/arm/mach-shmobile/board-armadillo800eva.c
+++ b/arch/arm/mach-shmobile/board-armadillo800eva.c
@@ -1234,6 +1234,7 @@ static void __init eva_init(void)
 	static struct pm_domain_device domain_devices[] __initdata = {
 		{ "A4LC", &lcdc0_device },
 		{ "A4LC", &hdmi_lcdc_device },
+		{ "A4MP", &fsi_device },
 		{ "A4S",  &sh_eth_device },
 		{ "A3SP", &pwm_device },
 		{ "A3SP", &sdhi0_device },
diff --git a/arch/arm/mach-shmobile/pm-r8a7740.c b/arch/arm/mach-shmobile/pm-r8a7740.c
index 84b94d1d96db..86b2df8b5391 100644
--- a/arch/arm/mach-shmobile/pm-r8a7740.c
+++ b/arch/arm/mach-shmobile/pm-r8a7740.c
@@ -37,6 +37,9 @@ static struct rmobile_pm_domain r8a7740_pm_domains[] = {
 		.genpd.name	= "A4LC",
 		.bit_shift	= 1,
 	}, {
+//		.genpd.name	= "A4MP",
+//		.bit_shift	= 2,
+//	}, {
 		.genpd.name	= "A3RV",
 		.bit_shift	= 6,
 	}, {
-- 
1.7.9.5


WARNING: multiple messages have this Message-ID (diff)
From: Geert Uytterhoeven <geert+renesas@glider.be>
To: Simon Horman <horms@verge.net.au>, Magnus Damm <magnus.damm@gmail.com>
Cc: "Rafael J. Wysocki" <rjw@rjwysocki.net>,
	linux-sh@vger.kernel.org, linux-pm@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org,
	Geert Uytterhoeven <geert+renesas@glider.be>
Subject: [PATCH 07/11] [WIP] ARM: shmobile: r8a7740/armadillo legacy: Add A4MP pm domain support
Date: Fri, 29 Aug 2014 15:50:13 +0200	[thread overview]
Message-ID: <1409320217-13278-8-git-send-email-geert+renesas@glider.be> (raw)
In-Reply-To: <1409320217-13278-1-git-send-email-geert+renesas@glider.be>

Add support for the A4MP power domain, and hook up the FSI hardware block.
This domain also contains the SPU2, FMSI, and BBIF2 hardware blocks,
but these are currently not used by any driver.

FIXME: A4PM is not added, as it causes "irq 163: nobody cared" (irq 163
       is registered by sh-mobile-hdmi), either on boot, or, when trying
       to fix it using pm_domain_always_on_gov, on resume.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
 arch/arm/mach-shmobile/board-armadillo800eva.c |    1 +
 arch/arm/mach-shmobile/pm-r8a7740.c            |    3 +++
 2 files changed, 4 insertions(+)

diff --git a/arch/arm/mach-shmobile/board-armadillo800eva.c b/arch/arm/mach-shmobile/board-armadillo800eva.c
index 735036038951..c2ac4ee51710 100644
--- a/arch/arm/mach-shmobile/board-armadillo800eva.c
+++ b/arch/arm/mach-shmobile/board-armadillo800eva.c
@@ -1234,6 +1234,7 @@ static void __init eva_init(void)
 	static struct pm_domain_device domain_devices[] __initdata = {
 		{ "A4LC", &lcdc0_device },
 		{ "A4LC", &hdmi_lcdc_device },
+		{ "A4MP", &fsi_device },
 		{ "A4S",  &sh_eth_device },
 		{ "A3SP", &pwm_device },
 		{ "A3SP", &sdhi0_device },
diff --git a/arch/arm/mach-shmobile/pm-r8a7740.c b/arch/arm/mach-shmobile/pm-r8a7740.c
index 84b94d1d96db..86b2df8b5391 100644
--- a/arch/arm/mach-shmobile/pm-r8a7740.c
+++ b/arch/arm/mach-shmobile/pm-r8a7740.c
@@ -37,6 +37,9 @@ static struct rmobile_pm_domain r8a7740_pm_domains[] = {
 		.genpd.name	= "A4LC",
 		.bit_shift	= 1,
 	}, {
+//		.genpd.name	= "A4MP",
+//		.bit_shift	= 2,
+//	}, {
 		.genpd.name	= "A3RV",
 		.bit_shift	= 6,
 	}, {
-- 
1.7.9.5


WARNING: multiple messages have this Message-ID (diff)
From: geert+renesas@glider.be (Geert Uytterhoeven)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 07/11] [WIP] ARM: shmobile: r8a7740/armadillo legacy: Add A4MP pm domain support
Date: Fri, 29 Aug 2014 15:50:13 +0200	[thread overview]
Message-ID: <1409320217-13278-8-git-send-email-geert+renesas@glider.be> (raw)
In-Reply-To: <1409320217-13278-1-git-send-email-geert+renesas@glider.be>

Add support for the A4MP power domain, and hook up the FSI hardware block.
This domain also contains the SPU2, FMSI, and BBIF2 hardware blocks,
but these are currently not used by any driver.

FIXME: A4PM is not added, as it causes "irq 163: nobody cared" (irq 163
       is registered by sh-mobile-hdmi), either on boot, or, when trying
       to fix it using pm_domain_always_on_gov, on resume.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
 arch/arm/mach-shmobile/board-armadillo800eva.c |    1 +
 arch/arm/mach-shmobile/pm-r8a7740.c            |    3 +++
 2 files changed, 4 insertions(+)

diff --git a/arch/arm/mach-shmobile/board-armadillo800eva.c b/arch/arm/mach-shmobile/board-armadillo800eva.c
index 735036038951..c2ac4ee51710 100644
--- a/arch/arm/mach-shmobile/board-armadillo800eva.c
+++ b/arch/arm/mach-shmobile/board-armadillo800eva.c
@@ -1234,6 +1234,7 @@ static void __init eva_init(void)
 	static struct pm_domain_device domain_devices[] __initdata = {
 		{ "A4LC", &lcdc0_device },
 		{ "A4LC", &hdmi_lcdc_device },
+		{ "A4MP", &fsi_device },
 		{ "A4S",  &sh_eth_device },
 		{ "A3SP", &pwm_device },
 		{ "A3SP", &sdhi0_device },
diff --git a/arch/arm/mach-shmobile/pm-r8a7740.c b/arch/arm/mach-shmobile/pm-r8a7740.c
index 84b94d1d96db..86b2df8b5391 100644
--- a/arch/arm/mach-shmobile/pm-r8a7740.c
+++ b/arch/arm/mach-shmobile/pm-r8a7740.c
@@ -37,6 +37,9 @@ static struct rmobile_pm_domain r8a7740_pm_domains[] = {
 		.genpd.name	= "A4LC",
 		.bit_shift	= 1,
 	}, {
+//		.genpd.name	= "A4MP",
+//		.bit_shift	= 2,
+//	}, {
 		.genpd.name	= "A3RV",
 		.bit_shift	= 6,
 	}, {
-- 
1.7.9.5

  parent reply	other threads:[~2014-08-29 13:50 UTC|newest]

Thread overview: 45+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-29 13:50 [PATCH 00/11] ARM: shmobile: r8a7740/armadillo legacy prototype pm domain support Geert Uytterhoeven
2014-08-29 13:50 ` Geert Uytterhoeven
2014-08-29 13:50 ` Geert Uytterhoeven
2014-08-29 13:50 ` [PATCH 01/11] ARM: shmobile: r8a7740: Add missing A3SP pm domain devices Geert Uytterhoeven
2014-08-29 13:50   ` Geert Uytterhoeven
2014-08-29 13:50   ` Geert Uytterhoeven
2014-08-29 13:50 ` [PATCH 02/11] ARM: shmobile: r8a7740: Add missing A4S " Geert Uytterhoeven
2014-08-29 13:50   ` Geert Uytterhoeven
2014-08-29 13:50   ` Geert Uytterhoeven
2014-08-29 13:50 ` [PATCH 03/11] [WIP] ARM: shmobile: armadillo800eva legacy: Add missing A3SP " Geert Uytterhoeven
2014-08-29 13:50   ` Geert Uytterhoeven
2014-08-29 13:50   ` Geert Uytterhoeven
2014-08-29 13:50 ` [PATCH 04/11] ARM: shmobile: armadillo800eva legacy: Add missing A4S " Geert Uytterhoeven
2014-08-29 13:50   ` Geert Uytterhoeven
2014-08-29 13:50   ` Geert Uytterhoeven
2014-08-29 13:50 ` [PATCH 05/11] ARM: shmobile: r8a7740: Add A3RV pm domain support Geert Uytterhoeven
2014-08-29 13:50   ` Geert Uytterhoeven
2014-08-29 13:50   ` Geert Uytterhoeven
2014-08-29 13:50 ` [PATCH 06/11] ARM: shmobile: r8a7740: Add A3SG " Geert Uytterhoeven
2014-08-29 13:50   ` Geert Uytterhoeven
2014-08-29 13:50   ` Geert Uytterhoeven
2014-08-29 13:50 ` Geert Uytterhoeven [this message]
2014-08-29 13:50   ` [PATCH 07/11] [WIP] ARM: shmobile: r8a7740/armadillo legacy: Add A4MP " Geert Uytterhoeven
2014-08-29 13:50   ` Geert Uytterhoeven
2014-08-29 13:50 ` [PATCH 08/11] [WIP] ARM: shmobile: r8a7740: Add D4 " Geert Uytterhoeven
2014-08-29 13:50   ` Geert Uytterhoeven
2014-08-29 13:50   ` Geert Uytterhoeven
2014-08-29 13:50 ` [PATCH 09/11] ARM: shmobile: r8a7740/armadillo legacy: Add A4R " Geert Uytterhoeven
2014-08-29 13:50   ` Geert Uytterhoeven
2014-08-29 13:50   ` Geert Uytterhoeven
2014-08-29 13:50 ` [PATCH 10/11] [WIP] ARM: shmobile: r8a7740: Add A4SU " Geert Uytterhoeven
2014-08-29 13:50   ` Geert Uytterhoeven
2014-08-29 13:50   ` Geert Uytterhoeven
2014-08-29 13:50 ` [PATCH 11/11] [WIP] ARM: shmobile: r8a7740: Add A3SM " Geert Uytterhoeven
2014-08-29 13:50   ` Geert Uytterhoeven
2014-08-29 13:50   ` Geert Uytterhoeven
2014-09-09  2:26 ` [PATCH 00/11] ARM: shmobile: r8a7740/armadillo legacy prototype " Simon Horman
2014-09-09  2:26   ` Simon Horman
2014-09-09  2:26   ` Simon Horman
2014-09-09  9:48   ` Geert Uytterhoeven
2014-09-09  9:48     ` Geert Uytterhoeven
2014-09-09  9:48     ` Geert Uytterhoeven
2014-09-11  0:22     ` Simon Horman
2014-09-11  0:22       ` Simon Horman
2014-09-11  0:22       ` Simon Horman

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=1409320217-13278-8-git-send-email-geert+renesas@glider.be \
    --to=geert+renesas@glider.be \
    --cc=linux-arm-kernel@lists.infradead.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.