All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v1 0/1] platform/x86: asus-wmi: add support for vivobook fan profiles
@ 2024-04-18 18:10 Mohamed Ghanmi
  2024-04-18 18:10 ` [PATCH v1 1/1] " Mohamed Ghanmi
  0 siblings, 1 reply; 3+ messages in thread
From: Mohamed Ghanmi @ 2024-04-18 18:10 UTC (permalink / raw)
  To: hdegoede
  Cc: corentin.chary, ilpo.jarvinen, platform-driver-x86, linux-kernel,
	Luke D . Jones, Mohamed Ghanmi

Add support for vivobook fan profiles wmi call on the ASUS VIVOBOOK
to adjust power limits.

These fan profiles have a different device id than the ROG series
and different order. This reorders the existing modes and adds a new
full speed mode available on these laptops.

As part of keeping the patch clean the throttle_thermal_policy_available
boolean stored in the driver struct is removed and
throttle_thermal_policy_dev is used in place (as on init it is zeroed).

Changelog:
- V1
  - Fixes grammar in description
  - reorders macros
  - adds throttle_thermal_policy_max_mode() helper function

 drivers/platform/x86/asus-wmi.c            | 92 ++++++++++++----------
 include/linux/platform_data/x86/asus-wmi.h |  1 +
 2 files changed, 51 insertions(+), 42 deletions(-)

-- 
2.44.0


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-04-18 18:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-18 18:10 [PATCH v1 0/1] platform/x86: asus-wmi: add support for vivobook fan profiles Mohamed Ghanmi
2024-04-18 18:10 ` [PATCH v1 1/1] " Mohamed Ghanmi
2024-04-18 18:50   ` Ilpo Järvinen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.