From 829ddebafee1c4c8531e0a321e0f6f038c30b1cd Mon Sep 17 00:00:00 2001 From: Sunny Luo Date: Sun, 4 Feb 2018 15:57:09 +0800 Subject: [PATCH] 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 --- arch/arm64/boot/dts/amlogic/g12a_skt.dts | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/amlogic/g12a_skt.dts b/arch/arm64/boot/dts/amlogic/g12a_skt.dts index 244c78468dad..0b5fbe3101ac 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 {