From: Sunny Luo Date: Sun, 4 Feb 2018 07:57:09 +0000 (+0800) Subject: dts: g12a-skt: add touch device node X-Git-Tag: khadas-vims-v0.9.6-release~2459 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=829ddebafee1c4c8531e0a321e0f6f038c30b1cd;p=platform%2Fkernel%2Flinux-amlogic.git dts: g12a-skt: add touch device node PD#156734: dts: g12a-skt: 1. add and enable focaltech ftxx 2. add and enable goodix gtxx Change-Id: Iff3a2d0a28c5ba78c93f23623b3c34b651bb2cae Signed-off-by: Sunny Luo --- diff --git a/arch/arm64/boot/dts/amlogic/g12a_skt.dts b/arch/arm64/boot/dts/amlogic/g12a_skt.dts index 244c784..0b5fbe3 100644 --- a/arch/arm64/boot/dts/amlogic/g12a_skt.dts +++ b/arch/arm64/boot/dts/amlogic/g12a_skt.dts @@ -1068,7 +1068,26 @@ status = "okay"; pinctrl-names="default"; pinctrl-0=<&i2c0_master_pins2>; - clock-frequency = <100000>; /* default 100k */ + clock-frequency = <400000>; + + gt9xx@5d { + compatible = "goodix,gt9xx"; + status = "disabled"; + reg = <0x5d>; + reset-gpio = <&gpio GPIOZ_9 0x00>; + irq-gpio = <&gpio GPIOZ_3 0x00>; + }; + + ftxx@38 { + compatible = "focaltech,fts"; + status = "disabled"; + reg = <0x38>; + reset-gpio = <&gpio GPIOZ_9 0x00>; + irq-gpio = <&gpio GPIOZ_3 0x00>; + x_max = <600>; + y_max = <1024>; + max-touch-number = <10>; + }; }; &i2c3 {