summaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl/pinctrl-at91-pio4.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* pinctrl: at91-pio4: irq argument as been removed from irq flow handlersLudovic Desroches2015-10-021-2/+3
| | | | | | | | Irq argument as been removed from irq flow handlers so use the irq descriptor to retrieve data we need. Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
* pinctrl: at91-pio4: use irq_set_handler_lockedLudovic Desroches2015-10-021-5/+5
| | | | | | | | Use irq_set_handler_locked() as it avoids a redundant lookup of the irq descriptor. Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
* pinctrl: at91-pio4: add PM stuffLudovic Desroches2015-10-021-0/+76
| | | | | | | | Allow GPIOs to be configured as wakeup sources. When going to suspend, disable all GPIO irqs excepting the one configured as wakeup sources. Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
* pinctrl: introduce driver for Atmel PIO4 controllerLudovic Desroches2015-09-211-0/+1017
Add a pinctrl/gpio driver for Atmel PIO4 controller available on SAMA5D2 chip family. Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>