Re: [PATCH 8/8] OMAP:GPIO:Common platform code for all OMAPs

Tony Lindgren
2010-04-01T09:32:33Z

* Charulatha V <charu@ti.com> [100331 05:15]:
> This patch adds support for common GPIO code in plat-omap layer
> to perform most common operations for all OMAPs. This is handled
> by getting function pointers and register offsets from
> architecture specific files in mach-omap layer.
>
> The common APIs are handled by plat-omap/gpio.c file. Specific function,
> eg., get_gpio_bank, set_gpio_triggering, etc., are handled differently
> in different architectures. Hence they are handled in mach-omap layer.
>
> This patch also adds support for passing platform_data for OMAP2PLUS.
> For OMAP1, it still supports the old way of doing omap_gpio_init which
> would be handled in mach-omap1 layer.
>
> This patch is in prepartion for HWMOD FW adaptation for GPIO module.

Sounds like this needs to be broken down into smaller patches. Let's first
get initializing things with platform data working, only then start patching
the functional code.

Tony