Skip to content
Commit eabe5339 authored by Jiaxun Yang's avatar Jiaxun Yang Committed by Hans de Goede
Browse files

platform/x86: ideapad-laptop: DYTC Platform profile support



Add support to ideapad-laptop for Lenovo platforms that have DYTC
version 5 support or newer to use the platform profile feature.

Mostly based on Mark Pearson <markpearson@lenovo.com>'s thinkpad-acpi
work but massaged to fit ideapad driver.

Note that different from ThinkPads, IdeaPads's Thermal Hotkey won't
trigger profile switch itself, we'll leave it for userspace programs.

Tested on Lenovo Yoga-14S ARE Chinese Edition.

Signed-off-by: default avatarJiaxun Yang <jiaxun.yang@flygoat.com>
Reviewed-by: default avatarHans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20210105131447.38036-3-jiaxun.yang@flygoat.com


[hdegoede@redhat.com s/QUIET/LOW_POWER/]
Signed-off-by: default avatarHans de Goede <hdegoede@redhat.com>
parent c3bfcd4c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment