]> git.baikalelectronics.ru Git - kernel.git/commit
Input: ili210x - use resolution from ili251x firmware
authorMarek Vasut <marex@denx.de>
Sun, 17 Oct 2021 04:34:20 +0000 (21:34 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sun, 17 Oct 2021 05:29:32 +0000 (22:29 -0700)
commit408cff55e1e5b98055b358a76522463c1c4dc72f
tree5a67e2aa343356d2942442ac367ee1eaf47c4e59
parent2332bacbc0abe811f6d7d82e3b4318eed212de19
Input: ili210x - use resolution from ili251x firmware

The ili251x firmware protocol permits readout of panel resolution,
implement this, but make it possible to override this value using
DT bindings. This way, older DTs which contain touchscreen-size-x
and touchscreen-size-y properties will behave just like before and
new DTs may avoid specifying these for ILI251x.

Note that the command format is different on other controllers, so
this functionality is isolated to ILI251x.

Signed-off-by: Marek Vasut <marex@denx.de>
Link: https://lore.kernel.org/r/20210831202506.181927-1-marex@denx.de
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/touchscreen/ili210x.c