[PATCH 1/3] mmc: add support for power-on sequencing through DT

Olof Johansson olof at lixom.net
Mon Jan 20 14:14:35 EST 2014


On Mon, Jan 20, 2014 at 11:14 AM, Fabio Estevam <festevam at gmail.com> wrote:
> On Mon, Jan 20, 2014 at 1:56 AM, Olof Johansson <olof at lixom.net> wrote:
>
>> +Card power and reset control:
>> +The following properties can be specified for cases where the MMC
>> +peripheral needs additional reset, regulator and clock lines. It is for
>> +example common for WiFi/BT adapters to have these separate from the main
>> +MMC bus:
>> +  - card-reset-gpios: Specify GPIOs for card reset (reset active low)
>
> Wouldn't it be better not to assume that the card reset is always
> active low and read the GPIO_ACTIVE_xxx flags instead?

That's actually what the code does, I need to update the text. Thanks
for spotting it.


-Olof



More information about the linux-arm-kernel mailing list