[PATCH v2 2/3] input: himax_hx83112b: Add hx83102d support

From: Henri Ommer

Date: Tue Nov 17 2026 - 08:26:39 EST


The core functionality of the hx83102d is software-compatible with the hx83112b. As with the hx83112b, firmware flashing is unimplemented.

Tested on: Samsung Galaxy A20e (SM-A202F)

Signed-off-by: Henri Ommer <henri@xxxxxxxxx>
---
drivers/input/touchscreen/himax_hx83112b.c | 11 +++++++++++
1 file changed, 11 insertions(+)

diff --git a/drivers/input/touchscreen/himax_hx83112b.c b/drivers/input/touchscreen/himax_hx83112b.c
index 3521b05d509f..4bd52c1e8f4a 100644
--- a/drivers/input/touchscreen/himax_hx83112b.c
+++ b/drivers/input/touchscreen/himax_hx83112b.c
@@ -7,6 +7,9 @@
* HX83100A support
* Copyright (C) 2024 Felix Kaechele <felix@xxxxxxxxxxx>
*
+ * HX83102D support
+ * Copyright (C) 2026 Henri Ommer <henri@xxxxxxxxx>
+ *
* This code is based on "Himax Android Driver Sample Code for QCT platform":
*
* Copyright (C) 2017 Himax Corporation.
@@ -407,6 +410,12 @@ static const struct himax_chip hx83100a_chip = {
.read_events = hx83100a_read_events,
};

+static const struct himax_chip hx83102d_chip = {
+ .id = 0x83102d,
+ .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,
@@ -415,6 +424,7 @@ static const struct himax_chip hx83112b_chip = {

static const struct i2c_device_id himax_ts_id[] = {
{ .name = "hx83100a", .driver_data = (kernel_ulong_t)&hx83100a_chip },
+ { .name = "hx83102d", .driver_data = (kernel_ulong_t)&hx83102d_chip },
{ .name = "hx83112b", .driver_data = (kernel_ulong_t)&hx83112b_chip },
{ /* sentinel */ }
};
@@ -423,6 +433,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,hx83102d", .data = &hx83102d_chip },
{ .compatible = "himax,hx83112b", .data = &hx83112b_chip },
{ /* sentinel */ }
};
--
2.56.0