Furquan Shaikh has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/48302 )
Change subject: soc/intel/common/gpio_defs: Add a macro for EDGE_BOTH trigger pad ......................................................................
Patch Set 3:
(1 comment)
https://review.coreboot.org/c/coreboot/+/48302/3/src/soc/intel/common/block/... File src/soc/intel/common/block/include/intelblocks/gpio_defs.h:
https://review.coreboot.org/c/coreboot/+/48302/3/src/soc/intel/common/block/... PS3, Line 276: , I think the actual problem here is that PAD_CFG_GPI_GPIO_DRIVER isn't configuring trigger as PAD_TRIG(OFF).
The way GPIO interrupts are handled is: 1. Pad is configured as input in coreboot. 2. Pad IRQ information is passed in ACPI tables to kernel. 3. Kernel configures the required pad trigger.
This is the reason why `PAD_CFG_GPI_GPIO_DRIVER_EDGE_BOTH` doesn't exist in coreboot. Can you please try adding PAD_TRIG(OFF) here and check if that fixes the issue for you?