[PATCH 9/9] mmc: sh_mobile_sdhi: remove sh_mobile_sdhi_info

2015-01-04 Thread Kuninori Morimoto
From: Kuninori Morimoto Current sh_mobile_sdhi's platform data is set via sh_mobile_sdhi_info and it is just copied to tmio_mmc_data. Now, tmio mmc platform data is specified via tmio_mmc_data. This patch moves missing dma tx/rx ID from sh_mobile_sdhi_info to tmio_mmc_data, and removes sh_mobile_

[PATCH 8/9] mmc: sh_mobile_sdhi: remove .init/.cleanup

2015-01-04 Thread Kuninori Morimoto
From: Kuninori Morimoto No one is using .init/.cleanup callback function. Let's remove these. Signed-off-by: Kuninori Morimoto --- drivers/mmc/host/sh_mobile_sdhi.c | 26 +- include/linux/mmc/sh_mobile_sdhi.h | 15 --- 2 files changed, 1 insertion(+), 4

[PATCH 7/9] mmc: tmio: tmio_mmc_host has .bus_shift

2015-01-04 Thread Kuninori Morimoto
From: Kuninori Morimoto Current .bus_shift is implemented under tmio_mmc_data. It goes to tmio_mmc_host by this patch. Signed-off-by: Kuninori Morimoto --- drivers/mmc/host/sh_mobile_sdhi.c |5 ++--- drivers/mmc/host/tmio_mmc.c |5 +++-- drivers/mmc/host/tmio_mmc.h | 17 +

[PATCH 6/9] mmc: tmio: tmio_mmc_host has .multi_io_quirk

2015-01-04 Thread Kuninori Morimoto
From: Kuninori Morimoto Current .multi_io_quirk is implemented under tmio_mmc_data. It goes to tmio_mmc_host by this patch. Signed-off-by: Kuninori Morimoto --- drivers/mmc/host/sh_mobile_sdhi.c |2 +- drivers/mmc/host/tmio_mmc.h |2 ++ drivers/mmc/host/tmio_mmc_pio.c |5 ++

[PATCH 5/9] mmc: tmio: tmio_mmc_host has .clk_disable

2015-01-04 Thread Kuninori Morimoto
From: Kuninori Morimoto Current .clk_disable is implemented under tmio_mmc_data. It goes to tmio_mmc_host by this patch. Signed-off-by: Kuninori Morimoto --- drivers/mmc/host/sh_mobile_sdhi.c |2 +- drivers/mmc/host/tmio_mmc.h |1 + drivers/mmc/host/tmio_mmc_pio.c |4 ++--

[PATCH 4/9] mmc: tmio: tmio_mmc_host has .clk_enable

2015-01-04 Thread Kuninori Morimoto
From: Kuninori Morimoto Current .clk_enable is implemented under tmio_mmc_data. It goes to tmio_mmc_host by this patch. Signed-off-by: Kuninori Morimoto --- drivers/mmc/host/sh_mobile_sdhi.c |2 +- drivers/mmc/host/tmio_mmc.h |1 + drivers/mmc/host/tmio_mmc_pio.c |5 ++---

[PATCH 3/9] mmc: tmio: tmio_mmc_host has .write16_hook

2015-01-04 Thread Kuninori Morimoto
From: Kuninori Morimoto Current .write16_hook is implemented under tmio_mmc_data. It goes to tmio_mmc_host by this patch. Signed-off-by: Kuninori Morimoto --- drivers/mmc/host/sh_mobile_sdhi.c |2 +- drivers/mmc/host/tmio_mmc.h |4 +++- drivers/mmc/host/tmio_mmc_pio.c |2 +-

[PATCH 2/9] mmc: tmio: tmio_mmc_host has .dma

2015-01-04 Thread Kuninori Morimoto
From: Kuninori Morimoto Current .dma is implemented under tmio_mmc_data. It goes to tmio_mmc_host by this patch. Signed-off-by: Kuninori Morimoto --- drivers/mmc/host/sh_mobile_sdhi.c |4 ++-- drivers/mmc/host/tmio_mmc.h | 11 +++ drivers/mmc/host/tmio_mmc_dma.c | 24 ++

