diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2012-10-01 21:46:13 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-10-01 21:46:13 -0400 |
commit | 8f446a7a069e0af0639385f67c78ee2279bca04c (patch) | |
tree | 580cf495616b36ca0af0826afa87c430cdc1e7cb /arch/arm/mach-realview | |
parent | 84be4ae2c038e2b03d650cbf2a7cfd9e8d6e9e51 (diff) | |
parent | 04ef037c926ddb31088c976538e29eada4fd1490 (diff) |
Merge tag 'drivers' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc
Pull ARM soc driver specific changes from Olof Johansson:
- A long-coming conversion of various platforms to a common LED
infrastructure
- AT91 is moved over to use the newer MCI driver for MMC
- Pincontrol conversions for samsung platforms
- DT bindings for gscaler on samsung
- i2c driver fixes for tegra, acked by i2c maintainer
Fix up conflicts as per Olof.
* tag 'drivers' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (48 commits)
drivers: bus: omap_l3: use resources instead of hardcoded irqs
pinctrl: exynos: Fix wakeup IRQ domain registration check
pinctrl: samsung: Uninline samsung_pinctrl_get_soc_data
pinctrl: exynos: Correct the detection of wakeup-eint node
pinctrl: exynos: Mark exynos_irq_demux_eint as inline
pinctrl: exynos: Handle only unmasked wakeup interrupts
pinctrl: exynos: Fix typos in gpio/wkup _irq_mask
pinctrl: exynos: Set pin function to EINT in irq_set_type of GPIO EINTa
drivers: bus: Move the OMAP interconnect driver to drivers/bus/
i2c: tegra: dynamically control fast clk
i2c: tegra: I2_M_NOSTART functionality not supported in Tegra20
ARM: tegra: clock: remove unused clock entry for i2c
ARM: tegra: clock: add connection name in i2c clock entry
i2c: tegra: pass proper name for getting clock
ARM: tegra: clock: add i2c fast clock entry in clock table
ARM: EXYNOS: Adds G-Scaler device from Device Tree
ARM: EXYNOS: Add clock support for G-Scaler
ARM: EXYNOS: Enable pinctrl driver support for EXYNOS4 device tree enabled platform
ARM: dts: Add pinctrl node entries for SAMSUNG EXYNOS4210 SoC
ARM: EXYNOS: skip wakeup interrupt setup if pinctrl driver is used
...
Diffstat (limited to 'arch/arm/mach-realview')
-rw-r--r-- | arch/arm/mach-realview/core.c | 39 | ||||
-rw-r--r-- | arch/arm/mach-realview/core.h | 2 | ||||
-rw-r--r-- | arch/arm/mach-realview/realview_eb.c | 5 | ||||
-rw-r--r-- | arch/arm/mach-realview/realview_pb1176.c | 5 | ||||
-rw-r--r-- | arch/arm/mach-realview/realview_pb11mp.c | 5 | ||||
-rw-r--r-- | arch/arm/mach-realview/realview_pba8.c | 5 | ||||
-rw-r--r-- | arch/arm/mach-realview/realview_pbx.c | 5 |
7 files changed, 0 insertions, 66 deletions
diff --git a/arch/arm/mach-realview/core.c b/arch/arm/mach-realview/core.c index ff007d15e0ec..682467480588 100644 --- a/arch/arm/mach-realview/core.c +++ b/arch/arm/mach-realview/core.c | |||
@@ -34,7 +34,6 @@ | |||
34 | 34 | ||
35 | #include <mach/hardware.h> | 35 | #include <mach/hardware.h> |
36 | #include <asm/irq.h> | 36 | #include <asm/irq.h> |
37 | #include <asm/leds.h> | ||
38 | #include <asm/mach-types.h> | 37 | #include <asm/mach-types.h> |
39 | #include <asm/hardware/arm_timer.h> | 38 | #include <asm/hardware/arm_timer.h> |
40 | #include <asm/hardware/icst.h> | 39 | #include <asm/hardware/icst.h> |
@@ -330,44 +329,6 @@ struct clcd_board clcd_plat_data = { | |||
330 | .remove = versatile_clcd_remove_dma, | 329 | .remove = versatile_clcd_remove_dma, |
331 | }; | 330 | }; |
332 | 331 | ||
333 | #ifdef CONFIG_LEDS | ||
334 | #define VA_LEDS_BASE (__io_address(REALVIEW_SYS_BASE) + REALVIEW_SYS_LED_OFFSET) | ||
335 | |||
336 | void realview_leds_event(led_event_t ledevt) | ||
337 | { | ||
338 | unsigned long flags; | ||
339 | u32 val; | ||
340 | u32 led = 1 << smp_processor_id(); | ||
341 | |||
342 | local_irq_save(flags); | ||
343 | val = readl(VA_LEDS_BASE); | ||
344 | |||
345 | switch (ledevt) { | ||
346 | case led_idle_start: | ||
347 | val = val & ~led; | ||
348 | break; | ||
349 | |||
350 | case led_idle_end: | ||
351 | val = val | led; | ||
352 | break; | ||
353 | |||
354 | case led_timer: | ||
355 | val = val ^ REALVIEW_SYS_LED7; | ||
356 | break; | ||
357 | |||
358 | case led_halted: | ||
359 | val = 0; | ||
360 | break; | ||
361 | |||
362 | default: | ||
363 | break; | ||
364 | } | ||
365 | |||
366 | writel(val, VA_LEDS_BASE); | ||
367 | local_irq_restore(flags); | ||
368 | } | ||
369 | #endif /* CONFIG_LEDS */ | ||
370 | |||
371 | /* | 332 | /* |
372 | * Where is the timer (VA)? | 333 | * Where is the timer (VA)? |
373 | */ | 334 | */ |
diff --git a/arch/arm/mach-realview/core.h b/arch/arm/mach-realview/core.h index f8f2c0ac4c01..f2141ae5a7de 100644 --- a/arch/arm/mach-realview/core.h +++ b/arch/arm/mach-realview/core.h | |||
@@ -26,7 +26,6 @@ | |||
26 | #include <linux/io.h> | 26 | #include <linux/io.h> |
27 | 27 | ||
28 | #include <asm/setup.h> | 28 | #include <asm/setup.h> |
29 | #include <asm/leds.h> | ||
30 | 29 | ||
31 | #define APB_DEVICE(name, busid, base, plat) \ | 30 | #define APB_DEVICE(name, busid, base, plat) \ |
32 | static AMBA_APB_DEVICE(name, busid, 0, REALVIEW_##base##_BASE, base##_IRQ, plat) | 31 | static AMBA_APB_DEVICE(name, busid, 0, REALVIEW_##base##_BASE, base##_IRQ, plat) |
@@ -47,7 +46,6 @@ extern void __iomem *timer1_va_base; | |||
47 | extern void __iomem *timer2_va_base; | 46 | extern void __iomem *timer2_va_base; |
48 | extern void __iomem *timer3_va_base; | 47 | extern void __iomem *timer3_va_base; |
49 | 48 | ||
50 | extern void realview_leds_event(led_event_t ledevt); | ||
51 | extern void realview_timer_init(unsigned int timer_irq); | 49 | extern void realview_timer_init(unsigned int timer_irq); |
52 | extern int realview_flash_register(struct resource *res, u32 num); | 50 | extern int realview_flash_register(struct resource *res, u32 num); |
53 | extern int realview_eth_register(const char *name, struct resource *res); | 51 | extern int realview_eth_register(const char *name, struct resource *res); |
diff --git a/arch/arm/mach-realview/realview_eb.c b/arch/arm/mach-realview/realview_eb.c index ce7747692c8b..d3b3cd216d64 100644 --- a/arch/arm/mach-realview/realview_eb.c +++ b/arch/arm/mach-realview/realview_eb.c | |||
@@ -31,7 +31,6 @@ | |||
31 | 31 | ||
32 | #include <mach/hardware.h> | 32 | #include <mach/hardware.h> |
33 | #include <asm/irq.h> | 33 | #include <asm/irq.h> |
34 | #include <asm/leds.h> | ||
35 | #include <asm/mach-types.h> | 34 | #include <asm/mach-types.h> |
36 | #include <asm/pgtable.h> | 35 | #include <asm/pgtable.h> |
37 | #include <asm/hardware/gic.h> | 36 | #include <asm/hardware/gic.h> |
@@ -463,10 +462,6 @@ static void __init realview_eb_init(void) | |||
463 | struct amba_device *d = amba_devs[i]; | 462 | struct amba_device *d = amba_devs[i]; |
464 | amba_device_register(d, &iomem_resource); | 463 | amba_device_register(d, &iomem_resource); |
465 | } | 464 | } |
466 | |||
467 | #ifdef CONFIG_LEDS | ||
468 | leds_event = realview_leds_event; | ||
469 | #endif | ||
470 | } | 465 | } |
471 | 466 | ||
472 | MACHINE_START(REALVIEW_EB, "ARM-RealView EB") | 467 | MACHINE_START(REALVIEW_EB, "ARM-RealView EB") |
diff --git a/arch/arm/mach-realview/realview_pb1176.c b/arch/arm/mach-realview/realview_pb1176.c index e21711d72ee2..07d6672ddae7 100644 --- a/arch/arm/mach-realview/realview_pb1176.c +++ b/arch/arm/mach-realview/realview_pb1176.c | |||
@@ -33,7 +33,6 @@ | |||
33 | 33 | ||
34 | #include <mach/hardware.h> | 34 | #include <mach/hardware.h> |
35 | #include <asm/irq.h> | 35 | #include <asm/irq.h> |
36 | #include <asm/leds.h> | ||
37 | #include <asm/mach-types.h> | 36 | #include <asm/mach-types.h> |
38 | #include <asm/pgtable.h> | 37 | #include <asm/pgtable.h> |
39 | #include <asm/hardware/gic.h> | 38 | #include <asm/hardware/gic.h> |
@@ -376,10 +375,6 @@ static void __init realview_pb1176_init(void) | |||
376 | struct amba_device *d = amba_devs[i]; | 375 | struct amba_device *d = amba_devs[i]; |
377 | amba_device_register(d, &iomem_resource); | 376 | amba_device_register(d, &iomem_resource); |
378 | } | 377 | } |
379 | |||
380 | #ifdef CONFIG_LEDS | ||
381 | leds_event = realview_leds_event; | ||
382 | #endif | ||
383 | } | 378 | } |
384 | 379 | ||
385 | MACHINE_START(REALVIEW_PB1176, "ARM-RealView PB1176") | 380 | MACHINE_START(REALVIEW_PB1176, "ARM-RealView PB1176") |
diff --git a/arch/arm/mach-realview/realview_pb11mp.c b/arch/arm/mach-realview/realview_pb11mp.c index b442fb276d57..ec4fcd9a7e9c 100644 --- a/arch/arm/mach-realview/realview_pb11mp.c +++ b/arch/arm/mach-realview/realview_pb11mp.c | |||
@@ -31,7 +31,6 @@ | |||
31 | 31 | ||
32 | #include <mach/hardware.h> | 32 | #include <mach/hardware.h> |
33 | #include <asm/irq.h> | 33 | #include <asm/irq.h> |
34 | #include <asm/leds.h> | ||
35 | #include <asm/mach-types.h> | 34 | #include <asm/mach-types.h> |
36 | #include <asm/pgtable.h> | 35 | #include <asm/pgtable.h> |
37 | #include <asm/hardware/gic.h> | 36 | #include <asm/hardware/gic.h> |
@@ -358,10 +357,6 @@ static void __init realview_pb11mp_init(void) | |||
358 | struct amba_device *d = amba_devs[i]; | 357 | struct amba_device *d = amba_devs[i]; |
359 | amba_device_register(d, &iomem_resource); | 358 | amba_device_register(d, &iomem_resource); |
360 | } | 359 | } |
361 | |||
362 | #ifdef CONFIG_LEDS | ||
363 | leds_event = realview_leds_event; | ||
364 | #endif | ||
365 | } | 360 | } |
366 | 361 | ||
367 | MACHINE_START(REALVIEW_PB11MP, "ARM-RealView PB11MPCore") | 362 | MACHINE_START(REALVIEW_PB11MP, "ARM-RealView PB11MPCore") |
diff --git a/arch/arm/mach-realview/realview_pba8.c b/arch/arm/mach-realview/realview_pba8.c index 1435cd863965..9992431b8a15 100644 --- a/arch/arm/mach-realview/realview_pba8.c +++ b/arch/arm/mach-realview/realview_pba8.c | |||
@@ -30,7 +30,6 @@ | |||
30 | #include <linux/platform_data/clk-realview.h> | 30 | #include <linux/platform_data/clk-realview.h> |
31 | 31 | ||
32 | #include <asm/irq.h> | 32 | #include <asm/irq.h> |
33 | #include <asm/leds.h> | ||
34 | #include <asm/mach-types.h> | 33 | #include <asm/mach-types.h> |
35 | #include <asm/pgtable.h> | 34 | #include <asm/pgtable.h> |
36 | #include <asm/hardware/gic.h> | 35 | #include <asm/hardware/gic.h> |
@@ -300,10 +299,6 @@ static void __init realview_pba8_init(void) | |||
300 | struct amba_device *d = amba_devs[i]; | 299 | struct amba_device *d = amba_devs[i]; |
301 | amba_device_register(d, &iomem_resource); | 300 | amba_device_register(d, &iomem_resource); |
302 | } | 301 | } |
303 | |||
304 | #ifdef CONFIG_LEDS | ||
305 | leds_event = realview_leds_event; | ||
306 | #endif | ||
307 | } | 302 | } |
308 | 303 | ||
309 | MACHINE_START(REALVIEW_PBA8, "ARM-RealView PB-A8") | 304 | MACHINE_START(REALVIEW_PBA8, "ARM-RealView PB-A8") |
diff --git a/arch/arm/mach-realview/realview_pbx.c b/arch/arm/mach-realview/realview_pbx.c index 5d2c8bebb069..17954a327e1b 100644 --- a/arch/arm/mach-realview/realview_pbx.c +++ b/arch/arm/mach-realview/realview_pbx.c | |||
@@ -29,7 +29,6 @@ | |||
29 | #include <linux/platform_data/clk-realview.h> | 29 | #include <linux/platform_data/clk-realview.h> |
30 | 30 | ||
31 | #include <asm/irq.h> | 31 | #include <asm/irq.h> |
32 | #include <asm/leds.h> | ||
33 | #include <asm/mach-types.h> | 32 | #include <asm/mach-types.h> |
34 | #include <asm/smp_twd.h> | 33 | #include <asm/smp_twd.h> |
35 | #include <asm/pgtable.h> | 34 | #include <asm/pgtable.h> |
@@ -395,10 +394,6 @@ static void __init realview_pbx_init(void) | |||
395 | struct amba_device *d = amba_devs[i]; | 394 | struct amba_device *d = amba_devs[i]; |
396 | amba_device_register(d, &iomem_resource); | 395 | amba_device_register(d, &iomem_resource); |
397 | } | 396 | } |
398 | |||
399 | #ifdef CONFIG_LEDS | ||
400 | leds_event = realview_leds_event; | ||
401 | #endif | ||
402 | } | 397 | } |
403 | 398 | ||
404 | MACHINE_START(REALVIEW_PBX, "ARM-RealView PBX") | 399 | MACHINE_START(REALVIEW_PBX, "ARM-RealView PBX") |