diff options
author | Haibo Chen <haibo.chen@nxp.com> | 2021-07-20 16:17:06 +0800 |
---|---|---|
committer | Dong Aisheng <aisheng.dong@nxp.com> | 2021-11-02 16:51:45 +0800 |
commit | 16429edb139f4d4738311485607553e1402286c8 (patch) | |
tree | e854d4ac45941b69a4c4d55fb55906fe19e06921 /arch/arm64/boot/dts/freescale/imx8ulp-evk-rk055hdmipi4m.dts | |
parent | 20b410aa0f723efbc767b4abc3ea425639b77001 (diff) |
LF-4184-1 arm64: dts: imx8ulp-evk-rk055hdmipi4m: add touch support
Add GOODIX GT911 touch support.
The irq pad of this touch is connect to PTB5, which is in M domain.
So this touch depends on rpmsg-gpio output/input function and rpmsg-gpio
interrupt function, please refer to drivers/gpio/gpio-imx-rpmsg.c
This means to support this touch, M core image also need to add related
rpmsg-gpio output/input/interrupt function.
Reviewed-by: Clark Wang <xiaoning.wang@nxp.com>
Signed-off-by: Haibo Chen <haibo.chen@nxp.com>
Diffstat (limited to 'arch/arm64/boot/dts/freescale/imx8ulp-evk-rk055hdmipi4m.dts')
-rw-r--r-- | arch/arm64/boot/dts/freescale/imx8ulp-evk-rk055hdmipi4m.dts | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/freescale/imx8ulp-evk-rk055hdmipi4m.dts b/arch/arm64/boot/dts/freescale/imx8ulp-evk-rk055hdmipi4m.dts index 909550f9cd85..544ef774dab3 100644 --- a/arch/arm64/boot/dts/freescale/imx8ulp-evk-rk055hdmipi4m.dts +++ b/arch/arm64/boot/dts/freescale/imx8ulp-evk-rk055hdmipi4m.dts @@ -52,3 +52,16 @@ }; }; }; + +&i2c_rpbus_1 { + goodix@14 { + compatible = "goodix,gt911"; + reg = <0x14>; + interrupt-parent = <&rpmsg_gpiob>; + interrupts = <5 IRQ_TYPE_EDGE_FALLING>; + irq-gpios = <&rpmsg_gpiob 5 GPIO_ACTIVE_HIGH>; + reset-gpios = <&pca6416_1 5 GPIO_ACTIVE_HIGH>; + touchscreen-size-x = <720>; + touchscreen-size-y = <1280>; + }; +}; |