一、全志的模块自动加载功能
在内核目录下的/driver/input下,有源码sw-device.c文件,此为自动加载模块的源码;
先看一个结构体:`
static struct sw_device_info ctps[] = {
{"egalax_i2c",{ 0x2a}, 0x00, {0x00 },1},
{ "ft5x_ts", { 0x38}, 0xa3, {0x11,0x03,0xa3,0x55,0x06,0x08,0x02,0x0a}, 0},
{ "gt82x", { 0x5d}, 0xf7d, {0x13,0x27,0x28 }, 0},
{ "gslX680", { 0x40}, 0x0