Edward O'Callaghan (eocallaghan@alterapraxis.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/7651
-gerrit
commit ca6f58b565bfc0d553084ab1f10e3f33c87e13f7 Author: Edward O'Callaghan eocallaghan@alterapraxis.com Date: Fri Dec 5 22:46:02 2014 +1100
mainboard/lenovo/g505s: Build in EC ASL support for KBD/AUX ports
Rather than have Linux report: i8042: PNP: No PS/2 controller found. Probing directly. and go off probing PNP config space, build in EC ASL for the PS/2 keyboard and mouse.
The ASL explicitly passes these resources to the Linux to avoid said probe.
ASL Details: PS/2 keyboard (PNP0303 at 0x60,0x64 irq 1 ) PS/2 mouse (PNP0F13 at 0x60,0x64 irq 12)
Change-Id: I0697fab65915907fbe2b3551182b3a1b0d665ddb Signed-off-by: Edward O'Callaghan eocallaghan@alterapraxis.com --- src/mainboard/lenovo/g505s/acpi/superio.asl | 10 ++++++++++ src/mainboard/lenovo/g505s/mainboard.h | 3 +++ 2 files changed, 13 insertions(+)
diff --git a/src/mainboard/lenovo/g505s/acpi/superio.asl b/src/mainboard/lenovo/g505s/acpi/superio.asl index e69de29..e3bb6fb 100644 --- a/src/mainboard/lenovo/g505s/acpi/superio.asl +++ b/src/mainboard/lenovo/g505s/acpi/superio.asl @@ -0,0 +1,10 @@ +/* + * Copyright (C) 2014 Edward O'Callaghan eocallaghan@alterapraxis.com + * Subject to the GNU GPL v2, or (at your option) any later version. + */ + +/* Defines EC bits specific to the mainboard, needed by EC ASL */ +#include "mainboard.h" + +/* ACPI code for EC SuperIO functions */ +#include <ec/compal/ene932/acpi/superio.asl> diff --git a/src/mainboard/lenovo/g505s/mainboard.h b/src/mainboard/lenovo/g505s/mainboard.h index 6131df2..49aaedd 100644 --- a/src/mainboard/lenovo/g505s/mainboard.h +++ b/src/mainboard/lenovo/g505s/mainboard.h @@ -22,4 +22,7 @@ #define PME_GPE 0x0b #define PCIE_GPE 0x18
+/* Enable PS/2 Keyboard and Mouse */ +#define SIO_EC_ENABLE_PS2K + #endif /* _MAINBOARD_LENOVO_G505S_MAINBOARD_H */