[RFC PATCH 1/2] MMC: DTS: Add binding for Wondermedia WM8505 SDHC

2012-10-15 Thread Tony Prisk
Binding documentation for WMT SD/MMC Host Controller found on Wondermedia 8xxx series SoCs. Based on mmc.txt binding with additional properties. Signed-off-by: Tony Prisk li...@prisktech.co.nz --- .../devicetree/bindings/mmc/vt8500-sdmmc.txt | 24 1 file changed, 24

[RFC PATCH 0/2] MMC: Add support for Wondermedia SoC SDHC

2012-10-15 Thread Tony Prisk
This patchset adds support for the Wondermedia 8xxx-series SD Host Controller currently found under arm/arch-vt8500. Tony Prisk (2): MMC: DTS: Add binding for Wondermedia WM8505 SDHC MMC: SD/MMC Host Controller for Wondermedia WM8505/WM8650 .../devicetree/bindings/mmc/vt8500-sdmmc.txt

[RFC PATCH 2/2] MMC: SD/MMC Host Controller for Wondermedia WM8505/WM8650

2012-10-15 Thread Tony Prisk
This patch adds support for the SD/MMC host controller found on Wondermedia 8xxx series SoCs, currently supported under arm/arch-vt8500. Signed-off-by: Tony Prisk li...@prisktech.co.nz --- drivers/mmc/host/Kconfig | 12 + drivers/mmc/host/Makefile|1 + drivers/mmc/host/wmt-sdmmc.c

[PATCH] MMC: fix sdhci-dove removal

2012-10-15 Thread Russell King - ARM Linux
1. Unregister the device _BEFORE_ taking away any resources it may be using. 2. Don't check clks against NULL. Signed-off-by: Russell King rmk+ker...@arm.linux.org.uk --- I noticed this while merging v3.6 into Rabeeh's cubox kernel. drivers/mmc/host/sdhci-dove.c | 13 ++--- 1 files

Re: [PATCH] MMC: fix sdhci-dove removal

2012-10-15 Thread Russell King - ARM Linux
On Mon, Oct 15, 2012 at 10:43:48AM +0100, Russell King - ARM Linux wrote: 1. Unregister the device _BEFORE_ taking away any resources it may be using. 2. Don't check clks against NULL. Signed-off-by: Russell King rmk+ker...@arm.linux.org.uk Looking at this driver some more, who the hell

Re: [PATCH] MMC: fix sdhci-dove removal

2012-10-15 Thread Russell King - ARM Linux
On Mon, Oct 15, 2012 at 11:37:25AM +0100, Russell King - ARM Linux wrote: On Mon, Oct 15, 2012 at 10:43:48AM +0100, Russell King - ARM Linux wrote: 1. Unregister the device _BEFORE_ taking away any resources it may be using. 2. Don't check clks against NULL. Signed-off-by: Russell

[RFC/PATCH v2] mmc: core: Fixup signal voltage switch

2012-10-15 Thread Johan Rudholm
When switching SD and SDIO cards from 3.3V to 1.8V signal levels, the clock should be gated for 5 ms during the step. After enabling the clock, the host should wait for at least 1 ms before checking for failure. Failure by the card to switch is indicated by dat[0:3] being pulled low. The host

Re: [RFC PATCH 2/2] MMC: SD/MMC Host Controller for Wondermedia WM8505/WM8650

2012-10-15 Thread Girish K S
On 15 October 2012 17:24, Tony Prisk li...@prisktech.co.nz wrote: This patch adds support for the SD/MMC host controller found on Wondermedia 8xxx series SoCs, currently supported under arm/arch-vt8500. Signed-off-by: Tony Prisk li...@prisktech.co.nz --- drivers/mmc/host/Kconfig | 12

[PATCH 1/2] mmc: core: Support all MMC capabilities when booting from Device Tree

2012-10-15 Thread Lee Jones
Capabilities are an important part of the MMC subsystem. Much supported functionality would be lost if we didn't provide the same level of support when booting Device Tree as we currently do when the subsystem is passed capabilities via platform data. This patch supplies this support with one

[PATCH 2/2] mmc: mmci: Make use of new DT capability parsing function

2012-10-15 Thread Lee Jones
Instead of rolling our own parsers for each new capability we wish to support, we can make use of a call-once function which parses all known capability strings and populates the necessary properties for us. All we have to do is remove our own cruft and invoke the call. Cc: Chris Ball

Re: [PATCH 1/2] mmc: core: Support all MMC capabilities when booting from Device Tree

2012-10-15 Thread Arnd Bergmann
On Monday 15 October 2012, Lee Jones wrote: Capabilities are an important part of the MMC subsystem. Much supported functionality would be lost if we didn't provide the same level of support when booting Device Tree as we currently do when the subsystem is passed capabilities via platform

