1. 27 3月, 2013 1 次提交
  2. 25 1月, 2013 1 次提交
  3. 29 11月, 2012 1 次提交
  4. 15 11月, 2012 1 次提交
  5. 19 9月, 2012 1 次提交
  6. 01 9月, 2012 1 次提交
  7. 16 8月, 2012 2 次提交
  8. 14 8月, 2012 1 次提交
    • A
      GPIO: gpio-pxa: fix building without CONFIG_OF · f43e04ec
      Arnd Bergmann 提交于
      Commit 72121572 ("GPIO: gpio-pxa: fix devicetree functions") added an
      "xlate" function pointer to the irq_domain_ops, but this function is nor
      declared or defined anywhere when CONFIG_OF is disabled, causing the
      build error:
      
        drivers/gpio/gpio-pxa.c:532:11: error: 'irq_domain_xlate_twocell' undeclared here (not in a function)
      
      Extending the DT-only code section to cover the irq_domain_ops and the
      pxa_gpio_dt_ids solves this problem and makes it clearer which code is
      actually used without DT.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      f43e04ec
  9. 05 8月, 2012 1 次提交
  10. 05 5月, 2012 1 次提交
  11. 27 4月, 2012 1 次提交
  12. 26 1月, 2012 1 次提交
  13. 15 11月, 2011 3 次提交
  14. 14 11月, 2011 4 次提交
  15. 02 10月, 2011 2 次提交
  16. 08 8月, 2011 1 次提交
  17. 11 7月, 2011 1 次提交
  18. 25 4月, 2011 1 次提交
  19. 29 3月, 2011 2 次提交
  20. 14 1月, 2011 1 次提交
  21. 03 7月, 2009 1 次提交
    • D
      [ARM] pxa: use kzalloc() in pxa_init_gpio_chip() · 4aa78264
      Daniel Mack 提交于
      As slab is available early now, use kzalloc() rather than
      alloc_bootmem_low() in pxa_init_gpio_chip().
      
      This removes the following boot time warning:
      
      <4>------------[ cut here ]------------
      <4>WARNING: at mm/bootmem.c:535 alloc_arch_preferred_bootmem+0x2c/0x54()
      <d>Modules linked in:
      [<c0029430>] (unwind_backtrace+0x0/0xdc) from [<c0036f64>] (warn_slowpath_common+0x4c/0x80)
      [<c0036f64>] (warn_slowpath_common+0x4c/0x80) from [<c000ede0>] (alloc_arch_preferred_bootmem+0x2c/0x54)
      [<c000ede0>] (alloc_arch_preferred_bootmem+0x2c/0x54) from [<c000f2e4>] (___alloc_bootmem_nopanic+0x34/0xd0)
      [<c000f2e4>] (___alloc_bootmem_nopanic+0x34/0xd0) from [<c000f6e4>] (___alloc_bootmem+0xc/0x34)
      [<c000f6e4>] (___alloc_bootmem+0xc/0x34) from [<c000cb20>] (pxa_init_gpio+0x48/0x228)
      [<c000cb20>] (pxa_init_gpio+0x48/0x228) from [<c0009794>] (init_IRQ+0x34/0x44)
      [<c0009794>] (init_IRQ+0x34/0x44) from [<c00089d4>] (start_kernel+0x144/0x264)
      [<c00089d4>] (start_kernel+0x144/0x264) from [<a0008034>] (0xa0008034)
      <4>---[ end trace 1b75b31a2719ed1c ]---
      Signed-off-by: NDaniel Mack <daniel@caiaq.de>
      Signed-off-by: NEric Miao <eric.y.miao@gmail.com>
      4aa78264
  22. 27 4月, 2009 1 次提交
  23. 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
  24. 09 3月, 2009 5 次提交
  25. 02 12月, 2008 2 次提交
    • E
      f1647e4c
    • E
      [ARM] pxa: add support for additional GPIOs on PXA26x · 067455aa
      Eric Miao 提交于
      Original patch from Marek Vasut, the problems with PXA26x are:
      
      1. there are additional 4 GPIOs 86,87,88,89 have their direction bits
         inverted in GPDR2, as well as their alternate function bits being
         '1' for their GPIO functionality in GAFRx
      
      2. there is no easy way to decide if the processor is a pxa26x or a
         pxa250/pxa255 at run-time, so the assumption here is the pxa26x
         will be treated as one of the pxa25x variants, and board code
         should have a better knowledge of the processor it is featured
      
      Introduce pxa26x_init_irq() for the second purpose, and treat the
      additional GPIOs > 85 on PXA25x specially.
      
      Kconfig option CONFIG_CPU_PXA26x is introduced to optimize the code
      a bit when PXA26x support isn't needed. Board config options have
      to select this to enable the support for PXA26x.
      
      __gpio_is_inverted() will be optimized way when CONFIG_CPU_PXA26x
      isn't selected.
      Signed-off-by: NMarek Vasut <marek.vasut@gmail.com>
      Signed-off-by: NEric Miao <eric.miao@marvell.com>
      067455aa
  26. 09 10月, 2008 1 次提交
  27. 06 9月, 2008 1 次提交