aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2017-07-27 06:54:35 -0400
committerArnd Bergmann <arnd@arndb.de>2017-07-27 06:54:35 -0400
commit75f4e381315dbba0fa143398fa8cb0e40e4ec224 (patch)
treeb3d71e9b2e3cf270b92a3b5e3a5e18955c1aa150
parenta3c0d2fb082cdd6d70455fe6fb5ed584f05950ea (diff)
parent8d4514173211586c6238629b1ef1e071927735f5 (diff)
Merge tag 'mvebu-fixes-4.13-1' of git://git.infradead.org/linux-mvebu into fixes
Pull "mvebu fixes for 4.13 (part 1)" from Gregory CLEMENT: - Fix wrong irq type for gpio expeander on Armada 388 GP - Use __pa_symbol instead of virt_to_phys in the mv98dx3236 platform SMP code * tag 'mvebu-fixes-4.13-1' of git://git.infradead.org/linux-mvebu: ARM: dts: armada-38x: Fix irq type for pca955 ARM: mvebu: use __pa_symbol in the mv98dx3236 platform SMP code
-rw-r--r--arch/arm/boot/dts/armada-388-gp.dts4
-rw-r--r--arch/arm/mach-mvebu/platsmp.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/boot/dts/armada-388-gp.dts b/arch/arm/boot/dts/armada-388-gp.dts
index 895fa6cfa15a..563901e0ec07 100644
--- a/arch/arm/boot/dts/armada-388-gp.dts
+++ b/arch/arm/boot/dts/armada-388-gp.dts
@@ -75,7 +75,7 @@
75 pinctrl-names = "default"; 75 pinctrl-names = "default";
76 pinctrl-0 = <&pca0_pins>; 76 pinctrl-0 = <&pca0_pins>;
77 interrupt-parent = <&gpio0>; 77 interrupt-parent = <&gpio0>;
78 interrupts = <18 IRQ_TYPE_EDGE_FALLING>; 78 interrupts = <18 IRQ_TYPE_LEVEL_LOW>;
79 gpio-controller; 79 gpio-controller;
80 #gpio-cells = <2>; 80 #gpio-cells = <2>;
81 interrupt-controller; 81 interrupt-controller;
@@ -87,7 +87,7 @@
87 compatible = "nxp,pca9555"; 87 compatible = "nxp,pca9555";
88 pinctrl-names = "default"; 88 pinctrl-names = "default";
89 interrupt-parent = <&gpio0>; 89 interrupt-parent = <&gpio0>;
90 interrupts = <18 IRQ_TYPE_EDGE_FALLING>; 90 interrupts = <18 IRQ_TYPE_LEVEL_LOW>;
91 gpio-controller; 91 gpio-controller;
92 #gpio-cells = <2>; 92 #gpio-cells = <2>;
93 interrupt-controller; 93 interrupt-controller;
diff --git a/arch/arm/mach-mvebu/platsmp.c b/arch/arm/mach-mvebu/platsmp.c
index e62273aacb43..4ffbbd217e82 100644
--- a/arch/arm/mach-mvebu/platsmp.c
+++ b/arch/arm/mach-mvebu/platsmp.c
@@ -211,7 +211,7 @@ static int mv98dx3236_resume_set_cpu_boot_addr(int hw_cpu, void *boot_addr)
211 return PTR_ERR(base); 211 return PTR_ERR(base);
212 212
213 writel(0, base + MV98DX3236_CPU_RESUME_CTRL_REG); 213 writel(0, base + MV98DX3236_CPU_RESUME_CTRL_REG);
214 writel(virt_to_phys(boot_addr), base + MV98DX3236_CPU_RESUME_ADDR_REG); 214 writel(__pa_symbol(boot_addr), base + MV98DX3236_CPU_RESUME_ADDR_REG);
215 215
216 iounmap(base); 216 iounmap(base);
217 217