On Wed, 4 Mar 2015 11:30:40 +0100 Antonio Ospite <ao2@xxxxxx> wrote: > On Wed, 4 Mar 2015 11:34:13 +0300 > Aleksei Mamlin <mamlinav@xxxxxxxxx> wrote: > > > This patch adds device tree support for 5-finger chips, like GT911 and GT912. > > > > Hi Aleksei, > > from a datasheet I found[1](Pag. 11) I see that some devices provide > the information about the max number of touch points in register 0x804C. > > Have you tried if this is true on your 5-finger devices too? > If so, please use this mechanism to populate ts->max_touch_num to avoid > passing hardcoded data. > Hi Antonio, I checked datasheets and you are right, seems that all Goodix GT9xx series provides max number of touch points in register 0x804C. I'll rewrite driver to use data from 0x804C register. > Thanks, > Antonio > > [1] http://www.wpgholdings.com/uploads/bu/bu_3/MID_20141112/GT9271_Datasheet_20130904.pdf > > -- > Antonio Ospite > http://ao2.it > > A: Because it messes up the order in which people normally read text. > See http://en.wikipedia.org/wiki/Posting_style > Q: Why is top-posting such a bad thing? -- 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