From: "Jon Smirl" <jonsmirl@gmail.com>
To: linuxppc-dev <Linuxppc-dev@ozlabs.org>
Subject: Device treee syntax for expanding mpc5200 gpios
Date: Fri, 12 Sep 2008 16:43:22 -0400 [thread overview]
Message-ID: <9e4733910809121343q641f4204pccf6ae110fbd6a04@mail.gmail.com> (raw)
I need to implement some more of the mpc5200's gpio capabilities.
Right now we have:
gpios = <&gpio_wkup 0 0>;
first cell is index into the bank, and second is unused.
What do we need to fully describe a mpc5200 gpio?
1) open drain: 1 enable
2) interrupt: 0 no int, 1 simple, 2 wakeup, 3 both
3) interrupt type: 0 any transition, 1 rising, 2 falling, 3 pulse
A gpio pin would then have four cells?
Or should all of this be encoded into a single cell so that the
existing two cell syntax can be preserved?
--
Jon Smirl
jonsmirl@gmail.com
next reply other threads:[~2008-09-12 20:43 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-12 20:43 Jon Smirl [this message]
2008-09-15 2:40 ` Device treee syntax for expanding mpc5200 gpios David Gibson
2008-09-15 2:59 ` Jon Smirl
2008-09-15 13:02 ` Anton Vorontsov
2008-09-15 13:16 ` Jon Smirl
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=9e4733910809121343q641f4204pccf6ae110fbd6a04@mail.gmail.com \
--to=jonsmirl@gmail.com \
--cc=Linuxppc-dev@ozlabs.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;
as well as URLs for NNTP newsgroup(s).