From: swarren@wwwdotorg.org (Stephen Warren)
To: linux-arm-kernel@lists.infradead.org
Subject: Board-specific GPIO setup code
Date: Mon, 29 Jul 2013 11:33:58 -0600 [thread overview]
Message-ID: <51F6A786.4080709@wwwdotorg.org> (raw)
In-Reply-To: <CAOMZO5DCPvKVJNVp9cZMiMvY3bxhXdjmJs+dqNXdhxDDoSLQmQ@mail.gmail.com>
On 07/29/2013 11:21 AM, Fabio Estevam wrote:
> On Mon, Jul 29, 2013 at 1:49 PM, Stephen Warren <swarren@wwwdotorg.org> wrote:
>> On 07/28/2013 12:53 PM, Tony Prisk wrote:
>>> On the Wandboard (IMX6Q SoC), there is a WiFi module connected via SDIO
>>> that requires a reset procedure to enable it. This would be board
>>> specific setup, but gpio_* functions can't be used in
>>> arch/arm/mach-imx/imx6q.c
>>>
>>> What would be the correct place to perform the reset code (basically a
>>> series of gpio calls) to reset the WiFi controller or should it be done
>>> earlier in uboot?
>>
>> The correct approach is probably to enhance the SDIO controller (or SDIO
>> core) to know how to power/reset/... the device that's attached to it.
>
> Can't we just use the gpio reset driver proposed by Philipp Zabel?
> http://www.spinics.net/lists/arm-kernel/msg261771.html
Quite possibly, but the SD binding and driver still would need to be
updated to actually invoke it.
Also, that only covers reset, not any enable GPIO, 32KHz clock,
regulator, etc.
prev parent reply other threads:[~2013-07-29 17:33 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-28 18:53 Board-specific GPIO setup code Tony Prisk
2013-07-29 16:49 ` Stephen Warren
2013-07-29 17:21 ` Fabio Estevam
2013-07-29 17:33 ` Stephen Warren [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=51F6A786.4080709@wwwdotorg.org \
--to=swarren@wwwdotorg.org \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.