diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2015-02-21 22:21:54 -0500 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-02-21 22:21:54 -0500 |
| commit | 21770332330800194cb9a76f802e9c77bcb690d3 (patch) | |
| tree | 4e5e89e2f1f64630fdbb7f483a48d633c2cb462e | |
| parent | c8c6c9ba39e3fe65cf3497d692bf6fe808ff222b (diff) | |
| parent | 444d2d33d8564f95df851ddaca80f640ca36934d (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:
"A few fixes that came in too late to make it into the first set of
pull requests but would still be nice to have in -rc1.
The majority of these are trivial build fixes for bugs that I found
myself using randconfig testing, and a set of two patches from Uwe to
mark DT strings as 'const' where appropriate, to resolve inconsistent
section attributes"
* tag 'fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc:
ARM: make of_device_ids const
ARM: make arrays containing machine compatible strings const
ARM: mm: Remove Kconfig symbol CACHE_PL310
ARM: rockchip: force built-in regulator support for PM
ARM: mvebu: build armada375-smp code conditionally
ARM: sti: always enable RESET_CONTROLLER
ARM: rockchip: make rockchip_suspend_init conditional
ARM: ixp4xx: fix {in,out}s{bwl} data types
ARM: prima2: do not select SMP_ON_UP
ARM: at91: fix pm declarations
ARM: davinci: multi-soc kernels require AUTO_ZRELADDR
ARM: davinci: davinci_cfg_reg cannot be init
ARM: BCM: put back ARCH_MULTI_V7 dependency for mobile
ARM: vexpress: use ARM_CPU_SUSPEND if needed
ARM: dts: add I2C device nodes for Broadcom Cygnus
ARM: dts: BCM63xx: fix L2 cache properties
41 files changed, 88 insertions, 58 deletions
diff --git a/arch/arm/boot/dts/bcm-cygnus.dtsi b/arch/arm/boot/dts/bcm-cygnus.dtsi index 5126f9e77a98..ff5fb6ab0b97 100644 --- a/arch/arm/boot/dts/bcm-cygnus.dtsi +++ b/arch/arm/boot/dts/bcm-cygnus.dtsi | |||
| @@ -70,6 +70,26 @@ | |||
| 70 | }; | 70 | }; |
| 71 | }; | 71 | }; |
| 72 | 72 | ||
| 73 | i2c0: i2c@18008000 { | ||
| 74 | compatible = "brcm,cygnus-iproc-i2c", "brcm,iproc-i2c"; | ||
| 75 | reg = <0x18008000 0x100>; | ||
| 76 | #address-cells = <1>; | ||
| 77 | #size-cells = <0>; | ||
| 78 | interrupts = <GIC_SPI 85 IRQ_TYPE_NONE>; | ||
| 79 | clock-frequency = <100000>; | ||
| 80 | status = "disabled"; | ||
| 81 | }; | ||
| 82 | |||
| 83 | i2c1: i2c@1800b000 { | ||
| 84 | compatible = "brcm,cygnus-iproc-i2c", "brcm,iproc-i2c"; | ||
| 85 | reg = <0x1800b000 0x100>; | ||
| 86 | #address-cells = <1>; | ||
| 87 | #size-cells = <0>; | ||
| 88 | interrupts = <GIC_SPI 86 IRQ_TYPE_NONE>; | ||
| 89 | clock-frequency = <100000>; | ||
| 90 | status = "disabled"; | ||
| 91 | }; | ||
| 92 | |||
| 73 | uart0: serial@18020000 { | 93 | uart0: serial@18020000 { |
| 74 | compatible = "snps,dw-apb-uart"; | 94 | compatible = "snps,dw-apb-uart"; |
| 75 | reg = <0x18020000 0x100>; | 95 | reg = <0x18020000 0x100>; |
diff --git a/arch/arm/boot/dts/bcm63138.dtsi b/arch/arm/boot/dts/bcm63138.dtsi index d2d8e94e0aa2..f46329c8ad75 100644 --- a/arch/arm/boot/dts/bcm63138.dtsi +++ b/arch/arm/boot/dts/bcm63138.dtsi | |||
| @@ -66,8 +66,9 @@ | |||
| 66 | reg = <0x1d000 0x1000>; | 66 | reg = <0x1d000 0x1000>; |
| 67 | cache-unified; | 67 | cache-unified; |
| 68 | cache-level = <2>; | 68 | cache-level = <2>; |
| 69 | cache-sets = <16>; | 69 | cache-size = <524288>; |
| 70 | cache-size = <0x80000>; | 70 | cache-sets = <1024>; |
| 71 | cache-line-size = <32>; | ||
| 71 | interrupts = <GIC_PPI 0 IRQ_TYPE_LEVEL_HIGH>; | 72 | interrupts = <GIC_PPI 0 IRQ_TYPE_LEVEL_HIGH>; |
| 72 | }; | 73 | }; |
| 73 | 74 | ||
diff --git a/arch/arm/kernel/perf_event_cpu.c b/arch/arm/kernel/perf_event_cpu.c index dd9acc95ebc0..61b53c46edfa 100644 --- a/arch/arm/kernel/perf_event_cpu.c +++ b/arch/arm/kernel/perf_event_cpu.c | |||
| @@ -231,7 +231,7 @@ static void cpu_pmu_destroy(struct arm_pmu *cpu_pmu) | |||
| 231 | /* | 231 | /* |
| 232 | * PMU platform driver and devicetree bindings. | 232 | * PMU platform driver and devicetree bindings. |
| 233 | */ | 233 | */ |
| 234 | static struct of_device_id cpu_pmu_of_device_ids[] = { | 234 | static const struct of_device_id cpu_pmu_of_device_ids[] = { |
| 235 | {.compatible = "arm,cortex-a17-pmu", .data = armv7_a17_pmu_init}, | 235 | {.compatible = "arm,cortex-a17-pmu", .data = armv7_a17_pmu_init}, |
| 236 | {.compatible = "arm,cortex-a15-pmu", .data = armv7_a15_pmu_init}, | 236 | {.compatible = "arm,cortex-a15-pmu", .data = armv7_a15_pmu_init}, |
| 237 | {.compatible = "arm,cortex-a12-pmu", .data = armv7_a12_pmu_init}, | 237 | {.compatible = "arm,cortex-a12-pmu", .data = armv7_a12_pmu_init}, |
diff --git a/arch/arm/mach-at91/Kconfig b/arch/arm/mach-at91/Kconfig index c6740e359a44..c74a44324e5b 100644 --- a/arch/arm/mach-at91/Kconfig +++ b/arch/arm/mach-at91/Kconfig | |||
| @@ -64,7 +64,6 @@ config SOC_SAMA5D4 | |||
| 64 | select SOC_SAMA5 | 64 | select SOC_SAMA5 |
| 65 | select CLKSRC_MMIO | 65 | select CLKSRC_MMIO |
| 66 | select CACHE_L2X0 | 66 | select CACHE_L2X0 |
| 67 | select CACHE_PL310 | ||
| 68 | select HAVE_FB_ATMEL | 67 | select HAVE_FB_ATMEL |
| 69 | select HAVE_AT91_UTMI | 68 | select HAVE_AT91_UTMI |
| 70 | select HAVE_AT91_SMD | 69 | select HAVE_AT91_SMD |
diff --git a/arch/arm/mach-at91/at91rm9200_time.c b/arch/arm/mach-at91/at91rm9200_time.c index 51761f8927b7..b00d09555f2b 100644 --- a/arch/arm/mach-at91/at91rm9200_time.c +++ b/arch/arm/mach-at91/at91rm9200_time.c | |||
| @@ -183,7 +183,7 @@ static struct clock_event_device clkevt = { | |||
| 183 | void __iomem *at91_st_base; | 183 | void __iomem *at91_st_base; |
| 184 | EXPORT_SYMBOL_GPL(at91_st_base); | 184 | EXPORT_SYMBOL_GPL(at91_st_base); |
| 185 | 185 | ||
| 186 | static struct of_device_id at91rm9200_st_timer_ids[] = { | 186 | static const struct of_device_id at91rm9200_st_timer_ids[] = { |
| 187 | { .compatible = "atmel,at91rm9200-st" }, | 187 | { .compatible = "atmel,at91rm9200-st" }, |
| 188 | { /* sentinel */ } | 188 | { /* sentinel */ } |
| 189 | }; | 189 | }; |
diff --git a/arch/arm/mach-at91/generic.h b/arch/arm/mach-at91/generic.h index a6e726a6e0b5..583369ffc284 100644 --- a/arch/arm/mach-at91/generic.h +++ b/arch/arm/mach-at91/generic.h | |||
| @@ -35,10 +35,10 @@ extern void __init at91sam9260_pm_init(void); | |||
| 35 | extern void __init at91sam9g45_pm_init(void); | 35 | extern void __init at91sam9g45_pm_init(void); |
| 36 | extern void __init at91sam9x5_pm_init(void); | 36 | extern void __init at91sam9x5_pm_init(void); |
| 37 | #else | 37 | #else |
| 38 | void __init at91rm9200_pm_init(void) { } | 38 | static inline void __init at91rm9200_pm_init(void) { } |
| 39 | void __init at91sam9260_pm_init(void) { } | 39 | static inline void __init at91sam9260_pm_init(void) { } |
| 40 | void __init at91sam9g45_pm_init(void) { } | 40 | static inline void __init at91sam9g45_pm_init(void) { } |
| 41 | void __init at91sam9x5_pm_init(void) { } | 41 | static inline void __init at91sam9x5_pm_init(void) { } |
| 42 | #endif | 42 | #endif |
| 43 | 43 | ||
| 44 | #endif /* _AT91_GENERIC_H */ | 44 | #endif /* _AT91_GENERIC_H */ |
diff --git a/arch/arm/mach-at91/pm.c b/arch/arm/mach-at91/pm.c index af8d8afc2e12..5e34fb143309 100644 --- a/arch/arm/mach-at91/pm.c +++ b/arch/arm/mach-at91/pm.c | |||
| @@ -226,7 +226,7 @@ void at91_pm_set_standby(void (*at91_standby)(void)) | |||
| 226 | } | 226 | } |
| 227 | } | 227 | } |
| 228 | 228 | ||
| 229 | static struct of_device_id ramc_ids[] = { | 229 | static const struct of_device_id ramc_ids[] __initconst = { |
| 230 | { .compatible = "atmel,at91rm9200-sdramc", .data = at91rm9200_standby }, | 230 | { .compatible = "atmel,at91rm9200-sdramc", .data = at91rm9200_standby }, |
| 231 | { .compatible = "atmel,at91sam9260-sdramc", .data = at91sam9_sdram_standby }, | 231 | { .compatible = "atmel,at91sam9260-sdramc", .data = at91sam9_sdram_standby }, |
| 232 | { .compatible = "atmel,at91sam9g45-ddramc", .data = at91_ddr_standby }, | 232 | { .compatible = "atmel,at91sam9g45-ddramc", .data = at91_ddr_standby }, |
| @@ -234,7 +234,7 @@ static struct of_device_id ramc_ids[] = { | |||
| 234 | { /*sentinel*/ } | 234 | { /*sentinel*/ } |
| 235 | }; | 235 | }; |
| 236 | 236 | ||
| 237 | static void at91_dt_ramc(void) | 237 | static __init void at91_dt_ramc(void) |
| 238 | { | 238 | { |
| 239 | struct device_node *np; | 239 | struct device_node *np; |
| 240 | const struct of_device_id *of_id; | 240 | const struct of_device_id *of_id; |
diff --git a/arch/arm/mach-axxia/axxia.c b/arch/arm/mach-axxia/axxia.c index 19e5a1d95397..4db76a493c5a 100644 --- a/arch/arm/mach-axxia/axxia.c +++ b/arch/arm/mach-axxia/axxia.c | |||
| @@ -16,7 +16,7 @@ | |||
| 16 | #include <linux/init.h> | 16 | #include <linux/init.h> |
| 17 | #include <asm/mach/arch.h> | 17 | #include <asm/mach/arch.h> |
| 18 | 18 | ||
| 19 | static const char *axxia_dt_match[] __initconst = { | 19 | static const char *const axxia_dt_match[] __initconst = { |
| < | |||
