Re: [PATCH v4 2/2] Input: add MStar MSG2638 touchscreen driver

2021-02-22 Thread Vincent Knecht
Le samedi 20 février 2021 à 15:23 -0800, Dmitry Torokhov a écrit : > Hi Vincent, Hi Dmitry, thank you for the review ! > On Wed, Feb 10, 2021 at 06:33:52PM +0100, Vincent Knecht wrote: > > + > > +   for (i = 0; i < MAX_SUPPORTED_FINGER_NUM; i++) { > > +   p = _event.pkt[i]; > > + 

Re: [PATCH v4 2/2] Input: add MStar MSG2638 touchscreen driver

2021-02-20 Thread Dmitry Torokhov
Hi Vincent, On Wed, Feb 10, 2021 at 06:33:52PM +0100, Vincent Knecht wrote: > + > + for (i = 0; i < MAX_SUPPORTED_FINGER_NUM; i++) { > + p = _event.pkt[i]; > + /* Ignore non-pressed finger data */ > + if (p->xy_hi == 0xFF && p->x_low == 0xFF && p->y_low ==

[PATCH v4 2/2] Input: add MStar MSG2638 touchscreen driver

2021-02-10 Thread Vincent Knecht
Add support for the msg2638 touchscreen IC from MStar. This driver reuses zinitix.c structure, while the checksum and irq handler functions are based on out-of-tree driver for Alcatel Idol 3 (4.7"). Signed-off-by: Vincent Knecht --- Changed in v4: - rename from msg26xx to msg2638, following