From: Linus Walleij Date: Thu, 7 Nov 2013 09:25:55 +0000 (+0100) Subject: ARM/serial: at91: switch atmel serial to use gpiolib X-Git-Tag: v3.15-rc1~80^2~17^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=354e57f3a0a26120af3bcd6c92c355ad00a057c1;p=pandora-kernel.git ARM/serial: at91: switch atmel serial to use gpiolib This passes the errata fix using a GPIO to control the RTS pin on one of the AT91 chips to use gpiolib instead of the AT91-specific interfaces. Also remove the reliance on compile-time #defines and the cpu_* check and rely on the platform passing down the proper GPIO pin through platform data. This is a prerequisite for getting rid of the local GPIO implementation in the AT91 platform and move toward multiplatform. The patch also adds device tree support for getting the RTS GPIO pin from the device tree on DT boot paths. Signed-off-by: Nicolas Ferre Acked-by: Jean-Christophe PLAGNIOL-VILLARD Signed-off-by: Linus Walleij Acked-by: Greg Kroah-Hartman Signed-off-by: Uwe Kleine-König --- Reading git-diff-tree failed