Skip to content

hwmon: (msi_mystic_light) Add support for additional MSI motherboards

Guenter Roeck linux-hwmon 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4hwmon: (msi_mystic_light) Rearrange code to simplify adding per-board read functionsdrivers/hwmon/msi_mystic_light.c+41 -390 replies
2/4hwmon: (msi_mystic_light) Stop calling hid_hw_power()drivers/hwmon/msi_mystic_light.c+0 -80 replies
3/4hwmon: (msi_mystic_light) Make sensor read function board specificdrivers/hwmon/msi_mystic_light.c+8 -10 replies
4/4hwmon: (msi_mystic_light) Add support for additional boardsDocumentation/hwmon/msi_mystic_light.rst drivers/hwmon/msi_mystic_light.c+178 -60 replies

Reviews trailers per patch

None of the 4 patches has a Reviewed-by or Acked-by.

PatchTomasz Bojanowski
SeriesT-b
1/4
2/4
3/4
4/4

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

Read the v1 thread

Cover letter [PATCH 0/4] hwmon: (msi_mystic_light) Add support for additional MSI motherboards

This series extends the msi_mystic_light hwmon driver to support voltage monitoring on three MSI 500- and 600-series motherboards:

- MSI MAG B550M MORTAR MAX WIFI (MS-7C94, USB ID 1462:7c94)
- MSI MAG B650 TOMAHAWK WIFI (MS-7D75, USB ID 1462:7d75)
- MSI MAG B650M MORTAR WIFI (MS-7D76, USB ID 1462:7d76)

Unlike the 800-series MS-7E61 motherboard initially supported by the driver, which exposes voltage readings synchronously via a HID_REQ_GET_REPORT request on feature report 0xf0, the Mystic Light controllers on these 500- and 600-series boards require sending an output report to request sensor data and subsequently deliver the sensor readings asynchronously via a HID raw event.

Patch 1 rearranges structures and per-board definitions so board-specific read callbacks can be added without forward declarations.

Patch 2 drops redundant hid_hw_power() calls around sensor report reads, since the HID device is already kept open for the lifetime of the driver binding.

Patch 3 introduces a per-board read_report() callback in struct msi_ml_board.

Patch 4 adds the output-report/raw-event read implementation, board definitions, DMI/USB ID entries, and documentation for MS-7C94, MS-7D75, and MS-7D76.

Guenter Roeck (4):
hwmon: (msi_mystic_light) Rearrange code to simplify adding per-board
read functions
hwmon: (msi_mystic_light) Stop calling hid_hw_power()
hwmon: (msi_mystic_light) Make sensor read function board specific
hwmon: (msi_mystic_light) Add support for additional boards

 Documentation/hwmon/msi_mystic_light.rst |  59 +++++-
 drivers/hwmon/msi_mystic_light.c         | 222 ++++++++++++++++++-----
 2 files changed, 227 insertions(+), 54 deletions(-)
Signature · 1 line
2.56.0