lkml.org 
[lkml]   [2014]   [Jul]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH 1/2] mmc: hsmmc: Add reset gpio configuration option.
From
Hi Russel,

On Fri, Jul 4, 2014 at 1:01 AM, Russell King - ARM Linux
<linux@arm.linux.org.uk> wrote:
> On Thu, Jul 03, 2014 at 10:49:23PM +0200, Marek Belisko wrote:
>> From: NeilBrown <neilb@suse.de>
>>
>> If a 'gpio_reset' is specified, then hold it low while
>> turning the power regulator on.
>> This is needed for some wi2wi wireless modules, particularly
>> when the regulator is held active by some other client.
>> The wi2wi needs to be reset if power isn't actually removed, and
>> the gpio can be used to do this.
>>
>> Signed-off-by: NeilBrown <neilb@suse.de>
>
> Obvious statement knowing what's been going on elsewhere...
>
> A while back, Olof produced a couple of patches to add /generic/ support
> to deal with power and reset controls for SDIO WIFI cards. Patches
> were posted to linux-arm-kernel and other places around January time
> this year.
>
> No real conclusion came out of it, and it kind of died. The point here
> is that this is not an OMAP problem. We have this very same problem
> on different platforms and different SoCs.
Thanks for pointing me to Olof's patches. I pick first + update secod
for omap_hcmmc.
I use only card-reset-gios property and it works fine. As you stated
it's kind of died discussion?
Sorry for noise and not using more googling on linux-arm ML.
>
> Why should we have N different solutions to the same problem. Why can't
> we have one solution to fix this issue, rather than having every host
> driver implement some different solution to what's a common problem.
>
> If everyone is going to run away from generic problems and continue
> inventing their own private solutions to generic problems, the kernel
> is just going to become severely bloated and unmaintainable...
>
> Please, sort out generic problems with generic solutions.
>
> --
> FTTC broadband for 0.8mile line: now at 9.7Mbps down 460kbps up... slowly
> improving, and getting towards what was expected from it.

BR,

marek

--
as simple and primitive as possible
-------------------------------------------------
Marek Belisko - OPEN-NANDRA
Freelance Developer

Ruska Nova Ves 219 | Presov, 08005 Slovak Republic
Tel: +421 915 052 184
skype: marekwhite
twitter: #opennandra
web: http://open-nandra.com


\
 
 \ /
  Last update: 2014-07-26 22:21    [W:0.057 / U:0.144 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site