1. 01 Oct, 2011 1 commit
  2. 12 Apr, 2011 2 commits
  3. 22 Mar, 2009 1 commit
    • Eric Miao's avatar
      [ARM] pxa: move common GPIO handling code into plat-pxa · 38f539a6
      Eric Miao authored
      1. add common GPIO handling code into [arch/arm/plat-pxa]
      2. common code in <mach/gpio.h> moved into <plat/gpio.h>, new processors
         should implement its own <mach/gpio.h>, provide the following required
         definitions and '#include <plat/gpio.h>' in the end:
         - GPIO_REGS_VIRT for mapped virtual address of the GPIO registers'
           physical I/O memory
         - macros of GPLR(), GPSR(), GPDR() for constant optimization for
           functions gpio_{set,get}_value() (so that bit-bang code can still
           have tolerable performance)
         - NR_BUILTIN_GPIO for the number of onchip GPIO
         - definitions of __gpio_is_inverted() and __gpio_is_occupied(), they
           can be either macros or inlined functions
      Signed-off-by: default avatarEric Miao <eric.miao@marvell.com>
  4. 12 Mar, 2009 1 commit
  5. 09 Mar, 2009 4 commits
  6. 07 Aug, 2008 2 commits
  7. 05 Feb, 2008 1 commit
  8. 15 Oct, 2007 1 commit
    • Russell King's avatar
      [ARM] pxa: Avoid pxa_gpio_mode() in gpio_direction_{in,out}put() · 3e0cc7ee
      Russell King authored
      pxa_gpio_mode() is a universal call that fiddles with the GAFR
      (gpio alternate function register.)  GAFR does not exist on PXA3
      CPUs, but instead the alternate functions are controlled via the
      MFP support code.
      Platforms are expected to configure the MFP according to their
      needs in their platform support code rather than drivers.  We
      extend this idea to the GAFR, and make the gpio_direction_*()
      functions purely operate on the GPIO level.
      This means platform support code is entirely responsible for
      configuring the GPIOs alternate functions on all PXA CPU types.
      Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
  9. 02 Jun, 2007 1 commit
  10. 16 Mar, 2007 1 commit
  11. 20 Feb, 2007 1 commit
  12. 12 Feb, 2007 1 commit