rambi: Add LPE GPIOs for Jack/Mic detect

These GPIOs are defined in the mainboard and will be returned
as part of the LPE Device _CRS method.

BUG=chrome-os-partner:24380
BRANCH=rambi
TEST=build and boot on rambi

Change-Id: I7fe0852b63499530f6dfef4553e818e7364f4101
Signed-off-by: Duncan Laurie <dlaurie@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/184007
This commit is contained in:
Duncan Laurie 2014-01-27 15:31:45 -08:00 committed by chrome-internal-fetch
commit edde584bb2

View file

@ -360,3 +360,17 @@ Scope (\_SB.I2C6)
Name (_PRW, Package() { BOARD_TOUCHSCREEN_WAKE_GPIO, 0x3 })
}
}
Scope (\_SB.LPEA)
{
Name (GBUF, ResourceTemplate ()
{
/* Jack Detect (index 0) */
GpioInt (Edge, ActiveHigh, Exclusive, PullNone,,
"\\_SB.GPSC") { 14 }
/* Mic Detect (index 1) */
GpioInt (Edge, ActiveHigh, Exclusive, PullNone,,
"\\_SB.GPSC") { 15 }
})
}