platform/x86: add lenovo WMI camera button driver
authorAi Chao <aichao@kylinos.cn>
Wed, 27 Mar 2024 08:27:37 +0000 (16:27 +0800)
committerHans de Goede <hdegoede@redhat.com>
Mon, 8 Apr 2024 13:21:36 +0000 (15:21 +0200)
commitfe7af61159b85c2e78b4626be282e7fc9c487d46
treeaf1bb8563cf6e5737635d30d0ac74aca1db75f8d
parent3427c443a6dc2f6171616c2381d037d004af1df0
platform/x86: add lenovo WMI camera button driver

Add lenovo WMI camera button driver to support camera button.
The Camera button is a GPIO device. This driver receives ACPI notifications
when the camera button is switched on/off. This driver is used in
Lenovo A70, it is a Computer integrated machine.

Signed-off-by: Ai Chao <aichao@kylinos.cn>
Link: https://lore.kernel.org/r/20240327082737.336992-1-aichao@kylinos.cn
Reviewed-by: Armin Wolf <W_Armin@gmx.de>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
drivers/platform/x86/Kconfig
drivers/platform/x86/Makefile
drivers/platform/x86/lenovo-wmi-camera.c [new file with mode: 0644]