coreboot/src/soc
Duncan Laurie 28e8ae5385 soc/intel/common: Add support for GPIO group pad base
In some situations the GPIO pad numbers used by the OS are not
contiguous and coreboot must provide a way for ACPI to provide
the expected GPIO number to the OS.

To do this each GPIO group can now have a pad base value, which
will be used as the starting pin number for this group and it
is added to the relative pin number of this GPIO to compute the
ACPI pin number for a particular GPIO.

By default this change has no effect because the existing uses
of INTEL_GPP() will set the pad base to PAD_BASE_NONE and the
GPIO number is used as the ACPI pin number without translation.

BUG=b:120686247
TEST=tested on a sarien(cannonlake) board

Change-Id: I25f73df45ffae18c5721a00ca230a6b07c250bab
Signed-off-by: Duncan Laurie <dlaurie@google.com>
Reviewed-on: https://review.coreboot.org/c/30131
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2018-12-14 18:30:15 +00:00
..
amd soc/amd/stoneyridge: Run romstage mainboard code before AGESA 2018-12-05 14:09:07 +00:00
cavium (console,drivers/uart)/Kconfig: Fix dependencies 2018-11-21 22:49:48 +00:00
imgtec (console,drivers/uart)/Kconfig: Fix dependencies 2018-11-21 22:49:48 +00:00
intel soc/intel/common: Add support for GPIO group pad base 2018-12-14 18:30:15 +00:00
mediatek mediatek/mt8183: Add DDR driver of tx rx window perbit cal part 2018-12-11 08:57:16 +00:00
nvidia security/vboot: Fix remaining measured boot issues 2018-11-30 10:26:56 +00:00
qualcomm sdm845: Add SPI-NOR flash driver 2018-12-05 14:09:59 +00:00
rockchip security/vboot: Fix remaining measured boot issues 2018-11-30 10:26:56 +00:00
samsung src: Remove duplicated round up function 2018-11-29 12:17:45 +00:00
sifive riscv: fix non-SMP support 2018-12-07 11:37:53 +00:00
ucb mb/emulation/spike-riscv: Implement mtime_init 2018-12-05 13:36:26 +00:00