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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 12 January 2015 at 15:26, Tomeu Vizoso <tomeu.vizoso@xxxxxxxxxxxxx> wrote:
> On 2 January 2015 at 17:14, Ulf Hansson <ulf.hansson@xxxxxxxxxx> 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.
>> http://lwn.net/Articles/602855/
>>
>> 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
patchset?

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@xxxxxxxxxxxxx>

Thanks for helping out testing!

Kind regards
Uffe
--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux