mb/starlabs/starlite_adl: Configure GPIO interrupt for Virtual Button
Configure GPP_F15 to generate an IRQ, that is used by the Virtual Button driver to report whether the tablet is docked or undocked to the OS. Change-Id: I0815da09bd7ffd3926622e10df6a06ab5593dc2d Signed-off-by: Sean Rhodes <sean@starlabs.systems> Reviewed-on: https://review.coreboot.org/c/coreboot/+/83880 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Maxim <max.senia.poliak@gmail.com>
This commit is contained in:
parent
eaf87422b1
commit
87ae3573b5
3 changed files with 12 additions and 4 deletions
|
|
@ -3,3 +3,11 @@
|
|||
Scope (\_SB) {
|
||||
#include "sleep.asl"
|
||||
}
|
||||
|
||||
Scope (_GPE)
|
||||
{
|
||||
Method (_L0F, 0, NotSerialized)
|
||||
{
|
||||
\_SB.PCI0.LPCB.EC.VBTN.UPDK()
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -22,9 +22,9 @@ chip soc/intel/alderlake
|
|||
register "pch_slp_a_min_assertion_width" = "3" # 2s
|
||||
|
||||
# PM Util
|
||||
register "pmc_gpe0_dw0" = "GPP_A"
|
||||
register "pmc_gpe0_dw1" = "GPP_R"
|
||||
register "pmc_gpe0_dw2" = "GPD"
|
||||
register "pmc_gpe0_dw0" = "PMC_GPP_F"
|
||||
register "pmc_gpe0_dw1" = "GPP_A"
|
||||
register "pmc_gpe0_dw2" = "GPP_B"
|
||||
|
||||
device domain 0 on
|
||||
device ref igpu on
|
||||
|
|
|
|||
|
|
@ -319,7 +319,7 @@ const struct pad_config gpio_table[] = {
|
|||
/* F14: Not Connected */
|
||||
PAD_NC(GPP_F14, NONE),
|
||||
/* F15: Keyboard Detect */
|
||||
PAD_NC(GPP_F15, NONE),
|
||||
PAD_CFG_GPI_SMI_LOW(GPP_F15, NONE, DEEP, EDGE_BOTH),
|
||||
/* F16: Not Connected */
|
||||
PAD_NC(GPP_F16, NONE),
|
||||
/* F17: Touch Panel Reset */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue