1. 06 5月, 2010 2 次提交
  2. 19 1月, 2010 1 次提交
  3. 19 5月, 2009 2 次提交
  4. 18 5月, 2009 3 次提交
    • B
      [ARM] S3C24XX: GPIO: Change to macros for GPIO numbering · 070276d5
      Ben Dooks 提交于
      Prepare to remove the large number of S3C2410_GPxn defines
      by moving to S3C2410_GPx(n) in arch/arm.
      
      The following perl was used to change the files:
      
          perl -pi~ -e 's/S3C2410_GP([A-Z])([0-9]+)([^_^0-9])/S3C2410_GP\1\(\2\)\3/g'
      Signed-off-by: NBen Dooks <ben-linux@fluff.org>
      070276d5
    • B
      [ARM] S3C24XX: GPIO: Start removal of S3C24XX_GPIO_BASE · fda7b2b0
      Ben Dooks 提交于
      The S3C24XX_GPIO_BASE makes it difficult to compress the
      GPIO number space, and is only used in a few places of
      which everything outside arch/arm/plat-s3c24xx/gpiolib.c
      will be removed as soon as possible.
      
      Change gpiolib.c to use the S3C2410_GPxCON register addresses
      as the base for each bank, thus eliminating S3C24XX_GPIO_BASE.
      Signed-off-by: NBen Dooks <ben-linux@fluff.org>
      fda7b2b0
    • B
      [ARM] S3C24XX: Fix missing <linux/sysdev.h> · 86c03c52
      Ben Dooks 提交于
      In our recent changes, arch/arm/plat-s3c24xx/gpiolib.c needs
      to have <linux/sysdev.h> included for it to build.
      
      This fixes the following error/warnings:
      
      arch/arm/plat-s3c/include/plat/pm.h:104: error: expected declaration specifiers or '...' before 'pm_message_t'
      arch/arm/plat-s3c/include/plat/pm.h:104: warning: 'struct sys_device' declared inside parameter list
      arch/arm/plat-s3c/include/plat/pm.h:104: warning: its scope is only this definition or declaration, which is probably not what you want
      arch/arm/plat-s3c/include/plat/pm.h:105: warning: 'struct sys_device' declared inside parameter list
      Signed-off-by: NBen Dooks <ben-linux@fluff.org>
      86c03c52
  5. 07 5月, 2009 1 次提交
    • B
      [ARM] S3C: GPIO PM core GPIOlib integration · d87964c4
      Ben Dooks 提交于
      Move the GPIO suspend/resume support inline with the gpiolib support
      so that it will work with both the S3C24XX and S3C64XX series.
      
      The s3c_gpio_chip is extended to have a pm callback and a save block
      to keep the state of the GPIO over suspend, and the code from the
      s3c24xx implementation is added to a new common file.
      
      The suspend process now uses the list of registered chips to go through
      saving and restoring each one as appropriate, using the pm callback to
      select the appropriate routine depending on the type of control register
      present.
      
      This change also means that any additional GPIO added should not require
      changes to the PM.
      Signed-off-by: NBen Dooks <ben-linux@fluff.org>
      d87964c4
  6. 17 4月, 2009 1 次提交
  7. 09 1月, 2009 1 次提交
  8. 16 12月, 2008 3 次提交
  9. 27 8月, 2008 1 次提交
    • B
      [ARM] S3C24XX: Fix sparse warnings in arch/arm/plat-s3c24xx/gpiolib.c · f4cb1a89
      Ben Dooks 提交于
      Fix the following problems spotted by sparse:
      
      warning: symbol 's3c24xx_gpiolib_input' was not declared. Should it be static?
      warning: symbol 's3c24xx_gpiolib_output' was not declared. Should it be static?
      warning: symbol 's3c24xx_gpiolib_set' was not declared. Should it be static?
      warning: symbol 's3c24xx_gpiolib_get' was not declared. Should it be static?
      warning: symbol 'gpios' was not declared. Should it be static?
      Signed-off-by: NBen Dooks <ben-linux@fluff.org>
      f4cb1a89
  10. 07 8月, 2008 2 次提交
  11. 03 7月, 2008 1 次提交