ARM: dts: stm32: Fix STMPE1600 binding on stm32429i-eval board
authorAlexandre Torgue <alexandre.torgue@st.com>
Wed, 4 Oct 2017 09:42:00 +0000 (11:42 +0200)
committerAlexandre Torgue <alexandre.torgue@st.com>
Wed, 4 Oct 2017 09:42:00 +0000 (11:42 +0200)
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>
arch/arm/boot/dts/stm32429i-eval.dts

index 97b1c2321ba9dd4f7791213b47beaeb740d6542f..5bdb90b2ae72862b63db08ada6e1bbed18e2b352 100644 (file)
        stmpe1600: stmpe1600@42 {
                compatible = "st,stmpe1600";
                reg = <0x42>;
-               irq-gpio = <&gpioi 8 0>;
-               irq-trigger = <3>;
                interrupts = <8 3>;
-               interrupt-parent = <&exti>;
+               interrupt-parent = <&gpioi>;
                interrupt-controller;
                wakeup-source;