mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: "Eric Bénard" <eric@eukrea.com>
To: Tim Sander <tim.sander@hbm.com>
Cc: barebox@lists.infradead.org
Subject: Re: GPIO Support on pcm043
Date: Fri, 20 May 2011 15:14:46 +0200	[thread overview]
Message-ID: <4DD66946.4050906@eukrea.com> (raw)
In-Reply-To: <201105201407.08429.tim.sander@hbm.com>

Hi Tim,

On 20/05/2011 14:07, Tim Sander wrote:
> I just tried (for i in `seq 0 96`)
> gpio_set_direction $i 1
> and
> gpio_set_direction $i 0
>
> on a barebox for pcm043 with gpio support compiled in.
> But no LED was lighting up.
>
> Is there some obvious error on my side or is there no gpio
> support for pcm043? At least there seems to be support for
> the gpio ports on imx?
>
> Any hints?

you first need to configure the mux of the pins to GPIO mode, then you can use 
them as gpio.

Eric

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

  reply	other threads:[~2011-05-20 13:15 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-20 12:07 Tim Sander
2011-05-20 13:14 ` Eric Bénard [this message]
2011-05-20 13:30   ` Tim Sander
2011-05-20 13:34     ` Eric Bénard
2011-05-20 14:16       ` Eric Bénard
2011-05-23  7:12     ` Sascha Hauer
2011-05-23 10:20       ` Tim Sander
2011-05-23  7:06 ` Sascha Hauer

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=4DD66946.4050906@eukrea.com \
    --to=eric@eukrea.com \
    --cc=barebox@lists.infradead.org \
    --cc=tim.sander@hbm.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox