Trouble specifying dts gpio-leds with GPIO expander chip
avorontsov at ru.mvista.com
Tue Dec 22 08:55:44 EST 2009
On Mon, Dec 21, 2009 at 01:40:48PM -0600, Bill Gatliff wrote:
> I'm stumped. Could it be that the startup code is trying to register
> the heartbeat device before it has registered the MAX7314, so it doesn't
> know yet that the GPIO line exists?
> Anyone have any suggestions?
drivers/gpio/pca953x.c doesn't register itself with the
OF GPIO infrastructure (plus the driver has an absolutely
bogus linux,gpio-base stuff, heh).
As an example of how to do the OF GPIO properly, see
Though, soon there will be an easier way to register I2C/SPI chips
with the OF GPIO infrastructure.
email: cbouatmailru at gmail.com
More information about the Linuxppc-dev