Re: [PATCH v3] mmc: implement Driver Stage Register handling

2014-08-15 Thread Uwe Kleine-König
Hello Ulf, On Thu, Aug 14, 2014 at 11:26:28AM +0200, Ulf Hansson wrote: diff --git a/drivers/mmc/core/host.c b/drivers/mmc/core/host.c index 95cceae96944..52e83f389428 100644 --- a/drivers/mmc/core/host.c +++ b/drivers/mmc/core/host.c @@ -452,6 +452,14 @@ int mmc_of_parse(struct

Re: [PATCH v3] mmc: implement Driver Stage Register handling

2014-08-14 Thread Ulf Hansson
On 13 August 2014 17:44, Uwe Kleine-König u.kleine-koe...@pengutronix.de wrote: From: Sascha Hauer s.ha...@pengutronix.de Some (e)MMC and SD cards implement a DSR register that allows to tune raise/fall times and drive strength of the CMD and DATA outputs. The values to use depend on the card

Re: [PATCH v3] mmc: implement Driver Stage Register handling

2014-08-14 Thread Uwe Kleine-König
Hello Ulf, On Thu, Aug 14, 2014 at 11:26:28AM +0200, Ulf Hansson wrote: On 13 August 2014 17:44, Uwe Kleine-König u.kleine-koe...@pengutronix.de wrote: From: Sascha Hauer s.ha...@pengutronix.de Some (e)MMC and SD cards implement a DSR register that allows to tune raise/fall times and

Re: [PATCH v3] mmc: implement Driver Stage Register handling

2014-08-14 Thread Ulf Hansson
On 14 August 2014 11:49, Uwe Kleine-König u.kleine-koe...@pengutronix.de wrote: Hello Ulf, On Thu, Aug 14, 2014 at 11:26:28AM +0200, Ulf Hansson wrote: On 13 August 2014 17:44, Uwe Kleine-König u.kleine-koe...@pengutronix.de wrote: From: Sascha Hauer s.ha...@pengutronix.de Some (e)MMC

[PATCH v3] mmc: implement Driver Stage Register handling

2014-08-13 Thread Uwe Kleine-König
From: Sascha Hauer s.ha...@pengutronix.de Some (e)MMC and SD cards implement a DSR register that allows to tune raise/fall times and drive strength of the CMD and DATA outputs. The values to use depend on the card in use and the host. It might be needed to reduce the drive strength to prevent

Re: [PATCH v3] mmc: implement Driver Stage Register handling

2014-08-13 Thread Uwe Kleine-König
Hello, On Wed, Aug 13, 2014 at 05:44:16PM +0200, Uwe Kleine-König wrote: diff --git a/drivers/mmc/core/mmc_ops.c b/drivers/mmc/core/mmc_ops.c index f51b5ba3bbea..37ed493d8030 100644 --- a/drivers/mmc/core/mmc_ops.c +++ b/drivers/mmc/core/mmc_ops.c @@ -93,6 +93,27 @@ int