From: s.hauer@pengutronix.de (Sascha Hauer)
To: linux-arm-kernel@lists.infradead.org
Subject: moving gpio driver to drivers/gpio, how to initialize?
Date: Wed, 11 May 2011 16:11:53 +0200 [thread overview]
Message-ID: <20110511141153.GJ30963@pengutronix.de> (raw)
I think we mostly agree on moving the gpio drivers from arch/arm to
drivers/gpio. A question we have to answer is how we want to initialize
these drivers. On nomadik these are platform drivers, but on i.MX and
others platform drivers initialize too late, since the gpio functions
are already used at init_machine time. PXA uses sysdev for their gpios,
but is this the correct answer?
I have the impression that a platform device is the right answer to
this, but it would require changes in many boards.
Any thoughts?
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
next reply other threads:[~2011-05-11 14:11 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-11 14:11 Sascha Hauer [this message]
2011-05-11 14:20 ` moving gpio driver to drivers/gpio, how to initialize? Jamie Iles
2011-05-11 14:42 ` Sascha Hauer
2011-05-11 16:07 ` Rob Herring
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=20110511141153.GJ30963@pengutronix.de \
--to=s.hauer@pengutronix.de \
--cc=linux-arm-kernel@lists.infradead.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).