coreboot-kgpe-d16/src
Subrata Banik da24535309 soc/intel/icelake: Add GPIO group pad base for ACPI
commit msg copied from
commit id: 64c9f1584c

The GPIO drivers in Windows and Linux for the Icelake CPU
have a sparse GPIO map and do not allocate pins contiguously.
Each GPIO group is allocated as 32 pads regardless of whether
the hardware actually has that many in the group.

It appears this originated with a bug in Windows/UEFI and was
carried over to Linux in order to work with existing firmware:
https://lore.kernel.org/patchwork/patch/855244/

In order to support using ACPI GPIOs it is necessary for coreboot
to be compatible with this implementation.  The GPIO groups that
are usable by the  OS are declared with a pad base which is then
used to compute the number for ACPI GPIOs.

Change-Id: I94fafd8af13cf229f5c467de5179aed021465739
Signed-off-by: Subrata Banik <subrata.banik@intel.com>
Reviewed-on: https://review.coreboot.org/c/30276
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Duncan Laurie <dlaurie@chromium.org>
2018-12-19 04:53:13 +00:00
..
acpi
arch arch/riscv: Don't hardcode CSR numbers anymore 2018-12-18 13:25:45 +00:00
commonlib src: Remove duplicated round up function 2018-11-29 12:17:45 +00:00
console (console,drivers/uart)/Kconfig: Fix dependencies 2018-11-21 22:49:48 +00:00
cpu cpu: Remove unneeded include <pc80/mc146818rtc.h> 2018-12-18 13:47:33 +00:00
device Fix typos involving "the the" 2018-12-18 13:24:28 +00:00
drivers {drivers,superio}: Remove unneeded include <pc80/mc146818rtc.h> 2018-12-18 13:43:16 +00:00
ec lenovo/h8,thinkpads: Re-do USB Always On 2018-12-06 11:59:22 +00:00
include Fix typos involving "the the" 2018-12-18 13:24:28 +00:00
lib cbfs: Alert if something goes wrong in cbfs_boot_locate() 2018-12-07 11:34:54 +00:00
mainboard Revert "google/sarien: Increase BIOS region to 28MB" 2018-12-18 17:51:05 +00:00
northbridge northbridge: Remove unneeded include <pc80/mc146818rtc.h> 2018-12-18 13:49:31 +00:00
security tss: implement tlcl_save_state 2018-11-28 18:32:59 +00:00
soc soc/intel/icelake: Add GPIO group pad base for ACPI 2018-12-19 04:53:13 +00:00
southbridge southbridge: Remove unneeded include <pc80/mc146818rtc.h> 2018-12-18 13:56:02 +00:00
superio {drivers,superio}: Remove unneeded include <pc80/mc146818rtc.h> 2018-12-18 13:43:16 +00:00
vendorcode Fix typos involving "the the" 2018-12-18 13:24:28 +00:00
Kconfig cpu/x86/Kconfig.debug: Move more options here 2018-11-23 08:38:31 +00:00