Input: novatek-nvt-ts - replace generic i2c device id with specific IC variant
authorJoel Selvaraj <joelselvaraj.oss@gmail.com>
Sat, 1 Jun 2024 20:44:43 +0000 (15:44 -0500)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 30 Sep 2024 02:10:43 +0000 (19:10 -0700)
This is done in preparation to introduce other variants of the Novatek NVT
touchscreen controller that can be supported by the driver.

Signed-off-by: Joel Selvaraj <joelselvaraj.oss@gmail.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Hans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20240601-nvt-ts-devicetree-regulator-support-v5-1-aa9bf986347d@gmail.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/touchscreen/novatek-nvt-ts.c
drivers/platform/x86/x86-android-tablets/other.c

index 1a797e4..9bee3a0 100644 (file)
@@ -278,7 +278,7 @@ static int nvt_ts_probe(struct i2c_client *client)
 }
 
 static const struct i2c_device_id nvt_ts_i2c_id[] = {
-       { "NVT-ts" },
+       { "nt11205-ts" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, nvt_ts_i2c_id);
index eb0e55c..129273d 100644 (file)
@@ -40,7 +40,7 @@ static const struct x86_i2c_client_info acer_b1_750_i2c_clients[] __initconst =
        {
                /* Novatek NVT-ts touchscreen */
                .board_info = {
-                       .type = "NVT-ts",
+                       .type = "nt11205-ts",
                        .addr = 0x34,
                        .dev_name = "NVT-ts",
                },