]> err.no Git - linux-2.6/commit
at32ap700x spi: enable pullups on MISO
authorDavid Brownell <david-b@pacbell.net>
Wed, 18 Jun 2008 09:31:43 +0000 (02:31 -0700)
committerHaavard Skinnemoen <haavard.skinnemoen@atmel.com>
Fri, 27 Jun 2008 13:32:29 +0000 (15:32 +0200)
commit9c2baf785e90419d6f9af6bd07aa0694020cba8d
tree8cc1a3721b31d7b09fd260c6bd86e960b2d91ee5
parent7ef31e9c4e711bfb817a15b54e428e5c4a7c0032
at32ap700x spi: enable pullups on MISO

This is a minor tweak to the at32ap700x pin configuration for the SPI
input pin (MISO), enabling the on-chip weak pullup (typical 190K) to

  (a) ensure a fixed data value for missing or input-only slaves;

  (b) prevent power waste associated with inputs floating near VDDIO/2.

Atmel's boards have no external pullup or pulldown on these pins, so
it's unlikely other boards would address these issues with external
pulldowns.  Were there trouble, board-specific code could turn off
the relevant pullup(s).

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
arch/avr32/mach-at32ap/at32ap700x.c