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. 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? -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html