linux-sh.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/6] ARM: shmobile: r7s72100 dtsi: Use "arm,pl390" for GIC
  2015-12-18  2:30 [GIT PULL] Renesas ARM Based SoC GIC Cleanup for v4.5 Simon Horman
@ 2015-12-18  2:30 ` Simon Horman
  2015-12-18  2:30 ` [PATCH 2/6] ARM: shmobile: r8a7740 " Simon Horman
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: Simon Horman @ 2015-12-18  2:30 UTC (permalink / raw)
  To: linux-arm-kernel

From: Geert Uytterhoeven <geert+renesas@glider.be>

Replace the "arm,cortex-a9-gic" compatible value for the GIC by
"arm,pl390", as the documentation states it is a PL390.
This has been confirmed (thanks Chris, Wolfram!) by reading the
GICD_IIDR register, which reports 0x0000043b (PL390 = 0x00, ARM 0x43b).

This has no effect on runtime behavior, as currently the GIC driver
treats both compatible values the same.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
 arch/arm/boot/dts/r7s72100.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/r7s72100.dtsi b/arch/arm/boot/dts/r7s72100.dtsi
index 060c32cbd669..4657d7fb5bce 100644
--- a/arch/arm/boot/dts/r7s72100.dtsi
+++ b/arch/arm/boot/dts/r7s72100.dtsi
@@ -329,7 +329,7 @@
 	};
 
 	gic: interrupt-controller@e8201000 {
-		compatible = "arm,cortex-a9-gic";
+		compatible = "arm,pl390";
 		#interrupt-cells = <3>;
 		#address-cells = <0>;
 		interrupt-controller;
-- 
2.1.4


^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [PATCH 2/6] ARM: shmobile: r8a7740 dtsi: Use "arm,pl390" for GIC
  2015-12-18  2:30 [GIT PULL] Renesas ARM Based SoC GIC Cleanup for v4.5 Simon Horman
  2015-12-18  2:30 ` [PATCH 1/6] ARM: shmobile: r7s72100 dtsi: Use "arm,pl390" for GIC Simon Horman
@ 2015-12-18  2:30 ` Simon Horman
  2015-12-18  2:30 ` [PATCH 3/6] ARM: shmobile: emev2 " Simon Horman
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: Simon Horman @ 2015-12-18  2:30 UTC (permalink / raw)
  To: linux-arm-kernel

From: Geert Uytterhoeven <geert+renesas@glider.be>

Replace the "arm,cortex-a9-gic" compatible value for the GIC by
"arm,pl390", as the documentation states it is a PL390.
This has been confirmed by reading the GICD_IIDR register, which reports
0x0000043b (PL390 = 0x00, ARM = 0x43b).

This has no effect on runtime behavior, as currently the GIC driver
treats both compatible values the same.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
 arch/arm/boot/dts/r8a7740.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/r8a7740.dtsi b/arch/arm/boot/dts/r8a7740.dtsi
index e14cb1438216..20d20f67620b 100644
--- a/arch/arm/boot/dts/r8a7740.dtsi
+++ b/arch/arm/boot/dts/r8a7740.dtsi
@@ -30,7 +30,7 @@
 	};
 
 	gic: interrupt-controller@c2800000 {
-		compatible = "arm,cortex-a9-gic";
+		compatible = "arm,pl390";
 		#interrupt-cells = <3>;
 		interrupt-controller;
 		reg = <0xc2800000 0x1000>,
-- 
2.1.4


^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [GIT PULL] Renesas ARM Based SoC GIC Cleanup for v4.5
@ 2015-12-18  2:30 Simon Horman
  2015-12-18  2:30 ` [PATCH 1/6] ARM: shmobile: r7s72100 dtsi: Use "arm,pl390" for GIC Simon Horman
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: Simon Horman @ 2015-12-18  2:30 UTC (permalink / raw)
  To: linux-arm-kernel

Hi Olof, Hi Kevin, Hi Arnd,

Please consider these Renesas ARM based SoC GIC cleanup for v4.5.

This pull-request includes staging-board changes which have been
acked by Greg Kroah-Hartman. They are bundled into this pull-request
as not-doing so would break the drivers they update.

The following changes since commit 8005c49d9aea74d382f474ce11afbbc7d7130bec:

  Linux 4.4-rc1 (2015-11-15 17:00:27 -0800)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas.git tags/renesas-gic-cleanup-for-v4.5

for you to fetch changes up to 1474136ce6a457a10a797b3de04adbb035e90901:

  staging: board: armadillo800eva: Use "arm,pl390" (2015-12-18 10:21:10 +0900)

----------------------------------------------------------------
Renesas ARM Based SoC GIC Cleanup for v4.5

On several Renesas ARM SoCs, the GIC is described in DT as being a
Cortex A9 GIC, while it's actually a PL390. This is not only stated in
the documentation, but has been verified by reading the GICD_IIDR
register.

To correct this:
  1. Update the DT compatible value to match reality,
  2. Update the board staging drivers to match the above.

----------------------------------------------------------------
Geert Uytterhoeven (6):
      ARM: shmobile: r7s72100 dtsi: Use "arm,pl390" for GIC
      ARM: shmobile: r8a7740 dtsi: Use "arm,pl390" for GIC
      ARM: shmobile: emev2 dtsi: Use "arm,pl390" for GIC
      ARM: shmobile: r8a7778 dtsi: Use "arm,pl390" for GIC
      staging: board: kzm9d: Use "arm,pl390"
      staging: board: armadillo800eva: Use "arm,pl390"

 arch/arm/boot/dts/emev2.dtsi            | 2 +-
 arch/arm/boot/dts/r7s72100.dtsi         | 2 +-
 arch/arm/boot/dts/r8a7740.dtsi          | 2 +-
 arch/arm/boot/dts/r8a7778.dtsi          | 2 +-
 drivers/staging/board/armadillo800eva.c | 2 +-
 drivers/staging/board/kzm9d.c           | 2 +-
 6 files changed, 6 insertions(+), 6 deletions(-)

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [PATCH 3/6] ARM: shmobile: emev2 dtsi: Use "arm,pl390" for GIC
  2015-12-18  2:30 [GIT PULL] Renesas ARM Based SoC GIC Cleanup for v4.5 Simon Horman
  2015-12-18  2:30 ` [PATCH 1/6] ARM: shmobile: r7s72100 dtsi: Use "arm,pl390" for GIC Simon Horman
  2015-12-18  2:30 ` [PATCH 2/6] ARM: shmobile: r8a7740 " Simon Horman
@ 2015-12-18  2:30 ` Simon Horman
  2015-12-18  2:30 ` [PATCH 4/6] ARM: shmobile: r8a7778 " Simon Horman
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: Simon Horman @ 2015-12-18  2:30 UTC (permalink / raw)
  To: linux-arm-kernel

From: Geert Uytterhoeven <geert+renesas@glider.be>

Replace the "arm,cortex-a9-gic" compatible value for the GIC by
"arm,pl390", as the documentation states it is a PL390.
This has been confirmed (thanks Simon!) by reading the GICD_IIDR
register, which reports 0x0000043b (PL390 = 0x00, ARM = 0x43b).

This has no effect on runtime behavior, as currently the GIC driver
treats both compatible values the same.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
 arch/arm/boot/dts/emev2.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/emev2.dtsi b/arch/arm/boot/dts/emev2.dtsi
index edad0c4eea35..57795da616cb 100644
--- a/arch/arm/boot/dts/emev2.dtsi
+++ b/arch/arm/boot/dts/emev2.dtsi
@@ -44,7 +44,7 @@
 	};
 
 	gic: interrupt-controller@e0020000 {
-		compatible = "arm,cortex-a9-gic";
+		compatible = "arm,pl390";
 		interrupt-controller;
 		#interrupt-cells = <3>;
 		reg = <0xe0028000 0x1000>,
-- 
2.1.4


^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [PATCH 4/6] ARM: shmobile: r8a7778 dtsi: Use "arm,pl390" for GIC
  2015-12-18  2:30 [GIT PULL] Renesas ARM Based SoC GIC Cleanup for v4.5 Simon Horman
                   ` (2 preceding siblings ...)
  2015-12-18  2:30 ` [PATCH 3/6] ARM: shmobile: emev2 " Simon Horman
@ 2015-12-18  2:30 ` Simon Horman
  2015-12-18  2:30 ` [PATCH 5/6] staging: board: kzm9d: Use "arm,pl390" Simon Horman
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: Simon Horman @ 2015-12-18  2:30 UTC (permalink / raw)
  To: linux-arm-kernel

From: Geert Uytterhoeven <geert+renesas@glider.be>

Replace the "arm,cortex-a9-gic" compatible value for the GIC by
"arm,pl390", as the documentation states it is a PL390.
This has been confirmed by reading the GICD_IIDR register, which reports
0x0000043b (PL390 = 0x00, ARM = 0x43b).

This has no effect on runtime behavior, as currently the GIC driver
treats both compatible values the same.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
 arch/arm/boot/dts/r8a7778.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/r8a7778.dtsi b/arch/arm/boot/dts/r8a7778.dtsi
index 4f8e07811746..757c6ff319df 100644
--- a/arch/arm/boot/dts/r8a7778.dtsi
+++ b/arch/arm/boot/dts/r8a7778.dtsi
@@ -61,7 +61,7 @@
 	};
 
 	gic: interrupt-controller@fe438000 {
-		compatible = "arm,cortex-a9-gic";
+		compatible = "arm,pl390";
 		#interrupt-cells = <3>;
 		interrupt-controller;
 		reg = <0xfe438000 0x1000>,
-- 
2.1.4


^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [PATCH 5/6] staging: board: kzm9d: Use "arm,pl390"
  2015-12-18  2:30 [GIT PULL] Renesas ARM Based SoC GIC Cleanup for v4.5 Simon Horman
                   ` (3 preceding siblings ...)
  2015-12-18  2:30 ` [PATCH 4/6] ARM: shmobile: r8a7778 " Simon Horman
@ 2015-12-18  2:30 ` Simon Horman
  2015-12-18  2:30 ` [PATCH 6/6] staging: board: armadillo800eva: " Simon Horman
  2015-12-22 20:55 ` [GIT PULL] Renesas ARM Based SoC GIC Cleanup for v4.5 Olof Johansson
  6 siblings, 0 replies; 8+ messages in thread
From: Simon Horman @ 2015-12-18  2:30 UTC (permalink / raw)
  To: linux-arm-kernel

From: Geert Uytterhoeven <geert+renesas@glider.be>

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
 drivers/staging/board/kzm9d.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/board/kzm9d.c b/drivers/staging/board/kzm9d.c
index 8d1eb09bc66e..05a6d434d307 100644
--- a/drivers/staging/board/kzm9d.c
+++ b/drivers/staging/board/kzm9d.c
@@ -11,7 +11,7 @@ static struct resource usbs1_res[] __initdata = {
 
 static void __init kzm9d_init(void)
 {
-	board_staging_gic_setup_xlate("arm,cortex-a9-gic", 32);
+	board_staging_gic_setup_xlate("arm,pl390", 32);
 
 	if (!board_staging_dt_node_available(usbs1_res,
 					     ARRAY_SIZE(usbs1_res))) {
-- 
2.1.4


^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [PATCH 6/6] staging: board: armadillo800eva: Use "arm,pl390"
  2015-12-18  2:30 [GIT PULL] Renesas ARM Based SoC GIC Cleanup for v4.5 Simon Horman
                   ` (4 preceding siblings ...)
  2015-12-18  2:30 ` [PATCH 5/6] staging: board: kzm9d: Use "arm,pl390" Simon Horman
@ 2015-12-18  2:30 ` Simon Horman
  2015-12-22 20:55 ` [GIT PULL] Renesas ARM Based SoC GIC Cleanup for v4.5 Olof Johansson
  6 siblings, 0 replies; 8+ messages in thread
From: Simon Horman @ 2015-12-18  2:30 UTC (permalink / raw)
  To: linux-arm-kernel

From: Geert Uytterhoeven <geert+renesas@glider.be>

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
 drivers/staging/board/armadillo800eva.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/board/armadillo800eva.c b/drivers/staging/board/armadillo800eva.c
index 9c41652ee908..912c96b0536d 100644
--- a/drivers/staging/board/armadillo800eva.c
+++ b/drivers/staging/board/armadillo800eva.c
@@ -97,7 +97,7 @@ static const struct board_staging_dev armadillo800eva_devices[] __initconst = {
 
 static void __init armadillo800eva_init(void)
 {
-	board_staging_gic_setup_xlate("arm,cortex-a9-gic", 32);
+	board_staging_gic_setup_xlate("arm,pl390", 32);
 	board_staging_register_devices(armadillo800eva_devices,
 				       ARRAY_SIZE(armadillo800eva_devices));
 }
-- 
2.1.4


^ permalink raw reply related	[flat|nested] 8+ messages in thread

* Re: [GIT PULL] Renesas ARM Based SoC GIC Cleanup for v4.5
  2015-12-18  2:30 [GIT PULL] Renesas ARM Based SoC GIC Cleanup for v4.5 Simon Horman
                   ` (5 preceding siblings ...)
  2015-12-18  2:30 ` [PATCH 6/6] staging: board: armadillo800eva: " Simon Horman
@ 2015-12-22 20:55 ` Olof Johansson
  6 siblings, 0 replies; 8+ messages in thread
From: Olof Johansson @ 2015-12-22 20:55 UTC (permalink / raw)
  To: linux-arm-kernel

On Fri, Dec 18, 2015 at 11:30:41AM +0900, Simon Horman wrote:
> Hi Olof, Hi Kevin, Hi Arnd,
> 
> Please consider these Renesas ARM based SoC GIC cleanup for v4.5.
> 
> This pull-request includes staging-board changes which have been
> acked by Greg Kroah-Hartman. They are bundled into this pull-request
> as not-doing so would break the drivers they update.
> 
> The following changes since commit 8005c49d9aea74d382f474ce11afbbc7d7130bec:
> 
>   Linux 4.4-rc1 (2015-11-15 17:00:27 -0800)
> 
> are available in the git repository at:
> 
>   git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas.git tags/renesas-gic-cleanup-for-v4.5
> 
> for you to fetch changes up to 1474136ce6a457a10a797b3de04adbb035e90901:
> 
>   staging: board: armadillo800eva: Use "arm,pl390" (2015-12-18 10:21:10 +0900)

Merged, thanks.


-Olof


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2015-12-22 20:55 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-12-18  2:30 [GIT PULL] Renesas ARM Based SoC GIC Cleanup for v4.5 Simon Horman
2015-12-18  2:30 ` [PATCH 1/6] ARM: shmobile: r7s72100 dtsi: Use "arm,pl390" for GIC Simon Horman
2015-12-18  2:30 ` [PATCH 2/6] ARM: shmobile: r8a7740 " Simon Horman
2015-12-18  2:30 ` [PATCH 3/6] ARM: shmobile: emev2 " Simon Horman
2015-12-18  2:30 ` [PATCH 4/6] ARM: shmobile: r8a7778 " Simon Horman
2015-12-18  2:30 ` [PATCH 5/6] staging: board: kzm9d: Use "arm,pl390" Simon Horman
2015-12-18  2:30 ` [PATCH 6/6] staging: board: armadillo800eva: " Simon Horman
2015-12-22 20:55 ` [GIT PULL] Renesas ARM Based SoC GIC Cleanup for v4.5 Olof Johansson

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).