From: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
To: Linus Walleij <linus.walleij@linaro.org>
Cc: linux-kernel@vger.kernel.org,
Grant Likely <grant.likely@secretlab.ca>,
Jerome Oufella <jerome.oufella@savoirfairelinux.com>
Subject: Re: [PATCH] gpio: add TS-5500 DIO headers support
Date: Fri, 12 Oct 2012 18:04:25 -0400 [thread overview]
Message-ID: <1350079465.9386.6.camel@trivette.mtl.sfl> (raw)
In-Reply-To: <CACRpkdbbungMiZ74o=-CfRoLQj127CaWaYr7adKKSquFd=x5qg@mail.gmail.com>
Hi Linus,
On Fri, 2012-10-12 at 22:53 +0200, Linus Walleij wrote:
> Well that may also be a pretty big step if you just want to mux
> one bank of GPIO. I'm a bit ambivalent. But if you want to tie
> pin and gpio information together and name all pins, pinctrl
> is what should suit you best.
>
> In the GPIO world, things are opaque "gpios" not really pins.
Thanks a lot for all your comments. I think I'll stick with the GPIO
framework for the moment, trying to keep it as simple as possible.
About the generic driver (to allow registering one platform device per
DIO block), I think it won't be possible, because there are shared
regions, such as 0x7d, used by DIO2 and LCD DIO for direction...
Is there a way to share this, or does this mean that this driver should
handle the 3 blocks as it already does?
Thanks,
Vivien
next prev parent reply other threads:[~2012-10-12 22:04 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-26 0:42 Vivien Didelot
2012-09-26 15:37 ` Vivien Didelot
2012-10-04 23:18 ` Vivien Didelot
2012-10-08 6:24 ` Linus Walleij
2012-10-08 10:38 ` Linus Walleij
2012-10-08 18:20 ` Vivien Didelot
2012-10-12 20:53 ` Linus Walleij
2012-10-12 22:04 ` Vivien Didelot [this message]
2012-10-12 22:17 ` Linus Walleij
2012-12-06 3:49 ` Vivien Didelot
2012-12-06 19:25 ` Linus Walleij
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=1350079465.9386.6.camel@trivette.mtl.sfl \
--to=vivien.didelot@savoirfairelinux.com \
--cc=grant.likely@secretlab.ca \
--cc=jerome.oufella@savoirfairelinux.com \
--cc=linus.walleij@linaro.org \
--cc=linux-kernel@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®