Peter Stuge wrote:
specifically the PC87381 Super I/O device? Perhaps there's some code in coreboot demonstrating how GPIO ports are manipulated?
Look at what superiotool does
To clarify, superiotool has functions internally for writing to registers in superios, because they are needed by the program. There's just no user interface for writing, and there hasn't been much discussion on how it would look.
//Peter