android_kernel_xiaomi_sm8350/drivers/misc
Henrique de Moraes Holschuh 2c37aa4e22 ACPI: thinkpad-acpi: add sysfs support to the thermal subdriver
Export thinkpad thermal sensors to sysfs, following the hwmon
specification for thermal monitoring sensors.

ThinkPad thermal monitoring is done by the EC.  Sensors can show up or
disappear at runtime when they are inside hotswappable hardware, such as
batteries.  Sensors that are not available return -ENXIO when accessed.

Up to 16 thermal sensors are supported on new firmware (but nobody has
reported a ThinkPad with more than 12 sensors so far), and 8 sensors are
supported on older firmware.  Thermal sensor mapping is model-specific.
Precision varies, it is 1 degree Celcius on new ThinkPads, but higher on
some older models.

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 [PATCH] mark struct file_operations const 5 2007-02-12 09:48:45 -08:00
ibmasm [PATCH] mark struct file_operations const 5 2007-02-12 09:48:45 -08:00
asus-laptop.c asus-laptop: make code static 2007-03-09 21:06:40 -05:00
ioc4.c [PATCH] IOC3/IOC4: PCI mem space resources 2007-02-11 10:51:25 -08:00
Kconfig ACPI: thinkpad-acpi: register with the device model 2007-04-25 02:00:27 -04:00
lkdtm.c [PATCH] assigning enum constant to char * is vile, even if it happens to be 0 2007-02-09 08:28:48 -08:00
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 the thermal subdriver 2007-04-25 02:00:27 -04:00
thinkpad_acpi.h ACPI: thinkpad-acpi: add sysfs support to the thermal subdriver 2007-04-25 02:00:27 -04:00
tifm_7xx1.c [PATCH] Scheduled removal of SA_xxx interrupt flags fixups 2007-02-14 08:09:54 -08:00
tifm_core.c tifm_core: add suspend/resume infrastructure for tifm devices 2007-02-04 20:54:10 +01:00