aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-pxa
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2014-08-08 14:00:26 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2014-08-08 14:00:26 -0400
commit44c916d58b9ef1f2c4aec2def57fa8289c716a60 (patch)
treee4c886dd0948eefeed883f66c9a21f39a5731103 /arch/arm/mach-pxa
parent889fa782bf8ebe7c0d0ed0a9429bf43197f0f64e (diff)
parentc4846a7823bfd34ecb2dc56b025e19285432d08d (diff)
Merge tag 'cleanup-for-3.17' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc
Pull ARM SoC cleanups from Olof Johansson: "This merge window brings a good size of cleanups on various platforms. Among the bigger ones: - Removal of Samsung s5pc100 and s5p64xx platforms. Both of these have lacked active support for quite a while, and after asking around nobody showed interest in keeping them around. If needed, they could be resurrected in the future but it's more likely that we would prefer reintroduction of them as DT and multiplatform-enabled platforms instead. - OMAP4 controller code register define diet. They defined a lot of registers that were never actually used, etc. - Move of some of the Tegra platform code (PMC, APBIO, fuse, powergate) to drivers/soc so it can be shared with 64-bit code. This also converts them over to traditional driver models where possible. - Removal of legacy gpio-samsung driver, since the last users have been removed (moved to pinctrl) Plus a bunch of smaller changes for various platforms that sort of dissapear in the diffstat for the above. clps711x cleanups, shmobile header file refactoring/moves for multiplatform friendliness, some misc cleanups, etc" * tag 'cleanup-for-3.17' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (117 commits) drivers: CCI: Correct use of ! and & video: clcd-versatile: Depend on ARM video: fix up versatile CLCD helper move MAINTAINERS: Add sdhci-st file to ARCH/STI architecture ARM: EXYNOS: Fix build breakge with PM_SLEEP=n MAINTAINERS: Remove Kirkwood ARM: tegra: Convert PMC to a driver soc/tegra: fuse: Set up in early initcall ARM: tegra: Always lock the CPU reset vector ARM: tegra: Setup CPU hotplug in a pure initcall soc/tegra: Implement runtime check for Tegra SoCs soc/tegra: fuse: fix dummy functions soc/tegra: fuse: move APB DMA into Tegra20 fuse driver soc/tegra: Add efuse and apbmisc bindings soc/tegra: Add efuse driver for Tegra ARM: tegra: move fuse exports to soc/tegra/fuse.h ARM: tegra: export apb dma readl/writel ARM: tegra: Use a function to get the chip ID ARM: tegra: Sort includes alphabetically ARM: tegra: Move includes to include/soc/tegra ...
Diffstat (limited to 'arch/arm/mach-pxa')
-rw-r--r--arch/arm/mach-pxa/corgi.c2
-rw-r--r--arch/arm/mach-pxa/generic.c12
-rw-r--r--arch/arm/mach-pxa/include/mach/hardware.h4
-rw-r--r--arch/arm/mach-pxa/pxa25x.c7
-rw-r--r--arch/arm/mach-pxa/pxa27x.c10
-rw-r--r--arch/arm/mach-pxa/pxa3xx.c2
-rw-r--r--arch/arm/mach-pxa/sleep.S2
7 files changed, 20 insertions, 19 deletions
diff --git a/arch/arm/mach-pxa/corgi.c b/arch/arm/mach-pxa/corgi.c
index 91dd1c7cdbcd..06022b235730 100644
--- a/arch/arm/mach-pxa/corgi.c
+++ b/arch/arm/mach-pxa/corgi.c
@@ -514,7 +514,7 @@ static struct pxa2xx_udc_mach_info udc_info __initdata = {
514 .gpio_pullup = CORGI_GPIO_USB_PULLUP, 514 .gpio_pullup = CORGI_GPIO_USB_PULLUP,
515}; 515};
516 516
517#if defined(CONFIG_SPI_PXA2XX) || defined(CONFIG_SPI_PXA2XX_MASTER) 517#if IS_ENABLED(CONFIG_SPI_PXA2XX)
518static struct pxa2xx_spi_master corgi_spi_info = { 518static struct pxa2xx_spi_master corgi_spi_info = {
519 .num_chipselect = 3, 519 .num_chipselect = 3,
520}; 520};
diff --git a/arch/arm/mach-pxa/generic.c b/arch/arm/mach-pxa/generic.c
index 6f38e1af45af..630fa916bbc6 100644
--- a/arch/arm/mach-pxa/generic.c
+++ b/arch/arm/mach-pxa/generic.c
@@ -90,19 +90,15 @@ EXPORT_SYMBOL(get_clk_frequency_khz);
90 */ 90 */
91static struct map_desc common_io_desc[] __initdata = { 91static struct map_desc common_io_desc[] __initdata = {
92 { /* Devs */ 92 { /* Devs */
93 .virtual = 0xf2000000, 93 .virtual = (unsigned long)PERIPH_VIRT,
94 .pfn = __phys_to_pfn(0x40000000), 94 .pfn = __phys_to_pfn(PERIPH_PHYS),
95 .length = 0x02000000, 95 .length = PERIPH_SIZE,
96 .type = MT_DEVICE
97 }, { /* UNCACHED_PHYS_0 */
98 .virtual = 0xff000000,
99 .pfn = __phys_to_pfn(0x00000000),
100 .length = 0x00100000,
101 .type = MT_DEVICE 96 .type = MT_DEVICE
102 } 97 }
103}; 98};
104 99
105void __init pxa_map_io(void) 100void __init pxa_map_io(void)
106{ 101{
102 debug_ll_io_init();
107 iotable_init(ARRAY_AND_SIZE(common_io_desc)); 103 iotable_init(ARRAY_AND_SIZE(common_io_desc));
108} 104}
diff --git a/arch/arm/mach-pxa/include/mach/hardware.h b/arch/arm/mach-pxa/include/mach/hardware.h
index ccb06e485520..8d63c211b22f 100644
--- a/arch/arm/mach-pxa/include/mach/hardware.h
+++ b/arch/arm/mach-pxa/include/mach/hardware.h
@@ -19,8 +19,8 @@
19 * Workarounds for at least 2 errata so far require this. 19 * Workarounds for at least 2 errata so far require this.
20 * The mapping is set in mach-pxa/generic.c. 20 * The mapping is set in mach-pxa/generic.c.
21 */ 21 */
22#define UNCACHED_PHYS_0 0xff000000 22#define UNCACHED_PHYS_0 0xfe000000
23#define UNCACHED_ADDR UNCACHED_PHYS_0 23#define UNCACHED_PHYS_0_SIZE 0x00100000
24 24
25/* 25/*
26 * Intel PXA2xx internal register mapping: 26 * Intel PXA2xx internal register mapping:
diff --git a/arch/arm/mach-pxa/pxa25x.c b/arch/arm/mach-pxa/pxa25x.c
index f2c28972084d..66e4a2b6316e 100644
--- a/arch/arm/mach-pxa/pxa25x.c
+++ b/arch/arm/mach-pxa/pxa25x.c
@@ -331,7 +331,12 @@ static struct map_desc pxa25x_io_desc[] __initdata = {
331 { /* Mem Ctl */ 331 { /* Mem Ctl */
332 .virtual = (unsigned long)SMEMC_VIRT, 332 .virtual = (unsigned long)SMEMC_VIRT,
333 .pfn = __phys_to_pfn(PXA2XX_SMEMC_BASE), 333 .pfn = __phys_to_pfn(PXA2XX_SMEMC_BASE),
334 .length = 0x00200000, 334 .length = SMEMC_SIZE,
335 .type = MT_DEVICE
336 }, { /* UNCACHED_PHYS_0 */
337 .virtual = UNCACHED_PHYS_0,
338 .pfn = __phys_to_pfn(0x00000000),
339 .length = UNCACHED_PHYS_0_SIZE,
335 .type = MT_DEVICE 340 .type = MT_DEVICE
336 }, 341 },
337}; 342};
diff --git a/arch/arm/mach-pxa/pxa27x.c b/arch/arm/mach-pxa/pxa27x.c
index 301471a07a10..b040d7d14888 100644
--- a/arch/arm/mach-pxa/pxa27x.c
+++ b/arch/arm/mach-pxa/pxa27x.c
@@ -402,12 +402,12 @@ static struct map_desc pxa27x_io_desc[] __initdata = {
402 { /* Mem Ctl */ 402 { /* Mem Ctl */
403 .virtual = (unsigned long)SMEMC_VIRT, 403 .virtual = (unsigned long)SMEMC_VIRT,
404 .pfn = __phys_to_pfn(PXA2XX_SMEMC_BASE), 404 .pfn = __phys_to_pfn(PXA2XX_SMEMC_BASE),
405 .length = 0x00200000, 405 .length = SMEMC_SIZE,
406 .type = MT_DEVICE 406 .type = MT_DEVICE
407 }, { /* IMem ctl */ 407 }, { /* UNCACHED_PHYS_0 */
408 .virtual = 0xfe000000, 408 .virtual = UNCACHED_PHYS_0,
409 .pfn = __phys_to_pfn(0x58000000), 409 .pfn = __phys_to_pfn(0x00000000),
410 .length = 0x00100000, 410 .length = UNCACHED_PHYS_0_SIZE,
411 .type = MT_DEVICE 411 .type = MT_DEVICE
412 }, 412 },
413}; 413};
diff --git a/arch/arm/mach-pxa/pxa3xx.c b/arch/arm/mach-pxa/pxa3xx.c
index 87011f3de69d..593ccd35ca97 100644
--- a/arch/arm/mach-pxa/pxa3xx.c
+++ b/arch/arm/mach-pxa/pxa3xx.c
@@ -416,7 +416,7 @@ static struct map_desc pxa3xx_io_desc[] __initdata = {
416 { /* Mem Ctl */ 416 { /* Mem Ctl */
417 .virtual = (unsigned long)SMEMC_VIRT, 417 .virtual = (unsigned long)SMEMC_VIRT,
418 .pfn = __phys_to_pfn(PXA3XX_SMEMC_BASE), 418 .pfn = __phys_to_pfn(PXA3XX_SMEMC_BASE),
419 .length = 0x00200000, 419 .length = SMEMC_SIZE,
420 .type = MT_DEVICE 420 .type = MT_DEVICE
421 } 421 }
422}; 422};
diff --git a/arch/arm/mach-pxa/sleep.S b/arch/arm/mach-pxa/sleep.S
index 1e544be9905d..6c5b3ffd2cd3 100644
--- a/arch/arm/mach-pxa/sleep.S
+++ b/arch/arm/mach-pxa/sleep.S
@@ -157,7 +157,7 @@ pxa_cpu_do_suspend:
157 @ Do not reorder... 157 @ Do not reorder...
158 @ Intel PXA270 Specification Update notes problems performing 158 @ Intel PXA270 Specification Update notes problems performing
159 @ external accesses after SDRAM is put in self-refresh mode 159 @ external accesses after SDRAM is put in self-refresh mode
160 @ (see Errata 39 ...hangs when entering self-refresh mode) 160 @ (see Errata 38 ...hangs when entering self-refresh mode)
161 161
162 @ force address lines low by reading at physical address 0 162 @ force address lines low by reading at physical address 0
163 ldr r3, [r2] 163 ldr r3, [r2]