From: arnd@arndb.de (Arnd Bergmann)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 1/2] ARM: PRIMA2: add of_dev_auxdata table for I2C, SPI, UART and PINCTRL
Date: Wed, 4 Jul 2012 13:10:49 +0000 [thread overview]
Message-ID: <201207041310.49861.arnd@arndb.de> (raw)
In-Reply-To: <CAGsJ_4zU8p8sVweoUWbuggLfetUuD1Ooem=Ku5i1t9p8CX0hgA@mail.gmail.com>
On Wednesday 04 July 2012, Barry Song wrote:
> > If it's about the pinctrl and clock parts, can't you just uses the
> > generate names like "b0050000.uart" directly?
>
> yes. names like "b0050000.uart" really work, and i have enabled and
> tested names like that in clock driver.
> but would people think them ugly?
No, that's fine.
> and what would the clock driver support two SoCs whose uarts have
> different map base address?
If they are different SoCs, then it would be likely be a different clock
that is connected to the UART.
A better solution is to use the new DT clock bindings to replace the
clock lookup in the source code. Have a look at
git://git.linaro.org/people/mturquette/linux.git to see how others
do this in new kernels.
Arnd
next prev parent reply other threads:[~2012-07-04 13:10 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-04 3:43 [PATCH 1/2] ARM: PRIMA2: add of_dev_auxdata table for I2C, SPI, UART and PINCTRL Barry Song
2012-07-04 3:43 ` [PATCH 2/2] ARM: PRIMA2: add PINMUX map for primaII UART1 and SPI0/1 Barry Song
2012-07-04 11:45 ` Arnd Bergmann
2012-07-04 14:25 ` Barry Song
2012-07-04 22:34 ` Linus Walleij
2012-07-04 11:43 ` [PATCH 1/2] ARM: PRIMA2: add of_dev_auxdata table for I2C, SPI, UART and PINCTRL Arnd Bergmann
2012-07-04 12:15 ` Barry Song
2012-07-04 13:10 ` Arnd Bergmann [this message]
2012-07-04 14:15 ` Barry Song
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=201207041310.49861.arnd@arndb.de \
--to=arnd@arndb.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).