input: touchscreen: ili210x: add location info for multi-touch
Signed-off-by: Luo Wei <lw@rock-chips.com> Change-Id: Ic096a4ef096e3c1ae186922df0a8cc60185b897d
This commit is contained in:
@@ -267,6 +267,7 @@ static const struct ili2xxx_chip ili251x_chip = {
|
||||
.parse_touch_data = ili251x_touchdata_to_coords,
|
||||
.continue_polling = ili251x_check_continue_polling,
|
||||
.max_touches = 10,
|
||||
.resolution = 16383,
|
||||
.has_calibrate_reg = true,
|
||||
.has_pressure_reg = true,
|
||||
};
|
||||
@@ -441,6 +442,7 @@ static int ili210x_i2c_probe(struct i2c_client *client,
|
||||
|
||||
/* Setup input device */
|
||||
input->name = "ILI210x Touchscreen";
|
||||
input->phys = devm_kasprintf(dev, GFP_KERNEL, "ili210x-%s/input0", dev_name(dev));
|
||||
input->id.bustype = BUS_I2C;
|
||||
|
||||
/* Multi touch */
|
||||
|
||||
Reference in New Issue
Block a user