Thread (3 messages) 3 messages, 2 authors, 2022-02-14

Re: [PATCH] Input: zinitix - Add BT404 compatible string

From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Date: 2022-02-14 22:56:54

Hi Linus, Nikita,

On Sun, Feb 13, 2022 at 11:52:35PM +0100, Linus Walleij wrote:
This driver works just fine with the BT404 version of the touchscreen
as well. Tested on the Samsung GT-I8160 (Codina) mobile phone.
What about all other compatibles that we added to the binding document?
Do we need to prune them or add them to the driver?
quoted hunk ↗ jump to hunk
Cc: Nikita Travkin <redacted>
Signed-off-by: Linus Walleij <redacted>
---
 drivers/input/touchscreen/zinitix.c | 1 +
 1 file changed, 1 insertion(+)
diff --git a/drivers/input/touchscreen/zinitix.c b/drivers/input/touchscreen/zinitix.c
index b7a9c3cbe0b2..dff24899855b 100644
--- a/drivers/input/touchscreen/zinitix.c
+++ b/drivers/input/touchscreen/zinitix.c
@@ -626,6 +626,7 @@ static SIMPLE_DEV_PM_OPS(zinitix_pm_ops, zinitix_suspend, zinitix_resume);
 
 #ifdef CONFIG_OF
 static const struct of_device_id zinitix_of_match[] = {
+	{ .compatible = "zinitix,bt404" },
 	{ .compatible = "zinitix,bt532" },
 	{ .compatible = "zinitix,bt541" },
 	{ }
-- 
2.34.1
Thanks.

-- 
Dmitry
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help