Input: wm97xx: add new AC97 bus support
authorRobert Jarzmik <robert.jarzmik@free.fr>
Wed, 13 Sep 2017 19:37:18 +0000 (21:37 +0200)
committerMark Brown <broonie@kernel.org>
Tue, 19 Sep 2017 16:07:28 +0000 (17:07 +0100)
commitae9d1b5fbd7b7ee1c2d2f62a7cee3c0455e06f94
tree850ba4bf5b94b090f62aa2b07e6400bd18597e3c
parenta5c6951c49fbf7509419d877620625ca3cdae9b1
Input: wm97xx: add new AC97 bus support

This adds support for the new AC97 bus code, which discovers the devices
rather than uses platform data.

As part of this discovery, it enables a multi-function device wm97xx,
which supports touchscreen, battery, ADC and an audio codec. This patch
adds the code to bind the touchscreen "cell" as the touchscreen driver.

This was tested on the pxa architecture with a pxa270 + wm9713 + the
mioa701 touchscreen.

Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
Acked-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Acked-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/input/touchscreen/Kconfig
drivers/input/touchscreen/wm97xx-core.c