[PATCH] mmc: mxcmmc: Use mmc_regulator_get_supply() API

2014-05-02 Thread Alexander Shiyan
This patch replaces regulator manipulation with mmc_regulator_get_supply() function from MMC core. Signed-off-by: Alexander Shiyan --- drivers/mmc/host/mxcmmc.c | 44 +--- 1 file changed, 17 insertions(+), 27 deletions(-) diff --git a/drivers/mmc/host/mxc

Re

2014-05-02 Thread Cabina Sanitaria
Noi oferim credite la rata dobânzii de 3% pentru toate scop. Ne e-mail dacă sunteți interesat. We offer loans at 3% interest rate for all purpose. Email us if you are interested. -- To unsubscribe from this list: send the line "unsubscribe linux-mmc" in the body of a message to majord...@vger

[PATCH v2] mmc: omap: Use DIV_ROUND_UP instead of open coded

2014-05-02 Thread Axel Lin
Also uses NSEC_PER_SEC and USEC_PER_SEC instead of hard-coded value. This makes the intention more clear. Signed-off-by: Axel Lin --- drivers/mmc/host/omap.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/mmc/host/omap.c b/drivers/mmc/host/omap.c index 5c2

Re: [PATCH 4/5][RESENT] mmc: SDHI: update sh_mobile_sdhi_of_data for r8a7790

2014-05-02 Thread Sergei Shtylyov
Hello. On 02/21/2014 03:55 AM, Kuninori Morimoto wrote: From: Kuninori Morimoto This patch updates r8a7790 DT data to have SoC specific settings. Acked-by: Simon Horman Signed-off-by: Kuninori Morimoto --- drivers/mmc/host/sh_mobile_sdhi.c | 10 +- 1 file changed, 9 insert

Re: [PATCH] mmc: omap: Use DIV_ROUND_UP instead of open coded

2014-05-02 Thread Joachim Eastwood
On 2 May 2014 17:39, Tony Lindgren wrote: > * Axel Lin [140427 03:58]: >> This also makes the intention more clear. While you are at it you may want to use some nice defines from time.h >> Signed-off-by: Axel Lin > > Added Jarkko Nikula to cc. > > Tony > >> --- >> drivers/mmc/host/omap.c | 10

Re: [PATCH] mmc: omap: Use DIV_ROUND_UP instead of open coded

2014-05-02 Thread Tony Lindgren
* Axel Lin [140427 03:58]: > This also makes the intention more clear. > > Signed-off-by: Axel Lin Added Jarkko Nikula to cc. Tony > --- > drivers/mmc/host/omap.c | 10 +- > 1 file changed, 5 insertions(+), 5 deletions(-) > > diff --git a/drivers/mmc/host/omap.c b/drivers/mmc/host/o

[PATCH v10 05/15] ARM: dts: sun4i: Add pin-muxing info for the mmc0 controller

2014-05-02 Thread Hans de Goede
mmc0 is the only controller actually being used on boards, so limit the pin-muxing options to that. Signed-off-by: Hans de Goede --- arch/arm/boot/dts/sun4i-a10.dtsi | 14 ++ 1 file changed, 14 insertions(+) diff --git a/arch/arm/boot/dts/sun4i-a10.dtsi b/arch/arm/boot/dts/sun4i-a10

[PATCH v10 13/15] ARM: dts: sun7i: Add pin-muxing info for the mmc controllers

2014-05-02 Thread Hans de Goede
This adds pin-muxing info for the mmc controller / port combinations which are known to be used on actual boards. Signed-off-by: Hans de Goede --- arch/arm/boot/dts/sun7i-a20.dtsi | 21 + 1 file changed, 21 insertions(+) diff --git a/arch/arm/boot/dts/sun7i-a20.dtsi b/arch/

[PATCH v10 11/15] ARM: dts: sun6i: Add new sun6i-a31-m9 dts file for Mele M9

2014-05-02 Thread Hans de Goede
Add a new sun6i-a31-m9 dts file for the Mele M9 / Mele A1000G Quad. These HTPCs use the same board in a different case, for more details see: http://linux-sunxi.org/Mele_M9 Signed-off-by: Hans de Goede --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/sun6i-a31-m9.dts | 48 +++

