mbox series

[v1,0/2] hwmon: (it87) Set second Super-IO chip in configuration mode

Message ID 20230103064612.404401-1-frank@crawford.emu.id.au (mailing list archive)
Headers show
Series hwmon: (it87) Set second Super-IO chip in configuration mode | expand

Message

Frank Crawford Jan. 3, 2023, 6:46 a.m. UTC
On various Gigabyte AM4 boards (AB350, AX370), the second Super-IO chip
(IT8792E) needs to be in configuration mode before accessing the first
due to a bug in IT8792E which otherwise results in LPC bus access errors.
This needs to be done before accessing the first Super-IO chip since
the second chip may have been accessed prior to loading this driver.

The problem is also reported to affect IT8795E, which is used on X299 boards
and has the same chip ID as IT8792E (0x8733). It also appears to affect
systems with IT8790E, which is used on some Z97X-Gaming boards as well as
Z87X-OC.

Frank Crawford (2):
  Allow calling __superio_enter outside mux
  Set second Super-IO chip in configuration mode

 drivers/hwmon/it87.c | 71 +++++++++++++++++++++++++++++++++++++++++---
 1 file changed, 67 insertions(+), 4 deletions(-)