Commit 8bce2e27 authored by Guido Gunther's avatar Guido Gunther

lirbem5-evk: Use mainline driver for touch screen controller

We need to mark the GPIO pins as active high since other wise the reset
sequence is inverted.

Using the mainline driver gives us the right scaling.

Closes: #23
Signed-off-by: Guido Gunther's avatarGuido Günther <guido.gunther@puri.sm>
parent 80a3b476
......@@ -955,14 +955,16 @@
};
goodix_ts@5d {
compatible = "goodix,gt5688", "goodix,gt1x";
compatible = "goodix,gt5688";
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_goodix_ts>;
reg = <0x5d>;
interrupt-parent = <&gpio3>;
interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
goodix,rst-gpio = <&gpio1 5 GPIO_ACTIVE_LOW>;
goodix,irq-gpio = <&gpio3 0 GPIO_ACTIVE_LOW>;
interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
reset-gpios = <&gpio1 5 GPIO_ACTIVE_HIGH>;
irq-gpios = <&gpio3 0 GPIO_ACTIVE_HIGH>;
touchscreen-size-x = <720>;
touchscreen-size-y = <1440>;
};
sgtl5000: sgtl5000@a {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment