[PATCH v4 0/2] Dell-hardware-privacy-implementation-for-dell-laptop

From: Perry Yuan
Date: Mon Mar 01 2021 - 04:38:58 EST


From: Perry Yuan <perry_yuan@xxxxxxxx>

Hi All,
This patch set is a new driver for dell mobile platform ,which has the
hardware privacy feature.

For micmute led control, the hotkey is Fn + F4, it is a hardware based
mute state, and new privacy will prevent micphone void input from
hardware layer, any application cannot get voice data when micmute
activated.

Camera mute use a new hardware design to control the camrea shutter.
When video is muted, no OS application should be functionally able to
capture images of the person/environment in front of the system

Older history:
[1]https://patchwork.kernel.org/project/platform-driver-x86/patch/20201228132855.17544-1-Perry_Yuan@xxxxxxxx/
[2]https://patchwork.kernel.org/project/alsa-devel/patch/20201103125859.8759-1-Perry_Yuan@xxxxxxxx/#23733605
[3]https://www.spinics.net/lists/alsa-devel/msg120537.html
[4]https://github.com/thesofproject/linux/pull/2660


Perry Yuan (2):
platform/x86: dell-privacy: Add support for Dell hardware privacy
ASoC: rt715:add micmute led state control supports

.../testing/sysfs-platform-dell-privacy-wmi | 32 ++
drivers/platform/x86/Kconfig | 17 +
drivers/platform/x86/Makefile | 4 +-
drivers/platform/x86/dell-laptop.c | 26 +-
drivers/platform/x86/dell-privacy-acpi.c | 164 +++++++++
drivers/platform/x86/dell-privacy-wmi.c | 340 ++++++++++++++++++
drivers/platform/x86/dell-privacy-wmi.h | 35 ++
drivers/platform/x86/dell-wmi.c | 29 +-
sound/soc/codecs/rt715-sdca.c | 12 +
sound/soc/codecs/rt715.c | 12 +
10 files changed, 655 insertions(+), 16 deletions(-)
create mode 100644 Documentation/ABI/testing/sysfs-platform-dell-privacy-wmi
create mode 100644 drivers/platform/x86/dell-privacy-acpi.c
create mode 100644 drivers/platform/x86/dell-privacy-wmi.c
create mode 100644 drivers/platform/x86/dell-privacy-wmi.h

--
2.25.1