mb/supermicro/x9sae: Add full NCT6776 support

X9SAE has a PS/2 controller for keyboard and mouse but its definition
in ACPI used to be missing, and X9SAE used to use a generic SuperIO
support initially generated by autoport, so the full NCT6776 support
is added here like x9scl.

Test result:
Log lines like

    i8042: PNP: No PS/2 controller found.
    i8042: Probing ports directly.
    serio: i8042 KBD port at 0x60,0x64 irq 1
    serio: i8042 AUX port at 0x60,0x64 irq 12
    mousedev: PS/2 mouse device common for all mice

become

    i8042: PNP: PS/2 Controller [PNP0303:PS2K,PNP0f13:PS2M] at
        0x60,0x64 irq 1,12
    serio: i8042 KBD port at 0x60,0x64 irq 1
    serio: i8042 AUX port at 0x60,0x64 irq 12
    mousedev: PS/2 mouse device common for all mice

and more sub-devices within SuperIO is handled by the PNP driver.

Signed-off-by: Bill XIE <persmule@hardenedlinux.org>
Change-Id: Ie5e73e8c3fc4e57c6683d7a7ca70e96c64dd9366
Reviewed-on: https://review.coreboot.org/c/coreboot/+/68446
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
This commit is contained in:
Bill XIE 2022-10-15 15:54:31 +08:00 committed by Felix Held
parent de10d5bf4d
commit 854c897eb8
1 changed files with 10 additions and 2 deletions

View File

@ -1,3 +1,11 @@
/* SPDX-License-Identifier: CC-PDDC */
/* SPDX-License-Identifier: GPL-2.0-or-later */
/* Please update the license if adding licensable material. */
#define SUPERIO_DEV SIO0
#define SUPERIO_PNP_BASE 0x2e
#undef NCT6776_SHOW_PP
#define NCT6776_SHOW_SP1
#define NCT6776_SHOW_KBC
#undef NCT6776_SHOW_GPIO
#define NCT6776_SHOW_HWM
#include <superio/nuvoton/nct6776/acpi/superio.asl>