[PATCH v7 1/2] platform/x86: dell-privacy: Add support for Dell hardware privacy

2021-04-12 Thread Perry Yuan
From: Perry Yuan add support for Dell privacy driver for the Dell units equipped hardware privacy design, which protect users privacy of audio and camera from hardware level. Once the audio or camera privacy mode activated, any applications will not get any audio or video stream when user

[PATCH v7 2/2] ASoC: rt715:add micmute led state control supports

2021-04-12 Thread Perry Yuan
From: Perry Yuan Some new Dell system is going to support audio internal micphone privacy setting from hardware level with micmute led state changing When micmute hotkey pressed by user, soft mute will need to be enabled firstly in case of pop noise, and codec driver need to react to mic mute

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

2021-04-12 Thread Perry Yuan
From: Perry Yuan 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

[PATCH v6 2/2] ASoC: rt715:add micmute led state control supports

2021-04-04 Thread Perry Yuan
From: Perry Yuan Some new Dell system is going to support audio internal micphone privacy setting from hardware level with micmute led state changing When micmute hotkey pressed by user, soft mute will need to be enabled firstly in case of pop noise, and codec driver need to react to mic mute

[PATCH v6 1/2] platform/x86: dell-privacy: Add support for Dell hardware privacy

2021-04-04 Thread Perry Yuan
From: Perry Yuan add support for Dell privacy driver for the Dell units equipped hardware privacy design, which protect users privacy of audio and camera from hardware level. Once the audio or camera privacy mode activated, any applications will not get any audio or video stream when user

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

2021-04-04 Thread Perry Yuan
From: Perry Yuan 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

Re: [PATCH v5 1/2] platform/x86: dell-privacy: Add support for Dell hardware privacy

2021-03-28 Thread Perry Yuan
Hi Hans. Thanks for your suggestion helping to improve the patch. On 3/24/21 7:39 AM, Hans de Goede wrote: Hi, On 3/24/21 12:19 PM, Hans de Goede wrote: Hi, On 3/22/21 10:38 AM, Perry Yuan wrote: From: Perry Yuan add support for Dell privacy driver for the Dell units equipped hardware

Re: [PATCH v5 1/2] platform/x86: dell-privacy: Add support for Dell hardware privacy

2021-03-26 Thread Perry Yuan
Hi Pierre Thanks for your review . I changed the patch and explain the review comments as below (Maybe the mail format has problem, sent from one new system thunderbird :) On 3/23/21 2:57 PM, Pierre-Louis Bossart wrote: Minor comments below. On 3/22/21 4:38 AM, Perry Yuan wrote: From

[PATCH v5 2/2] ASoC: rt715:add micmute led state control supports

2021-03-22 Thread Perry Yuan
From: Perry Yuan Some new Dell system is going to support audio internal micphone privacy setting from hardware level with micmute led state changing When micmute hotkey pressed by user, soft mute will need to be enabled firstly in case of pop noise, and codec driver need to react to mic mute

[PATCH v5 1/2] platform/x86: dell-privacy: Add support for Dell hardware privacy

2021-03-22 Thread Perry Yuan
From: Perry Yuan add support for Dell privacy driver for the Dell units equipped hardware privacy design, which protect users privacy of audio and camera from hardware level. Once the audio or camera privacy mode activated, any applications will not get any audio or video stream when user

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

2021-03-22 Thread Perry Yuan
From: Perry Yuan 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

Re: [PATCH v4 1/2] platform/x86: dell-privacy: Add support for Dell hardware privacy

2021-03-21 Thread Perry Yuan
Hi Pierre: Thanks for your review! On 2021/3/8 23:59, Pierre-Louis Bossart wrote:    module_param(force_rfkill, bool, 0444);    MODULE_PARM_DESC(force_rfkill, "enable rfkill on non whitelisted models"); + spurious line change I just want to make them separate with more space . If it

[PATCH v4 2/2] ASoC: rt715:add micmute led state control supports

2021-03-01 Thread Perry Yuan
From: Perry Yuan Some new Dell system is going to support audio internal micphone privacy setting from hardware level with micmute led state changing When micmute hotkey pressed by user, soft mute will need to be enabled firstly in case of pop noise, and codec driver need to react to mic mute

[PATCH v4 1/2] platform/x86: dell-privacy: Add support for Dell hardware privacy

2021-03-01 Thread Perry Yuan
From: Perry Yuan add support for Dell privacy driver for the Dell units equipped hardware privacy design, which protect users privacy of audio and camera from hardware level. Once the audio or camera privacy mode activated, any applications will not get any audio or video stream when user

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

2021-03-01 Thread Perry Yuan
From: Perry Yuan 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

Re: [PATCH v3 1/3] platform/x86: dell-privacy: Add support for Dell hardware privacy

2021-02-17 Thread Perry Yuan
Hi Pierre: On 2021/2/16 22:56, Pierre-Louis Bossart wrote: +static const struct acpi_device_id privacy_acpi_device_ids[] = { +    {"PNP0C09", 0}, +    { }, +}; +MODULE_DEVICE_TABLE(acpi, privacy_acpi_device_ids); + +static struct platform_driver dell_privacy_platform_drv = { +    .driver = { + 

Re: [PATCH v2 1/2] platform/x86: dell-privacy: Add support for Dell hardware privacy

2021-02-15 Thread Perry Yuan
Hi Hans: On 2021/1/13 2:37, Hans de Goede wrote: Hi, I know there already is a v3 out and I will try to get around to reviewing that soon, still 1 remark about the discussion surrounding v2: On 1/11/21 2:42 PM, Perry Yuan wrote: *The flow is like this: 1) User presses key. HW does stuff

Re: [PATCH v3 1/3] platform/x86: dell-privacy: Add support for Dell hardware privacy

2021-02-15 Thread Perry Yuan
Hi Pierre: thanks for the review effort. On 2021/1/13 3:00, Pierre-Louis Bossart wrote: On 1/12/21 11:17 AM, Perry Yuan wrote: From: Perry Yuan add support for dell privacy driver for the dell units equipped hardware privacy design, which protect users privacy of audio and camera from

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

2021-02-13 Thread Perry Yuan
...@kernel.org; alsa-de...@alsa-project.org; linux-kernel@vger.kernel.org; platform-driver-...@vger.kernel.org; Yuan, Perry; Limonciello, Mario Subject: [PATCH v3 2/3] x86/platform/dell-privacy-wmi: add document for dell privacy driver From: Perry Yuan Describe the Dell Privacy feature

Re: [PATCH v3 1/3] platform/x86: dell-privacy: Add support for Dell hardware privacy

2021-02-13 Thread Perry Yuan
Hi Randy. On 2021/1/13 1:39, Randy Dunlap wrote: On 1/12/21 9:17 AM, Perry Yuan wrote: +config DELL_PRIVACY + tristate "Dell Hardware Privacy Support" + depends on ACPI + depends on ACPI_WMI + depends on INPUT + depends on DELL_LAPTOP +

Re: [PATCH v3 3/3] ASoC: rt715:add micmute led state control supports

2021-02-13 Thread Perry Yuan
Hi Mark: Thanks for your review. On 2021/1/13 1:54, Mark Brown wrote: On Wed, Jan 13, 2021 at 01:18:14AM +0800, Perry Yuan wrote: Some new Dell system is going to support audio internal micphone privacy setting from hardware level with micmute led state changing When micmute hotkey pressed

Re: [PATCH v3 3/3] ASoC: rt715:add micmute led state control supports

2021-02-13 Thread Perry Yuan
Hi Mark: Thanks for your review. On 2021/1/13 1:54, Mark Brown wrote: On Wed, Jan 13, 2021 at 01:18:14AM +0800, Perry Yuan wrote: Some new Dell system is going to support audio internal micphone privacy setting from hardware level with micmute led state changing When micmute hotkey pressed

Re: [PATCH] platform/x86: dell-wmi-sysman: fix a NULL pointer dereference

2021-01-31 Thread Perry Yuan
On 2021/2/1 4:59, Hans de Goede wrote: Hi, On 1/31/21 3:04 PM, Limonciello, Mario wrote: -Original Message- From: Hans de Goede Sent: Saturday, January 30, 2021 15:44 To: Limonciello, Mario; Mark Gross Cc: LKML; platform-driver-...@vger.kernel.org Subject: Re: [PATCH] platform/x86:

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

2021-01-16 Thread Perry Yuan
...@kernel.org; alsa-de...@alsa-project.org; linux-kernel@vger.kernel.org; platform-driver-...@vger.kernel.org; Yuan, Perry; Limonciello, Mario Subject: [PATCH v3 2/3] x86/platform/dell-privacy-wmi: add document for dell privacy driver From: Perry Yuan Describe the Dell Privacy feature

Re: [PATCH v3 3/3] ASoC: rt715:add micmute led state control supports

2021-01-16 Thread Perry Yuan
-project.org; linux-kernel@vger.kernel.org; platform-driver-...@vger.kernel.org; Yuan, Perry; Limonciello, Mario Subject: [PATCH v3 3/3] ASoC: rt715:add micmute led state control supports From: Perry Yuan Some new Dell system is going to support audio internal micphone privacy setting from hardware

Re: [PATCH v3 3/3] ASoC: rt715:add micmute led state control supports

2021-01-16 Thread Perry Yuan
Hi Mark, Thanks for your review feedback. On 2021/1/13 1:54, Mark Brown wrote: On Wed, Jan 13, 2021 at 01:18:14AM +0800, Perry Yuan wrote: Some new Dell system is going to support audio internal micphone privacy setting from hardware level with micmute led state changing When micmute hotkey

Re: [PATCH v3 1/3] platform/x86: dell-privacy: Add support for Dell hardware privacy

2021-01-16 Thread Perry Yuan
On 2021/1/13 1:39, Randy Dunlap wrote: On 1/12/21 9:17 AM, Perry Yuan wrote: +config DELL_PRIVACY + tristate "Dell Hardware Privacy Support" + depends on ACPI + depends on ACPI_WMI + depends on INPUT + depends on DELL_LAPTOP + depends on LEDS_TRI

Re: [PATCH v2 1/2] platform/x86: dell-privacy: Add support for Dell hardware privacy

2021-01-14 Thread Perry Yuan
On 2021/1/13 2:37, Hans de Goede wrote: Hi, I know there already is a v3 out and I will try to get around to reviewing that soon, still 1 remark about the discussion surrounding v2: On 1/11/21 2:42 PM, Perry Yuan wrote: *The flow is like this: 1) User presses key. HW does stuff

