summaryrefslogtreecommitdiffstats
path: root/drivers/gpio/da8xx_gpio.c
Commit message (Collapse)AuthorAgeFilesLines
* gpio: Replace ARM gpio.h with the common API in include/asm-genericJoe Hershberger2012-01-091-36/+41
| | | | | | | | | | | | | | | | ARM boards should use the generic GPIO API This means changing gpio to unsigned type Remove the unused gpio_toggle() function which is not part of the API Comment that free should not modify pin state Signed-off-by: Joe Hershberger <joe.hershberger@ni.com> Cc: Joe Hershberger <joe.hershberger@gmail.com> fixed merge conflict in da8xx_gpio.c, tegra2_gpio.c, and extended to the new mxs_gpio.c. Signed-off-by: Kim Phillips <kim.phillips@freescale.com> Cc: Albert ARIBAUD <albert.u.boot@aribaud.net>
* drivers/gpio/da8xx_gpio.c: Fix build warningAnatolij Gustschin2011-12-091-3/+0
| | | | | | | | | Fix: da8xx_gpio.c: In function 'gpio_toggle_value': da8xx_gpio.c:208:23: warning: variable 'bank' set but not used [-Wunused-but-set-variable] Signed-off-by: Anatolij Gustschin <agust@denx.de>
* Minor coding style cleanup.Wolfgang Denk2011-09-111-11/+0
| | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
* DA8xx: add generic GPIO driverLaurence Withers2011-08-031-0/+281
Add a generic GPIO driver for the DaVinci DA8xx processors. It is turned on by defining CONFIG_DA8XX_GPIO and fulfills the generic GPIO interface specified in <asm/gpio.h> . The driver has support for both manipulating GPIO pins as well as automatically configuring the pin multiplexor registers to set the pin function to GPIO. Signed-off-by: Laurence Withers <lwithers@guralp.com> Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
OpenPOWER on IntegriCloud