diff options
author | Alexandre Torgue <alexandre.torgue@st.com> | 2017-10-04 05:42:00 -0400 |
---|---|---|
committer | Alexandre Torgue <alexandre.torgue@st.com> | 2017-10-04 05:42:00 -0400 |
commit | 4edd8121e555acbee63578abeaf73026d055bbb4 (patch) | |
tree | a8b35d8a7c669cdb0b689997a08d0b10cdb02acc | |
parent | 2bd6bf03f4c1c59381d62c61d03f6cc3fe71f66e (diff) |
ARM: dts: stm32: Fix STMPE1600 binding on stm32429i-eval board
To declare gpio interrupt line for STMPE1600, 2 possibilities are offered:
-use gpio binding (and then the gpiolib interface inside driver)
-use interrupt binding as each gpio-controller are also interrupt controller
on stm32f429.
In STMPE 1600 node both (gpio and interrupt) bindings are defined.
This patch fixes this issue and use only interrupt binding.
Fixes: c04b2e72af8d ("ARM: dts: stm32: Enable STMPE1600 gpio expander of STM32F429-EVAL board")
Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com>
-rw-r--r-- | arch/arm/boot/dts/stm32429i-eval.dts | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/arm/boot/dts/stm32429i-eval.dts b/arch/arm/boot/dts/stm32429i-eval.dts index 97b1c2321ba9..5bdb90b2ae72 100644 --- a/arch/arm/boot/dts/stm32429i-eval.dts +++ b/arch/arm/boot/dts/stm32429i-eval.dts | |||
@@ -202,10 +202,8 @@ | |||
202 | stmpe1600: stmpe1600@42 { | 202 | stmpe1600: stmpe1600@42 { |
203 | compatible = "st,stmpe1600"; | 203 | compatible = "st,stmpe1600"; |
204 | reg = <0x42>; | 204 | reg = <0x42>; |
205 | irq-gpio = <&gpioi 8 0>; | ||
206 | irq-trigger = <3>; | ||
207 | interrupts = <8 3>; | 205 | interrupts = <8 3>; |
208 | interrupt-parent = <&exti>; | 206 | interrupt-parent = <&gpioi>; |
209 | interrupt-controller; | 207 | interrupt-controller; |
210 | wakeup-source; | 208 | wakeup-source; |
211 | 209 | ||