[lkml]   [2021]   [Sep]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subject[PATCH v6 0/3] hwmon: Support access to the NCT677x via Asus WMI.
Support accessing the NCT677x via Asus WMI functions.

On mainboards that support this way of accessing the chip,
the driver will usually not work without this option since
in these mainboards, ACPI will mark the I/O port as used.

Could you please review?

Signed-off-by: Denis Pauk <>
Co-developed-by: Bernhard Seibold <>
Signed-off-by: Bernhard Seibold <>
Tested-by: Pär Ekholm <>
Tested-by: <>
Tested-by: Artem S. Tashkinov <>
Tested-by: Vittorio Roberto Alfieri <>
Tested-by: Sahan Fernando <>
Cc: Andy Shevchenko <>
Cc: Guenter Roeck <>

Changes in v6:
- Add dependency "ACPI_WMI || ACPI_WMI=n" to Kconfig,
- Minimize size of code under IS_ENABLED(CONFIG_ACPI_WMI),
- Remove not requred check of platform_get_resource result,
- Split function pointers patch to two separate patches,
- Add more board ROG CROSSHAIR * names from bugzilla.

Changes in v5:

Changes in v4:
- Fix naming conflict with inb, outb by add sio prefix to callbacks in
- Fix build without ACPI WMI.

Changes in v3:
- Remove unrequired type conversions.
- Make function declarations one line.
- Use nct6775 function pointers in struct nct6775_data instead direct calls.

Changes in v2:
- Split changes to separate patches.
- Limit WMI usage by DMI_BOARD_NAME in checked ASUS motherboards.
- Rearrange code for directly use struct nct6775_sio_data in superio_*()

Denis Pauk (2):
hwmon: (nct6775) Use sio_data in superio_*().
hwmon: (nct6775) Support access via Asus WMI

Denis Pauk (3):
hwmon: (nct6775) Use superio_*() function pointers in sio_data.
hwmon: (nct6775) Use nct6775_*() function pointers in nct6775_data.
hwmon: (nct6775) Support access via Asus WMI

drivers/hwmon/Kconfig | 1 +
drivers/hwmon/nct6775.c | 698 ++++++++++++++++++++++++++--------------
2 files changed, 456 insertions(+), 243 deletions(-)


 \ /
  Last update: 2021-09-15 22:43    [W:0.068 / U:3.528 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site