summaryrefslogtreecommitdiffstats
path: root/drivers/platform/x86/silead_dmi.c
Commit message (Collapse)AuthorAgeFilesLines
* platform/x86: silead_dmi: Add entry for Ployer Momo7w tablet touchscreenHans de Goede2017-07-121-0/+10
| | | | | | | | This Ployer Momo7w revision has the same hardware as the Trekstor ST70416-6, so we re-use the surftab_wintron70_st70416_6_data. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Darren Hart (VMware) <dvhart@infradead.org>
* platform/x86: silead_dmi: Add touchscreen info for I.T.Works TW891 2-in-1Hans de Goede2017-07-061-0/+22
| | | | | | | Add touchscreen info for I.T.Works TW891 2-in-1. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Darren Hart (VMware) <dvhart@infradead.org>
* platform/x86: silead_dmi: Add touchscreen info for PoV mobii wintab p800wHans de Goede2017-06-161-0/+25
| | | | | | | Add touchscreen info for the Point of View mobii wintab p800w tablet. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Darren Hart (VMware) <dvhart@infradead.org>
* platform/x86: silead_dmi: Add touchscreen info for Pipo W2S tabletHans de Goede2017-06-151-0/+23
| | | | | | | Add touchscreen info for Pipo W2S tablet. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Darren Hart (VMware) <dvhart@infradead.org>
* platform/x86: silead_dmi: Add touchscreen info for GP-electronic T701Hans de Goede2017-05-151-0/+22
| | | | | | | Add touchscreen info for the GP-electronic T701 tablet. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Darren Hart (VMware) <dvhart@infradead.org>
* platform/x86: silead_dmi: Add touchscreen info for Surftab Wintron 7.0Hans de Goede2017-04-131-0/+24
| | | | | | | | Add touchscreen info for the Trekstor Surftab Wintron 7.0 ST70416-6 tablet. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Darren Hart (VMware) <dvhart@infradead.org>
* platform/x86: silead_dmi - abort early if DMI does not matchDmitry Torokhov2017-04-131-9/+11
| | | | | | | | | | There is no point in registering I2C bus notifier if DMI data does not match. Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com> Reviewed-by: Hans de Goede <hdegoede@redhat.com> [andy: updated due to previous patch changed] Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
* platform/x86: silead_dmi - do not treat all devices as i2c_clientsDmitry Torokhov2017-04-131-3/+6
| | | | | | | | | | | | I2C bus has both i2c clients and adapter devices, so we must be careful in notifier code and verify that we are actually dealing with an i2c client before using it as such. Fixes: cef9dd85acd7 ("platform/x86: add support for devices with Silead...") Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com> Reviewed-by: Hans de Goede <hdegoede@redhat.com> [andy: simplified silead_ts_dmi_add_props() change] Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
* platform/x86: silead_dmi: Add entry for Insyde 7W tabletsHans de Goede2017-04-131-0/+21
| | | | | | | | | | Add an entry providing the necessary info to make the touchscreen work on various tablets based on the Insyde 7W whitebox tablet. This has been tested on a DEXP Ursus 7W tablet. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Darren Hart (VMware) <dvhart@infradead.org>
* platform/x86: silead_dmi: Constify properties arraysHans de Goede2017-04-131-3/+3
| | | | | | | | Now that device_add_properties takes a const property_entry * rather then a non-const one we can constify the properties arrays. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Darren Hart (VMware) <dvhart@infradead.org>
* platform/x86: add support for devices with Silead touchscreensHans de Goede2017-02-141-0/+136
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>