Thread (9 messages) flat view 9 messages, 4 authors, 2012-07-04
STALE5176d

[PATCH 1/2] ARM: PRIMA2: add of_dev_auxdata table for I2C, SPI, UART and PINCTRL

From: Barry Song <hidden>
Date: 2012-07-04 14:15:28

2012/7/4 Arnd Bergmann [off-list ref]:
On Wednesday 04 July 2012, Barry Song wrote:
quoted
quoted
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.
quoted
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.
ok. thanks. recently i have missed many threads due to some other work issues.
i'll look into Rob Herring's "clk: add DT clock binding support".
        Arnd
-barry
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help