platform/x86: Rename silead_dmi to touchscreen_dmi
Subsystems (2)
cover platform/x86: Rename silead_dmi to touchscreen_dmi
Hi,
This patch is part of / preparation for the EFI embedded firmware stuff. But it can be merged by itself without the test of that series and since silead_dmi.c sees quite a bit of churn I would like to get this one of my queue and merged.
I guess it is to late for 4.18, but please consider queuing this up for next when the merge window closes.
Note this applies on top of the alphabetically sort series which I sent out earlier.
Regards,
Hans
PATCH 1/1 platform/x86: Rename silead_dmi to touchscreen_dmi
Not only silead touchscreens need some extra info not available in the ACPI tables to work properly. X86 devices with a Chipone ICN8505 chip also need some DMI based extra configuration.
There is no reason to have separate dmi config code per touchscreen controller vendor. This commit renames silead_dmi to a more generic touchscreen_dmi name (and Kconfig option) in preparation of adding info for tablets with an ICN8505 based touchscreen.
Note there are no functional changes all code changes are limited to removing references to silead where these are no longer applicable.
---
MAINTAINERS | 2 +-
drivers/platform/x86/Kconfig | 16 ++---
drivers/platform/x86/Makefile | 2 +-
.../x86/{silead_dmi.c => touchscreen_dmi.c} | 72 +++++++++----------
4 files changed, 46 insertions(+), 46 deletions(-)
rename drivers/platform/x86/{silead_dmi.c => touchscreen_dmi.c} (89%)MAINTAINERS +1 -1
@@ -12814,7 +12814,7 @@ L: [email protected] L: [email protected] S: Maintained F: drivers/input/touchscreen/silead.c -F: drivers/platform/x86/silead_dmi.c +F: drivers/platform/x86/touchscreen_dmi.c SILICON MOTION SM712 FRAME BUFFER DRIVER M: Sudip Mukherjee <[email protected]>
drivers/platform/x86/Kconfig +8 -8
@@ -1196,16 +1196,16 @@ config INTEL_TURBO_MAX_3 This driver is only required when the system is not using Hardware P-States (HWP). In HWP mode, priority can be read from ACPI tables. -config SILEAD_DMI - bool "Tablets with Silead touchscreens" +config TOUCHSCREEN_DMI + bool "DMI based touchscreen configuration info" depends on ACPI && DMI && I2C=y && TOUCHSCREEN_SILEAD ---help--- - Certain ACPI based tablets with Silead touchscreens do not have - enough data in ACPI tables for the touchscreen driver to handle - the touchscreen properly, as OEMs expected the data to be baked - into the tablet model specific version of the driver shipped - with the OS-image for the device. This option supplies the missing - information. Enable this for x86 tablets with Silead touchscreens. + Certain ACPI based tablets with e.g. Silead or Chipone touchscreens + do not have enough data in ACPI tables for the touchscreen driver to + handle the touchscreen properly, as OEMs expect the data to be baked + into the tablet model specific version of the driver shipped with the + the OS-image for the device. This option supplies the missing info. + Enable this for x86 tablets with Silead or Chipone touchscreens. config INTEL_CHTDC_TI_PWRBTN tristate "Intel Cherry Trail Dollar Cove TI power button driver"
drivers/platform/x86/Makefile +1 -1
@@ -78,7 +78,7 @@ obj-$(CONFIG_INTEL_SMARTCONNECT) += intel-smartconnect.o obj-$(CONFIG_PVPANIC) += pvpanic.o obj-$(CONFIG_ALIENWARE_WMI) += alienware-wmi.o obj-$(CONFIG_INTEL_PMC_IPC) += intel_pmc_ipc.o -obj-$(CONFIG_SILEAD_DMI) += silead_dmi.o +obj-$(CONFIG_TOUCHSCREEN_DMI) += touchscreen_dmi.o obj-$(CONFIG_SURFACE_PRO3_BUTTON) += surfacepro3_button.o obj-$(CONFIG_SURFACE_3_BUTTON) += surface3_button.o obj-$(CONFIG_INTEL_PUNIT_IPC) += intel_punit_ipc.o
drivers/platform/x86/touchscreen_dmi.c renamed from drivers/platform/x86/silead_dmi.c +36 -36
249 lines not on this page · raw message
Signature · 1 line
2.17.1
Quoted 7 lines · Hans de Goede
Hi,
This patch is part of / preparation for the EFI embedded firmware stuff. But it can be merged by itself without the test of that series and since
silead_dmi.csees quite a bit of churn I would like to get this one of my queue and merged.
Quoted 6 lines
I guess it is to late for 4.18, but please consider queuing this up for next when the merge window closes.
Note this applies on top of the alphabetically sort series which I sent out earlier.
Pushed to my review and testing queue, thanks!
Quoted 4 lines
Regards,
Hans
Signature · 2 lines
With Best Regards, Andy Shevchenko