[PATCH v2 1/4] gpio: gpio-mxc: add gpio driver for Freescale MXC architecture
Olof Johansson
olof at lixom.net
Thu Jun 2 01:24:12 EDT 2011
On Wed, Jun 1, 2011 at 8:33 PM, Shawn Guo <shawn.guo at linaro.org> wrote:
> Add gpio-mxc driver by copying arch/arm/plat-mxc/gpio.c into
> drivers/gpio with the following changes.
>
> * Use readl/writel to replace mach-specific accessors
> __raw_readl/__raw_writel
>
> * Migrate to platform driver by adding .probe function
>
> * Add a list to save all mx2 ports references, so that
> mx2_gpio_irq_handler can walk through all interrupt status
> registers
>
> Signed-off-by: Shawn Guo <shawn.guo at linaro.org>
Acked-by: Olof Johansson <olof at lixom.net>
-Olof
More information about the linux-arm-kernel
mailing list