Tidy up of the ft5406 driver to use DT (#2189)
authorJames Hughes <JamesH65@users.noreply.github.com>
Thu, 16 Nov 2017 15:56:17 +0000 (15:56 +0000)
committerpopcornmix <popcornmix@gmail.com>
Mon, 13 May 2019 23:07:59 +0000 (00:07 +0100)
commit52e9b16b924a01c5fb3c2034f99c0fe966c87cb9
tree69fbe5af921ea8921983bb9ad805f7b2df2e264d
parent352b3c2609a113570f40ff3bdd228ff637be6fdb
Tidy up of the ft5406 driver to use DT (#2189)

Driver was using a fixed resolution, this commit
adds touchscreen size, and coordinate flip and swap
features via device tree overlays.

Adds overrides so the VC4 can adjust the DT parameters
appropriately; there is a newer version of the VC4 side
driver that can now set up the appropriate DT values
if required.

Signed-off-by: James Hughes <james.hughes@raspberrypi.org>
drivers/input/touchscreen/rpi-ft5406.c