All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stefan Roese <sr@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2] ppc4xx: Add CATCenter Io 405EP board support
Date: Wed, 13 Oct 2010 14:32:48 +0200	[thread overview]
Message-ID: <201010131432.48575.sr@denx.de> (raw)
In-Reply-To: <48D3D52125C49B43AE880038E2E5314BB5BDEB@SRV101.gdsys.de>

Hi Dirk,

On Wednesday 13 October 2010 14:19:19 Eibach, Dirk wrote:
> > Why not use the already available GPIO functions instead
> > (gpio_write_bit() etc)? This will make it easier to move this
> > to the common (Linux) GPIO API at some time later.
> 
> Hmm, nice, didn't notice those yet.
> But somehow functionality is missing for toggling between output and
> tristate mode without changing output value.
> In linux we have gpio_direction_input() and gpio_direction_output() for
> this purpose.
> 
> Should I add something like this to ppc4xx-gpio.h?

Best would be to move to the Linux GPIO API for PPC4xx in U-Boot now then. 
This has been discussed before on the list. And is on my list of open tasks. 
But it will have to wait a few more weeks I'm afraid. Perhaps you have some 
spare cycles left to migrate the current GPIO API to the Linux one? See 
Blackfin arch as an example.

Cheers,
Stefan

--
DENX Software Engineering GmbH,      MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich,  Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-0 Fax: (+49)-8142-66989-80 Email: office at denx.de

      reply	other threads:[~2010-10-13 12:32 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-13 10:20 [U-Boot] [PATCH v2] ppc4xx: Add CATCenter Io 405EP board support Dirk Eibach
2010-10-13 11:16 ` Stefan Roese
2010-10-13 12:19   ` Eibach, Dirk
2010-10-13 12:32     ` Stefan Roese [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=201010131432.48575.sr@denx.de \
    --to=sr@denx.de \
    --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.