Re: [U-Boot] [PATCH v2] mmc: sdhci: Add the programmable clock mode support

2016-10-09 Thread Jaehoon Chung
Dear Kever, On 10/07/2016 04:10 PM, Kever Yang wrote: > Hi Jaehoon, > > On 09/30/2016 06:48 PM, Jaehoon Chung wrote: >> Hi Kever, >> >> On 09/30/2016 07:05 PM, Kever Yang wrote: >>> Hi Wenyou, >>> >>> I can not enable my emmc device on my evb-rk3399 with this patch, >>> could you help to f

Re: [U-Boot] [PATCH v2] mmc: sdhci: Add the programmable clock mode support

2016-10-07 Thread Kever Yang
Hi Jaehoon, On 09/30/2016 06:48 PM, Jaehoon Chung wrote: Hi Kever, On 09/30/2016 07:05 PM, Kever Yang wrote: Hi Wenyou, I can not enable my emmc device on my evb-rk3399 with this patch, could you help to fix it? Here is the debug info may help: mmc->cfg->f_max is 2; [with th

Re: [U-Boot] [PATCH v2] mmc: sdhci: Add the programmable clock mode support

2016-09-30 Thread Jaehoon Chung
Hi Kever, On 09/30/2016 07:05 PM, Kever Yang wrote: > Hi Wenyou, > > I can not enable my emmc device on my evb-rk3399 with this patch, could > you help to fix it? > > Here is the debug info may help: > > mmc->cfg->f_max is 2; > > [with this patch] > I get host->clk_mul 16 ; > Whe

Re: [U-Boot] [PATCH v2] mmc: sdhci: Add the programmable clock mode support

2016-09-30 Thread Kever Yang
Hi Wenyou, I can not enable my emmc device on my evb-rk3399 with this patch, could you help to fix it? Here is the debug info may help: mmc->cfg->f_max is 2; [with this patch] I get host->clk_mul 16 ; When driver want to set clock to 40, always get div 1024, and then write

[U-Boot] [PATCH v2] mmc: sdhci: Add the programmable clock mode support

2016-09-17 Thread Wenyou Yang
Add the programmable clock mode for the clock generator. Signed-off-by: Wenyou Yang --- Changes in v2: - Rebase on the latest u-boot-mmc. - Fix the typo Muliplier->Multiplier. drivers/mmc/sdhci.c | 50 -- include/sdhci.h | 2 ++ 2 files ch