From: Sean Cross <hidden> Date: 2014-09-12 03:18:48
These patches add support for using a GPIO as an IRQ source for the
STMPE module when configured using device tree.
Changes since v1:
- Split actual patch and Documentation into two parts
Sean Cross (2):
mfd: stmpe: support gpio over irq under device tree
mfd: stmpe: Document DT binding for irq_over_gpio
Documentation/devicetree/bindings/mfd/stmpe.txt | 1 +
drivers/mfd/stmpe.c | 7 ++++++-
2 files changed, 7 insertions(+), 1 deletion(-)
--
2.1.0
From: Sean Cross <hidden> Date: 2014-09-12 03:18:54
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 <redacted>
---
drivers/mfd/stmpe.c | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
From: Sean Cross <hidden> Date: 2014-09-12 03:18:57
STMPE now supports using a GPIO as an IRQ source. Document the device
tree binding for this option.
Signed-off-by: Sean Cross <redacted>
---
Documentation/devicetree/bindings/mfd/stmpe.txt | 1 +
1 file changed, 1 insertion(+)
@@ -13,6 +13,7 @@ Optional properties: - interrupt-parent : Specifies which IRQ controller we're connected to - wakeup-source : Marks the input device as wakable - st,autosleep-timeout : Valid entries (ms); 4, 16, 32, 64, 128, 256, 512 and 1024+ - irq-gpio : If present, which GPIO to use for event IRQ Example:
From: Lee Jones <hidden> Date: 2014-09-15 23:12:52
On Fri, 12 Sep 2014, Sean Cross wrote:
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 <redacted>
---
drivers/mfd/stmpe.c | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
From: Lee Jones <hidden> Date: 2014-09-15 23:13:11
On Fri, 12 Sep 2014, Sean Cross wrote:
STMPE now supports using a GPIO as an IRQ source. Document the device
tree binding for this option.
Signed-off-by: Sean Cross <redacted>
---
Documentation/devicetree/bindings/mfd/stmpe.txt | 1 +
1 file changed, 1 insertion(+)
@@ -13,6 +13,7 @@ Optional properties: - interrupt-parent : Specifies which IRQ controller we're connected to - wakeup-source : Marks the input device as wakable - st,autosleep-timeout : Valid entries (ms); 4, 16, 32, 64, 128, 256, 512 and 1024+ - irq-gpio : If present, which GPIO to use for event IRQ Example:
--
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog