summaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl/pinctrl-amd.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* pinctrl: amd: make use of raw_spinlock variantsJulia Cartwright2017-03-161-1/+1
| | | | | | | | | | | | | | The amd pinctrl drivers currently implement an irq_chip for handling interrupts; due to how irq_chip handling is done, it's necessary for the irq_chip methods to be invoked from hardirq context, even on a a real-time kernel. Because the spinlock_t type becomes a "sleeping" spinlock w/ RT kernels, it is not suitable to be used with irq_chips. A quick audit of the operations under the lock reveal that they do only minimal, bounded work, and are therefore safe to do under a raw spinlock. Signed-off-by: Julia Cartwright <julia@ni.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
* pinctrl: amd: Add support for additional GPIOShah, Nehal-bakulchandra2016-12-281-3/+5
| | | | | | | | This patch adds support for new Bank and adds IRQCHIP_SKIP_SET_WAKE flag. Reviewed-by: S-k, Shyam-sundar <Shyam-sundar.S-k@amd.com> Signed-off-by: Nehal Shah <Nehal-bakulchandra.Shah@amd.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
* Fix inconsistent spinlock of AMD GPIO driver which can beKen Xue2015-04-071-6/+6
| | | | | | | | recognized by static analysis tool smatch. Declare constant Variables with Sparse's suggestion. Signed-off-by: Ken Xue <Ken.Xue@amd.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
* pinctrl: add AMD GPIO driver support.Ken Xue2015-03-181-0/+261
KERNCZ GPIO is a new IP from AMD. it can be implemented in both x86 and ARM. Current driver patch only support GPIO in x86. Signed-off-by: Ken Xue <Ken.Xue@amd.com> [Moved back to <linux/gpio.h> header] Signed-off-by: Linus Walleij <linus.walleij@linaro.org>