platform/x86: asus-wmi: add support for showing middle fan RPM
authorLuke D. Jones <luke@ljones.dev>
Fri, 30 Jun 2023 05:35:46 +0000 (17:35 +1200)
committerHans de Goede <hdegoede@redhat.com>
Wed, 12 Jul 2023 15:01:43 +0000 (17:01 +0200)
commit536fce82d72933b9c60f1f0873f75ef890d80679
tree622df191d1d42c54463710d20a9bf419e1166ab6
parent77ee9d299e6d69a75e9a3e15a1f09cd7c8f88ff0
platform/x86: asus-wmi: add support for showing middle fan RPM

Some newer ASUS ROG laptops now have a middle/center fan in addition
to the CPU and GPU fans. This new fan typically blows across the
heatpipes and VRMs betweent eh CPU and GPU.

This commit exposes that fan to PWM control plus showing RPM.

Signed-off-by: Luke D. Jones <luke@ljones.dev>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20230630053552.976579-3-luke@ljones.dev
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
drivers/platform/x86/asus-wmi.c
include/linux/platform_data/x86/asus-wmi.h