From 77ad581ce90476c42eb01ddca43afe4ffb7f5cc2 Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Thu, 14 Dec 2017 12:51:48 -0800 Subject: chromeec: PS2K node can't be under SIO node Some operating systems won't find the keyboard if it is under the SIO node. BRANCH=none BUG=none TEST=Boot Windows, observe that keyboard is working Original-Signed-off-by: Stefan Reinauer Original-Change-Id: I76b1ca9bf9243ffa861bed9c356a45377e7f43ef Original-Reviewed-on: https://chromium-review.googlesource.com/895364 Change-Id: If99e15bef2173c44cecaa8fdeaa69381bd0e499a Signed-off-by: Martin Roth Reviewed-on: https://review.coreboot.org/28386 Tested-by: build bot (Jenkins) Reviewed-by: Furquan Shaikh --- src/ec/google/chromeec/acpi/superio.asl | 56 ++++++++++++++++----------------- 1 file changed, 28 insertions(+), 28 deletions(-) (limited to 'src') diff --git a/src/ec/google/chromeec/acpi/superio.asl b/src/ec/google/chromeec/acpi/superio.asl index 6c9cb2cdea..c521a3a894 100644 --- a/src/ec/google/chromeec/acpi/superio.asl +++ b/src/ec/google/chromeec/acpi/superio.asl @@ -131,43 +131,43 @@ Device (SIO) { }) } #endif +} #ifdef SIO_EC_ENABLE_PS2K - Device (PS2K) // Keyboard - { - Name (_UID, 0) - Name (_ADR, 0) - Name (_HID, "GOOG000A") - Name (_CID, Package() { EISAID("PNP0303"), EISAID("PNP030B") } ) +Device (PS2K) // Keyboard +{ + Name (_UID, 0) + Name (_ADR, 0) + Name (_HID, "GOOG000A") + Name (_CID, Package() { EISAID("PNP0303"), EISAID("PNP030B") } ) - Method (_STA, 0, NotSerialized) { - Return (0x0F) - } + Method (_STA, 0, NotSerialized) { + Return (0x0F) + } - Name (_CRS, ResourceTemplate() - { - IO (Decode16, 0x60, 0x60, 0x01, 0x01) - IO (Decode16, 0x64, 0x64, 0x01, 0x01) + Name (_CRS, ResourceTemplate() + { + IO (Decode16, 0x60, 0x60, 0x01, 0x01) + IO (Decode16, 0x64, 0x64, 0x01, 0x01) #ifdef SIO_EC_PS2K_IRQ - SIO_EC_PS2K_IRQ + SIO_EC_PS2K_IRQ #else - IRQ (Edge, ActiveHigh, Exclusive) {1} + IRQ (Edge, ActiveHigh, Exclusive) {1} #endif - }) + }) - Name (_PRS, ResourceTemplate() - { - StartDependentFn (0, 0) { - IO (Decode16, 0x60, 0x60, 0x01, 0x01) - IO (Decode16, 0x64, 0x64, 0x01, 0x01) + Name (_PRS, ResourceTemplate() + { + StartDependentFn (0, 0) { + IO (Decode16, 0x60, 0x60, 0x01, 0x01) + IO (Decode16, 0x64, 0x64, 0x01, 0x01) #ifdef SIO_EC_PS2K_IRQ - SIO_EC_PS2K_IRQ + SIO_EC_PS2K_IRQ #else - IRQ (Edge, ActiveHigh, Exclusive) {1} -#endif - } - EndDependentFn () - }) - } + IRQ (Edge, ActiveHigh, Exclusive) {1} #endif + } + EndDependentFn () + }) } +#endif -- cgit v1.2.3