[PATCH v10 15/15] ARM: dts: sun7i: Add basic support for the Cubietruck WiFi module

2014-05-02 Thread Hans de Goede
From: Chen-Yu Tsai The CubieTruck has an AMPAK AP6210 WiFi+Bluetooth module. The WiFi part is a BCM43362 IC connected to MMC3 in the A20 SoC via SDIO. The IC also takes a power enable signal via GPIO. The WiFi module supports out-of-band interrupt signaling via GPIO, but this is not supported in

[PATCH v10 10/15] ARM: dts: sun6i: Add mmc controller nodes

2014-05-02 Thread Hans de Goede
Add nodes for the 4 mmc controllers found on A31 SoCs to arch/arm/boot/dts/sun6i-a31.dtsi. Signed-off-by: Hans de Goede --- arch/arm/boot/dts/sun6i-a31.dtsi | 44 1 file changed, 44 insertions(+) diff --git a/arch/arm/boot/dts/sun6i-a31.dtsi b/arch/arm/b

[PATCH v10 03/15] ARM: sunxi: Add driver for SD/MMC hosts found on Allwinner sunxi SoCs

2014-05-02 Thread Hans de Goede
From: David Lanzendörfer The Allwinner sunxi mmc host uses dma in bus-master mode using a built-in designware idmac controller, which is identical to the one found in the mmc-dw hosts. However the rest of the host is not identical to mmc-dw, it deals with sending stop commands in hardware which m

[PATCH v10 12/15] ARM: dts: sun7i: Add mmc controller nodes

2014-05-02 Thread Hans de Goede
Add nodes for the 4 mmc controllers found on A20 SoCs to arch/arm/boot/dts/sun7i-a20.dtsi. Signed-off-by: David Lanzendörfer Signed-off-by: Hans de Goede --- arch/arm/boot/dts/sun7i-a20.dtsi | 36 1 file changed, 36 insertions(+) diff --git a/arch/arm/boot/

[PATCH v10 04/15] ARM: dts: sun4i: Add mmc controller nodes

2014-05-02 Thread Hans de Goede
From: David Lanzendörfer Add nodes for the 4 mmc controllers found on A10 SoCs to arch/arm/boot/dts/sun4i-a10.dtsi. Signed-off-by: David Lanzendörfer Signed-off-by: Hans de Goede --- arch/arm/boot/dts/sun4i-a10.dtsi | 36 1 file changed, 36 insertions(+)

[PATCH v10 09/15] ARM: dts: sun6i: Add mmc clocks

2014-05-02 Thread Hans de Goede
Add clk-nodes for the mmc clocks. Signed-off-by: Hans de Goede --- arch/arm/boot/dts/sun6i-a31.dtsi | 32 1 file changed, 32 insertions(+) diff --git a/arch/arm/boot/dts/sun6i-a31.dtsi b/arch/arm/boot/dts/sun6i-a31.dtsi index 1cfaf52..f2bb07c 100644 --- a/arch/a

[PATCH v10 01/15] clk: sunxi: factors: automatic reparenting support

2014-05-02 Thread Hans de Goede
From: Emilio López This commit implements .determine_rate, so that our factor clocks can be reparented when needed. Signed-off-by: Emilio López Signed-off-by: Hans de Goede Acked-by: Maxime Ripard --- drivers/clk/sunxi/clk-factors.c | 36 1 file changed,

[PATCH v10 14/15] ARM: dts: sun7i: Enable mmc controller on various A20 boards

2014-05-02 Thread Hans de Goede
The cd pin settings have been taken from the original firmware fex files, and have been confirmed to work on the actual boards. Signed-off-by: Hans de Goede --- arch/arm/boot/dts/sun7i-a20-cubieboard2.dts | 9 + arch/arm/boot/dts/sun7i-a20-cubietruck.dts | 9 + arch/ar

[PATCH v10 07/15] ARM: dts: sun5i: Add mmc controller nodes

2014-05-02 Thread Hans de Goede
From: David Lanzendörfer Add nodes for the 3 mmc controllers found on A10s SoCs and for the 2 mmc controllers found on A13 SoCs. Signed-off-by: David Lanzendörfer Signed-off-by: Hans de Goede --- arch/arm/boot/dts/sun5i-a10s.dtsi | 27 +++ arch/arm/boot/dts/sun5i-a13.d

