[PATCH 3/3] S3C24xx needs GPIO_TRACK
balaji at raobalaji.com
Mon Dec 8 17:18:39 CET 2008
On Mon, Dec 08, 2008 at 02:07:13PM -0200, Werner Almesberger wrote:
> s3c_gpiolib_getchip for 24xx assumes that, as far as addressing is
> concerned, all ports have 32 pins. However, there are two flaws in
> this logic:
> 1) gpiolib only assigns pin number for real pins (with the
> exception of gaps added with CONFIG_S3C_GPIO_SPACE), and
> 2) not all ports have the same number of pins.
> This patch makes 24xx use the more generic platform s3c_gpiolib_getchip,
> like we do on 6410.
But plat-s3c24xx/gpiolib.c does not use any of the mechanisms like
s3c_gpiolib_add which in turn uses s3c_gpios. But we currently we use
s3c24xx_gpios.. So, this using track needs a lot of work, if possible
at all. Right ?
More information about the openmoko-kernel