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.
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1
 
 iQIcBAABAgAGBQJWc2ANAAoJENfPZGlqN0++e00QAKF5jow6bvOKqM9jckbXHZE8
 +aUJAikdXaSsqrSgUycuAw8VBVHA3XyIIKqmuj1wmyZmdAV4BxDob8pfQqZiTtwy
 TcXJSiycw15eHgOIagCu8vQF+0GGwbAN3BrfX+Q8UddrE47xQDMkkfn23JwD+5oZ
 SbP6ux9MoI0WtUP2LJU6vNjqCpUkKQ189k1Z0QlVnk6xhoX14MnnkiHF9NM39VJU
 7/Lc5Acu4DbgTtdhXFlrpNjll9gTLB/EulrVl6oEY8R73qs8QtfxlQt70e2529UN
 9dPGDzioNz5I00w1hf1+QiJHQ4g+dttJgUOl3hBGkTuAr9ewvd2vmG5XtNZZ2XLb
 sg3fRhU7grTUQM1qpTnAezEqW1XXBx0Qop8w4fidDusJn6DJnA7YKGaWllgEtZKQ
 FQd76g5raLV/P4RMNI/7MK9+KmVN3Rh0O2nZ8zHppKYTvOPj37919LGSKFnH5979
 1Ep3UqY5J5sRT/vmlrfr/eTGRfdnXBd+q8XcJQHCi9o2n33ZMDRTBH56GA1zjHsO
 BUYeerWOl+ECd/w5MFDfrjy0lVO52cmdgmMbzG3+UqQbdISodxnQKUK9DbbNITOg
 HvJptZ1DVXZTm2E6We1nJW/ClyyvVhyojJj9aw4LMGMD3fGSJXX6QZb38+gbM64U
 MvN97VADxhMUWHD+tO/w
 =+GQm
 -----END PGP SIGNATURE-----

Merge tag 'renesas-gic-cleanup-for-v4.5' of git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas into next/cleanup

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.

* tag 'renesas-gic-cleanup-for-v4.5' of git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas:
  staging: board: armadillo800eva: Use "arm,pl390"
  staging: board: kzm9d: Use "arm,pl390"
  ARM: shmobile: r8a7778 dtsi: Use "arm,pl390" for GIC
  ARM: shmobile: emev2 dtsi: Use "arm,pl390" for GIC
  ARM: shmobile: r8a7740 dtsi: Use "arm,pl390" for GIC
  ARM: shmobile: r7s72100 dtsi: Use "arm,pl390" for GIC

Signed-off-by: Olof Johansson <olof@lixom.net>
This commit is contained in:
Olof Johansson 2015-12-22 12:54:04 -08:00
commit 0ef917f4fb
6 changed files with 6 additions and 6 deletions

View file

@ -44,7 +44,7 @@
};
gic: interrupt-controller@e0020000 {
compatible = "arm,cortex-a9-gic";
compatible = "arm,pl390";
interrupt-controller;
#interrupt-cells = <3>;
reg = <0xe0028000 0x1000>,

View file

@ -329,7 +329,7 @@
};
gic: interrupt-controller@e8201000 {
compatible = "arm,cortex-a9-gic";
compatible = "arm,pl390";
#interrupt-cells = <3>;
#address-cells = <0>;
interrupt-controller;

View file

@ -30,7 +30,7 @@
};
gic: interrupt-controller@c2800000 {
compatible = "arm,cortex-a9-gic";
compatible = "arm,pl390";
#interrupt-cells = <3>;
interrupt-controller;
reg = <0xc2800000 0x1000>,

View file

@ -61,7 +61,7 @@
};
gic: interrupt-controller@fe438000 {
compatible = "arm,cortex-a9-gic";
compatible = "arm,pl390";
#interrupt-cells = <3>;
interrupt-controller;
reg = <0xfe438000 0x1000>,

View file

@ -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));
}

View file

@ -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))) {