diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2011-01-25 18:04:18 -0500 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-01-25 18:04:18 -0500 |
| commit | 6663050edd9c2e8b1e1f55c09459144d84c045f0 (patch) | |
| tree | f683d34d517465d62dcf2fd311f8f6e5d7e736b0 | |
| parent | 3af03655e885ba7f48ca6318e231a7086a51082e (diff) | |
| parent | 2f8e7285606bcdf8f574bff633675eabcee83d5e (diff) | |
Merge branch 'fixes' of master.kernel.org:/home/rmk/linux-2.6-arm
* 'fixes' of master.kernel.org:/home/rmk/linux-2.6-arm:
ALSA: AACI: fix timeout duration
ALSA: AACI: fix timeout condition checking
ARM: 6636/1: ep93xx: default multiplexed gpio ports to gpio mode
ARM: 6637/1: Make the argument to virt_to_phys() "const volatile"
ARM: twd: ensure timer reload is reprogrammed on entry to periodic mode
ARM: 6635/2: Configure reference clock for Versatile Express timers
ARM: versatile: name configuration options after actual board names
ARM: realview: name configuration options after actual board names
ARM: realview,vexpress: fix section mismatch warning for pen_release
ARM: 6632/3: mmci: stop using the blockend interrupts
| -rw-r--r-- | arch/arm/include/asm/hardware/sp810.h | 6 | ||||
| -rw-r--r-- | arch/arm/include/asm/memory.h | 2 | ||||
| -rw-r--r-- | arch/arm/kernel/smp_twd.c | 7 | ||||
| -rw-r--r-- | arch/arm/mach-ep93xx/gpio.c | 7 | ||||
| -rw-r--r-- | arch/arm/mach-realview/Kconfig | 49 | ||||
| -rw-r--r-- | arch/arm/mach-realview/platsmp.c | 2 | ||||
| -rw-r--r-- | arch/arm/mach-versatile/Kconfig | 10 | ||||
| -rw-r--r-- | arch/arm/mach-vexpress/platsmp.c | 2 | ||||
| -rw-r--r-- | arch/arm/mach-vexpress/v2m.c | 9 | ||||
| -rw-r--r-- | drivers/mmc/host/mmci.c | 98 | ||||
| -rw-r--r-- | drivers/mmc/host/mmci.h | 5 | ||||
| -rw-r--r-- | sound/arm/aaci.c | 48 |
12 files changed, 107 insertions, 138 deletions
diff --git a/arch/arm/include/asm/hardware/sp810.h b/arch/arm/include/asm/hardware/sp810.h index a101f10bb5b1..721847dc68ab 100644 --- a/arch/arm/include/asm/hardware/sp810.h +++ b/arch/arm/include/asm/hardware/sp810.h | |||
| @@ -50,6 +50,12 @@ | |||
| 50 | #define SCPCELLID2 0xFF8 | 50 | #define SCPCELLID2 0xFF8 |
| 51 | #define SCPCELLID3 0xFFC | 51 | #define SCPCELLID3 0xFFC |
| 52 | 52 | ||
| 53 | #define SCCTRL_TIMEREN0SEL_REFCLK (0 << 15) | ||
| 54 | #define SCCTRL_TIMEREN0SEL_TIMCLK (1 << 15) | ||
| 55 | |||
| 56 | #define SCCTRL_TIMEREN1SEL_REFCLK (0 << 17) | ||
| 57 | #define SCCTRL_TIMEREN1SEL_TIMCLK (1 << 17) | ||
| 58 | |||
| 53 | static inline void sysctl_soft_reset(void __iomem *base) | 59 | static inline void sysctl_soft_reset(void __iomem *base) |
| 54 | { | 60 | { |
| 55 | /* writing any value to SCSYSSTAT reg will reset system */ | 61 | /* writing any value to SCSYSSTAT reg will reset system */ |
diff --git a/arch/arm/include/asm/memory.h b/arch/arm/include/asm/memory.h index 23c2e8e5c0fa..d0ee74b7cf86 100644 --- a/arch/arm/include/asm/memory.h +++ b/arch/arm/include/asm/memory.h | |||
| @@ -188,7 +188,7 @@ | |||
| 188 | * translation for translating DMA addresses. Use the driver | 188 | * translation for translating DMA addresses. Use the driver |
| 189 | * DMA support - see dma-mapping.h. | 189 | * DMA support - see dma-mapping.h. |
| 190 | */ | 190 | */ |
| 191 | static inline unsigned long virt_to_phys(void *x) | 191 | static inline unsigned long virt_to_phys(const volatile void *x) |
| 192 | { | 192 | { |
| 193 | return __virt_to_phys((unsigned long)(x)); | 193 | return __virt_to_phys((unsigned long)(x)); |
| 194 | } | 194 | } |
diff --git a/arch/arm/kernel/smp_twd.c b/arch/arm/kernel/smp_twd.c index fd9156698ab9..60636f499cb3 100644 --- a/arch/arm/kernel/smp_twd.c +++ b/arch/arm/kernel/smp_twd.c | |||
| @@ -36,6 +36,7 @@ static void twd_set_mode(enum clock_event_mode mode, | |||
| 36 | /* timer load already set up */ | 36 | /* timer load already set up */ |
| 37 | ctrl = TWD_TIMER_CONTROL_ENABLE | TWD_TIMER_CONTROL_IT_ENABLE | 37 | ctrl = TWD_TIMER_CONTROL_ENABLE | TWD_TIMER_CONTROL_IT_ENABLE |
| 38 | | TWD_TIMER_CONTROL_PERIODIC; | 38 | | TWD_TIMER_CONTROL_PERIODIC; |
| 39 | __raw_writel(twd_timer_rate / HZ, twd_base + TWD_TIMER_LOAD); | ||
| 39 | break; | 40 | break; |
| 40 | case CLOCK_EVT_MODE_ONESHOT: | 41 | case CLOCK_EVT_MODE_ONESHOT: |
| 41 | /* period set, and timer enabled in 'next_event' hook */ | 42 | /* period set, and timer enabled in 'next_event' hook */ |
| @@ -81,7 +82,7 @@ int twd_timer_ack(void) | |||
| 81 | 82 | ||
| 82 | static void __cpuinit twd_calibrate_rate(void) | 83 | static void __cpuinit twd_calibrate_rate(void) |
| 83 | { | 84 | { |
| 84 | unsigned long load, count; | 85 | unsigned long count; |
| 85 | u64 waitjiffies; | 86 | u64 waitjiffies; |
| 86 | 87 | ||
| 87 | /* | 88 | /* |
| @@ -116,10 +117,6 @@ static void __cpuinit twd_calibrate_rate(void) | |||
| 116 | printk("%lu.%02luMHz.\n", twd_timer_rate / 1000000, | 117 | printk("%lu.%02luMHz.\n", twd_timer_rate / 1000000, |
| 117 | (twd_timer_rate / 1000000) % 100); | 118 | (twd_timer_rate / 1000000) % 100); |
| 118 | } | 119 | } |
| 119 | |||
| 120 | load = twd_timer_rate / HZ; | ||
| 121 | |||
| 122 | __raw_writel(load, twd_base + TWD_TIMER_LOAD); | ||
| 123 | } | 120 | } |
| 124 | 121 | ||
| 125 | /* | 122 | /* |
diff --git a/arch/arm/mach-ep93xx/gpio.c b/arch/arm/mach-ep93xx/gpio.c index f3dc76fdcea8..bec34b834958 100644 --- a/arch/arm/mach-ep93xx/gpio.c +++ b/arch/arm/mach-ep93xx/gpio.c | |||
| @@ -427,6 +427,13 @@ void __init ep93xx_gpio_init(void) | |||
| 427 | { | 427 | { |
| 428 | int i; | 428 | int i; |
| 429 | 429 | ||
| 430 | /* Set Ports C, D, E, G, and H for GPIO use */ | ||
| 431 | ep93xx_devcfg_set_bits(EP93XX_SYSCON_DEVCFG_KEYS | | ||
| 432 | EP93XX_SYSCON_DEVCFG_GONK | | ||
| 433 | EP93XX_SYSCON_DEVCFG_EONIDE | | ||
| 434 | EP93XX_SYSCON_DEVCFG_GONIDE | | ||
| 435 | EP93XX_SYSCON_DEVCFG_HONIDE); | ||
| 436 | |||
| 430 | for (i = 0; i < ARRAY_SIZE(ep93xx_gpio_banks); i++) | 437 | for (i = 0; i < ARRAY_SIZE(ep93xx_gpio_banks); i++) |
| 431 | gpiochip_add(&ep93xx_gpio_banks[i].chip); | 438 | gpiochip_add(&ep93xx_gpio_banks[i].chip); |
| 432 | } | 439 | } |
diff --git a/arch/arm/mach-realview/Kconfig b/arch/arm/mach-realview/Kconfig index b4575ae9648e..7ca138a943a9 100644 --- a/arch/arm/mach-realview/Kconfig +++ b/arch/arm/mach-realview/Kconfig | |||
| @@ -2,52 +2,56 @@ menu "RealView platform type" | |||
| 2 | depends on ARCH_REALVIEW | 2 | depends on ARCH_REALVIEW |
| 3 | 3 | ||
| 4 | config MACH_REALVIEW_EB | 4 | config MACH_REALVIEW_EB |
| 5 | bool "Support RealView/EB platform" | 5 | bool "Support RealView(R) Emulation Baseboard" |
| 6 | select ARM_GIC | 6 | select ARM_GIC |
| 7 | help | 7 | help |
| 8 | Include support for the ARM(R) RealView Emulation Baseboard platform. | 8 | Include support for the ARM(R) RealView(R) Emulation Baseboard |
| 9 | platform. | ||
| 9 | 10 | ||
| 10 | config REALVIEW_EB_A9MP | 11 | config REALVIEW_EB_A9MP |
| 11 | bool "Support Multicore Cortex-A9" | 12 | bool "Support Multicore Cortex-A9 Tile" |
| 12 | depends on MACH_REALVIEW_EB | 13 | depends on MACH_REALVIEW_EB |
| 13 | select CPU_V7 | 14 | select CPU_V7 |
| 14 | help | 15 | help |
| 15 | Enable support for the Cortex-A9MPCore tile on the Realview platform. | 16 | Enable support for the Cortex-A9MPCore tile fitted to the |
| 17 | Realview(R) Emulation Baseboard platform. | ||
| 16 | 18 | ||
| 17 | config REALVIEW_EB_ARM11MP | 19 | config REALVIEW_EB_ARM11MP |
| 18 | bool "Support ARM11MPCore tile" | 20 | bool "Support ARM11MPCore Tile" |
| 19 | depends on MACH_REALVIEW_EB | 21 | depends on MACH_REALVIEW_EB |
| 20 | select CPU_V6 | 22 | select CPU_V6 |
| 21 | select ARCH_HAS_BARRIERS if SMP | 23 | select ARCH_HAS_BARRIERS if SMP |
| 22 | help | 24 | help |
| 23 | Enable support for the ARM11MPCore tile on the Realview platform. | 25 | Enable support for the ARM11MPCore tile fitted to the Realview(R) |
| 26 | Emulation Baseboard platform. | ||
| 24 | 27 | ||
| 25 | config REALVIEW_EB_ARM11MP_REVB | 28 | config REALVIEW_EB_ARM11MP_REVB |
| 26 | bool "Support ARM11MPCore RevB tile" | 29 | bool "Support ARM11MPCore RevB Tile" |
| 27 | depends on REALVIEW_EB_ARM11MP | 30 | depends on REALVIEW_EB_ARM11MP |
| 28 | help | 31 | help |
| 29 | Enable support for the ARM11MPCore RevB tile on the Realview | 32 | Enable support for the ARM11MPCore Revision B tile on the |
| 30 | platform. Since there are device address differences, a | 33 | Realview(R) Emulation Baseboard platform. Since there are device |
| 31 | kernel built with this option enabled is not compatible with | 34 | address differences, a kernel built with this option enabled is |
| 32 | other revisions of the ARM11MPCore tile. | 35 | not compatible with other revisions of the ARM11MPCore tile. |
| 33 | 36 | ||
| 34 | config MACH_REALVIEW_PB11MP | 37 | config MACH_REALVIEW_PB11MP |
| 35 | bool "Support RealView/PB11MPCore platform" | 38 | bool "Support RealView(R) Platform Baseboard for ARM11MPCore" |
| 36 | select CPU_V6 | 39 | select CPU_V6 |
| 37 | select ARM_GIC | 40 | select ARM_GIC |
| 38 | select HAVE_PATA_PLATFORM | 41 | select HAVE_PATA_PLATFORM |
| 39 | select ARCH_HAS_BARRIERS if SMP | 42 | select ARCH_HAS_BARRIERS if SMP |
| 40 | help | 43 | help |
| 41 | Include support for the ARM(R) RealView MPCore Platform Baseboard. | 44 | Include support for the ARM(R) RealView(R) Platform Baseboard for |
| 42 | PB11MPCore is a platform with an on-board ARM11MPCore and has | 45 | the ARM11MPCore. This platform has an on-board ARM11MPCore and has |
| 43 | support for PCI-E and Compact Flash. | 46 | support for PCI-E and Compact Flash. |
| 44 | 47 | ||
| 45 | config MACH_REALVIEW_PB1176 | 48 | config MACH_REALVIEW_PB1176 |
| 46 | bool "Support RealView/PB1176 platform" | 49 | bool "Support RealView(R) Platform Baseboard for ARM1176JZF-S" |
| 47 | select CPU_V6 | 50 | select CPU_V6 |
| 48 | select ARM_GIC | 51 | select ARM_GIC |
| 49 | help | 52 | help |
| 50 | Include support for the ARM(R) RealView ARM1176 Platform Baseboard. | 53 | Include support for the ARM(R) RealView(R) Platform |
