[PATCH v2 0/6] arm: davinci: DA850: wl12xx expansion card

2011-07-10 Thread Ido Yariv
The following series adds support for an optional wl12xx based expansion card for the AM18x EVM: http://processors.wiki.ti.com/index.php/AM18x_%2B_WL1271 The first couple of patches address issues which had to be fixed for this series to work. However, these should be fixed regardless of the

[PATCH v2 1/6] arm: davinci: Fix low level gpio irq handlers' argument

2011-07-10 Thread Ido Yariv
Commit 7416401 (arm: davinci: Fix fallout from generic irq chip conversion) introduced a bug, causing low level interrupt handlers to get a bogus irq number as an argument. The gpio irq handler falsely assumes that the handler data is the irq base number and that is no longer true. Fix this by

[PATCH v2 2/6] arm: davinci: Explicitly set channel controllers' default queues

2011-07-10 Thread Ido Yariv
Davinci platforms may define a default queue for each channel controller. If one is not defined, the default queue is set to EVENTQ_1. However, there's no way to distinguish between an unset default queue to one that is set to EVENTQ_0, as EVENTQ_0 = 0. Explicitly specify the default queue for

[PATCH v2 3/6] arm: davinci: mmc: Add support for set_power callback

2011-07-10 Thread Ido Yariv
Some devices connected to the MMC bus are power controlled by external means. For instance, an SDIO device may be powered down/up by an external gpio line. In order to avoid toggling power from within the MMC host driver, add a set_power callback function, which will be called by set_ios upon

[PATCH v2 4/6] arm: davinci: DA850: Add MMC/SD1 pinmux configuration

2011-07-10 Thread Ido Yariv
AM18x has two MMC slots. Add the required pinmux configuration for the second slot. Signed-off-by: Ido Yariv i...@wizery.com --- arch/arm/mach-davinci/da850.c|7 +++ arch/arm/mach-davinci/include/mach/mux.h |8 2 files changed, 15 insertions(+), 0 deletions(-)

[PATCH v2 5/6] arm: davinci: DA850: Add GPIO pinmux configuration for wl1271

2011-07-10 Thread Ido Yariv
The wl1271 daughter board makes use of a few GPIOs: GPIO6_9 is used for powering down/up the WLAN functionality. GPIO6_10 is used as an input IRQ line from the WLAN chip. Add the required pinmux configuration for these GPIOs. Signed-off-by: Ido Yariv i...@wizery.com ---

[PATCH v2 6/6] arm: davinci: DA850: Add wl1271/wlan support

2011-07-10 Thread Ido Yariv
The wl1271 daughter card for AM18x EVMs is a combo wireless connectivity add-on card, based on the LS Research TiWi module with Texas Instruments' wl1271 solution. It is a 4-wire, 1.8V, embedded SDIO WLAN device with an external IRQ line and is power-controlled by a GPIO-based fixed regulator.

[PATCH v6] mmc: documentation of mmc non-blocking request usage and design.

2011-07-10 Thread Per Forlin
Documentation about the background and the design of mmc non-blocking. Host driver guidelines to minimize request preparation overhead. Signed-off-by: Per Forlin per.for...@linaro.org Acked-by: Randy Dunlap rdun...@xenotime.net --- ChangeLog: v2: - Minor updates after proofreading comments from

[PATCH] mmc: sdhci: fix retuning timer wrongly deleted in sdhci_tasklet_finish

2011-07-10 Thread Aaron Lu
Currently, the retuning timer for retuning mode 1 will be deleted in function sdhci_tasklet_finish after a mmc request done, which will make retuning timing never trigger again. This patch fixed this problem. Signed-off-by: Aaron Lu aaron...@amd.com --- drivers/mmc/host/sdhci.c |3 --- 1