diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2014-06-02 19:13:34 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-06-02 19:13:34 -0400 |
commit | ff933a0817f95efbeb97bec5ca609a13f8aed686 (patch) | |
tree | 288105c83273473f1e1de6c9fdb3b0180864ec40 | |
parent | 80081ec309c83352f6f4a1040a4496061eec7535 (diff) | |
parent | da98f44f27d81d7fe9a41f69af4fe08c18d13b56 (diff) |
Merge tag 'fixes-for-3.16' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc into next
Pull ARM SoC low-priority fixes from Olof Johansson:
"A small selection of fixes coming in late during the release cycle and
not being critical enough for 3.15 inclusion"
* tag 'fixes-for-3.16' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc:
ARM: shmobile: armadillo800eva: fixup HDMI sound flags setting
ARM: msm: Silence readb/writeb warnings due to missing IOMEM()
ARM: dts: am43xx: fix starting offset of NAND.filesystem MTD partition
ARM: dts: am335x-boneblack: remove use of ti,vcc-aux-disable-is-sleep
ARM: OMAP2+: free use_gptimer_clksrc variable after boot
ARM: OMAP5: Redo THUMB mode switch on secondary CPU
ARM: dts: AM4372: add l3-noc information
ARM: dts: DRA7: Use dra7-l3-noc instead of omap4-l3-noc
reset: Add of_reset_control_get to reset.h
-rw-r--r-- | arch/arm/boot/dts/am335x-boneblack.dts | 1 | ||||
-rw-r--r-- | arch/arm/boot/dts/am4372.dtsi | 6 | ||||
-rw-r--r-- | arch/arm/boot/dts/am43x-epos-evm.dts | 2 | ||||
-rw-r--r-- | arch/arm/boot/dts/dra7.dtsi | 6 | ||||
-rw-r--r-- | arch/arm/mach-msm/board-trout-gpio.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-msm/board-trout.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-msm/board-trout.h | 2 | ||||
-rw-r--r-- | arch/arm/mach-omap2/omap-headsmp.S | 6 | ||||
-rw-r--r-- | arch/arm/mach-omap2/timer.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-shmobile/board-armadillo800eva.c | 2 | ||||
-rw-r--r-- | include/linux/reset.h | 10 |
11 files changed, 25 insertions, 16 deletions
diff --git a/arch/arm/boot/dts/am335x-boneblack.dts b/arch/arm/boot/dts/am335x-boneblack.dts index 6b71ad95a5cf..305975d3f531 100644 --- a/arch/arm/boot/dts/am335x-boneblack.dts +++ b/arch/arm/boot/dts/am335x-boneblack.dts | |||
@@ -26,7 +26,6 @@ | |||
26 | pinctrl-0 = <&emmc_pins>; | 26 | pinctrl-0 = <&emmc_pins>; |
27 | bus-width = <8>; | 27 | bus-width = <8>; |
28 | status = "okay"; | 28 | status = "okay"; |
29 | ti,vcc-aux-disable-is-sleep; | ||
30 | }; | 29 | }; |
31 | 30 | ||
32 | &am33xx_pinmux { | 31 | &am33xx_pinmux { |
diff --git a/arch/arm/boot/dts/am4372.dtsi b/arch/arm/boot/dts/am4372.dtsi index d1f8707ff1df..d547009148da 100644 --- a/arch/arm/boot/dts/am4372.dtsi +++ b/arch/arm/boot/dts/am4372.dtsi | |||
@@ -67,11 +67,15 @@ | |||
67 | }; | 67 | }; |
68 | 68 | ||
69 | ocp { | 69 | ocp { |
70 | compatible = "simple-bus"; | 70 | compatible = "ti,am4372-l3-noc", "simple-bus"; |
71 | #address-cells = <1>; | 71 | #address-cells = <1>; |
72 | #size-cells = <1>; | 72 | #size-cells = <1>; |
73 | ranges; | 73 | ranges; |
74 | ti,hwmods = "l3_main"; | 74 | ti,hwmods = "l3_main"; |
75 | reg = <0x44000000 0x400000 | ||
76 | 0x44800000 0x400000>; | ||
77 | interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>, | ||
78 | <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>; | ||
75 | 79 | ||
76 | prcm: prcm@44df0000 { | 80 | prcm: prcm@44df0000 { |
77 | compatible = "ti,am4-prcm"; | 81 | compatible = "ti,am4-prcm"; |
diff --git a/arch/arm/boot/dts/am43x-epos-evm.dts b/arch/arm/boot/dts/am43x-epos-evm.dts index 167dbc8494de..2836328b90c8 100644 --- a/arch/arm/boot/dts/am43x-epos-evm.dts +++ b/arch/arm/boot/dts/am43x-epos-evm.dts | |||
@@ -341,7 +341,7 @@ | |||
341 | }; | 341 | }; |
342 | partition@9 { | 342 | partition@9 { |
343 | label = "NAND.file-system"; | 343 | label = "NAND.file-system"; |
344 | reg = <0x00800000 0x1F600000>; | 344 | reg = <0x00a00000 0x1f600000>; |
345 | }; | 345 | }; |
346 | }; | 346 | }; |
347 | }; | 347 | }; |
diff --git a/arch/arm/boot/dts/dra7.dtsi b/arch/arm/boot/dts/dra7.dtsi index 149b55099935..ab01f2d0e590 100644 --- a/arch/arm/boot/dts/dra7.dtsi +++ b/arch/arm/boot/dts/dra7.dtsi | |||
@@ -99,13 +99,13 @@ | |||
99 | * hierarchy. | 99 | * hierarchy. |
100 | */ | 100 | */ |
101 | ocp { | 101 | ocp { |
102 | compatible = "ti,omap4-l3-noc", "simple-bus"; | 102 | compatible = "ti,dra7-l3-noc", "simple-bus"; |
103 | #address-cells = <1>; | 103 | #address-cells = <1>; |
104 | #size-cells = <1>; | 104 | #size-cells = <1>; |
105 | ranges; | 105 | ranges; |
106 | ti,hwmods = "l3_main_1", "l3_main_2"; | 106 | ti,hwmods = "l3_main_1", "l3_main_2"; |
107 | reg = <0x44000000 0x2000>, | 107 | reg = <0x44000000 0x1000000>, |
108 | <0x44800000 0x3000>; | 108 | <0x45000000 0x1000>; |
109 | interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>, | 109 | interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>, |
110 | <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>; | 110 | <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>; |
111 | 111 | ||
diff --git a/arch/arm/mach-msm/board-trout-gpio.c b/arch/arm/mach-msm/board-trout-gpio.c index 87e1d01edecc..2c25050209ce 100644 --- a/arch/arm/mach-msm/board-trout-gpio.c +++ b/arch/arm/mach-msm/board-trout-gpio.c | |||
@@ -89,7 +89,7 @@ static int trout_gpio_to_irq(struct gpio_chip *chip, unsigned offset) | |||
89 | .base = base_gpio, \ | 89 | .base = base_gpio, \ |
90 | .ngpio = 8, \ | 90 | .ngpio = 8, \ |
91 | }, \ | 91 | }, \ |
92 | .reg = (void *) reg_num + TROUT_CPLD_BASE, \ | 92 | .reg = reg_num + TROUT_CPLD_BASE, \ |
93 | .shadow = shadow_val, \ | 93 | .shadow = shadow_val, \ |
94 | } | 94 | } |
95 | 95 | ||
diff --git a/arch/arm/mach-msm/board-trout.c b/arch/arm/mach-msm/board-trout.c index 015d544aa017..5edfbd904d06 100644 --- a/arch/arm/mach-msm/board-trout.c +++ b/arch/arm/mach-msm/board-trout.c | |||
@@ -78,7 +78,7 @@ static void __init trout_init(void) | |||
78 | 78 | ||
79 | static struct map_desc trout_io_desc[] __initdata = { | 79 | static struct map_desc trout_io_desc[] __initdata = { |
80 | { | 80 | { |
81 | .virtual = TROUT_CPLD_BASE, | 81 | .virtual = (unsigned long)TROUT_CPLD_BASE, |
82 | .pfn = __phys_to_pfn(TROUT_CPLD_START), | 82 | .pfn = __phys_to_pfn(TROUT_CPLD_START), |
83 | .length = TROUT_CPLD_SIZE, | 83 | .length = TROUT_CPLD_SIZE, |
84 | .type = MT_DEVICE_NONSHARED | 84 | .type = MT_DEVICE_NONSHARED |
diff --git a/arch/arm/mach-msm/board-trout.h b/arch/arm/mach-msm/board-trout.h index b2379ede43bc..adb757abbb92 100644 --- a/arch/arm/mach-msm/board-trout.h +++ b/arch/arm/mach-msm/board-trout.h | |||
@@ -58,7 +58,7 @@ | |||
58 | #define TROUT_4_TP_LS_EN 19 | 58 | #define TROUT_4_TP_LS_EN 19 |
59 | #define TROUT_5_TP_LS_EN 1 | 59 | #define TROUT_5_TP_LS_EN 1 |
60 | 60 | ||
61 | #define TROUT_CPLD_BASE 0xE8100000 | 61 | #define TROUT_CPLD_BASE IOMEM(0xE8100000) |
62 | #define TROUT_CPLD_START 0x98000000 | 62 | #define TROUT_CPLD_START 0x98000000 |
63 | #define TROUT_CPLD_SIZE SZ_4K | 63 | #define TROUT_CPLD_SIZE SZ_4K |
64 | 64 | ||
diff --git a/arch/arm/mach-omap2/omap-headsmp.S b/arch/arm/mach-omap2/omap-headsmp.S index 40c5d5f1451c..4993d4bfe9b2 100644 --- a/arch/arm/mach-omap2/omap-headsmp.S +++ b/arch/arm/mach-omap2/omap-headsmp.S | |||
@@ -31,10 +31,6 @@ | |||
31 | * register AuxCoreBoot0. | 31 | * register AuxCoreBoot0. |
32 | */ | 32 | */ |
33 | ENTRY(omap5_secondary_startup) | 33 | ENTRY(omap5_secondary_startup) |
34 | .arm | ||
35 | THUMB( adr r9, BSYM(wait) ) @ CPU may be entered in ARM mode. | ||
36 | THUMB( bx r9 ) @ If this is a Thumb-2 kernel, | ||
37 | THUMB( .thumb ) @ switch to Thumb now. | ||
38 | wait: ldr r2, =AUX_CORE_BOOT0_PA @ read from AuxCoreBoot0 | 34 | wait: ldr r2, =AUX_CORE_BOOT0_PA @ read from AuxCoreBoot0 |
39 | ldr r0, [r2] | 35 | ldr r0, [r2] |
40 | mov r0, r0, lsr #5 | 36 | mov r0, r0, lsr #5 |
@@ -43,7 +39,7 @@ wait: ldr r2, =AUX_CORE_BOOT0_PA @ read from AuxCoreBoot0 | |||
43 | cmp r0, r4 | 39 | cmp r0, r4 |
44 | bne wait | 40 | bne wait |
45 | b secondary_startup | 41 | b secondary_startup |
46 | END(omap5_secondary_startup) | 42 | ENDPROC(omap5_secondary_startup) |
47 | /* | 43 | /* |
48 | * OMAP4 specific entry point for secondary CPU to jump from ROM | 44 | * OMAP4 specific entry point for secondary CPU to jump from ROM |
49 | * code. This routine also provides a holding flag into which | 45 | * code. This routine also provides a holding flag into which |
diff --git a/arch/arm/mach-omap2/timer.c b/arch/arm/mach-omap2/timer.c index b62de9f9d05c..842b81f31957 100644 --- a/arch/arm/mach-omap2/timer.c +++ b/arch/arm/mach-omap2/timer.c | |||
@@ -361,7 +361,7 @@ static void __init omap2_gp_clockevent_init(int gptimer_id, | |||
361 | 361 | ||
362 | /* Clocksource code */ | 362 | /* Clocksource code */ |
363 | static struct omap_dm_timer clksrc; | 363 | static struct omap_dm_timer clksrc; |
364 | static bool use_gptimer_clksrc; | 364 | static bool use_gptimer_clksrc __initdata; |
365 | 365 | ||
366 | /* | 366 | /* |
367 | * clocksource | 367 | * clocksource |
diff --git a/arch/arm/mach-shmobile/board-armadillo800eva.c b/arch/arm/mach-shmobile/board-armadillo800eva.c index 486063db2a2f..da4163ff31a2 100644 --- a/arch/arm/mach-shmobile/board-armadillo800eva.c +++ b/arch/arm/mach-shmobile/board-armadillo800eva.c | |||
@@ -1017,7 +1017,7 @@ static struct asoc_simple_card_info fsi2_hdmi_info = { | |||
1017 | .platform = "sh_fsi2", | 1017 | .platform = "sh_fsi2", |
1018 | .cpu_dai = { | 1018 | .cpu_dai = { |
1019 | .name = "fsib-dai", | 1019 | .name = "fsib-dai", |
1020 | .fmt = SND_SOC_DAIFMT_CBM_CFM, | 1020 | .fmt = SND_SOC_DAIFMT_CBS_CFS, |
1021 | }, | 1021 | }, |
1022 | .codec_dai = { | 1022 | .codec_dai = { |
1023 | .name = "sh_mobile_hdmi-hifi", | 1023 | .name = "sh_mobile_hdmi-hifi", |
diff --git a/include/linux/reset.h b/include/linux/reset.h index c0eda5023d74..349f150ae12c 100644 --- a/include/linux/reset.h +++ b/include/linux/reset.h | |||
@@ -2,6 +2,7 @@ | |||
2 | #define _LINUX_RESET_H_ | 2 | #define _LINUX_RESET_H_ |
3 | 3 | ||
4 | struct device; | 4 | struct device; |
5 | struct device_node; | ||
5 | struct reset_control; | 6 | struct reset_control; |
6 | 7 | ||
7 | #ifdef CONFIG_RESET_CONTROLLER | 8 | #ifdef CONFIG_RESET_CONTROLLER |
@@ -33,6 +34,9 @@ static inline struct reset_control *devm_reset_control_get_optional( | |||
33 | return devm_reset_control_get(dev, id); | 34 | return devm_reset_control_get(dev, id); |
34 | } | 35 | } |
35 | 36 | ||
37 | struct reset_control *of_reset_control_get(struct device_node *node, | ||
38 | const char *id); | ||
39 | |||
36 | #else | 40 | #else |
37 | 41 | ||
38 | static inline int reset_control_reset(struct reset_control *rstc) | 42 | static inline int reset_control_reset(struct reset_control *rstc) |
@@ -75,6 +79,12 @@ static inline struct reset_control *devm_reset_control_get_optional( | |||
75 | return ERR_PTR(-ENOSYS); | 79 | return ERR_PTR(-ENOSYS); |
76 | } | 80 | } |
77 | 81 | ||
82 | static inline struct reset_control *of_reset_control_get( | ||
83 | struct device_node *node, const char *id) | ||
84 | { | ||
85 | return ERR_PTR(-ENOSYS); | ||
86 | } | ||
87 | |||
78 | #endif /* CONFIG_RESET_CONTROLLER */ | 88 | #endif /* CONFIG_RESET_CONTROLLER */ |
79 | 89 | ||
80 | #endif | 90 | #endif |