[PATCH 0/4] mmc: core: Add support for MMC power sequences
ulf.hansson at linaro.org
Mon Jan 12 06:43:24 PST 2015
On 12 January 2015 at 15:26, Tomeu Vizoso <tomeu.vizoso at collabora.com> wrote:
> On 2 January 2015 at 17:14, Ulf Hansson <ulf.hansson at linaro.org> wrote:
>> This is yet another try to solve the issues of dealing with power sequences for
>> the MMC subsystem. The latest attempt, see link below, took a generic approach
>> by adding a new top level driver layer. That's was rejected by several reasons.
>> This time the approach is focused to fix the issues for MMC only.
>> To give a short background, SOCs may specify a specific MMC power sequence. To
>> successfully detect an (e)MMC/SD/SDIO card, that power sequence must be followed
>> while initializing the card.
> Hi Ulf,
> have used this to successfully init a mwifiex_sdio card but had to
> also add a delay while the reset line is asserted. May make sense to
> add a property to the pwrseq node to specify the minimum amount of
> time that the reset GPIO needs to be asserted?
To me that is description of the HW, so I would happily accept such a
DT property. Can you please send a patch, based on top of this
BTW, I guess you only need the delay while the ->power_up() callback
is invoked and not for ->power_off()?
> Tested-by: Tomeu Vizoso <tomeu.vizoso at collabora.com>
Thanks for helping out testing!
More information about the linux-arm-kernel