[PATCH v3 2/3] x86/platform/dell-privacy-wmi: add document for dell privacy driver

From: Perry Yuan
Date: Tue Jan 12 2021 - 12:18:46 EST


From: Perry Yuan <perry_yuan@xxxxxxxx>

Describe the Dell Privacy feature capabilities and devices
state class exposed by BIOS

Signed-off-by: Perry Yuan <perry_yuan@xxxxxxxx>
---
.../testing/sysfs-platform-dell-privacy-wmi | 31 +++++++++++++++++++
1 file changed, 31 insertions(+)
create mode 100644 Documentation/ABI/testing/sysfs-platform-dell-privacy-wmi

diff --git a/Documentation/ABI/testing/sysfs-platform-dell-privacy-wmi b/Documentation/ABI/testing/sysfs-platform-dell-privacy-wmi
new file mode 100644
index 000000000000..3dbc2d25b60e
--- /dev/null
+++ b/Documentation/ABI/testing/sysfs-platform-dell-privacy-wmi
@@ -0,0 +1,31 @@
+What: /sys/bus/wmi/devices/6932965F-1671-4CEB-B988-D3AB0A901919/devices_supported
+Date: Jan 2021
+KernelVersion: 5.11
+Contact: "perry_yuan@xxxxxxxx>"
+Description:
+ Display which dell hardware level privacy devices are supported
+ “Dell Privacy” is a set of HW, FW, and SW features to enhance
+ Dell’s commitment to platform privacy for MIC, Camera, and
+ ePrivacy screens.
+ The supported privacy haredware privacy devices are:
+ * 0x0 - None,
+ * 0x1 - Microphone,
+ * 0x2 - Camera,
+ * 0x4 - ePrivacy Screen
+
+What: /sys/bus/wmi/devices/6932965F-1671-4CEB-B988-D3AB0A901919/current_state
+Date: Jan 2021
+KernelVersion: 5.11
+Contact: "perry_yuan@xxxxxxxx>"
+Description:
+ Allow user space to check current dell privacy device state.
+ Describes the Device State class exposed by BIOS which can be
+ consumed by various applications interested in knowing the Privacy
+ feature capabilities
+ There are three Bits for available states:
+ * 0 -> Off
+ * 1 -> On
+ * Bit0 -> Microphone
+ * Bit1 -> Camera
+ * Bit2 -> ePrivacyScreen
+
--
2.25.1