diff options
author | Andrea.Ho <Andrea.Ho@advantech.com.tw> | 2021-03-19 04:44:27 +0100 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2021-04-07 19:46:56 +0200 |
commit | 3d904005f6869f37fcc7188f2a15872deecbb38a (patch) | |
tree | 9b9c8c9bb6d63a8b5dd5c594e5a11ffb883ab5f7 /drivers/platform/x86/Makefile | |
parent | platform/x86: intel-hid: Fix spurious wakeups caused by tablet-mode events du... (diff) | |
download | linux-3d904005f6869f37fcc7188f2a15872deecbb38a.tar.xz linux-3d904005f6869f37fcc7188f2a15872deecbb38a.zip |
platform/x86: add support for Advantech software defined button
Advantech sw_button is a ACPI event trigger button.
With this driver, we can report KEY_PROG1 on the
Advantech Tabletop Network Appliances products and it has been
tested in FWA1112VC.
Add the software define button support to report EV_REP key_event
(KEY_PROG1) by pressing button that could be get on user
interface and trigger the customized actions.
Signed-off-by: Andrea.Ho <Andrea.Ho@advantech.com.tw>
Link: https://lore.kernel.org/r/20210319034427.23222-1-andrea.cs97g@nctu.edu.tw
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'drivers/platform/x86/Makefile')
-rw-r--r-- | drivers/platform/x86/Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/platform/x86/Makefile b/drivers/platform/x86/Makefile index 60d554073749..3e364941e8a7 100644 --- a/drivers/platform/x86/Makefile +++ b/drivers/platform/x86/Makefile @@ -24,6 +24,9 @@ obj-$(CONFIG_ACER_WMI) += acer-wmi.o # AMD obj-$(CONFIG_AMD_PMC) += amd-pmc.o +# Advantech +obj-$(CONFIG_ADV_SWBUTTON) += adv_swbutton.o + # Apple obj-$(CONFIG_APPLE_GMUX) += apple-gmux.o |