Kernel->driver:tp compatible with mt70817v2

This commit is contained in:
linjz
2016-05-05 10:13:46 +08:00
parent 54b7c620b6
commit ce82e07ea8
9 changed files with 15999 additions and 15 deletions

View File

@ -515,6 +515,19 @@
rockchip,prop = <PRMRY>;//<EXTEND>
status = "okay";
};
mt@40 {
status = "disabled";
compatible = "firefly,gsl3680";
reg = <0x40>;
touch-gpio = <&gpio7 GPIO_B5 IRQ_TYPE_EDGE_RISING>;
//reset-gpio = <&gpio7 GPIO_B1 GPIO_ACTIVE_LOW>;
max-y = <2048>;
max-x = <1536>;
flip-x = <1>;
flip-y = <1>;
swap-xy = <0>;
};
};
&i2c5 {

View File

@ -211,7 +211,7 @@
//used for init some gpio
init-gpios = <&gpio8 GPIO_A0 GPIO_ACTIVE_HIGH
&gpio7 GPIO_B1 GPIO_ACTIVE_HIGH
// &gpio7 GPIO_B1 GPIO_ACTIVE_HIGH
&gpio4 GPIO_B0 GPIO_ACTIVE_HIGH>;
gpio0_gpio {
gpio0_c2: gpio0-c2 {
@ -497,15 +497,33 @@
flip-x = <0>;
flip-y = <0>;
};
mt@40 {
status = "disabled";
compatible = "firefly,gsl3680";
reg = <0x40>;
touch-gpio = <&gpio5 GPIO_B0 IRQ_TYPE_EDGE_RISING>;
reset-gpio = <&gpio7 GPIO_B1 GPIO_ACTIVE_LOW>;
max-y = <2048>;
max-x = <1536>;
flip-x = <1>;
flip-y = <1>;
swap-xy = <0>;
};
ts@41 {
status = "disabled";
compatible = "tchip,gsl3680";
compatible = "firefly,gsl3680";
reg = <0x41>;
touch-gpio = <&gpio8 GPIO_A7 IRQ_TYPE_EDGE_RISING>;
//reset-gpio = <&gpio8 GPIO_A6 GPIO_ACTIVE_LOW>;
max-x = <1280>;
max-y = <800>;
flip-x = <0>;
flip-y = <0>;
swap-xy = <1>;
};
};
&i2c2 {