From: linus.walleij@linaro.org (Linus Walleij)
To: linux-arm-kernel@lists.infradead.org
Subject: preferable method for pinctrl driver
Date: Mon, 13 Oct 2014 11:05:14 +0200 [thread overview]
Message-ID: <CACRpkdYG6sNEfKNJBdbYCn4AbGiX2OfQAVJorR64cbB_gsWDbw@mail.gmail.com> (raw)
In-Reply-To: <54379C10.3050004@rempel-privat.de>
On Fri, Oct 10, 2014 at 10:42 AM, Oleksij Rempel <linux@rempel-privat.de> wrote:
> Looks like there is at least two pinctrl driver types:
> - imx23 which makes function description insight of DT;
> - tegra with function descrption in the source code.
> which way is preferable?
The Tegra way. The driver should know about all groups
and functions, the DT should just configure the functions to
groups relation.
The i.MX driver happened before the DT use for pin controllers
was thought through.
> Other question, i didn't found exact same HW, do it make sense to merge
> this driver with existing one? Are there some similarities with this one?:
> http://pastebin.com/hW82Xupq
No idea, that's very little HW information. However
silicon vendors often du their I/O cell layout themselves
so many pin controllers are very unique.
Yours,
Linus Walleij
next prev parent reply other threads:[~2014-10-13 9:05 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-10 8:42 preferable method for pinctrl driver Oleksij Rempel
2014-10-13 9:05 ` Linus Walleij [this message]
2014-11-07 8:35 ` Oleksij Rempel
2014-11-07 10:17 ` Oleksij Rempel
2014-11-14 10:01 ` Linus Walleij
2015-02-09 10:41 ` Oleksij Rempel
2015-03-05 8:44 ` 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=CACRpkdYG6sNEfKNJBdbYCn4AbGiX2OfQAVJorR64cbB_gsWDbw@mail.gmail.com \
--to=linus.walleij@linaro.org \
--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).