Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1286422
| From | Bastien Nocera <hadess@hadess.net> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 0/2] input: Driver for Goodix GT801 2+1 touchscreen |
| Date | 2015-12-08 13:20 +0100 |
| Message-ID | <qDppo-2eU-19@gated-at.bofh.it> (permalink) |
| References | <qCYpb-1oX-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Mon, 2015-12-07 at 09:25 +0200, Priit Laes wrote: > This series adds support for Goodix GT801 2+1 touchscreen controller > and hooks it up on Gemei G9 tablet. > > Now about GT801 2+1 - I initially tried to implement this inside the > existing Goodix driver, but unfortunately there are too many small > bits and pieces that would make the otherwise simple driver a > complicated mess: > - endianness differences of coordinate readouts > - totally different touch protocol > - configuration layout and version information > - I2C register differences (2 bytes vs single byte) The goodix driver will get more complicated after we merge Irina's patchset. Instead of looking at the differences between the protocols, which don't look insurmountable (a switch statement in a few places, right?), you should look at the code you could share: - power management - ESD support - ACPI support - the support for variants in goodix.c (911-variants, and 967-variants) - ability to read and write config data to the device Taking this into account (and the fact that I can't read Chinese that well, so my reading of the specs is cursory), would it make sense to merge the 2 drivers? CC'ing Irina about this. Cheers -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH 0/2] input: Driver for Goodix GT801 2+1 touchscreen Priit Laes <plaes@plaes.org> - 2015-12-07 08:30 +0100 Re: [PATCH 0/2] input: Driver for Goodix GT801 2+1 touchscreen Bastien Nocera <hadess@hadess.net> - 2015-12-08 13:20 +0100
csiph-web