1. 30 7月, 2009 1 次提交
  2. 17 6月, 2009 1 次提交
  3. 19 5月, 2009 2 次提交
  4. 18 5月, 2009 7 次提交
    • 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: Add S3C64XX style GPIO numbering · 75cbcff3
      Ben Dooks 提交于
      Move the new style of GPIO numbering by using a single
      macro for each GPIO bank. This means S3C2410_GPA0 becomes
      S3C2410_GPA(0), and so on.
      Signed-off-by: NBen Dooks <ben-linux@fluff.org>
      75cbcff3
    • B
      [ARM] S3C24XX: GPIO: Clean out unused definitions in <mach/regs-gpio.h> · 9c7099ca
      Ben Dooks 提交于
      The <mach/regs-gpio.h> really does not need the input and output
      pin configurations as these are standard and have a generic
      representation (plus the s3c24xx gpio specific code is going to
      be phased out soon).
      
      The following sed was applied to remove the lines:
      
          sed -i~ -e '/S3C2410_GP[A-Z][0-9]*_\INP/d' \
      	    -e '/S3C2410_GP[A-Z][0-9]*_\OUTP/d' \
      	    -e '/S3C2410_GPA[0-9]*_OUT/d'
      
      to remove these.
      Signed-off-by: NBen Dooks <ben-linux@fluff.org>
      9c7099ca
    • B
      [ARM] S3C24XX: GPIO: Move gpio functions out of <mach/hardware.h> · ec976d6e
      Ben Dooks 提交于
      Move all the gpio functions out of <mach/hardware.h> as
      this file is for defining the generic IO base addresses
      for the kernel IO calls.
      
      Make a new header <mach/gpio-fns.h> to take this and
      include it via the chain from <linux/gpio.h> which is
      what most of these files should be using (and will be
      changed as soon as possible).
      
      Note, this does make minor changes to some drivers but
      should not mess up any pending merges.
      
      CC: Richard Purdie <rpurdie@rpsys.net>
      Acked-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      CC: David Brownell <dbrownell@users.sourceforge.net>
      Signed-off-by: NBen Dooks <ben-linux@fluff.org>
      ec976d6e
    • B
      [ARM] S3C: Move watchdog system reset to own file. · 3cba5ef8
      Ben Dooks 提交于
      Move the watchdog reset code from <mach/system-reset.h> to
      a new file <plat/watchdog-reset.h> as this code is needed
      by both s3c2410, s3c64xx and soon-to-be added s3c24a0.
      Signed-off-by: NBen Dooks <ben-linux@fluff.org>
      3cba5ef8
    • B
      [ARM] S3C24XX: GPIO: Remove pin specific input and output defines · 9f05f6a9
      Ben Dooks 提交于
      The use of S3C2410_GP[A-Z]x_INP and S3C2410_GP[A-Z]x_OUTP are
      very rare and are taking up large amounts of space in the
      regs-gpio.h header.
      
      The GPIO layer has had generic input and out defines called
      S3C2410_GPIO_INPUT and S3C2410_GPIO_OUTPUT for a while which work
      for all S3C24XX GPIOs.
      
      Do the following replacements:
      
         S3C2410_GP[A-Z][0-9]*_\OUTP => S3C2410_GPIO_OUTPUT
         S3C2410_GP[A-Z][0-9]*_\INP  => /S3C2410_GPIO_INPUT
         S3C2410_GPA[0-9]*_OUT       => S3C2410_GPIO_OUTPUT
      
      to remove any usages of these and prepare the header for
      the removal of these.
      
      The following command was used to acheive this:
      
      find . -type f -writable ! -name regs-gpio.h ! -name "*~" | xargs sed -i~ -e 's/S3C2410_GP[A-Z][0-9]*_\OUTP/S3C2410_GPIO_OUTPUT/g' -e 's/S3C2410_GP[A-Z][0-9]*_\INP/S3C2410_GPIO_INPUT/g' -e 's/S3C2410_GPA[0-9]*_OUT/S3C2410_GPIO_OUTPUT/g'
      Signed-off-by: NBen Dooks <ben-linux@fluff.org>
      9f05f6a9
    • B
      [ARM] S3C24XX: GPIO: Remove s3c2410_gpio_irq2pin() call · ec7f4d5d
      Ben Dooks 提交于
      Remove the s3c2410_gpio_irq2pin() function as it is not being
      used in any in kernel driver and the function is probably not
      being used anywhere else.
      
      This is also part of the effort to remove any of the s3c24xx gpio
      specific code that cannot be recreated by using the gpiolib
      framework now in the kernel.
      Signed-off-by: NBen Dooks <ben@simtec.co.uk>
      Signed-off-by: NBen Dooks <ben-linux@fluff.org>
      ec7f4d5d
  5. 15 5月, 2009 1 次提交
  6. 07 5月, 2009 2 次提交
  7. 01 5月, 2009 6 次提交
  8. 07 4月, 2009 1 次提交
  9. 25 3月, 2009 1 次提交
  10. 20 3月, 2009 1 次提交
    • R
      [ARM] pass reboot command line to arch_reset() · be093beb
      Russell King 提交于
      OMAP wishes to pass state to the boot loader upon reboot in order to
      instruct it whether to wait for USB-based reflashing or not.  There is
      already a facility to do this via the reboot() syscall, except we ignore
      the string passed to machine_restart().
      
      This patch fixes things to pass this string to arch_reset().  This means
      that we keep the reboot mode limited to telling the kernel _how_ to
      perform the reboot which should be independent of what we request the
      boot loader to do.
      Acked-by: NTony Lindgren <tony@atomide.com>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      be093beb
  11. 12 3月, 2009 1 次提交
  12. 11 3月, 2009 1 次提交
  13. 08 3月, 2009 6 次提交
  14. 05 3月, 2009 2 次提交
  15. 09 1月, 2009 2 次提交
    • R
      [ARM] fix AT91, davinci, h720x, ks8695, msm, mx2, mx3, netx, omap1, omap2, pxa, s3c · 80b02c17
      Russell King 提交于
      arch/arm/mach-at91/at91cap9.c:337: error: 'NR_AIC_IRQS' undeclared here (not in a function)
      arch/arm/mach-at91/at91rm9200.c:301: error: 'NR_AIC_IRQS' undeclared here (not in a function)
      arch/arm/mach-at91/at91sam9260.c:351: error: 'NR_AIC_IRQS' undeclared here (not in a function)
      arch/arm/mach-at91/at91sam9261.c:287: error: 'NR_AIC_IRQS' undeclared here (not in a function)
      arch/arm/mach-at91/at91sam9263.c:312: error: 'NR_AIC_IRQS' undeclared here (not in a function)
      arch/arm/mach-at91/at91sam9rl.c:304: error: 'NR_AIC_IRQS' undeclared here (not in a function)
      arch/arm/mach-h720x/h7202-eval.c:38: error: implicit declaration of function 'IRQ_CHAINED_GPIOB'
      arch/arm/mach-ks8695/devices.c:46: error: 'KS8695_IRQ_WAN_RX_STATUS' undeclared here (not in a function)
      arch/arm/mach-msm/devices.c:28: error: 'INT_UART1' undeclared here (not in a function)
      arch/arm/mach-mx2/devices.c:233: error: 'MXC_GPIO_IRQ_START' undeclared here (not in a function)
      arch/arm/mach-mx3/devices.c:128: error: 'MXC_GPIO_IRQ_START' undeclared here (not in a function)
      arch/arm/mach-omap1/mcbsp.c:140: error: 'INT_730_McBSP1RX' undeclared here (not in a function)
      arch/arm/mach-omap1/mcbsp.c:165: error: 'INT_McBSP1RX' undeclared here (not in a function)
      arch/arm/mach-omap1/mcbsp.c:200: error: 'INT_McBSP1RX' undeclared here (not in a function)
      arch/arm/mach-omap2/board-apollon.c:286: error: implicit declaration of function 'omap_set_gpio_direction'
      arch/arm/mach-omap2/mcbsp.c:154: error: 'INT_24XX_MCBSP1_IRQ_RX' undeclared here (not in a function)
      arch/arm/mach-omap2/mcbsp.c:181: error: 'INT_24XX_MCBSP1_IRQ_RX' undeclared here (not in a function)
      arch/arm/mach-pxa/e350.c:36: error: 'IRQ_BOARD_START' undeclared here (not in a function)
      arch/arm/plat-s3c/dev-i2c0.c:32: error: 'IRQ_IIC' undeclared here (not in a function)
      ...
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      80b02c17
    • B
      [ARM] S3C24XX: Add gpio_to_irq() facility · 4d316fc5
      Ben Dooks 提交于
      Add gpio_to_irq() by re-directing the call to the
      generic __gpio_to_irq() code in the gpiolib.
      Signed-off-by: NBen Dooks <ben-linux@fluff.org>
      4d316fc5
  16. 07 1月, 2009 1 次提交
  17. 19 12月, 2008 2 次提交
  18. 18 12月, 2008 1 次提交
  19. 16 12月, 2008 1 次提交