Re: [PATCH v5] platform/x86: inspur-platform-profile: Add platform profile support

From: Thomas Weißschuh
Date: Fri Oct 20 2023 - 05:17:12 EST


On 2023-10-20 10:40:07+0800, Ai Chao wrote:
> Add support for Inspur platforms to used the platform profile feature.
>
> This will allow users to determine and control the platform modes
> between low-power, balanced and performance modes.
>
> Signed-off-by: Ai Chao <aichao@xxxxxxxxxx>

Reviewed-by: Thomas Weißschuh <linux@xxxxxxxxxxxxxx>

Thanks!

> ---
>
> v5: Rename inspur-wmi to inspur_platform_profile
> v4: Add select ACPI_PLATFORM_PROFILE
> v3: Remove input device, using the platform profile interface
> v2: Remove Event GUID, remove inspur_wmi_notify and inspur_wmi_notify.
>
> drivers/platform/x86/Kconfig | 11 +
> drivers/platform/x86/Makefile | 3 +
> .../platform/x86/inspur_platform_profile.c | 216 ++++++++++++++++++
> 3 files changed, 230 insertions(+)
> create mode 100644 drivers/platform/x86/inspur_platform_profile.c

[..]