mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
hwmon: Add Asus ATK0110 support
Asus boards have an ACPI interface for interacting with the hwmon (fan, temperatures, voltages) subsystem; this driver exposes the relevant information via the standard sysfs interface. There are two different ACPI interfaces: - an old one (based on RVLT/RFAN/RTMP) - a new one (GGRP/GITM) Both may be present but there a few cases (my board, sigh) where the new interface is just an empty stub; the driver defaults to the old one when both are present. The old interface has received a considerable testing, but I'm still awaiting confirmation from my tester that the new one is working as expected (hence the debug code is still enabled). Currently all the attributes are read-only, though a (partial) control should be possible with a bit more work. Signed-off-by: Luca Tettamanti <[email protected]> Signed-off-by: Hans de Goede <[email protected]> Signed-off-by: Jean Delvare <[email protected]>
This commit is contained in:
parent
797eaa4b02
commit
2c03d07ad5
5 changed files with 1023 additions and 4 deletions
|
|
@ -248,6 +248,18 @@ config SENSORS_ASB100
|
|||
This driver can also be built as a module. If so, the module
|
||||
will be called asb100.
|
||||
|
||||
config SENSORS_ATK0110
|
||||
tristate "ASUS ATK0110 ACPI hwmon"
|
||||
depends on X86 && ACPI && EXPERIMENTAL
|
||||
help
|
||||
If you say yes here you get support for the ACPI hardware
|
||||
monitoring interface found in many ASUS motherboards. This
|
||||
driver will provide readings of fans, voltages and temperatures
|
||||
through the system firmware.
|
||||
|
||||
This driver can also be built as a module. If so, the module
|
||||
will be called asus_atk0110.
|
||||
|
||||
config SENSORS_ATXP1
|
||||
tristate "Attansic ATXP1 VID controller"
|
||||
depends on I2C && EXPERIMENTAL
|
||||
|
|
|
|||
|
|
@ -32,6 +32,7 @@ obj-$(CONFIG_SENSORS_ADT7475) += adt7475.o
|
|||
|
||||
obj-$(CONFIG_SENSORS_APPLESMC) += applesmc.o
|
||||
obj-$(CONFIG_SENSORS_AMS) += ams/
|
||||
obj-$(CONFIG_SENSORS_ATK0110) += asus_atk0110.o
|
||||
obj-$(CONFIG_SENSORS_ATXP1) += atxp1.o
|
||||
obj-$(CONFIG_SENSORS_CORETEMP) += coretemp.o
|
||||
obj-$(CONFIG_SENSORS_DME1737) += dme1737.o
|
||||
|
|
|
|||
1009
drivers/hwmon/asus_atk0110.c
Normal file
1009
drivers/hwmon/asus_atk0110.c
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue