ARM64: dts: rk3399-mid-818-android: modify gt9xx touchscreen config
authorAiyoujun <ayj@rock-chips.com>
Mon, 13 Jun 2016 15:00:02 +0000 (23:00 +0800)
committerAiyoujun <ayj@rock-chips.com>
Mon, 13 Jun 2016 15:00:02 +0000 (23:00 +0800)
Change-Id: I79af9d7cb66e036424f3e6f27b1364f2c7659451
Signed-off-by: Aiyoujun <ayj@rock-chips.com>
arch/arm64/boot/dts/rockchip/rk3399-mid-818-android.dts

index 87cba9e7d9263072e2b0902ad1da4d89bfbd7e28..b8931afe4552037f80b6061d238b7bd9d4f5947b 100644 (file)
        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>;
        };
 };