All of lore.kernel.org
 help / color / mirror / Atom feed
* PATCH v3 ASUS EC Sensors
@ 2022-01-11 16:08 Eugene Shalygin
  2022-01-11 16:08 ` [PATCH 1/3] hwmon: (asus-ec-sensors) add driver for ASUS EC Eugene Shalygin
                   ` (3 more replies)
  0 siblings, 4 replies; 15+ messages in thread
From: Eugene Shalygin @ 2022-01-11 16:08 UTC (permalink / raw)
  To: eugene.shalygin
  Cc: andy.shevchenko, pauk.denis, Jean Delvare, Guenter Roeck,
	linux-kernel, linux-hwmon

Changes in v3:
    - Removed BIOS version checks and BIOS version dependent mutex path.



^ permalink raw reply	[flat|nested] 15+ messages in thread
* PATCH v2 ASUS EC Sensors
@ 2021-12-17 16:43 Eugene Shalygin
  2021-12-17 16:43 ` [PATCH 3/3] hwmon: (asus_wmi_ec_sensors) remove the driver Eugene Shalygin
  0 siblings, 1 reply; 15+ messages in thread
From: Eugene Shalygin @ 2021-12-17 16:43 UTC (permalink / raw)
  To: eugene.shalygin
  Cc: andy.shevchenko, pauk.denis, Jean Delvare, Guenter Roeck,
	linux-kernel, linux-hwmon

This patchset replaces the HWMON asus_wmi_ec_sensors driver with
an implementation that does not use WMI but queries the embedded
controller 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 fexible. The driver now relies on ACPI mutex to lock access
to the EC, in the same way as the WMI DSDT code does.

Changes in v2:
 - Replace sensor flags enum with bitset
 - Replace module init/probe functions with module_platform_driver_probe
   and ask the platform drivers framework to load the driver when ACPI
   EC is found (ACPI ID "PNP0C09").
 - Extend board data with BIOS version attribute for the mutex path to be
   BIOS version dependent.
 - Add module parameter to override the mutex path.



^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2022-01-11 19:20 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-11 16:08 PATCH v3 ASUS EC Sensors Eugene Shalygin
2022-01-11 16:08 ` [PATCH 1/3] hwmon: (asus-ec-sensors) add driver for ASUS EC Eugene Shalygin
2022-01-11 16:33   ` Guenter Roeck
2022-01-11 17:04   ` Guenter Roeck
2022-01-11 17:22     ` Eugene Shalygin
2022-01-11 18:43       ` Guenter Roeck
2022-01-11 18:52         ` Eugene Shalygin
2022-01-11 19:15           ` Guenter Roeck
2022-01-11 19:18             ` Eugene Shalygin
2022-01-11 16:08 ` [PATCH 2/3] hwmon: (asus-ec-sensors) update documentation Eugene Shalygin
2022-01-11 16:08 ` [PATCH 3/3] hwmon: (asus_wmi_ec_sensors) remove the driver Eugene Shalygin
2022-01-11 16:36   ` Guenter Roeck
2022-01-11 16:38 ` PATCH v3 ASUS EC Sensors Guenter Roeck
2022-01-11 16:59   ` Eugene Shalygin
  -- strict thread matches above, loose matches on Subject: below --
2021-12-17 16:43 PATCH v2 " Eugene Shalygin
2021-12-17 16:43 ` [PATCH 3/3] hwmon: (asus_wmi_ec_sensors) remove the driver Eugene Shalygin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.