Add gt9xx touchscreen support.
Signed-off-by: Changhuang Liang <changhuang.liang@starfivetech.com>
};
};
+ gt9xx: gt9xx@14 {
+ compatible = "goodix,gt9xx";
+ reg = <0x14>;
+ touch-gpio = <&gpio 30 IRQ_TYPE_LEVEL_LOW>;
+ reset-gpio = <&gpio 31 GPIO_ACTIVE_HIGH>;
+ max-x = <800>;
+ max-y = <1280>;
+ tp-size = <9112>;
+ };
};
&i2c5 {
#include <dt-bindings/clock/starfive-jh7110-vout.h>
#include <dt-bindings/clock/starfive-jh7110-isp.h>
#include <dt-bindings/power/jh7110-power.h>
+#include <dt-bindings/interrupt-controller/irq.h>
/ {
compatible = "starfive,jh7110";