[PATCH 0/4] Input: goodix - Support dynamic reconfiguration

From: Franklin S Cooper Jr
Date: Thu Oct 20 2016 - 16:00:16 EST


Goodix touchscreen controller supports the ability to update its settings
at runtime. Currently, the driver supports this by loading a firmware
and reconfiguring the panel. However, this may lead to a large quantity
of firmwares being created and managed. This is a hassle since likely a
preexisting firmware or even the default configuration is good enough and
only a couple of changes need to be made.

This patchset adds the capability to dynamically alter the firmware
utilizing several new DT properties.

These new properties will allow a user to specify the touchscreen
resolution and also allow x and y coordinates to be interchanged. All of
this configuration changes are done dynamically by the driver and can work
using the default touchscreen controller configuration or even on top of
a firmware that was loaded.

Franklin S Cooper Jr (4):
Input: goodix - Restructure cfg checksum function
Input: goodix - Allow tweaking of configuration file dynamically
Input: goodix - Tweak configuration to use passed in touchscreen
resolution
Input: goodix - Support interchanging x and y coordinates in hardware

.../bindings/input/touchscreen/goodix.txt | 4 +
drivers/input/touchscreen/goodix.c | 109 +++++++++++++++++----
2 files changed, 96 insertions(+), 17 deletions(-)

--
2.10.0