From 2a0df017b89f19f64d24206ae9e7bbeca7bb3173 Mon Sep 17 00:00:00 2001 From: Aiyoujun Date: Mon, 13 Jun 2016 23:00:02 +0800 Subject: [PATCH] ARM64: dts: rk3399-mid-818-android: modify gt9xx touchscreen config Change-Id: I79af9d7cb66e036424f3e6f27b1364f2c7659451 Signed-off-by: Aiyoujun --- .../boot/dts/rockchip/rk3399-mid-818-android.dts | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3399-mid-818-android.dts b/arch/arm64/boot/dts/rockchip/rk3399-mid-818-android.dts index 87cba9e7d926..b8931afe4552 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399-mid-818-android.dts +++ b/arch/arm64/boot/dts/rockchip/rk3399-mid-818-android.dts @@ -552,13 +552,15 @@ i2c-scl-falling-time-ns = <30>; clock-frequency = <400000>; - ts@14 { - compatible = "GT,Goodix-TS"; + gt9xx: gt9xx@14 { + compatible = "goodix,gt9xx"; reg = <0x14>; - screen_max_x = <1536>; - screen_max_y = <2048>; - irq_gpio_number = <&gpio3 12 IRQ_TYPE_LEVEL_LOW>; - rst_gpio_number = <&gpio3 13 GPIO_ACTIVE_HIGH>; + touch-gpio = <&gpio3 12 IRQ_TYPE_LEVEL_LOW>; + reset-gpio = <&gpio3 13 GPIO_ACTIVE_HIGH>; + max-x = <1536>; + max-y = <2048>; + tp-size = <970>; + tp-supply = <&vcc3v0_tp>; }; }; -- 2.34.1