diff options
author | Haibo Chen <haibo.chen@nxp.com> | 2020-09-24 15:51:02 +0800 |
---|---|---|
committer | Haibo Chen <haibo.chen@nxp.com> | 2020-10-10 10:40:04 +0800 |
commit | bd81511b80b88476ec67ddf9d8ec687ddb998727 (patch) | |
tree | 485cac99aa0dc67a36aa31c5926dfc00b47f8817 | |
parent | 41eeeb049278483e43afa85ec988b60202a3880c (diff) |
MLK-24862-1 ARM64: dts: imx8mq-evk-dcss-rm67199: add goodix touch support
The new OLED not only use a new DSI panel(Raydium RM67199), but
also use a new touch chip, goodix gt1151q. This touch chip also
share the reset pin with the panel. According to the test, this
touch chip is not that critical with the reset operation, so
let panel control the reset pin.
Signed-off-by: Haibo Chen <haibo.chen@nxp.com>
-rw-r--r-- | arch/arm64/boot/dts/freescale/imx8mq-evk-dcss-rm67199.dts | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/freescale/imx8mq-evk-dcss-rm67199.dts b/arch/arm64/boot/dts/freescale/imx8mq-evk-dcss-rm67199.dts index 435a61879ef5..35156f2316d4 100644 --- a/arch/arm64/boot/dts/freescale/imx8mq-evk-dcss-rm67199.dts +++ b/arch/arm64/boot/dts/freescale/imx8mq-evk-dcss-rm67199.dts @@ -12,3 +12,17 @@ compatible = "raydium,rm67199"; }; }; + +&i2c3 { + touchscreen@14 { + compatible = "goodix,gt1151"; + reg = <0x14>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_i2c1_dsi_ts_int>; + interrupt-parent = <&gpio5>; + interrupts = <7 IRQ_TYPE_EDGE_FALLING>; + irq-gpios = <&gpio5 7 GPIO_ACTIVE_HIGH>; + touchscreen-size-x = <720>; + touchscreen-size-y = <1440>; + }; +}; |