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:
parent
398387ed75
commit
edde584bb2
1 changed files with 14 additions and 0 deletions
|
|
@ -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 }
|
||||
})
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue