android_kernel_xiaomi_sm8350/drivers/misc
Henrique de Moraes Holschuh fe98a52ce7 ACPI: thinkpad-acpi: add sysfs support to fan subdriver
Export sysfs attributes to monitor and control the internal thinkpad fan
(some thinkpads have more than one fan, but thinkpad-acpi doesn't support
the second fan yet).  The sysfs interface follows the hwmon design guide
for fan devices.

Also, fix some stray "thermal" files in the fan procfs description that
have been there forever, and officially support "full-speed" as the name
for the PWM-disabled state of the fan controller to keep it in line with
the hwmon interface.  It is much better a name for that mode than the
unobvious "disengaged" anyway.  Change the procfs interface to also accept
full-speed as a fan level, but still report it as disengaged for backwards
compatibility.

Signed-off-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
Signed-off-by: Len Brown <len.brown@intel.com>
2007-04-25 02:00:27 -04:00
..
hdpuftrs
ibmasm
asus-laptop.c asus-laptop: make code static 2007-03-09 21:06:40 -05:00
ioc4.c
Kconfig ACPI: thinkpad-acpi: register with the device model 2007-04-25 02:00:27 -04:00
lkdtm.c
Makefile ACPI: thinkpad-acpi: cleanup Kconfig for thinkpad-acpi 2007-03-30 15:35:42 -04:00
msi-laptop.c backlight: Separate backlight properties from backlight ops pointers 2007-02-20 09:26:53 +00:00
sony-laptop.c sony-laptop: fix uninitialised variable 2007-03-07 03:05:13 -05:00
thinkpad_acpi.c ACPI: thinkpad-acpi: add sysfs support to fan subdriver 2007-04-25 02:00:27 -04:00
thinkpad_acpi.h ACPI: thinkpad-acpi: add sysfs support to fan subdriver 2007-04-25 02:00:27 -04:00
tifm_7xx1.c
tifm_core.c