[PATCH] PXA: Colibri320: Add M41T00 RTC support

Russell King - ARM Linux linux at arm.linux.org.uk
Sat Jul 31 05:22:06 EDT 2010


On Sat, Jul 31, 2010 at 11:05:54AM +0200, Daniel Mack wrote:
> Hmm, GPIOs for peripherals that are assembled on the module itself can
> safely be configured unconditionally as it is impossible to use them for
> anything else. For GPIOs that are allocted by a specific base board,
> things are different though, especially for the the Colibri eval board
> with it hundreds of jumpers on it. It's a convenience feature to have
> them free for general purpose use just by disabling a certain config
> directive.

It would probably make sense for their to be a primary table which at
least ensures that all pins are setup to safe default values.  You
really don't want the unconnected pins left floating, especially if
they come out to some vulnerable connector or unconnected jumper pin.

I'd suggest they're configured as inputs but with a pull-up or pull-down,
not forgetting to consider the low power mode pull setting as well.



More information about the linux-arm-kernel mailing list