1. 23 6月, 2012 1 次提交
  2. 15 11月, 2011 1 次提交
  3. 14 11月, 2011 4 次提交
  4. 02 10月, 2011 1 次提交
  5. 13 4月, 2011 1 次提交
  6. 12 4月, 2011 1 次提交
  7. 23 3月, 2009 1 次提交
    • E
      [ARM] pxa: move common GPIO handling code into plat-pxa · 38f539a6
      Eric Miao 提交于
      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: NEric Miao <eric.miao@marvell.com>
      38f539a6
  8. 13 3月, 2009 1 次提交
  9. 09 3月, 2009 4 次提交
  10. 07 8月, 2008 2 次提交
  11. 06 2月, 2008 1 次提交
  12. 16 10月, 2007 1 次提交
    • R
      [ARM] pxa: Avoid pxa_gpio_mode() in gpio_direction_{in,out}put() · 3e0cc7ee
      Russell King 提交于
      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: NRussell King <rmk+kernel@arm.linux.org.uk>
      3e0cc7ee
  13. 03 6月, 2007 1 次提交
  14. 17 3月, 2007 1 次提交
  15. 21 2月, 2007 1 次提交
  16. 13 2月, 2007 1 次提交