OSDN Git Service

platform/x86: add support for devices with Silead touchscreens
authorHans de Goede <hdegoede@redhat.com>
Mon, 23 Jan 2017 17:35:30 +0000 (18:35 +0100)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 13 Feb 2017 22:39:48 +0000 (00:39 +0200)
commitcef9dd85acd79449d1a5a65543d10f18cb68e56c
treed7f847f184b2055412645b3693f661584ef85799
parent1cfd3ba0c146a165951cedf293929a4983a45ae3
platform/x86: add support for devices with Silead touchscreens

On ACPI based tablets, the ACPI touchscreen node only contains info on
the gpio and the irq, and is missing any info on the axis. This info is
expected to be built into the tablet model specific version of the driver
shipped with the os-image for the device.

Add support for getting the missing info from a table built into the
driver, using dmi data to identify which entry of the table to use and
add info for the CUBE iwork8 Air and Jumper EZpad mini3 tablets on which
this code was tested / developed.

BugLink: https://bugzilla.kernel.org/show_bug.cgi?id=187531
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
[dmitry.torokhov@gmail.com: Move to platform/x86]
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Acked-by: Andy Shevchenko <andy.shevchenko@gmail.com>
[andy: fixed merge conflict]
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
MAINTAINERS
drivers/platform/x86/Kconfig
drivers/platform/x86/Makefile
drivers/platform/x86/silead_dmi.c [new file with mode: 0644]