All of lore.kernel.org
 help / color / mirror / Atom feed
From: Simon Glass <sjg@chromium.org>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2 2/4] tegra2: Call gpio_request for SDMMC GPIOs
Date: Tue, 4 Oct 2011 16:56:41 -0700	[thread overview]
Message-ID: <CAPnjgZ1Ozy14-n9ugFgSZQJsTeS=hTqmac8ide8MnoPb5OGCvw@mail.gmail.com> (raw)
In-Reply-To: <1317749568-9657-2-git-send-email-swarren@nvidia.com>

On Tue, Oct 4, 2011 at 10:32 AM, Stephen Warren <swarren@nvidia.com> wrote:
> Without this, the GPIO_CNF register will not be programmed, and hence the
> GPIO signals will not reach the pins; the pinmux's configured function
> will be routed to the pins instead.
>
> v2: s/SDMMC4/SDMMC3/ in strings passed to gpio_request().
>
> Signed-off-by: Stephen Warren <swarren@nvidia.com>

Acked-by: Simon Glass <sjg@chromium.org>

> ---
> ?board/nvidia/seaboard/seaboard.c | ? ?2 ++
> ?1 files changed, 2 insertions(+), 0 deletions(-)
>
> diff --git a/board/nvidia/seaboard/seaboard.c b/board/nvidia/seaboard/seaboard.c
> index bc67d0f..1310e3d 100644
> --- a/board/nvidia/seaboard/seaboard.c
> +++ b/board/nvidia/seaboard/seaboard.c
> @@ -62,9 +62,11 @@ void gpio_config_uart(void)
> ?void gpio_config_mmc(void)
> ?{
> ? ? ? ?/* Set EN_VDDIO_SD (GPIO I6) */
> + ? ? ? gpio_request(GPIO_PI6, "SDMMC3 power");
> ? ? ? ?gpio_direction_output(GPIO_PI6, 1);
>
> ? ? ? ?/* Config pin as GPI for Card Detect (GPIO I5) */
> + ? ? ? gpio_request(GPIO_PI5, "SDMMC3 card detect");
> ? ? ? ?gpio_direction_input(GPIO_PI5);
> ?}
>
> --
> 1.7.0.4
>
>

  reply	other threads:[~2011-10-04 23:56 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-04 17:32 [U-Boot] [PATCH v2 1/4] tegra2: Seaboard's MMC has an 8-bit bus Stephen Warren
2011-10-04 17:32 ` [U-Boot] [PATCH v2 2/4] tegra2: Call gpio_request for SDMMC GPIOs Stephen Warren
2011-10-04 23:56   ` Simon Glass [this message]
2011-10-04 17:32 ` [U-Boot] [PATCH v2 3/4] tegra2: Enable second SD port (J5) on Harmony Stephen Warren
2011-10-05 14:39   ` Simon Glass
2011-10-05 15:46     ` Stephen Warren
2011-10-07  4:20       ` Simon Glass
2011-11-03  0:16   ` Andy Fleming
2011-11-03 15:20     ` Stephen Warren
2011-10-04 17:32 ` [U-Boot] [PATCH v2 4/4] tegra2: Add support for Ventana Stephen Warren
2011-10-04 20:52 ` [U-Boot] [PATCH v2 1/4] tegra2: Seaboard's MMC has an 8-bit bus Tom Warren
2011-10-04 21:14   ` Stephen Warren

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='CAPnjgZ1Ozy14-n9ugFgSZQJsTeS=hTqmac8ide8MnoPb5OGCvw@mail.gmail.com' \
    --to=sjg@chromium.org \
    --cc=u-boot@lists.denx.de \
    /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.