summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-imx/cpu-imx27.c
diff options
context:
space:
mode:
authorShawn Guo <shawn.guo@linaro.org>2011-06-05 18:07:55 +0200
committerGrant Likely <grant.likely@secretlab.ca>2011-06-06 18:01:19 +0200
commitb78d8e59a6f611e229fab8ec3014c58eba975000 (patch)
treeaaf1a09f8b0dd9b8dff8a8625b5f5df3bfcd01aa /arch/arm/mach-imx/cpu-imx27.c
parentgpio/mxc: Move Freescale MXC gpio driver to drivers/gpio (diff)
downloadlinux-b78d8e59a6f611e229fab8ec3014c58eba975000.tar.xz
linux-b78d8e59a6f611e229fab8ec3014c58eba975000.zip
gpio/mxc: Change gpio-mxc into an upstanding gpio driver
The patch makes necessary changes on gpio-mxc as below to turn it into an upstanding gpio driver. * Add a list to save all mx2 ports references, so that mx2_gpio_irq_handler can walk through all interrupt status registers * Use readl/writel to replace mach-specific accessors __raw_readl/__raw_writel * Change mxc_gpio_init into mxc_gpio_probe function * Move "struct mxc_gpio_port" into gpio-mxc.c, as it needs not to be public at all, and also make some other cleanup on plat-mxc/include/mach/gpio.h at the same time And the patch then migrates mach-imx and mach-mx5 to the updated driver by adding corresponding platform devices. Signed-off-by: Shawn Guo <shawn.guo@linaro.org> Acked-by: Olof Johansson <olof@lixom.net> Acked-by: Sascha Hauer <s.hauer@pengutronix.de> Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions