mbox series

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

Message ID 20230104060926.619686-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. 4, 2023, 6:09 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.

---

Changes since v1:
 * Improved description for both patches
 * Renamed function from gigabyte_sio_force to it87_sio_force

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

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