coreboot-kgpe-d16/src
Eric Lai 6cb787b19a mb/google/nissa/var/nivviks: Use interrupt with lock for pen detect GPIO
With GPIO_DRIVER_LOCK kernel driver can't change to IRQ. Thus, we need
to set it as INT in coreboot to make the IRQ work.

BUG=b:223476974
TEST=evtest work as expected.
Input driver version is 1.0.1
Input device ID: bus 0x19 vendor 0x1 product 0x1 version 0x100
Input device name: "PRP0001:00"
Supported events:
  Event type 0 (EV_SYN)
  Event type 5 (EV_SW)
    Event code 15 (SW_PEN_INSERTED) state 0
Properties:
Testing ... (interrupt to exit)
Event: type 5 (EV_SW), code 15 (SW_PEN_INSERTED), value 1
Event: -------------- SYN_REPORT ------------
Event: type 5 (EV_SW), code 15 (SW_PEN_INSERTED), value 0

Signed-off-by: Eric Lai <eric_lai@quanta.corp-partner.google.com>
Change-Id: I5f9fdfb2622b4b955da216119e74c6f7d5795d36
Reviewed-on: https://review.coreboot.org/c/coreboot/+/64091
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Kangheui Won <khwon@chromium.org>
Reviewed-by: Reka Norman <rekanorman@chromium.org>
2022-05-16 04:51:04 +00:00
..
acpi ec/google/chromeec: Add retimer handle to Type C conn 2022-05-04 13:15:30 +00:00
arch arch/x86: Add support for catching null dereferences through debug regs 2022-05-12 15:47:18 +00:00
commonlib commonlib: Add timestamp IDs for Chrome OS hypervisor 2022-05-11 17:06:01 +00:00
console console: Make CONSOLE_SPI_FLASH depend on BOOT_DEVICE_SPI_FLASH 2022-04-27 06:55:47 +00:00
cpu cpu/x86/mp_init.c: Add mp_run_on_all_cpus_synchronously 2022-05-16 04:49:25 +00:00
device device: Remove unused <cbmem.h> 2022-04-22 21:40:07 +00:00
drivers drivers/intel/fsp1_1: Use C over CPP 2022-05-13 10:59:50 +00:00
ec ec/starlabs/merlin: Remove offset for Max Charge when not supported 2022-05-12 18:33:51 +00:00
include cpu/x86/mp_init.c: Add mp_run_on_all_cpus_synchronously 2022-05-16 04:49:25 +00:00
lib lib/spd: Demote log about using default DDR4 params to NOTICE 2022-05-16 04:34:59 +00:00
mainboard mb/google/nissa/var/nivviks: Use interrupt with lock for pen detect GPIO 2022-05-16 04:51:04 +00:00
northbridge northbridge/intel/i945: Convert to ASL 2.0 2022-05-16 02:55:28 +00:00
security src: Remove unused <cf9_reset.h> 2022-05-16 02:40:14 +00:00
soc soc/intel/common: Use mp_run_on_all_cpus_synchronously for APs MTRR init 2022-05-16 04:49:33 +00:00
southbridge sb/amd/agesa/hudson/hudson.c: Use BIT() macros 2022-05-16 02:58:36 +00:00
superio superio/kbc1100: Fix set but unused variables 2022-05-11 06:02:48 +00:00
vendorcode amd/agesa/f14/Proc/Mem/Tech/DDR3/mtlrdimm3.h: Correct SPD_PERSONALITY_BYTE 2022-05-16 02:53:59 +00:00
Kconfig Kconfig: Have CONFIG_ASAN depend on COMPILER_GCC 2022-05-13 10:59:37 +00:00