[ARM] 3325/2: GPIO function to control multi-drive (open collector) capability
authorAndrew Victor <andrew@sanpeople.com>
Wed, 22 Feb 2006 21:23:35 +0000 (21:23 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 22 Feb 2006 21:23:35 +0000 (21:23 +0000)
commitdf666b9c510fd27fd3b1afd9ddfa1eaa62ce12b3
tree825879502f74636641a86724514f2ea4e3c9c240
parent43cc19816b3fc5286258e6f5e43ef4ead458f9a3
[ARM] 3325/2: GPIO function to control multi-drive (open collector) capability

Patch from Andrew Victor

This patch adds the at91_set_multi_drive() function to enable/disable
the multi-drive (open collector) pin capability on the AT91RM9200
processor.

This is necessary to fix the UDC (USB Gadget) driver for the AT91RM9200
board as it will not allow the board reset line to be pulled low if the
pullup is not driven as an open collector output as the boards are wired
to the USB connector on both the DK/EK.

This version of the patch updates it to 2.6.16-rc4.
Orignal patch by Jeff Warren.

Signed-off-by: Andrew Victor <andrew@sanpeople.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-at91rm9200/devices.c
arch/arm/mach-at91rm9200/gpio.c
include/asm-arm/arch-at91rm9200/gpio.h