]> git.baikalelectronics.ru Git - kernel.git/commit
hwmon: (asus-ec-sensors) add driver for ASUS EC
authorEugene Shalygin <eugene.shalygin@gmail.com>
Mon, 24 Jan 2022 01:56:43 +0000 (02:56 +0100)
committerGuenter Roeck <linux@roeck-us.net>
Mon, 28 Feb 2022 01:03:17 +0000 (17:03 -0800)
commite1a8407c924ff7e0e52c33023106438f091d58b6
tree6fa64f486ef3052c2420af7f03b72d223dc1375b
parent11ac556c7fe17abe755d398e584fd175d26deb03
hwmon: (asus-ec-sensors) add driver for ASUS EC

This driver provides the same data as the asus_wmi_ec_sensors driver
(and gets it from the same source) but does not use WMI, polling
the ACPI EC directly.

That provides two enhancements: sensor reading became quicker (on some
systems or kernel configuration it took almost a full second to read
all the sensors, that transfers less than 15 bytes of data), the driver
became more flexible. The driver now relies on ACPI mutex to lock access
to the EC in the same way as the WMI code does.

Signed-off-by: Eugene Shalygin <eugene.shalygin@gmail.com>
Link: https://lore.kernel.org/r/20220124015658.687309-2-eugene.shalygin@gmail.com
Tested-by: Oleksandr Natalenko <oleksandr@natalenko.name>
Tested-by: Denis Pauk <pauk.denis@gmail.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
MAINTAINERS
drivers/hwmon/Kconfig
drivers/hwmon/Makefile
drivers/hwmon/asus-ec-sensors.c [new file with mode: 0644]