platform/x86: inspur-platform-profile: Add platform profile support
authorAi Chao <aichao@kylinos.cn>
Fri, 20 Oct 2023 02:40:07 +0000 (10:40 +0800)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Fri, 27 Oct 2023 13:14:47 +0000 (16:14 +0300)
commit94ace9eda88229c73698b8dd8d3c06dd0831319c
treefc04b3c5bd7c8643ba766595268a310c9ee1984d
parent916646758aea81a143ce89103910f715ed923346
platform/x86: inspur-platform-profile: Add platform profile support

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@kylinos.cn>
Reviewed-by: Thomas Weißschuh <linux@weissschuh.net>
Reviewed-by: Armin Wolf <W_Armin@gmx.de>
Link: https://lore.kernel.org/r/20231020024007.1677962-1-aichao@kylinos.cn
[ij: Removed kerneldoc markers from non-kerneldoc comments.]
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
drivers/platform/x86/Kconfig
drivers/platform/x86/Makefile
drivers/platform/x86/inspur_platform_profile.c [new file with mode: 0644]