Input: himax_hx83112b - add support for HX83102J
Subsystems (3)
PATCH v2 1/1 Input: himax_hx83112b - add support for HX83102J
Tested on: Starry Electronic XR109IA2T LCM
Signed-off-by Dmitry Mastykin <[email protected]>
---
v2: Add compatible
drivers/input/touchscreen/himax_hx83112b.c | 8 ++++++++ 1 file changed, 8 insertions(+)
drivers/input/touchscreen/himax_hx83112b.c +8 -0
@@ -399,6 +399,12 @@ static const struct himax_chip hx83100a_chip = { .read_events = hx83100a_read_events, }; +static const struct himax_chip hx83102j_chip = { + .id =0x831029 , + .check_id = himax_check_product_id, + .read_events = himax_read_events, +}; +static const struct himax_chip hx83112b_chip = { .id =0x83112b , .check_id = himax_check_product_id,
@@ -407,6 +413,7 @@ static const struct himax_chip hx83112b_chip = {static const struct i2c_device_id himax_ts_id[] = { {"hx83100a" , (kernel_ulong_t)&hx83100a_chip }, + {"hx83102j" , (kernel_ulong_t)&hx83102j_chip }, {"hx83112b" , (kernel_ulong_t)&hx83112b_chip }, {/* sentinel */ } };
@@ -415,6 +422,7 @@ MODULE_DEVICE_TABLE(i2c, himax_ts_id);#ifdef CONFIG_OF static const struct of_device_id himax_of_match[] = { { .compatible ="himax,hx83100a" , .data = &hx83100a_chip }, + { .compatible ="himax,hx83102j" , .data = &hx83102j_chip }, { .compatible ="himax,hx83112b" , .data = &hx83112b_chip }, {/* sentinel */ } };
Signature · 1 line
2.34.1