diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2015-10-23 05:38:00 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-10-23 05:38:00 -0400 |
commit | d0ddf980d6efdcee6c7a85eb0f27baa6b60eeff6 (patch) | |
tree | d79525c651a3784426fdde73b26b9f7f94cd92e6 | |
parent | 2c44f4f03574a3754306b5a8a80b9ed38a795104 (diff) | |
parent | 55f41297576ddb7868af2f13f3a8107178dee2d0 (diff) |
Merge tag 'fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc
Pull ARM SoC fixes from Arnd Bergmann:
"Most of the changes this time are for incorrect device nodes in
various ways, on on imx, berlin, exynos, ux500, uniphier, omap and
meson.
Chen-Yu Tsai now co-maintains mach-sunxi (Allwinner).
Other bug fixes include
- a partial revert of a broken tegra gpio patch
- irq affinity for arm ccn
- suspend on one Armada 385 machine
- enable ZONE_DMA to avoid an OMAP crash for over 2GB RAM
- turning on a regulator on beagleboard-x15 for HDMI
- making the omap gpmc debug code visible
- setup of orion network switch
- a rare build regression for pxa"
* tag 'fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (22 commits)
ARM: OMAP2+: Fix imprecise external abort caused by bogus SRAM init
thermal: exynos: Fix register read in TMU
ARM: OMAP2+: Fix oops with LPAE and more than 2GB of memory
ARM: tegra: Comment out gpio-ranges properties
ARM: dts: uniphier: fix IRQ number for devices on PH1-LD6b ref board
drivers/perf: arm_pmu: avoid CPU device_node reference leak
bus: arm-ccn: Fix irq affinity setting on CPU migration
bus: arm-ccn: Handle correctly no-more-cpus case
ARM: mvebu: correct a385-db-ap compatible string
ARM: meson6: DTS: Fix wrong reg mapping and IRQ numbers
MAINTAINERS: Update Allwinner entry and add new maintainer
ARM: ux500: modify initial levelshifter status
ARM: pxa: fix pxa3xx DFI lockup hack
Documentation: ARM: List new omap MMC requirements
memory: omap-gpmc: dump "before" state before first modification
memory: omap-gpmc: Fix unselectable debug option for GPMC
ARM: dts: am57xx-beagle-x15: set VDD_SD to always-on
ARM: dts: Fix audio card detection on Peach boards
ARM: EXYNOS: Fix double of_node_put() when parsing child power domains
ARM: orion: Fix DSA platform device after mvmdio conversion
...
28 files changed, 103 insertions, 44 deletions
diff --git a/Documentation/arm/OMAP/README b/Documentation/arm/OMAP/README new file mode 100644 index 000000000000..75645c45d14a --- /dev/null +++ b/Documentation/arm/OMAP/README | |||
@@ -0,0 +1,7 @@ | |||
1 | This file contains documentation for running mainline | ||
2 | kernel on omaps. | ||
3 | |||
4 | KERNEL NEW DEPENDENCIES | ||
5 | v4.3+ Update is needed for custom .config files to make sure | ||
6 | CONFIG_REGULATOR_PBIAS is enabled for MMC1 to work | ||
7 | properly. | ||
diff --git a/MAINTAINERS b/MAINTAINERS index fb7d2e4af200..ddc88c089c48 100644 --- a/MAINTAINERS +++ b/MAINTAINERS | |||
@@ -894,11 +894,12 @@ M: Lennert Buytenhek <kernel@wantstofly.org> | |||
894 | L: linux-arm-kernel@lists.infradead.org (moderated for non-subscribers) | 894 | L: linux-arm-kernel@lists.infradead.org (moderated for non-subscribers) |
895 | S: Maintained | 895 | S: Maintained |
896 | 896 | ||
897 | ARM/Allwinner A1X SoC support | 897 | ARM/Allwinner sunXi SoC support |
898 | M: Maxime Ripard <maxime.ripard@free-electrons.com> | 898 | M: Maxime Ripard <maxime.ripard@free-electrons.com> |
899 | M: Chen-Yu Tsai <wens@csie.org> | ||
899 | L: linux-arm-kernel@lists.infradead.org (moderated for non-subscribers) | 900 | L: linux-arm-kernel@lists.infradead.org (moderated for non-subscribers) |
900 | S: Maintained | 901 | S: Maintained |
901 | N: sun[x4567]i | 902 | N: sun[x456789]i |
902 | 903 | ||
903 | ARM/Allwinner SoC Clock Support | 904 | ARM/Allwinner SoC Clock Support |
904 | M: Emilio López <emilio@elopez.com.ar> | 905 | M: Emilio López <emilio@elopez.com.ar> |
diff --git a/arch/arm/boot/dts/am57xx-beagle-x15.dts b/arch/arm/boot/dts/am57xx-beagle-x15.dts index 568adf5efde0..d55e3ea89fda 100644 --- a/arch/arm/boot/dts/am57xx-beagle-x15.dts +++ b/arch/arm/boot/dts/am57xx-beagle-x15.dts | |||
@@ -402,11 +402,12 @@ | |||
402 | /* SMPS9 unused */ | 402 | /* SMPS9 unused */ |
403 | 403 | ||
404 | ldo1_reg: ldo1 { | 404 | ldo1_reg: ldo1 { |
405 | /* VDD_SD */ | 405 | /* VDD_SD / VDDSHV8 */ |
406 | regulator-name = "ldo1"; | 406 | regulator-name = "ldo1"; |
407 | regulator-min-microvolt = <1800000>; | 407 | regulator-min-microvolt = <1800000>; |
408 | regulator-max-microvolt = <3300000>; | 408 | regulator-max-microvolt = <3300000>; |
409 | regulator-boot-on; | 409 | regulator-boot-on; |
410 | regulator-always-on; | ||
410 | }; | 411 | }; |
411 | 412 | ||
412 | ldo2_reg: ldo2 { | 413 | ldo2_reg: ldo2 { |
diff --git a/arch/arm/boot/dts/armada-385-db-ap.dts b/arch/arm/boot/dts/armada-385-db-ap.dts index 89f5a95954ed..4047621b137e 100644 --- a/arch/arm/boot/dts/armada-385-db-ap.dts +++ b/arch/arm/boot/dts/armada-385-db-ap.dts | |||
@@ -46,7 +46,7 @@ | |||
46 | 46 | ||
47 | / { | 47 | / { |
48 | model = "Marvell Armada 385 Access Point Development Board"; | 48 | model = "Marvell Armada 385 Access Point Development Board"; |
49 | compatible = "marvell,a385-db-ap", "marvell,armada385", "marvell,armada38x"; | 49 | compatible = "marvell,a385-db-ap", "marvell,armada385", "marvell,armada380"; |
50 | 50 | ||
51 | chosen { | 51 | chosen { |
52 | stdout-path = "serial1:115200n8"; | 52 | stdout-path = "serial1:115200n8"; |
diff --git a/arch/arm/boot/dts/berlin2q.dtsi b/arch/arm/boot/dts/berlin2q.dtsi index 63a48490e2f9..d4dbd28d348c 100644 --- a/arch/arm/boot/dts/berlin2q.dtsi +++ b/arch/arm/boot/dts/berlin2q.dtsi | |||
@@ -152,7 +152,7 @@ | |||
152 | }; | 152 | }; |
153 | 153 | ||
154 | usb_phy2: phy@a2f400 { | 154 | usb_phy2: phy@a2f400 { |
155 | compatible = "marvell,berlin2-usb-phy"; | 155 | compatible = "marvell,berlin2cd-usb-phy"; |
156 | reg = <0xa2f400 0x128>; | 156 | reg = <0xa2f400 0x128>; |
157 | #phy-cells = <0>; | 157 | #phy-cells = <0>; |
158 | resets = <&chip_rst 0x104 14>; | 158 | resets = <&chip_rst 0x104 14>; |
@@ -170,7 +170,7 @@ | |||
170 | }; | 170 | }; |
171 | 171 | ||
172 | usb_phy0: phy@b74000 { | 172 | usb_phy0: phy@b74000 { |
173 | compatible = "marvell,berlin2-usb-phy"; | 173 | compatible = "marvell,berlin2cd-usb-phy"; |
174 | reg = <0xb74000 0x128>; | 174 | reg = <0xb74000 0x128>; |
175 | #phy-cells = <0>; | 175 | #phy-cells = <0>; |
176 | resets = <&chip_rst 0x104 12>; | 176 | resets = <&chip_rst 0x104 12>; |
@@ -178,7 +178,7 @@ | |||
178 | }; | 178 | }; |
179 | 179 | ||
180 | usb_phy1: phy@b78000 { | 180 | usb_phy1: phy@b78000 { |
181 | compatible = "marvell,berlin2-usb-phy"; | 181 | compatible = "marvell,berlin2cd-usb-phy"; |
182 | reg = <0xb78000 0x128>; | 182 | reg = <0xb78000 0x128>; |
183 | #phy-cells = <0>; | 183 | #phy-cells = <0>; |
184 | resets = <&chip_rst 0x104 13>; | 184 | resets = <&chip_rst 0x104 13>; |
diff --git a/arch/arm/boot/dts/exynos5420-peach-pit.dts b/arch/arm/boot/dts/exynos5420-peach-pit.dts index 8f4d76c5e11c..1b95da79293c 100644 --- a/arch/arm/boot/dts/exynos5420-peach-pit.dts +++ b/arch/arm/boot/dts/exynos5420-peach-pit.dts | |||
@@ -915,6 +915,11 @@ | |||
915 | }; | 915 | }; |
916 | }; | 916 | }; |
917 | 917 | ||
918 | &pmu_system_controller { | ||
919 | assigned-clocks = <&pmu_system_controller 0>; | ||
920 | assigned-clock-parents = <&clock CLK_FIN_PLL>; | ||
921 | }; | ||
922 | |||
918 | &rtc { | 923 | &rtc { |
919 | status = "okay"; | 924 | status = "okay"; |
920 | clocks = <&clock CLK_RTC>, <&max77802 MAX77802_CLK_32K_AP>; | 925 | clocks = <&clock CLK_RTC>, <&max77802 MAX77802_CLK_32K_AP>; |
diff --git a/arch/arm/boot/dts/exynos5800-peach-pi.dts b/arch/arm/boot/dts/exynos5800-peach-pi.dts index 7d5b386b5ae6..8f40c7e549bd 100644 --- a/arch/arm/boot/dts/exynos5800-peach-pi.dts +++ b/arch/arm/boot/dts/exynos5800-peach-pi.dts | |||
@@ -878,6 +878,11 @@ | |||
878 | }; | 878 | }; |
879 | }; | 879 | }; |
880 | 880 | ||
881 | &pmu_system_controller { | ||
882 | assigned-clocks = <&pmu_system_controller 0>; | ||
883 | assigned-clock-parents = <&clock CLK_FIN_PLL>; | ||
884 | }; | ||
885 | |||
881 | &rtc { | 886 | &rtc { |
882 | status = "okay"; | 887 | status = "okay"; |
883 | clocks = <&clock CLK_RTC>, <&max77802 MAX77802_CLK_32K_AP>; | 888 | clocks = <&clock CLK_RTC>, <&max77802 MAX77802_CLK_32K_AP>; |
diff --git a/arch/arm/boot/dts/imx7d.dtsi b/arch/arm/boot/dts/imx7d.dtsi index b738ce0f9d9b..6e444bb873f9 100644 --- a/arch/arm/boot/dts/imx7d.dtsi +++ b/arch/arm/boot/dts/imx7d.dtsi | |||
@@ -588,10 +588,10 @@ | |||
588 | status = "disabled"; | 588 | status = "disabled"; |
589 | }; | 589 | }; |
590 | 590 | ||
591 | uart2: serial@30870000 { | 591 | uart2: serial@30890000 { |
592 | compatible = "fsl,imx7d-uart", | 592 | compatible = "fsl,imx7d-uart", |
593 | "fsl,imx6q-uart"; | 593 | "fsl,imx6q-uart"; |
594 | reg = <0x30870000 0x10000>; | 594 | reg = <0x30890000 0x10000>; |
595 | interrupts = <GIC_SPI 27 IRQ_TYPE_LEVEL_HIGH>; | 595 | interrupts = <GIC_SPI 27 IRQ_TYPE_LEVEL_HIGH>; |
596 | clocks = <&clks IMX7D_UART2_ROOT_CLK>, | 596 | clocks = <&clks IMX7D_UART2_ROOT_CLK>, |
597 | <&clks IMX7D_UART2_ROOT_CLK>; | 597 | <&clks IMX7D_UART2_ROOT_CLK>; |
diff --git a/arch/arm/boot/dts/logicpd-torpedo-37xx-devkit.dts b/arch/arm/boot/dts/logicpd-torpedo-37xx-devkit.dts index 91146c318798..5b0430041ec6 100644 --- a/arch/arm/boot/dts/logicpd-torpedo-37xx-devkit.dts +++ b/arch/arm/boot/dts/logicpd-torpedo-37xx-devkit.dts | |||
@@ -12,7 +12,7 @@ | |||
12 | 12 | ||
13 | / { | 13 | / { |
14 | model = "LogicPD Zoom DM3730 Torpedo Development Kit"; | 14 | model = "LogicPD Zoom DM3730 Torpedo Development Kit"; |
15 | compatible = "logicpd,dm3730-torpedo-devkit", "ti,omap36xx"; | 15 | compatible = "logicpd,dm3730-torpedo-devkit", "ti,omap3630", "ti,omap3"; |
16 | 16 | ||
17 | gpio_keys { | 17 | gpio_keys { |
18 | compatible = "gpio-keys"; | 18 | compatible = "gpio-keys"; |
diff --git a/arch/arm/boot/dts/meson.dtsi b/arch/arm/boot/dts/meson.dtsi index 548441384d2a..8c77c87660cd 100644 --- a/arch/arm/boot/dts/meson.dtsi +++ b/arch/arm/boot/dts/meson.dtsi | |||
@@ -67,7 +67,7 @@ | |||
67 | 67 | ||
68 | timer@c1109940 { | 68 | timer@c1109940 { |
69 | compatible = "amlogic,meson6-timer"; | 69 | compatible = "amlogic,meson6-timer"; |
70 | reg = <0xc1109940 0x14>; | 70 | reg = <0xc1109940 0x18>; |
71 | interrupts = <0 10 1>; | 71 | interrupts = <0 10 1>; |
72 | }; | 72 | }; |
73 | 73 | ||
@@ -80,36 +80,37 @@ | |||
80 | wdt: watchdog@c1109900 { | 80 | wdt: watchdog@c1109900 { |
81 | compatible = "amlogic,meson6-wdt"; | 81 | compatible = "amlogic,meson6-wdt"; |
82 | reg = <0xc1109900 0x8>; | 82 | reg = <0xc1109900 0x8>; |
83 | interrupts = <0 0 1>; | ||
83 | }; | 84 | }; |
84 | 85 | ||
85 | uart_AO: serial@c81004c0 { | 86 | uart_AO: serial@c81004c0 { |
86 | compatible = "amlogic,meson-uart"; | 87 | compatible = "amlogic,meson-uart"; |
87 | reg = <0xc81004c0 0x14>; | 88 | reg = <0xc81004c0 0x18>; |
88 | interrupts = <0 90 1>; | 89 | interrupts = <0 90 1>; |
89 | clocks = <&clk81>; | 90 | clocks = <&clk81>; |
90 | status = "disabled"; | 91 | status = "disabled"; |
91 | }; | 92 | }; |
92 | 93 | ||
93 | uart_A: serial@c81084c0 { | 94 | uart_A: serial@c11084c0 { |
94 | compatible = "amlogic,meson-uart"; | 95 | compatible = "amlogic,meson-uart"; |
95 | reg = <0xc81084c0 0x14>; | 96 | reg = <0xc11084c0 0x18>; |
96 | interrupts = <0 90 1>; | 97 | interrupts = <0 26 1>; |
97 | clocks = <&clk81>; | 98 | clocks = <&clk81>; |
98 | status = "disabled"; | 99 | status = "disabled"; |
99 | }; | 100 | }; |
100 | 101 | ||
101 | uart_B: serial@c81084dc { | 102 | uart_B: serial@c11084dc { |
102 | compatible = "amlogic,meson-uart"; | 103 | compatible = "amlogic,meson-uart"; |
103 | reg = <0xc81084dc 0x14>; | 104 | reg = <0xc11084dc 0x18>; |
104 | interrupts = <0 90 1>; | 105 | interrupts = <0 75 1>; |
105 | clocks = <&clk81>; | 106 | clocks = <&clk81>; |
106 | status = "disabled"; | 107 | status = "disabled"; |
107 | }; | 108 | }; |
108 | 109 | ||
109 | uart_C: serial@c8108700 { | 110 | uart_C: serial@c1108700 { |
110 | compatible = "amlogic,meson-uart"; | 111 | compatible = "amlogic,meson-uart"; |
111 | reg = <0xc8108700 0x14>; | 112 | reg = <0xc1108700 0x18>; |
112 | interrupts = <0 90 1>; | 113 | interrupts = <0 93 1>; |
113 | clocks = <&clk81>; | 114 | clocks = <&clk81>; |
114 | status = "disabled"; | 115 | status = "disabled"; |
115 | }; | 116 | }; |
diff --git a/arch/arm/boot/dts/omap3-evm-37xx.dts b/arch/arm/boot/dts/omap3-evm-37xx.dts index 16e8ce350dda..bb339d1648e0 100644 --- a/arch/arm/boot/dts/omap3-evm-37xx.dts +++ b/arch/arm/boot/dts/omap3-evm-37xx.dts | |||
@@ -13,7 +13,7 @@ | |||
13 | 13 | ||
14 | / { | 14 | / { |
15 | model = "TI OMAP37XX EVM (TMDSEVM3730)"; | 15 | model = "TI OMAP37XX EVM (TMDSEVM3730)"; |
16 | compatible = "ti,omap3-evm-37xx", "ti,omap36xx"; | 16 | compatible = "ti,omap3-evm-37xx", "ti,omap3630", "ti,omap3"; |
17 | 17 | ||
18 | memory { | 18 | memory { |
19 | device_type = "memory"; | 19 | device_type = "memory"; |
diff --git a/arch/arm/boot/dts/ste-hrefv60plus.dtsi b/arch/arm/boot/dts/ste-hrefv60plus.dtsi index 810cda743b6d..9c2387b34d0c 100644 --- a/arch/arm/boot/dts/ste-hrefv60plus.dtsi +++ b/arch/arm/boot/dts/ste-hrefv60plus.dtsi | |||
@@ -56,7 +56,7 @@ | |||
56 | /* VMMCI level-shifter enable */ | 56 | /* VMMCI level-shifter enable */ |
57 | default_hrefv60_cfg2 { | 57 | default_hrefv60_cfg2 { |
58 | pins = "GPIO169_D22"; | 58 | pins = "GPIO169_D22"; |
59 | ste,config = <&gpio_out_lo>; | 59 | ste,config = <&gpio_out_hi>; |
60 | }; | 60 | }; |
61 | /* VMMCI level-shifter voltage select */ | 61 | /* VMMCI level-shifter voltage select */ |
62 | default_hrefv60_cfg3 { | 62 | default_hrefv60_cfg3 { |
diff --git a/arch/arm/boot/dts/tegra114.dtsi b/arch/arm/boot/dts/tegra114.dtsi index 9d4f86e9c50a..d845bd1448b5 100644 --- a/arch/arm/boot/dts/tegra114.dtsi +++ b/arch/arm/boot/dts/tegra114.dtsi | |||
@@ -234,7 +234,9 @@ | |||
234 | gpio-controller; | 234 | gpio-controller; |
235 | #interrupt-cells = <2>; | 235 | #interrupt-cells = <2>; |
236 | interrupt-controller; | 236 | interrupt-controller; |
237 | /* | ||
237 | gpio-ranges = <&pinmux 0 0 246>; | 238 | gpio-ranges = <&pinmux 0 0 246>; |
239 | */ | ||
238 | }; | 240 | }; |
239 | 241 | ||
240 | apbmisc@70000800 { | 242 | apbmisc@70000800 { |
diff --git a/arch/arm/boot/dts/tegra124.dtsi b/arch/arm/boot/dts/tegra124.dtsi index 1e204a6de12c..819e2ae2cabe 100644 --- a/arch/arm/boot/dts/tegra124.dtsi +++ b/arch/arm/boot/dts/tegra124.dtsi | |||
@@ -258,7 +258,9 @@ | |||
258 | gpio-controller; | 258 | gpio-controller; |
259 | #interrupt-cells = <2>; | 259 | #interrupt-cells = <2>; |
260 | interrupt-controller; | 260 | interrupt-controller; |
261 | /* | ||
261 | gpio-ranges = <&pinmux 0 0 251>; | 262 | gpio-ranges = <&pinmux 0 0 251>; |
263 | */ | ||
262 | }; | 264 | }; |
263 | 265 | ||
264 | apbdma: dma@0,60020000 { | 266 | apbdma: dma@0,60020000 { |
diff --git a/arch/arm/boot/dts/tegra20.dtsi b/arch/arm/boot/dts/tegra20.dtsi index e058709e6d98..969b828505ae 100644 --- a/arch/arm/boot/dts/tegra20.dtsi +++ b/arch/arm/boot/dts/tegra20.dtsi | |||
@@ -244,7 +244,9 @@ | |||
244 | gpio-controller; | 244 | gpio-controller; |
245 | #interrupt-cells = <2>; | 245 | #interrupt-cells = <2>; |
246 | interrupt-controller; | 246 | interrupt-controller; |
247 | /* | ||
247 | gpio-ranges = <&pinmux 0 0 224>; | 248 | gpio-ranges = <&pinmux 0 0 224>; |
249 | */ | ||
248 | }; | 250 | }; |
249 | 251 | ||
250 | apbmisc@70000800 { | 252 | apbmisc@70000800 { |
diff --git a/arch/arm/boot/dts/tegra30.dtsi b/arch/arm/boot/dts/tegra30.dtsi index fe04fb5e155f..c6938ad1b543 100644 --- a/arch/arm/boot/dts/tegra30.dtsi +++ b/arch/arm/boot/dts/tegra30.dtsi | |||
@@ -349,7 +349,9 @@ | |||
349 | gpio-controller; | 349 | gpio-controller; |
350 | #interrupt-cells = <2>; | 350 | #interrupt-cells = <2>; |
351 | interrupt-controller; | 351 | interrupt-controller; |
352 | /* | ||
352 | gpio-ranges = <&pinmux 0 0 248>; | 353 | gpio-ranges = <&pinmux 0 0 248>; |
354 | */ | ||
353 | }; | 355 | }; |
354 | 356 | ||
355 | apbmisc@70000800 { | 357 | apbmisc@70000800 { |
diff --git a/arch/arm/boot/dts/uniphier-ph1-ld6b-ref.dts b/arch/arm/boot/dts/uniphier-ph1-ld6b-ref.dts index 33963acd7e8f..f80f772d99fb 100644 --- a/arch/arm/boot/dts/uniphier-ph1-ld6b-ref.dts +++ b/arch/arm/boot/dts/uniphier-ph1-ld6b-ref.dts | |||
@@ -85,7 +85,7 @@ | |||
85 | }; | 85 | }; |
86 | 86 | ||
87 | ðsc { | 87 | ðsc { |
88 | interrupts = <0 50 4>; | 88 | interrupts = <0 52 4>; |
89 | }; | 89 | }; |
90 | 90 | ||
91 | &serial0 { | 91 | &serial0 { |
diff --git a/arch/arm/mach-exynos/pm_domains.c b/arch/arm/mach-exynos/pm_domains.c index 4a87e86dec45..7c21760f590f 100644 --- a/arch/arm/mach-exynos/pm_domains.c +++ b/arch/arm/mach-exynos/pm_domains.c | |||
@@ -200,15 +200,15 @@ no_clk: | |||
200 | args.args_count = 0; | 200 | args.args_count = 0; |
201 | child_domain = of_genpd_get_from_provider(&args); | 201 | child_domain = of_genpd_get_from_provider(&args); |
202 | if (IS_ERR(child_domain)) | 202 | if (IS_ERR(child_domain)) |
203 | goto next_pd; | 203 | continue; |
204 | 204 | ||
205 | if (of_parse_phandle_with_args(np, "power-domains", | 205 | if (of_parse_phandle_with_args(np, "power-domains", |
206 | "#power-domain-cells", 0, &args) != 0) | 206 | "#power-domain-cells", 0, &args) != 0) |
207 | goto next_pd; | 207 | continue; |
208 | 208 | ||
209 | parent_domain = of_genpd_get_from_provider(&args); | 209 | parent_domain = of_genpd_get_from_provider(&args); |
210 | if (IS_ERR(parent_domain)) | 210 | if (IS_ERR(parent_domain)) |
211 | goto next_pd; | 211 | continue; |
212 | 212 | ||
213 | if (pm_genpd_add_subdomain(parent_domain, child_domain)) | 213 | if (pm_genpd_add_subdomain(parent_domain, child_domain)) |
214 | pr_warn("%s failed to add subdomain: %s\n", | 214 | pr_warn("%s failed to add subdomain: %s\n", |
@@ -216,8 +216,6 @@ no_clk: | |||
216 | else | 216 | else |
217 | pr_info("%s has as child subdomain: %s.\n", | 217 | pr_info("%s has as child subdomain: %s.\n", |
218 | parent_domain->name, child_domain->name); | 218 | parent_domain->name, child_domain->name); |
219 | next_pd: | ||
220 | of_node_put(np); | ||
221 | } | 219 | } |
222 | 220 | ||
223 | return 0; | 221 | return 0; |
diff --git a/arch/arm/mach-omap2/Kconfig b/arch/arm/mach-omap2/Kconfig index b3a0dff67e3f..33d1460a5639 100644 --- a/arch/arm/mach-omap2/Kconfig +++ b/arch/arm/mach-omap2/Kconfig | |||
@@ -49,6 +49,7 @@ config SOC_OMAP5 | |||
49 | select OMAP_INTERCONNECT | 49 | select OMAP_INTERCONNECT |
50 | select OMAP_INTERCONNECT_BARRIER | 50 | select OMAP_INTERCONNECT_BARRIER |
51 | select PM_OPP if PM | 51 | select PM_OPP if PM |
52 | select ZONE_DMA if ARM_LPAE | ||
52 | 53 | ||
53 | config SOC_AM33XX | 54 | config SOC_AM33XX |
54 | bool "TI AM33XX" | 55 | bool "TI AM33XX" |
@@ -78,6 +79,7 @@ config SOC_DRA7XX | |||
78 | select OMAP_INTERCONNECT | 79 | select OMAP_INTERCONNECT |
79 | select OMAP_INTERCONNECT_BARRIER | 80 | select OMAP_INTERCONNECT_BARRIER |
80 | select PM_OPP if PM | 81 | select PM_OPP if PM |
82 | select ZONE_DMA if ARM_LPAE | ||
81 | 83 | ||
82 | config ARCH_OMAP2PLUS | 84 | config ARCH_OMAP2PLUS |
83 | bool | 85 | bool |
diff --git a/arch/arm/mach-omap2/board-generic.c b/arch/arm/mach-omap2/board-generic.c index 6133eaac685d..fb219a30c10c 100644 --- a/arch/arm/mach-omap2/board-generic.c +++ b/arch/arm/mach-omap2/board-generic.c | |||
@@ -106,6 +106,7 @@ DT_MACHINE_START(OMAP3_DT, "Generic OMAP3 (Flattened Device Tree)") | |||
106 | MACHINE_END | 106 | MACHINE_END |
107 | 107 | ||
108 | static const char *const omap36xx_boards_compat[] __initconst = { | 108 | static const char *const omap36xx_boards_compat[] __initconst = { |
109 | "ti,omap3630", | ||
109 | "ti,omap36xx", | 110 | "ti,omap36xx", |
110 | NULL, | 111 | NULL, |
111 | }; | 112 | }; |
@@ -243,6 +244,9 @@ static const char *const omap5_boards_compat[] __initconst = { | |||
243 | }; | 244 | }; |
244 | 245 | ||
245 | DT_MACHINE_START(OMAP5_DT, "Generic OMAP5 (Flattened Device Tree)") | 246 | DT_MACHINE_START(OMAP5_DT, "Generic OMAP5 (Flattened Device Tree)") |
247 | #if defined(CONFIG_ZONE_DMA) && defined(CONFIG_ARM_LPAE) | ||
248 | .dma_zone_size = SZ_2G, | ||
249 | #endif | ||
246 | .reserve = omap_reserve, | 250 | .reserve = omap_reserve, |
247 | .smp = smp_ops(omap4_smp_ops), | 251 | .smp = smp_ops(omap4_smp_ops), |
248 | .map_io = omap5_map_io, | 252 | .map_io = omap5_map_io, |
@@ -288,6 +292,9 @@ static const char *const dra74x_boards_compat[] __initconst = { | |||
288 | }; | 292 | }; |
289 | 293 | ||
290 | DT_MACHINE_START(DRA74X_DT, "Generic DRA74X (Flattened Device Tree)") | 294 | DT_MACHINE_START(DRA74X_DT, "Generic DRA74X (Flattened Device Tree)") |
295 | #if defined(CONFIG_ZONE_DMA) && defined(CONFIG_ARM_LPAE) | ||
296 | .dma_zone_size = SZ_2G, | ||
297 | #endif | ||
291 | .reserve = omap_reserve, | 298 | .reserve = omap_reserve, |
292 | .smp = smp_ops(omap4_smp_ops), | 299 | .smp = smp_ops(omap4_smp_ops), |
293 | .map_io = dra7xx_map_io, | 300 | .map_io = dra7xx_map_io, |
@@ -308,6 +315,9 @@ static const char *const dra72x_boards_compat[] __initconst = { | |||
308 | }; | 315 | }; |
309 | 316 | ||
310 | DT_MACHINE_START(DRA72X_DT, "Generic DRA72X (Flattened Device Tree)") | 317 | DT_MACHINE_START(DRA72X_DT, "Generic DRA72X (Flattened Device Tree)") |
318 | #if defined(CONFIG_ZONE_DMA) && defined(CONFIG_ARM_LPAE) | ||
319 | .dma_zone_size = SZ_2G, | ||
320 | #endif | ||
311 | .reserve = omap_reserve, | 321 | .reserve = omap_reserve, |
312 | .map_io = dra7xx_map_io, | 322 | .map_io = dra7xx_map_io, |
313 | .init_early = dra7xx_init_early, | 323 | .init_early = dra7xx_init_early, |
diff --git a/arch/arm/mach-omap2/pdata-quirks.c b/arch/arm/mach-omap2/pdata-quirks.c index ea56397599c2..1dfe34654c43 100644 --- a/arch/arm/mach-omap2/pdata-quirks.c +++ b/arch/arm/mach-omap2/pdata-quirks.c | |||
@@ -559,7 +559,14 @@ static void pdata_quirks_check(struct pdata_init *quirks) | |||
559 | 559 | ||
560 | void __init pdata_quirks_init(const struct of_device_id *omap_dt_match_table) | 560 | void __init pdata_quirks_init(const struct of_device_id *omap_dt_match_table) |
561 | { | 561 | { |
562 | omap_sdrc_init(NULL, NULL); | 562 | /* |
563 | * We still need this for omap2420 and omap3 PM to work, others are | ||
564 | * using drivers/misc/sram.c already. | ||
565 | */ | ||
566 | if (of_machine_is_compatible("ti,omap2420") || | ||
567 | of_machine_is_compatible("ti,omap3")) | ||
568 | omap_sdrc_init(NULL, NULL); | ||
569 | |||
563 | pdata_quirks_check(auxdata_quirks); | 570 | pdata_quirks_check(auxdata_quirks); |
564 | of_platform_populate(NULL, omap_dt_match_table, | 571 | of_platform_populate(NULL, omap_dt_match_table, |
565 | omap_auxdata_lookup, NULL); | 572 | omap_auxdata_lookup, NULL); |
diff --git a/arch/arm/mach-pxa/pxa3xx.c b/arch/arm/mach-pxa/pxa3xx.c index 06005d3f2ba3..20ce2d386f17 100644 --- a/arch/arm/mach-pxa/pxa3xx.c +++ b/arch/arm/mach-pxa/pxa3xx.c | |||
@@ -42,10 +42,6 @@ | |||
42 | #define PECR_IS(n) ((1 << ((n) * 2)) << 29) | 42 | #define PECR_IS(n) ((1 << ((n) * 2)) << 29) |
43 | 43 | ||
44 | extern void __init pxa_dt_irq_init(int (*fn)(struct irq_data *, unsigned int)); | 44 | extern void __init pxa_dt_irq_init(int (*fn)(struct irq_data *, unsigned int)); |
45 | #ifdef CONFIG_PM | ||
46 | |||
47 | #define ISRAM_START 0x5c000000 | ||
48 | #define ISRAM_SIZE SZ_256K | ||
49 | 45 | ||
50 | /* | 46 | /* |
51 | * NAND NFC: DFI bus arbitration subset | 47 | * NAND NFC: DFI bus arbitration subset |
@@ -54,6 +50,11 @@ extern void __init pxa_dt_irq_init(int (*fn)(struct irq_data *, unsigned int)); | |||
54 | #define NDCR_ND_ARB_EN (1 << 12) | 50 | #define NDCR_ND_ARB_EN (1 << 12) |
55 | #define NDCR_ND_ARB_CNTL (1 << 19) | 51 | #define NDCR_ND_ARB_CNTL (1 << 19) |
56 | 52 | ||
53 | #ifdef CONFIG_PM | ||
54 | |||
55 | #define ISRAM_START 0x5c000000 | ||
56 | #define ISRAM_SIZE SZ_256K | ||
57 | |||
57 | static void __iomem *sram; | 58 | static void __iomem *sram; |
58 | static unsigned long wakeup_src; | 59 | static unsigned long wakeup_src; |
59 | 60 | ||
diff --git a/arch/arm/plat-orion/common.c b/arch/arm/plat-orion/common.c index 2235081a04ee..8861c367d061 100644 --- a/arch/arm/plat-orion/common.c +++ b/arch/arm/plat-orion/common.c | |||
@@ -495,7 +495,7 @@ void __init orion_ge00_switch_init(struct dsa_platform_data *d, int irq) | |||
495 | 495 | ||
496 | d->netdev = &orion_ge00.dev; | 496 | d->netdev = &orion_ge00.dev; |
497 | for (i = 0; i < d->nr_chips; i++) | 497 | for (i = 0; i < d->nr_chips; i++) |
498 | d->chip[i].host_dev = &orion_ge00_shared.dev; | 498 | d->chip[i].host_dev = &orion_ge_mvmdio.dev; |
499 | orion_switch_device.dev.platform_data = d; | 499 | orion_switch_device.dev.platform_data = d; |
500 | 500 | ||
501 | platform_device_register(&orion_switch_device); | 501 | platform_device_register(&orion_switch_device); |
diff --git a/drivers/bus/arm-ccn.c b/drivers/bus/arm-ccn.c index 7d9879e166cf..7082c7268845 100644 --- a/drivers/bus/arm-ccn.c +++ b/drivers/bus/arm-ccn.c | |||
@@ -1184,11 +1184,12 @@ static int arm_ccn_pmu_cpu_notifier(struct notifier_block *nb, | |||
1184 | if (!cpumask_test_and_clear_cpu(cpu, &dt->cpu)) | 1184 | if (!cpumask_test_and_clear_cpu(cpu, &dt->cpu)) |
1185 | break; | 1185 | break; |
1186 | target = cpumask_any_but(cpu_online_mask, cpu); | 1186 | target = cpumask_any_but(cpu_online_mask, cpu); |
1187 | if (target < 0) | 1187 | if (target >= nr_cpu_ids) |
1188 | break; | 1188 | break; |
1189 | perf_pmu_migrate_context(&dt->pmu, cpu, target); | 1189 | perf_pmu_migrate_context(&dt->pmu, cpu, target); |
1190 | cpumask_set_cpu(target, &dt->cpu); | 1190 | cpumask_set_cpu(target, &dt->cpu); |
1191 | WARN_ON(irq_set_affinity(ccn->irq, &dt->cpu) != 0); | 1191 | if (ccn->irq) |
1192 | WARN_ON(irq_set_affinity(ccn->irq, &dt->cpu) != 0); | ||
1192 | default: | 1193 | default: |
1193 | break; | 1194 | break; |
1194 | } | 1195 | } |
diff --git a/drivers/memory/Kconfig b/drivers/memory/Kconfig index c6a644b22af4..6f3154613dc7 100644 --- a/drivers/memory/Kconfig +++ b/drivers/memory/Kconfig | |||
@@ -58,12 +58,18 @@ config OMAP_GPMC | |||
58 | memory drives like NOR, NAND, OneNAND, SRAM. | 58 | memory drives like NOR, NAND, OneNAND, SRAM. |
59 | 59 | ||
60 | config OMAP_GPMC_DEBUG | 60 | config OMAP_GPMC_DEBUG |
61 | bool | 61 | bool "Enable GPMC debug output and skip reset of GPMC during init" |
62 | depends on OMAP_GPMC | 62 | depends on OMAP_GPMC |
63 | help | 63 | help |
64 | Enables verbose debugging mostly to decode the bootloader provided | 64 | Enables verbose debugging mostly to decode the bootloader provided |
65 | timings. Enable this during development to configure devices | 65 | timings. To preserve the bootloader provided timings, the reset |
66 | connected to the GPMC bus. | 66 | of GPMC is skipped during init. Enable this during development to |
67 | configure devices connected to the GPMC bus. | ||
68 | |||
69 | NOTE: In addition to matching the register setup with the bootloader | ||
70 | you also need to match the GPMC FCLK frequency used by the | ||
71 | bootloader or else the GPMC timings won't be identical with the | ||
72 | bootloader timings. | ||
67 | 73 | ||
68 | config MVEBU_DEVBUS | 74 | config MVEBU_DEVBUS |
69 | bool "Marvell EBU Device Bus Controller" | 75 | bool "Marvell EBU Device Bus Controller" |
diff --git a/drivers/memory/omap-gpmc.c b/drivers/memory/omap-gpmc.c index 32ac049f2bc4..6515dfc2b805 100644 --- a/drivers/memory/omap-gpmc.c +++ b/drivers/memory/omap-gpmc.c | |||
@@ -696,7 +696,6 @@ int gpmc_cs_set_timings(int cs, const struct gpmc_timings *t, | |||
696 | int div; | 696 | int div; |
697 | u32 l; | 697 | u32 l; |
698 | 698 | ||
699 | gpmc_cs_show_timings(cs, "before gpmc_cs_set_timings"); | ||
700 | div = gpmc_calc_divider(t->sync_clk); | 699 | div = gpmc_calc_divider(t->sync_clk); |
701 | if (div < 0) | 700 | if (div < 0) |
702 | return div; | 701 | return div; |
@@ -1988,6 +1987,7 @@ static int gpmc_probe_generic_child(struct platform_device *pdev, | |||
1988 | if (ret < 0) | 1987 | if (ret < 0) |
1989 | goto err; | 1988 | goto err; |
1990 | 1989 | ||
1990 | gpmc_cs_show_timings(cs, "before gpmc_cs_program_settings"); | ||
1991 | ret = gpmc_cs_program_settings(cs, &gpmc_s); | 1991 | ret = gpmc_cs_program_settings(cs, &gpmc_s); |
1992 | if (ret < 0) | 1992 | if (ret < 0) |
1993 | goto err; | 1993 | goto err; |
diff --git a/drivers/perf/arm_pmu.c b/drivers/perf/arm_pmu.c index 2365a32a595e..be3755c973e9 100644 --- a/drivers/perf/arm_pmu.c +++ b/drivers/perf/arm_pmu.c | |||
@@ -823,9 +823,15 @@ static int of_pmu_irq_cfg(struct arm_pmu *pmu) | |||
823 | } | 823 | } |
824 | 824 | ||
825 | /* Now look up the logical CPU number */ | 825 | /* Now look up the logical CPU number */ |
826 | for_each_possible_cpu(cpu) | 826 | for_each_possible_cpu(cpu) { |
827 | if (dn == of_cpu_device_node_get(cpu)) | 827 | struct device_node *cpu_dn; |
828 | |||
829 | cpu_dn = of_cpu_device_node_get(cpu); | ||
830 | of_node_put(cpu_dn); | ||
831 | |||
832 | if (dn == cpu_dn) | ||
828 | break; | 833 | break; |
834 | } | ||
829 | 835 | ||
830 | if (cpu >= nr_cpu_ids) { | 836 | if (cpu >= nr_cpu_ids) { |
831 | pr_warn("Failed to find logical CPU for %s\n", | 837 | pr_warn("Failed to find logical CPU for %s\n", |
diff --git a/drivers/thermal/samsung/exynos_tmu.c b/drivers/thermal/samsung/exynos_tmu.c index 0bae8cc6c23a..ca920b0ecf8f 100644 --- a/drivers/thermal/samsung/exynos_tmu.c +++ b/drivers/thermal/samsung/exynos_tmu.c | |||
@@ -932,7 +932,7 @@ static void exynos4412_tmu_set_emulation(struct exynos_tmu_data *data, | |||
932 | 932 | ||
933 | if (data->soc == SOC_ARCH_EXYNOS5260) | 933 | if (data->soc == SOC_ARCH_EXYNOS5260) |
934 | emul_con = EXYNOS5260_EMUL_CON; | 934 | emul_con = EXYNOS5260_EMUL_CON; |
935 | if (data->soc == SOC_ARCH_EXYNOS5433) | 935 | else if (data->soc == SOC_ARCH_EXYNOS5433) |
936 | emul_con = EXYNOS5433_TMU_EMUL_CON; | 936 | emul_con = EXYNOS5433_TMU_EMUL_CON; |
937 | else if (data->soc == SOC_ARCH_EXYNOS7) | 937 | else if (data->soc == SOC_ARCH_EXYNOS7) |
938 | emul_con = EXYNOS7_TMU_REG_EMUL_CON; | 938 | emul_con = EXYNOS7_TMU_REG_EMUL_CON; |