Re: [PATCH] MMC: fix sdhci-dove removal

2012-10-15 Thread Russell King - ARM Linux
On Mon, Oct 15, 2012 at 04:58:55PM +0200, Jean-Christophe PLAGNIOL-VILLARD wrote: On 11:44 Mon 15 Oct , Russell King - ARM Linux wrote: On Mon, Oct 15, 2012 at 11:37:25AM +0100, Russell King - ARM Linux wrote: On Mon, Oct 15, 2012 at 10:43:48AM +0100, Russell King - ARM Linux wrote:

[PATCH v1] mmc: fix async request mechanism for sequential read scenarios

2012-10-15 Thread Konstantin Dorfman
The main assumption of the async request design is that the file system adds block requests to the block device queue asynchronously without waiting for completion (see the Rationale section of https://wiki.linaro.org/WorkingGroups/Kernel/Specs /StoragePerfMMC-async-req). We found out that in

[PATCH 1/4] MMC: omap_hsmmc: claim pinctrl at probe time

2012-10-15 Thread Venkatraman S
From: Daniel Mack zon...@gmail.com This allows DT-driven board to set up the pin mux only when the driver is in use. Signed-off-by: Daniel Mack zon...@gmail.com Cc: Venkatraman S svenk...@ti.com Cc: Chris Ball c...@laptop.org Cc: Grant Likely grant.lik...@secretlab.ca Cc: Rob Herring

[PATCH 2/4] MMC: omap_hsmmc: add DT property for max bus frequency

2012-10-15 Thread Venkatraman S
From: Daniel Mack zon...@gmail.com Maximum bus frequency can be limited by external circuitry like level shifters etc. Allow passing this value from DT. Signed-off-by: Daniel Mack zon...@gmail.com Cc: Venkatraman S svenk...@ti.com Cc: Chris Ball c...@laptop.org Cc: Grant Likely

[PATCH 4/4] mmc: omap_hsmmc: Fix NULL pointer dereference for dt boot

2012-10-15 Thread Venkatraman S
From: Balaji T K balaj...@ti.com dev-platform_data is NULL in case of device tree boot, instead use the saved version in struct omap_hsmmc_host. Signed-off-by: Balaji T K balaj...@ti.com Signed-off-by: Venkatraman S svenk...@ti.com --- drivers/mmc/host/omap_hsmmc.c | 17 +++-- 1

Re: [PATCH 0/4] MMC: some omap_hsmmc fixes

2012-10-15 Thread Venkatraman S
Daniel, On Sat, Oct 13, 2012 at 2:31 PM, Daniel Mack zon...@gmail.com wrote: On 12.10.2012 12:58, Daniel Mack wrote: Here are some assorted patches for the omap_hsmmc driver that I need on top Linus' current development branch to make it work on a AM33xx board. 1/4 and 2/4 qualify as bug

Re: [PATCH 1/2] mmc: core: Support all MMC capabilities when booting from Device Tree

2012-10-15 Thread Lee Jones
On Monday 15 October 2012, Lee Jones wrote: Capabilities are an important part of the MMC subsystem. Much supported functionality would be lost if we didn't provide the same level of support when booting Device Tree as we currently do when the subsystem is passed capabilities via platform

Re: [RFC PATCH 2/2] MMC: SD/MMC Host Controller for Wondermedia WM8505/WM8650

2012-10-15 Thread Tony Prisk
On Mon, 2012-10-15 at 21:32 +0900, Girish K S wrote: On 15 October 2012 17:24, Tony Prisk li...@prisktech.co.nz wrote: This patch adds support for the SD/MMC host controller found on Wondermedia 8xxx series SoCs, currently supported under arm/arch-vt8500. Signed-off-by: Tony Prisk

Re: [PATCH] MMC: fix sdhci-dove removal

2012-10-15 Thread Jean-Christophe PLAGNIOL-VILLARD
On 11:44 Mon 15 Oct , Russell King - ARM Linux wrote: On Mon, Oct 15, 2012 at 11:37:25AM +0100, Russell King - ARM Linux wrote: On Mon, Oct 15, 2012 at 10:43:48AM +0100, Russell King - ARM Linux wrote: 1. Unregister the device _BEFORE_ taking away any resources it may be using.

Re: [PATCH 1/2] ARM: OMAP: Trivial driver changes to remove include plat/cpu.h

2012-10-15 Thread Tony Lindgren
* Tony Lindgren t...@atomide.com [121009 17:21]: * Péter Ujfalusi peter.ujfal...@ti.com [121009 02:03]: On 10/08/2012 07:35 PM, Tony Lindgren wrote: - omap-dma.c and omap-pcm.c can test the arch locally as omap1 and omap2 cannot be compiled together because of conflicting