summaryrefslogtreecommitdiffstats
path: root/drivers/gpio/tegra2_gpio.c
Commit message (Collapse)AuthorAgeFilesLines
* gpio: Replace ARM gpio.h with the common API in include/asm-genericJoe Hershberger2012-01-091-80/+85
| | | | | | | | | | | | | | | | 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>
* tegra2: Use new GPIO APIs in gpio_config_uart()Stephen Warren2011-12-091-2/+4
| | | | | | | | | | | | | | | ... rather than open-coding the register accesses. However, gpio_request() typically stores the "label" parameter in a global data structure. This causes problems when called from gpio_config_uart(), since the code is running before relocation. To solve this, pass a NULL string to gpio_request(), and modify gpio_request() not to touch the string if it's NULL. Signed-off-by: Stephen Warren <swarren@nvidia.com> Acked-by: Simon Glass <sjg@chromium.org> Tested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Warren <twarren@nvidia.com>
* GPIO: Tegra2: add GPIO driver for Tegra2Tom Warren2011-07-041-0/+255
Signed-off-by: Tom Warren <twarren@nvidia.com>
OpenPOWER on IntegriCloud