[PATCH v10 08/15] ARM: dts: sun5i: Enable mmc controller on various A10s and A13 boards

2014-05-02 Thread Hans de Goede
The cd pin settings have been taken from the original firmware fex files, and have been confirmed to work on the actual boards. Signed-off-by: Hans de Goede --- arch/arm/boot/dts/sun5i-a10s-olinuxino-micro.dts | 32 arch/arm/boot/dts/sun5i-a13-olinuxino-micro.dts | 16 +

[PATCH v10 06/15] ARM: dts: sun4i: Enable mmc controller on various A10 boards

2014-05-02 Thread Hans de Goede
Tested on a subset of these boards, for the others boards the settings match the ones of the tested boards according to the original firmware fex files. Signed-off-by: Hans de Goede --- arch/arm/boot/dts/sun4i-a10-a1000.dts | 9 + arch/arm/boot/dts/sun4i-a10-cubieboard.dts |

[PATCH v10 02/15] clk: sunxi: Implement MMC phase control

2014-05-02 Thread Hans de Goede
From: Emilio López HdG: add header exporting clk_sunxi_mmc_phase_control Signed-off-by: Emilio López Signed-off-by: Hans de Goede --- drivers/clk/sunxi/clk-sunxi.c | 36 include/linux/clk/sunxi.h | 22 ++ 2 files changed, 58 inserti

[PATCH v10 00/15] ARM: sunxi: Add driver for SD/MMC hosts found on Allwinner sunxi SoCs

2014-05-02 Thread Hans de Goede
Hi All, Here is v10 of the sunxi-mmc patch-set David Lanzendörfer and I have been working on, this has some minor changes since v9, the plan for upstreaming is still the same: The first 2 patches are depenencies which should go in through the clk tree, Mike can you pick these 2 up please ? : "c

Re: [PATCH 9/9] mmc: omap_hsmmc: enable wakeup event for sdio

2014-05-02 Thread Balaji T K
On Friday 21 March 2014 09:47 PM, Balaji T K wrote: To detect sdio irqs properly without spurious events, OMAP4 needs IWE in CON and CTPL, CLKEXTFREE in HCTL to be set Signed-off-by: Balaji T K Hi Andreas, Can you please test this patch on top of your current(v10) series and confirm that ther

Re: [PATCH v10 1/5] mmc: omap_hsmmc: Enable SDIO interrupt

2014-05-02 Thread Balaji T K
On Monday 28 April 2014 01:10 PM, Andreas Fenkart wrote: There have been various patches floating around for enabling the SDIO IRQ for hsmmc, but none of them ever got merged. Probably the reason for not merging the SDIO interrupt patches has been the lack of wake-up path for SDIO on some omaps

Re: [PATCH v10 2/5] mmc: omap_hsmmc: bug: abort runtime suspend if pending sdio irq detected

2014-05-02 Thread Balaji T K
On Monday 28 April 2014 01:10 PM, Andreas Fenkart wrote: on multicores, an sdio irq handler could be running in parallel to runtime suspend. In the worst case it could be waiting for the spinlock held by the runtime suspend. When runtime suspend is complete and the functional clock (fclk) turned

Re: [PATCH v10 4/5] mmc: omap_hsmmc: switch default/idle pinctrl states in runtime hooks

2014-05-02 Thread Balaji T K
On Monday 28 April 2014 01:10 PM, Andreas Fenkart wrote: These are predefined states of the driver model. When not present, as if not set in the device tree, they simple become no-ops. So it is always safe to call them. This is not the simplest implementation, on AM335x at least, we could witch t

Re: [PATCH v10 5/5] mmc: omap_hsmmc: Pin remux workaround to support SDIO interrupt on AM335x

2014-05-02 Thread Balaji T K
On Monday 28 April 2014 01:11 PM, Andreas Fenkart wrote: The am335x can't detect pending cirq in PM runtime suspend. This patch reconfigures dat1 as a GPIO before going to suspend. SDIO interrupts are detected with the GPIO, the GPIO will only wake the module from suspend, SDIO irq detection will