]> git.karo-electronics.de Git - linux-beck.git/commit
mfd: stmpe: Support gpio over irq under device tree
authorSean Cross <xobs@kosagi.com>
Fri, 12 Sep 2014 03:18:33 +0000 (11:18 +0800)
committerLee Jones <lee.jones@linaro.org>
Fri, 26 Sep 2014 07:23:53 +0000 (08:23 +0100)
commit851ec59614d8cd0d122319c32a5be0f8799d36be
tree2dc01154ee87fd169dfd282005b40db12895c97a
parentbdaf67030cbab21a91fd2d6b1771cf336a0dd092
mfd: stmpe: Support gpio over irq under device tree

The stmpe_platform_data has a irq_over_gpio field, which allows the
system to read STMPE events whenever an IRQ occurs on a GPIO pin.
This patch adds the ability to configure this field and to use a GPIO
as an IRQ source for boards configuring the STMPE in device tree.

Signed-off-by: Sean Cross <xobs@kosagi.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/stmpe.c