ARM: rockchip: rk3188-tb add ts support

This commit is contained in:
黄涛
2014-02-13 18:12:15 +08:00
parent 6681264bd8
commit 642d6c30cd
2 changed files with 14 additions and 0 deletions

View File

@@ -80,6 +80,19 @@
};
};
&i2c2 {
status = "okay";
ts@55 {
compatible = "goodix,gt8xx";
reg = <0x55>;
touch-gpio = <&gpio1 GPIO_B7 IRQ_TYPE_LEVEL_LOW>;
reset-gpio = <&gpio0 GPIO_B6 GPIO_ACTIVE_LOW>;
power-gpio = <&gpio0 GPIO_C5 GPIO_ACTIVE_LOW>;
max-x = <1280>;
max-y = <800>;
};
};
&i2c3 {
status = "okay";
};

View File

@@ -288,6 +288,7 @@ CONFIG_TABLET_USB_HANWANG=y
CONFIG_TABLET_USB_KBTAB=y
CONFIG_TABLET_USB_WACOM=y
CONFIG_INPUT_TOUCHSCREEN=y
CONFIG_TOUCHSCREEN_GT8XX=y
CONFIG_INPUT_MISC=y
CONFIG_INPUT_KEYCHORD=y
CONFIG_INPUT_UINPUT=y