[PATCH v6] ARM: dts: Add HS400 support for exynos5420 and exynos5800

2015-03-17 Thread Alim Akhtar
From: Seungwon Jeon HS400 timing values are added for SMDK5420, exynos5420-peach-pit and exynos5800-peach-pi boards. This also adds RCLK GPIO line, this gpio should be in pull-down state. This also enables HS400 on peach-pi and this updates the clock frequency to 800MHz to be set as input clock t

Re: [PATCH V5 2/2] ARM: dts: Add HS400 support for exynos5420 and exynos5800

2015-03-17 Thread Alim Akhtar
Thanks Kukjin for looking into this. I will rebase on top of your for-next and send again. On Tue, Mar 17, 2015 at 7:42 AM, Kukjin Kim wrote: > Alim Akhtar wrote: >> >> Ping? >> > Alim, > > Can you please re-send it based on latest my tree? > It would be helpful for me ;) > > Thanks, > Kukjin > >

Re: [PATCH v4 2/4] mmc: core: Add mmc_regulator_set_vqmmc()

2015-03-17 Thread Ulf Hansson
On 17 March 2015 at 11:38, Mark Brown wrote: > On Tue, Mar 17, 2015 at 11:23:33AM +0100, Ulf Hansson wrote: >> On 16 March 2015 at 16:12, Doug Anderson wrote: > >> > * Try to set the voltage to exactly 1,200,000 uV (1.2V). >> > * If you can't get 1.2V exactly, a tolerance ("tol") of 100,000 uV >>

[PATCH 5/5] mmc: sdhci: add SW CMDQ support for CHT SDHCI host

2015-03-17 Thread Chuanxiao Dong
Add the CMDQ support to SDHCI host interface and CHT SDHCI host interface Signed-off-by: Chuanxiao Dong --- drivers/mmc/host/sdhci.c | 121 -- drivers/mmc/host/sdhci.h |1 + 2 files changed, 108 insertions(+), 14 deletions(-) diff --git a/drivers

[PATCH 4/5] mmc: core: add support for CMDQ feature in MMC Core stack

2015-03-17 Thread Chuanxiao Dong
CMDQ is a new feature introduced in eMMC5.1, which can be used for helping improve the read performance. This patch adds support in mmc block layer and core layer. The CMDQ requires to send 4 CMDs and 5 interrupts, thus it has additional SW overhead. When CPU frequency is low, it may impact the r

[PATCH 3/5] mmc: queue: change mqrq_cur and mqrq_pre to mq qdepth

2015-03-17 Thread Chuanxiao Dong
Use qdepth for mmc request fetching. Currently the request fetching mechanism indicate the qdepth is only 2. Signed-off-by: Chuanxiao Dong --- drivers/mmc/card/block.c | 43 ++ drivers/mmc/card/queue.c | 198 ++ drivers/mmc/card/queue.h |

[PATCH 1/5] mmc: replace sbc to precmd and add postcmd

2015-03-17 Thread Chuanxiao Dong
right now we use sbc to present CMD23. If we want sbc to present other cmds, then it is not suitable. So change the name to precmd which means a cmd that needs to be sent before a cmd. So it can sent any command without misunderstanding Signed-off-by: Chuanxiao Dong --- drivers/mmc/card/block.c

[PATCH 2/5] mmc: host: add runtime PM for host class dev

2015-03-17 Thread Chuanxiao Dong
mmc host has a class device which is parent of the card device, also a children of the low level host device. Right now we have runtime pm for card device and low level host device, but nothing for this host class device. So it is impossible to connect the card runtime pm to low level host runtime

[PATCH 0/5] mmc: Soft Command queue implementation for eMMC5.1 device

2015-03-17 Thread Chuanxiao Dong
Hello This serial of patches can implement the eMMC5.1 device command queue feature even a host controller doesn't support CMDQ. Several weeks ago I submitted RFC patches for review and collected some review comments. Right now these comments are fixed thus I submit again as the offical patches. P

Re: [PATCH] mmc: sleep notification

2015-03-17 Thread Ulf Hansson
On 16 March 2015 at 17:58, Alex Lemberg wrote: > > >> -Original Message- >> From: Ulf Hansson [mailto:ulf.hans...@linaro.org] >> Sent: Monday, March 16, 2015 3:35 PM >> To: Alex Lemberg >> Cc: Avi Shchislowski; linux-mmc; Chris Ball >> Subject: Re: [PATCH] mmc: sleep notification >> >> On

Re: [PATCH v4 2/4] mmc: core: Add mmc_regulator_set_vqmmc()

2015-03-17 Thread Mark Brown
On Tue, Mar 17, 2015 at 11:23:33AM +0100, Ulf Hansson wrote: > On 16 March 2015 at 16:12, Doug Anderson wrote: > > * Try to set the voltage to exactly 1,200,000 uV (1.2V). > > * If you can't get 1.2V exactly, a tolerance ("tol") of 100,000 uV > > (.1V) is OK. > > * In other words, 1.1V - 1.3V are

Re: [PATCH v4 2/4] mmc: core: Add mmc_regulator_set_vqmmc()

2015-03-17 Thread Ulf Hansson
On 16 March 2015 at 16:12, Doug Anderson wrote: > Ulf, > > On Mon, Mar 16, 2015 at 7:05 AM, Ulf Hansson wrote: >>> + switch (ios->signal_voltage) { >>> + case MMC_SIGNAL_VOLTAGE_120: >>> + return >>> mmc_regulator_set_voltage_if_supported(mmc->supply.vqmmc, >>> +

Re: [PATCH 33/35 linux-next] mmc: constify of_device_id array

2015-03-17 Thread Ulf Hansson
On 16 March 2015 at 20:59, Fabian Frederick wrote: > of_device_id is always used as const. > (See driver.of_match_table and open firmware functions) > > Signed-off-by: Fabian Frederick Acked-by: Ulf Hansson > --- > drivers/mmc/host/mmc_spi.c | 2 +- > drivers/mmc/host/wmt-sdmmc.c | 2 +- >