[Bug 204807] Hardware monitoring sensor nct6798d doesn't work unless acpi_enforce_resources=lax is enabled

bugzilla-daemon
2021-09-25T15:37:15Z

--- Comment #130 from Kamil Pietrzak (kpietrzak@disroot.org) ---
(In reply to Denis Pauk from comment #128)

> @Kamil Pietrzak Could you please check that scale applied to your board
> correctly?

I confirm voltages defined in "static const u16 scale_in_z490[15]" are applied
correctly to my motherboard "TUF GAMING Z490-PLUS (WI-FI)".

Motherboard "TUF GAMING Z490-PLUS (WI-FI)" is using Nuvoton NCT6798D Super I/O,
so probably all motherboards that use same Nuvoton chip may benefit from those
new voltage scaling factors.
Maybe variable "static const u16 scale_in_z490" could have some more generic
name related to NCT6798D.
Here I have to admit that I figured out those voltage scaling factors by try
and error (to match voltages to those shown in Asus software on Windows), cause
I could not find Nuvoton NCT6798D documentation on Nuvoton website.

Also I think it is probaby safe to add motherboard "TUF GAMING Z490-PLUS" to
supported boards, case as far as I know the only difference between "TUF GAMING
Z490-PLUS" and "TUF GAMING Z490-PLUS (WI-FI)" is Intel Wi-Fi 6 AX201 chip on
the latter.