Thread (7 messages) 7 messages, 2 authors, 2011-09-28

Re: [PATCH 0/4] arm/tegra: Convert gpio & pinmux to platform devices

From: Arnd Bergmann <hidden>
Date: 2011-09-26 08:25:58
Also in: linux-arm-kernel, linux-tegra, lkml

On Thursday 22 September 2011, Stephen Warren wrote:
This series converts the Tegra GPIO and pinmux drivers to be regular
platform devices.
Looks good overall.
The series is extracted from an earlier series I posted that augmented
these drivers to initialize HW state from the device-tree. I'm holding
off on that aspect of the changes, since it's not entirely clear to me
whether the new pinmux API should drive the initial pinmux state setup
via "system hog" definitions, or whether pinmux drivers should indeed
do their own thing.
I think at least you should try to do an ioremap of the pinmux register
area in the pinmux probe function and make sure that it's called early
enough, if at all possible.

Right now, there is an empty probe() function, which is a bit silly,
and the pg_readl()/pg_writel() functions use hardcoded register
addresses.

	Arnd
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help