Input: goodix - Add support for controllers without flash
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest6 patches 0 repliesNew
- v17 patches 4 repliesSuperseded
Changes in v2 from the cover letter
- Decide if a controller does not have flash / needs firmware to be uploaded based on the presence of the "firmware-name" device-property, the autodetection code in v1 was causing false-positives on some devices
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | Input: goodix - Change goodix_i2c_write() len parameter type to intdrivers/ | +1 | 0 replies | |
| 2/6 | Input: goodix - Add a goodix.h header fileMAINTAINERS drivers/ drivers/ | +81 | 0 replies | |
| 3/6 | Input: goodix - Refactor reset handlingdrivers/ drivers/ | +31 | 0 replies | |
| 4/6 | Input: goodix - Push error logging up into i2c_read and i2c_write helpersdrivers/ | +28 | 0 replies | |
| 5/6 | Input: goodix - Allow specifying the config filename through a "goodix,config-name" device-propertydrivers/ drivers/ | +7 | 0 replies | |
| 6/6 | Input: goodix - Add support for controllers without flashdrivers/ drivers/ drivers/ +1 more | +493 | 0 replies |
Reviews trailers per patch
All 6 patches have a Reviewed-by or Acked-by.
| Patch | Bastien Nocera |
|---|---|
| 1/6 | R-b |
| 2/6 | R-b |
| 3/6 | R-b |
| 4/6 | R-b |
| 5/6 | R-b |
| 6/6 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/6] Input: goodix - Add support for controllers without flash
Hi All,
Here is v2 of my patch-set to add support for Goodix controllers without flash-memory.
Changes in v2:
- Decide if a controller does not have flash / needs firmware to be uploaded based on the presence of the "firmware-name" device-property, the autodetection code in v1 was causing false-positives on some devices
Original cover-letter:
A while ago I bought a Glavey TM800A550L tablet. This is a Bay Trail (x86) tablet which comes with Android from the factory.
It is mostly just another Bay Trail tablet, but the way the Goodix touchscreen on it works is interesting. The controller needs to have firmware uploaded to it before it will work. After that it pretty much works 100% the same as any other Goodix touchscreen controller.
I've described this patch-set in the Subject as "Add support for controllers without flash", but I suspect that the Goodix controllers used on Bay Trail devices which ship with Windows pre-installed may also lack flash; and that the Windows version of the BIOS-es on these devices does the upload for us. Anyways just something which I'm wondering about, these patches are necessary to make things work regardless.
These patches should also be useful for supporting the Goodix controllers on some ARM based devices, as some of those need the OS to upload the firmware too AFAIK.
Regards,
Hans
Hans de Goede (6):
Input: goodix - Change goodix_i2c_write() len parameter type to int
Input: goodix - Add a goodix.h header file
Input: goodix - Refactor reset handling
Input: goodix - Push error logging up into i2c_read and i2c_write
helpers
Input: goodix - Allow specifying the config filename through a
"goodix,config-name" device-property
Input: goodix - Add support for controllers without flash
MAINTAINERS | 3 +- drivers/input/touchscreen/Makefile | 3 +- drivers/input/touchscreen/goodix.c | 240 +++++------- drivers/input/touchscreen/goodix.h | 117 ++++++ drivers/input/touchscreen/goodix_fwupload.c | 413 ++++++++++++++++++++ 5 files changed, 639 insertions(+), 137 deletions(-) create mode 100644 drivers/input/touchscreen/goodix.h create mode 100644 drivers/input/touchscreen/goodix_fwupload.c
Signature · 1 line
2.31.1