b78d8e59a6
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> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
platform-fec.c | ||
platform-flexcan.c | ||
platform-fsl-usb2-udc.c | ||
platform-gpio-mxc.c | ||
platform-gpio_keys.c | ||
platform-imx-dma.c | ||
platform-imx-fb.c | ||
platform-imx-i2c.c | ||
platform-imx-keypad.c | ||
platform-imx-ssi.c | ||
platform-imx-uart.c | ||
platform-imx2-wdt.c | ||
platform-imx21-hcd.c | ||
platform-imx_udc.c | ||
platform-imxdi_rtc.c | ||
platform-ipu-core.c | ||
platform-mx1-camera.c | ||
platform-mx2-camera.c | ||
platform-mxc-ehci.c | ||
platform-mxc-mmc.c | ||
platform-mxc_nand.c | ||
platform-mxc_pwm.c | ||
platform-mxc_rnga.c | ||
platform-mxc_rtc.c | ||
platform-mxc_w1.c | ||
platform-sdhci-esdhc-imx.c | ||
platform-spi_imx.c |