Skip to content

Eugene Shalygin linux-doc linux-hwmon lkml 6 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v8 Latest3 patches 14 repliesIn review
  2. v73 patches 3 repliesSuperseded
  3. v63 patches 5 repliesSuperseded
Earlier versions · 3
VersionPostedPatchesRepliesStatus
v53 patches3 repliesSuperseded
v43 patches0 repliesSuperseded
v13 patches8 repliesSuperseded

Changes in v8 from the cover letter

- Fixed formatting (removed doc comments, removed redundant new line).
- Changed hwmon device name (asus_ec_sensors -> asusec) removing unnecessary "sensors" word.

Patches in v8 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3hwmon: (asus-ec-sensors) add driver for ASUS ECMAINTAINERS drivers/hwmon/Kconfig drivers/hwmon/Makefile +1 more+712 -01 reply
2/3hwmon: (asus-ec-sensors) update documentationDocumentation/hwmon/asus_ec_sensors.rst Documentation/hwmon/asus_wmi_ec_sensors.rst+52 -381 reply
3/3hwmon: deprecate asis_wmi_ec_sensors driverdrivers/hwmon/Kconfig+4 -11 reply

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchOleksandr NatalenkoDenis Pauk
SeriesT-b T-b
1/3
2/3
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v8 thread

Cover letter [ASUS EC Sensors v8 0/3]

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 v8:
- Fixed formatting (removed doc comments, removed redundant new line).
- Changed hwmon device name (asus_ec_sensors -> asusec) removing unnecessary "sensors" word.

Changes in v7:
- Add suport for the ROG STRIX X570-F GAMING board.
- Add the __init attribute to two more functions.

Changes in v6:
- Fixed hwmon device name replacing dashes with underscores.
- Removed module verion.
- Fixed condition for asus_wmi_ec_Sensors in KBuild.

Changes in v5:
- Place the sensors bitset directly into the driver_data field of the dmi_system_id struct.
- Replace doc comments with regular ones.

Changes in v4:
- Deprecate the wmi driver rather than removing it.

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

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.

Eugene Shalygin (3):
hwmon: (asus-ec-sensors) add driver for ASUS EC
hwmon: (asus-ec-sensors) update documentation
hwmon: deprecate asis_wmi_ec_sensors driver

 Documentation/hwmon/asus_ec_sensors.rst     |  52 ++
 Documentation/hwmon/asus_wmi_ec_sensors.rst |  38 --
 MAINTAINERS                                 |   6 +
 drivers/hwmon/Kconfig                       |  16 +-
 drivers/hwmon/Makefile                      |   1 +
 drivers/hwmon/asus-ec-sensors.c             | 694 ++++++++++++++++++++
 6 files changed, 768 insertions(+), 39 deletions(-)
 create mode 100644 Documentation/hwmon/asus_ec_sensors.rst
 delete mode 100644 Documentation/hwmon/asus_wmi_ec_sensors.rst
 create mode 100644 drivers/hwmon/asus-ec-sensors.c
Signature · 1 line
2.34.1