Re: [PATCH v2 1/2] platform/x86: dell-privacy: Add support for Dell hardware privacy

2021-01-12 Thread Perry Yuan
Hi Barnabás, On 2021/1/12 0:07, Barnabás Pőcze wrote: Hi 2021. január 11., hétfő 14:42 keltezéssel, Perry Yuan írta: [...] +#define PRIVACY_PLATFORM_NAME "dell-privacy-acpi" +#define DELL_PRIVACY_GUID "6932965F-1671-4CEB-B988-D3AB0A901919" + +struct privacy_acpi_p

[PATCH v3 3/3] ASoC: rt715:add micmute led state control supports

2021-01-12 Thread Perry Yuan
From: Perry Yuan Some new Dell system is going to support audio internal micphone privacy setting from hardware level with micmute led state changing When micmute hotkey pressed by user, soft mute will need to be enabled firstly in case of pop noise, and codec driver need to react to mic mute

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

2021-01-12 Thread Perry Yuan
From: Perry Yuan Describe the Dell Privacy feature capabilities and devices state class exposed by BIOS Signed-off-by: Perry Yuan --- .../testing/sysfs-platform-dell-privacy-wmi | 31 +++ 1 file changed, 31 insertions(+) create mode 100644 Documentation/ABI/testing/sysfs

[PATCH v3 1/3] platform/x86: dell-privacy: Add support for Dell hardware privacy

2021-01-12 Thread Perry Yuan
From: Perry Yuan add support for dell privacy driver for the dell units equipped hardware privacy design, which protect users privacy of audio and camera from hardware level. once the audio or camera privacy mode enabled, any applications will not get any audio or video stream when user pressed

[PATCH v3 0/3] Dell hardware privacy implementation for dell laptop

2021-01-12 Thread Perry Yuan
From: Perry Yuan 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

[PATCH v2 1/2] platform/x86: dell-privacy: Add support for Dell hardware privacy

2020-12-28 Thread Perry Yuan
From: Perry Yuan add support for dell privacy driver for the dell units equipped hardware privacy design, which protect users privacy of audio and camera from hardware level. once the audio or camera privacy mode enabled, any applications will not get any audio or video stream. when user pressed

[PATCH v2 2/2] ASoC: rt715:add Mic Mute LED control support

2020-12-28 Thread Perry Yuan
From: Perry Yuan Some new Dell system is going to support audio internal micphone privacy setting from hardware level with micmute led state changing When micmute hotkey pressed by user, soft mute will need to be enabled firstly in case of pop noise, and codec driver need to react to mic mute

[PATCH v2 1/2] platform/x86: dell-privacy: Add support for Dell hardware privacy

2020-12-28 Thread Perry Yuan
From: Perry Yuan add support for dell privacy driver for the dell units equipped hardware privacy design, which protect users privacy of audio and camera from hardware level. once the audio or camera privacy mode enabled, any applications will not get any audio or video stream. when user pressed

[PATCH] ASoC: rt715:add Mic Mute LED control support

2020-11-03 Thread Perry Yuan
From: perry_yuan Some new Dell system is going to support audio internal micphone privacy setting from hardware level with micmute led state changing This patch allow to change micmute led state through this micphone led control interface like hda_generic provided. Signed-off-by: Perry Yuan

[PATCH] platform/x86: dell-privacy: Add support for new privacy driver

2020-11-03 Thread Perry Yuan
pressed ctrl+F4 hotkey, audio privacy mode will be enabled and camera mute hotkey is ctrl+F9. Signed-off-by: Perry Yuan Signed-off-by: Limonciello Mario --- drivers/platform/x86/Kconfig | 12 ++ drivers/platform/x86/Makefile| 4 +- drivers/platform/x86/dell-laptop.c

[PATCH] platform/x86:dell-laptop:Add battery charging thresholds and charging mode switch.

2020-07-29 Thread Perry Yuan
must be at least (START + 5). The patch also add the battery charging modes switch support.User can switch the battery charging mode through the new sysfs entry. Primary battery charging modes valid choices are: ['primarily_ac', 'adaptive', 'custom', 'standard', 'express'] Signed-off-by: Perry Yuan

Re: r8152: Add support for MAC address pass through on RTL8153-BND

2018-12-14 Thread Perry Yuan
cted to be non-zero */ ret = vendor_mac_passthru_addr_read(tp, ); if (ret < 0) Tested-by : Perry Yuan