Loading Documentation/devicetree/bindings/input/touchscreen/ft5x06-ts.txt +2 −0 Original line number Diff line number Diff line Loading @@ -62,6 +62,7 @@ Optional properties: min y, max x and max y values - focaltech,fw-name : specify the firmware file name - focaltech,psensor-support : specify whether support the proximity sensor - focaltech,gesture-support : specify whether support gesture feature Example: i2c@f9923000{ Loading Loading @@ -98,5 +99,6 @@ Example: focaltech,fw-delay-era-flsh-ms = <2000>; focaltech,fw-auto-cal; focaltech,psensor-support; focaltech,gesture-support; }; }; drivers/input/touchscreen/Kconfig +9 −0 Original line number Diff line number Diff line Loading @@ -946,6 +946,15 @@ config TOUCHSCREEN_FT5X06_PSENSOR If unsure, say N. config TOUCHSCREEN_FT5X06_GESTURE tristate "FocalTech gesture feature support" depends on TOUCHSCREEN_FT5X06 help Say Y here if you want to support ft5x06's gesture feature. If unsure, say N. config TOUCHSCREEN_MSTAR21XX tristate "mstar touchscreens" depends on I2C Loading drivers/input/touchscreen/ft5x06_ts.c +460 −77 File changed.Preview size limit exceeded, changes collapsed. Show changes include/linux/input/ft5x06_ts.h +9 −0 Original line number Diff line number Diff line Loading @@ -42,6 +42,14 @@ struct ft5x06_psensor_platform_data { struct ft5x06_ts_data *data; }; struct ft5x06_gesture_platform_data { int gesture_enable_to_set; /* enable/disable gesture */ int in_pocket; /* whether in pocket mode or not */ struct device *dev; struct class *gesture_class; struct ft5x06_ts_data *data; }; struct ft5x06_ts_platform_data { struct fw_upgrade_info info; const char *name; Loading Loading @@ -69,6 +77,7 @@ struct ft5x06_ts_platform_data { bool i2c_pull_up; bool ignore_id_check; bool psensor_support; bool gesture_support; int (*power_init) (bool); int (*power_on) (bool); }; Loading Loading
Documentation/devicetree/bindings/input/touchscreen/ft5x06-ts.txt +2 −0 Original line number Diff line number Diff line Loading @@ -62,6 +62,7 @@ Optional properties: min y, max x and max y values - focaltech,fw-name : specify the firmware file name - focaltech,psensor-support : specify whether support the proximity sensor - focaltech,gesture-support : specify whether support gesture feature Example: i2c@f9923000{ Loading Loading @@ -98,5 +99,6 @@ Example: focaltech,fw-delay-era-flsh-ms = <2000>; focaltech,fw-auto-cal; focaltech,psensor-support; focaltech,gesture-support; }; };
drivers/input/touchscreen/Kconfig +9 −0 Original line number Diff line number Diff line Loading @@ -946,6 +946,15 @@ config TOUCHSCREEN_FT5X06_PSENSOR If unsure, say N. config TOUCHSCREEN_FT5X06_GESTURE tristate "FocalTech gesture feature support" depends on TOUCHSCREEN_FT5X06 help Say Y here if you want to support ft5x06's gesture feature. If unsure, say N. config TOUCHSCREEN_MSTAR21XX tristate "mstar touchscreens" depends on I2C Loading
drivers/input/touchscreen/ft5x06_ts.c +460 −77 File changed.Preview size limit exceeded, changes collapsed. Show changes
include/linux/input/ft5x06_ts.h +9 −0 Original line number Diff line number Diff line Loading @@ -42,6 +42,14 @@ struct ft5x06_psensor_platform_data { struct ft5x06_ts_data *data; }; struct ft5x06_gesture_platform_data { int gesture_enable_to_set; /* enable/disable gesture */ int in_pocket; /* whether in pocket mode or not */ struct device *dev; struct class *gesture_class; struct ft5x06_ts_data *data; }; struct ft5x06_ts_platform_data { struct fw_upgrade_info info; const char *name; Loading Loading @@ -69,6 +77,7 @@ struct ft5x06_ts_platform_data { bool i2c_pull_up; bool ignore_id_check; bool psensor_support; bool gesture_support; int (*power_init) (bool); int (*power_on) (bool); }; Loading