[PATCH] PXA: Colibri320: Add M41T00 RTC support

Eric Miao eric.y.miao at gmail.com
Wed Aug 4 02:25:42 EDT 2010


On Sat, Jul 31, 2010 at 5:22 PM, Russell King - ARM Linux
<linux at arm.linux.org.uk> wrote:
> 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.
>

Yeah, that's also my opinion. So for those pins which can be connected
to different usages (e.g. to two or more different expansion boards), I'd
like to have the baseboard code to configure them safely (e.g. inputs with
pull as Russell suggested), and perform another mfp config in the
expansion board code.



More information about the linux-arm-kernel mailing list