From: Tony Lindgren <tony@atomide.com>
To: Linus Walleij <linus.walleij@linaro.org>
Cc: Stephen Warren <swarren@wwwdotorg.org>,
Stephen Warren <swarren@nvidia.com>,
Arnd Bergmann <arnd@arndb.de>,
linux-kernel@vger.kernel.org,
Rob Herring <rob.herring@calxeda.com>,
Grant Likely <grant.likely@secretlab.ca>,
Olof Johansson <olof@lixom.net>,
linux-omap@vger.kernel.org, devicetree-discuss@lists.ozlabs.org,
linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH] pinctrl: Add one-register-per-pin type device tree based pinctrl driver
Date: Mon, 16 Jul 2012 00:10:18 -0700 [thread overview]
Message-ID: <20120716071017.GC6522@atomide.com> (raw)
In-Reply-To: <CACRpkdYUJ3v-DoVbK6Pc6Y833Hn_0KS9PtEpjUCnMr57zfH5Bw@mail.gmail.com>
* Linus Walleij <linus.walleij@linaro.org> [120714 13:21]:
> On Tue, Jul 10, 2012 at 11:11 AM, Tony Lindgren <tony@atomide.com> wrote:
>
> > OK so no comments for a while. Here's the patch updated to leave out
> > the comments in the binding example.
>
> I reason like this:
>
> - My fears is that the code gets hopeless to understand the mux, the
> only way to understand that aspect of the system will be to read the DTS
> and have the data sheet ready at hand.
Yes that is a valid concern. Once we have the preprocessing available
for DTS files reading should be easier. Also user space tools can be
developed for showing the package specific data in detailed form.
> But:
>
> - Tony knows what he's doing and what is best for OMAP. And this gets
> (hopefully) all that OMAP mux code out of arch/arm.
Heh thanks for the positive feedback ;) Yes this should allow us to
drop close to 8k lines of data and code from arch/arm/mach-omap2
once the conversion is done. I'm planning to drop the unused entries
first to cut down the data quite a bit. And already omap5 and am33xx
are DT only and using pinctrl-single to start with. The remaining
legacy mux code can be dropped once we are done with the DT conversion.
> - Surely it will be better to go through this subsystem if we're refactoring
> it all again later, and all drivers can be transferred to the abstract
> pinctrl API which is a big win in itself, bringing coherency to the
> drivers/* at large.
>
> So applied it, so it can be evaluated in real operating environments.
>
> But if I don't see OMAP transferred to use this I'll simply delete it
> again. :-)
OK thanks, for reference some am33xx patches for beagle bone already
got posted using an earlier revision of this binding:
http://www.mail-archive.com/linux-omap@vger.kernel.org/msg71695.html
Regards,
Tony
prev parent reply other threads:[~2012-07-16 7:10 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-11 13:58 [PATCH] pinctrl: Add one-register-per-pin type device tree based pinctrl driver Tony Lindgren
[not found] ` <20120611135826.GB12766-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org>
2012-06-14 23:12 ` Stephen Warren
2012-06-15 9:49 ` Tony Lindgren
2012-06-15 16:17 ` Stephen Warren
2012-06-18 5:50 ` Tony Lindgren
2012-06-19 13:56 ` Tony Lindgren
2012-06-21 8:09 ` Linus Walleij
[not found] ` <20120619135600.GX12766-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org>
2012-06-21 22:13 ` Stephen Warren
[not found] ` <4FE39C86.5070901-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2012-06-22 8:39 ` Tony Lindgren
2012-06-22 17:32 ` Stephen Warren
2012-06-26 13:43 ` Tony Lindgren
2012-06-26 17:05 ` Stephen Warren
2012-06-27 10:28 ` Tony Lindgren
2012-07-10 9:11 ` Tony Lindgren
[not found] ` <20120710091131.GQ1122-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org>
2012-07-14 20:16 ` Linus Walleij
2012-07-16 7:10 ` Tony Lindgren [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=20120716071017.GC6522@atomide.com \
--to=tony@atomide.com \
--cc=arnd@arndb.de \
--cc=devicetree-discuss@lists.ozlabs.org \
--cc=grant.likely@secretlab.ca \
--cc=linus.walleij@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-omap@vger.kernel.org \
--cc=olof@lixom.net \
--cc=rob.herring@calxeda.com \
--cc=swarren@nvidia.com \
--cc=swarren@wwwdotorg.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).