1. 16 1月, 2015 5 次提交
  2. 09 1月, 2015 1 次提交
  3. 11 11月, 2014 1 次提交
  4. 28 10月, 2014 1 次提交
    • L
      gpio: dwapb: fix compile errors · 1972c97d
      Linus Walleij 提交于
      Whereas the DWAPB driver does not really depend on the ARM
      architecture, it uses [readl|writel]_relaxed() not found on
      arch such as Blackfin, so restrict this to ARM until there is
      another architecture that can make use of it.
      
      It is also using the of_node of the gpiochip, so fix this
      too by requiring OF_GPIO.
      
      All error/warnings:
      
      make.cross ARCH=blackfin
      drivers/gpio/gpio-dwapb.c: In function 'dwapb_irq_handler':
      drivers/gpio/gpio-dwapb.c:91:2: error: implicit declaration of function 'readl_relaxed' [-Werror=implicit-function-declaration]
      drivers/gpio/gpio-dwapb.c: In function 'dwapb_configure_irqs':
      drivers/gpio/gpio-dwapb.c:212:32: error: 'struct gpio_chip' has no member named 'of_node'
      drivers/gpio/gpio-dwapb.c:221:16: error: 'struct gpio_chip' has no member named 'of_node'
      drivers/gpio/gpio-dwapb.c: In function 'dwapb_gpio_add_port':
      drivers/gpio/gpio-dwapb.c:331:14: error: 'struct gpio_chip' has no member named 'of_node'
      cc1: some warnings being treated as errors
      
      Cc: Jamie Iles <jamie@jamieiles.com>
      Cc: Alan Tull <atull@altera.com>
      Reported-by: Nkbuild test robot <fengguang.wu@intel.com>
      Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
      1972c97d
  5. 24 10月, 2014 1 次提交
  6. 21 10月, 2014 1 次提交
  7. 25 9月, 2014 1 次提交
  8. 23 9月, 2014 1 次提交
  9. 05 9月, 2014 1 次提交
  10. 02 9月, 2014 1 次提交
  11. 28 8月, 2014 1 次提交
  12. 28 7月, 2014 1 次提交
  13. 10 7月, 2014 1 次提交
  14. 19 6月, 2014 1 次提交
  15. 17 6月, 2014 1 次提交
  16. 29 5月, 2014 1 次提交
  17. 28 5月, 2014 1 次提交
  18. 27 5月, 2014 1 次提交
  19. 23 5月, 2014 1 次提交
  20. 09 5月, 2014 1 次提交
    • A
      gpio: always enable GPIO_OMAP on ARCH_OMAP · 9d5d96ef
      Arnd Bergmann 提交于
      Commit 4df42de9d3e "gpio: omap: add a GPIO_OMAP option instead of using
      ARCH_OMAP" made it possible to build OMAP kernels without the GPIO driver,
      which at least on OMAP2 and OMAP3 causes build errors because of functions
      used by the platform power management code:
      
      arch/arm/mach-omap2/built-in.o: In function `omap_sram_idle':
      arch/arm/mach-omap2/pm24xx.c:129: undefined reference to `omap2_gpio_prepare_for_idle'
      arch/arm/mach-omap2/pm24xx.c:129: undefined reference to `omap2_gpio_resume_after_idle'
      
      We presumably always want the GPIO driver on OMAP, so this adds a slightly
      broader dependency and only allows disabling the driver only when no
      OMAP2PLUS platform is selected.
      
      However, it seems entirely reasonable to include the driver in build tests
      on other platforms, so we should also allow building it for COMPILE_TEST
      builds and select the required GENERIC_IRQ_CHIP that may not already be
      enabled on other platforms.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Acked-by: NJavier Martinez Canillas <javier.martinez@collabora.co.uk>
      Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
      9d5d96ef
  21. 29 4月, 2014 4 次提交
  22. 26 3月, 2014 2 次提交
  23. 18 3月, 2014 1 次提交
  24. 12 3月, 2014 2 次提交
  25. 07 3月, 2014 1 次提交
  26. 06 3月, 2014 1 次提交
  27. 05 3月, 2014 1 次提交
    • J
      gpio: add a driver for the Synopsys DesignWare APB GPIO block · 7779b345
      Jamie Iles 提交于
      The Synopsys DesignWare block is used in some ARM devices (picoxcell)
      and can be configured to provide multiple banks of GPIO pins.
      
      v12: - Add irq_startup/shutdown
           - do irq_create_mapping() in probe, irq_find_mapping() in to_irq()
           - Adjust mappings to show support for 1 gpio per port.
           - gpio-cells = <1>
      v11: - Use NULL when checking existence of 'interrupts' property
           - Bindings descriptions cleanup
      v10: - in documentation nr-gpio -> nr-gpios
      v9:  - cleanup in dt bindings doc
           - use of_get_child_count()
      v8:  - remove socfpga.dtsi changes
           - minor cleanup in devicetree documentation
      v7:  - use irq_generic_chip
           - support one irq per gpio line or one irq for many
           - s/bank/port/ and other cleanup
      v6:  - (atull) squash the set of patches
           - use linear irq domain
           - build fixes. Original driver was reviewed on v3.2.
           - Fix setting irq edge type for 'rising' and 'both'.
           - Support as a loadable module.
           - Use bgpio_chip's spinlock during register access.
           - Clean up register names to match spec
           - s/bank/port/ because register names use the word 'port'
           - s/nr-gpio/nr-gpios/
           - don't get/put the of_node
           - remove signoffs/acked-by's because of changes
           - other cleanup
      v5:  - handle sparse bank population correctly
      v3:  - depend on rather than select IRQ_DOMAIN
           - split IRQ support into a separate patch
      v2:  - use Rob Herring's irqdomain in generic irq chip patches
           - use reg property to indicate bank index
           - support irqs on both edges based on LinusW's u300 driver
      Signed-off-by: NJamie Iles <jamie@jamieiles.com>
      Signed-off-by: NAlan Tull <atull@altera.com>
      Reviewed-by: NSebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
      Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
      7779b345
  28. 27 2月, 2014 2 次提交
  29. 25 2月, 2014 1 次提交
  30. 13 2月, 2014 1 次提交