[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20250122121318.1367700-1-mastichi@gmail.com>
Date: Wed, 22 Jan 2025 15:13:18 +0300
From: Dmitry Mastykin <mastichi@...il.com>
To: job@...rman.info,
dmitry.torokhov@...il.com,
linux-input@...r.kernel.org,
linux-kernel@...r.kernel.org,
felix@...chele.ca
Cc: Dmitry Mastykin <mastichi@...il.com>
Subject: [PATCH] Input: himax_hx83112b - add support for HX83102J
Tested on: Starry Electronic XR109IA2T LCM
Signed-off-by: Dmitry Mastykin <mastichi@...il.com>
---
drivers/input/touchscreen/himax_hx83112b.c | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/drivers/input/touchscreen/himax_hx83112b.c b/drivers/input/touchscreen/himax_hx83112b.c
index 896a145ddb2b..31f18860dbd3 100644
--- a/drivers/input/touchscreen/himax_hx83112b.c
+++ b/drivers/input/touchscreen/himax_hx83112b.c
@@ -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 */ }
};
--
2.34.1
Powered by blists - more mailing lists