Message ID | 20220213225235.812864-1-linus.walleij@linaro.org |
---|---|
State | New |
Headers | show |
Series | Input: zinitix - Add BT404 compatible string | expand |
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? > > Cc: Nikita Travkin <nikita@trvn.ru> > Signed-off-by: Linus Walleij <linus.walleij@linaro.org> > --- > 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.
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" }, { }
This driver works just fine with the BT404 version of the touchscreen as well. Tested on the Samsung GT-I8160 (Codina) mobile phone. Cc: Nikita Travkin <nikita@trvn.ru> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> --- drivers/input/touchscreen/zinitix.c | 1 + 1 file changed, 1 insertion(+)