On Wed, 04 Mar 2015 10:19:08 +0100 Bastien Nocera <hadess@xxxxxxxxxx> wrote: > On Wed, 2015-03-04 at 11:34 +0300, Aleksei Mamlin wrote: > > This patch adds device tree support for 5-finger chips, like GT911 > > and GT912. > > You should add the same support to the ACPI matching. Hi Bastien, I never seen ACPI ids for GT911 or GT912. It seems they are used only on Andriod tablets. > > <snip> > > #ifdef CONFIG_OF > > static struct of_device_id goodix_of_match[] = { > > - { .compatible = "goodix,gt9110" }, > > - { .compatible = "goodix,gt927" }, > > - { .compatible = "goodix,gt9271" }, > > - { .compatible = "goodix,gt928" }, > > - { .compatible = "goodix,gt967" }, > > + { .compatible = "goodix,gt911", .data = (void *) 5 }, > > + { .compatible = "goodix,gt9110", .data = (void *) 10 }, > > There's no need to add "10" for these tablets as it's already the > GOODIX_MAX_CONTACTS value. Or you need to add it to every instance. Antonio Ospite showed me another way to set the max number of touch points. > > I would also like a link to the spec sheets in the commit message. > > > + { .compatible = "goodix,gt912", .data = (void *) 5 }, > > + { .compatible = "goodix,gt927", .data = (void *) 10 }, > > + { .compatible = "goodix,gt9271", .data = (void *) 10 }, > > + { .compatible = "goodix,gt928", .data = (void *) 10 }, > > + { .compatible = "goodix,gt967", .data = (void *) 10 }, > > { } > > }; > > MODULE_DEVICE_TABLE(of, goodix_of_match); -- Thanks and regards, Aleksei Mamlin -- To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html