1. 04 12月, 2013 1 次提交
    • L
      gpio/pinctrl: make gpio_chip members typed boolean · 9fb1f39e
      Linus Walleij 提交于
      This switches the two members of struct gpio_chip that were
      defined as unsigned foo:1 to bool, because that is indeed what
      they are. Switch all users in the gpio and pinctrl subsystems
      to assign these values with true/false instead of 0/1. The
      users outside these subsystems will survive since true/false
      is 1/0, atleast we set some kind of more strict typing example.
      Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
      9fb1f39e
  2. 16 8月, 2013 1 次提交
  3. 25 6月, 2013 1 次提交
  4. 18 5月, 2013 1 次提交
  5. 27 3月, 2013 2 次提交
    • S
      gpio: mvebu: add dbg_show function · a4ba5e1b
      Simon Guinot 提交于
      This patch adds a dedicated dbg_show function to the gpio-mvebu driver.
      In addition to the generic gpiolib informations, this function displays
      informations related with the specific Marvell registers (blink enable,
      data in polarity, interrupt masks and cause).
      Signed-off-by: NSimon Guinot <simon.guinot@sequanux.org>
      Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
      a4ba5e1b
    • L
      gpio: gpio-mvebu.c: fix checkpatch errors · f4dcd2d9
      Laurent Navet 提交于
      Fix :
       gpio/gpio-mvebu.c:120: ERROR: space required before the open parenthesis '('
       gpio/gpio-mvebu.c:136: ERROR: space required before the open parenthesis '('
       gpio/gpio-mvebu.c:154: ERROR: space required before the open parenthesis '('
       gpio/gpio-mvebu.c:404: ERROR: space required before the open parenthesis '('
       gpio/gpio-mvebu.c:476: ERROR: "(foo*)" should be "(foo *)"
       gpio/gpio-mvebu.c:480: ERROR: "(foo*)" should be "(foo *)"
       gpio/gpio-mvebu.c:484: ERROR: "(foo*)" should be "(foo *)"
       gpio/gpio-mvebu.c:512: ERROR: space prohibited after that '!' (ctx:BxW)
       gpio/gpio-mvebu.c:518: ERROR: space prohibited after that '!' (ctx:BxW)
       gpio/gpio-mvebu.c:518: ERROR: space required before the open brace '{'
       gpio/gpio-mvebu.c:563: ERROR: space prohibited after that '!' (ctx:BxW)
       gpio/gpio-mvebu.c:570: ERROR: trailing whitespace
       gpio/gpio-mvebu.c:577: ERROR: space required before the open parenthesis '('
       gpio/gpio-mvebu.c:635: ERROR: space prohibited after that '!' (ctx:BxW)
      Signed-off-by: NLaurent Navet <laurent.navet@gmail.com>
      Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
      f4dcd2d9
  6. 09 3月, 2013 1 次提交
  7. 23 1月, 2013 1 次提交
  8. 17 1月, 2013 1 次提交
  9. 20 12月, 2012 1 次提交
  10. 29 11月, 2012 2 次提交
  11. 18 11月, 2012 1 次提交
  12. 09 11月, 2012 1 次提交
  13. 31 10月, 2012 1 次提交
  14. 26 10月, 2012 1 次提交
    • L
      gpio/mvebu: convert to use irq_domain_add_simple() · ce931f57
      Linus Walleij 提交于
      The MVEBU driver probably just wants a few IRQs. Using the simple
      domain has the upside of allocating IRQ descriptors if need be,
      especially in a SPARSE_IRQ environment.
      
      Cc: Rob Herring <rob.herring@calxeda.com>
      Cc: Grant Likely <grant.likely@secretlab.ca>
      Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
      Cc: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
      Cc: Andrew Lunn <andrew@lunn.ch>
      Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
      ce931f57
  15. 24 10月, 2012 1 次提交
  16. 18 10月, 2012 1 次提交
  17. 22 9月, 2012 1 次提交
    • T
      gpio: introduce gpio-mvebu driver for Marvell SoCs · fefe7b09
      Thomas Petazzoni 提交于
      This driver aims at replacing the arch/arm/plat-orion/gpio.c driver,
      and is designed to be compatible with all Marvell EBU SoCs: Orion,
      Kirkwood, Dove, Armada 370/XP and Discovery.
      
      It has been successfully tested on Dove and Armada XP at the moment.
      
      Compared to the plat-orion driver, this new driver has the following
      added benefits:
      
       *) Support for Armada 370 and Armada XP
       *) It is integrated with the mvebu pinctrl driver so that GPIO pins
          are properly muxed, and the GPIO driver knows which GPIO pins are
          output-only or input-only.
       *) Properly placed in drivers/gpio
       *) More extensible mechanism to support platform differences. The
          plat-orion driver uses a simple mask-offset DT property, which
          works fine for Discovery MV78200 but not for Armada XP. The new
          driver uses different compatible strings to identify the different
          variants of the GPIO controllers.
      Signed-off-by: NThomas Petazzoni <thomas.petazzoni@free-electrons.com>
      Cc: Grant Likely <grant.likely@secretlab.ca>
      Cc: Linus Walleij <linus.walleij@stericsson.com>
      Cc: Andrew Lunn <andrew@lunn.ch>
      Cc: Jason Cooper <jason@lakedaemon.net>
      Cc: Gregory Clement <gregory.clement@free-electrons.com>
      Tested-by: NSebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
      Reviewed-by: NLinus Walleij <linus.walleij@linaro.org>
      Tested-by: NAndrew Lunn <andrew@lunn.ch>
      Acked-by: NArnd Bergmann <arnd@arndb.de>
      Signed-off-by: NJason Cooper <jason@lakedaemon.net>
      fefe7b09