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

From: Perry Yuan
Date: Mon Apr 12 2021 - 05:45:03 EST


From: Perry Yuan <perry_yuan@xxxxxxxx>

Hi All,
This patch set is a new driver for Dell mobile platform that has the
hardware privacy feature including micmute,camera mute.

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
[5]https://github.com/thesofproject/linux/issues/2496

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 | 55 +++
drivers/platform/x86/dell/Kconfig | 14 +
drivers/platform/x86/dell/Makefile | 1 +
drivers/platform/x86/dell/dell-laptop.c | 23 +-
drivers/platform/x86/dell/dell-privacy-wmi.c | 394 ++++++++++++++++++
drivers/platform/x86/dell/dell-privacy-wmi.h | 23 +
drivers/platform/x86/dell/dell-wmi.c | 8 +-
sound/soc/codecs/rt715-sdca.c | 42 ++
sound/soc/codecs/rt715.c | 43 ++
9 files changed, 596 insertions(+), 7 deletions(-)
create mode 100644 Documentation/ABI/testing/sysfs-platform-dell-privacy-wmi
create mode 100644 drivers/platform/x86/dell/dell-privacy-wmi.c
create mode 100644 drivers/platform/x86/dell/dell-privacy-wmi.h

--
2.25.1