platform/x86: Add ACPI quickstart button (PNP0C32) driver
authorArmin Wolf <W_Armin@gmx.de>
Wed, 31 Jan 2024 11:16:40 +0000 (12:16 +0100)
committerHans de Goede <hdegoede@redhat.com>
Mon, 8 Apr 2024 13:22:22 +0000 (15:22 +0200)
commitf1cacd216dea03e14999c782cd8429b03c90e0f8
treec5855b7d401758000431bf805576c70bba2a2c46
parentfcc6220ddc7e54d8442287273d0cb8c415ada022
platform/x86: Add ACPI quickstart button (PNP0C32) driver

This drivers supports the ACPI quickstart button device, which
is used to send manufacturer-specific events to userspace.
Since the meaning of those events is not standardized, userspace
has to use for example hwdb to decode them.

The driver itself is based on an earlier proposal, but contains
some improvements and uses the device wakeup API instead of a
custom sysfs file.

Signed-off-by: Armin Wolf <W_Armin@gmx.de>
Tested-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20240131111641.4418-2-W_Armin@gmx.de
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
MAINTAINERS
drivers/platform/x86/Kconfig
drivers/platform/x86/Makefile
drivers/platform/x86/quickstart.c [new file with mode: 0644]