[PATCH 1/9] mmc: tmio: add tmio_mmc_host_alloc/free()

2015-01-04 Thread Kuninori Morimoto
From: Kuninori Morimoto Current tmio_mmc driver is using tmio_mmc_data for driver/platform specific data/callback, and it is needed for tmio_mmc_host_probe() function. Because of this style, include/linux/mfd/tmio.h header has tmio driver/framework specific data which is not needed from platform.

[PATCH 0/9]: mmc: tmio header cleanup

2015-01-04 Thread Kuninori Morimoto
Hi Ulf, Chris, and Simon These are tmio.h header cleanup patches. 1) - 7) are main cleanups, 8) - 9) are sh_mobile_sdhi specific cleanups. By these patches, tmio driver specific data/callbacks are implemented under tmio_mmc_host, platformspecific data/callbacks are implemented under tmio_mmc

Re: [PATCH] gpio: pcf857x: restore the initial line state of all pcf lines

2015-01-04 Thread Kishon Vijay Abraham I
Hi, On Thursday 18 December 2014 07:41 PM, Nishanth Menon wrote: > On 12/18/2014 12:18 AM, Kishon Vijay Abraham I wrote: >> >> >> On Tuesday 16 December 2014 02:20 AM, Nishanth Menon wrote: >>> On 12/12/2014 02:06 AM, Kishon Vijay Abraham I wrote: The reset values for all the PCF lines are hi

Re: [PATCH v3 1/4] mmc: dw_mmc: exynos: incorporate ciu_div into timing property

2015-01-04 Thread Alim Akhtar
Hi Doug, Thanks for looking into this series. On Fri, Jan 2, 2015 at 10:28 PM, Doug Anderson wrote: > Alim, > > On Tue, Dec 30, 2014 at 10:43 PM, Alim Akhtar wrote: >> From: Seungwon Jeon >> >> ciu_div may not be common value for all speed mode. >> So, it needs to be attached to CLKSEL timing.

Re: [PATCH 0/4] mmc: core: Add support for MMC power sequences

2015-01-04 Thread Hans de Goede
Hi Russell, On 02-01-15 19:14, Russell King - ARM Linux wrote: On Fri, Jan 02, 2015 at 05:14:04PM +0100, Ulf Hansson wrote: To be able to handle these SOC specific power sequences, we add a MMC power sequence interface, which helps the mmc core to deal with such. I think this should be done d

[PATCH next 0/2] mmc: sdhci-pxav3: fix unbalanced pm and clock issues

2015-01-04 Thread Jisheng Zhang
These two patches fix unbalanced pm and clock issues. The clock unbalance issue would cause power consumption regression because the clock will never be gated at runtime PM suspend. Jisheng Zhang (2): mmc: sdhci-pxav3: fix unbalanced clock issues during probe mmc: sdhci-pxav3: fix pm unbalance

[PATCH next 1/2] mmc: sdhci-pxav3: fix unbalanced clock issues during probe

2015-01-04 Thread Jisheng Zhang
Commit 0dcaa2499b7d ("sdhci-pxav3: Fix runtime PM initialization") tries to fix one hang issue caused by calling sdhci_add_host() on a suspended device. The fix enables the clock twice, once by clk_prepare_enable() and another by pm_runtime_get_sync(), meaning that the clock will never be gated at

[PATCH next 2/2] mmc: sdhci-pxav3: fix pm unbalanced issue in -> remove()

2015-01-04 Thread Jisheng Zhang
This patch calls pm_runtime_put_noidle() to restore the device's usage counter in the ->remove() implementation. Signed-off-by: Jisheng Zhang --- drivers/mmc/host/sdhci-pxav3.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/mmc/host/sdhci-pxav3.c b/drivers/mmc/hos