coreboot-kgpe-d16/src/soc/intel
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
..
apollolake soc/intel/apollolake: Print ME version on exit of BS_DEV_INIT stage 2018-12-07 11:38:30 +00:00
baytrail soc/intel/baytrail: Implement POSTCAR stage 2018-12-05 13:33:32 +00:00
braswell soc/intel/braswell/northcluster.c: Fix typo 2018-12-11 08:57:53 +00:00
broadwell cpuid: Add helper function for cpuid(1) functions 2018-12-13 04:32:57 +00:00
cannonlake cpuid: Add helper function for cpuid(1) functions 2018-12-13 04:32:57 +00:00
common soc/intel/common: Add support for GPIO group pad base 2018-12-14 18:30:15 +00:00
denverton_ns cpu/intel/common: Use a common acpi/cpu.asl file 2018-11-30 22:02:35 +00:00
fsp_baytrail elog: make elog's SMM handler code follow everything else 2018-12-05 13:31:10 +00:00
fsp_broadwell_de arch/acpi.h: Add some update to version 6.2a 2018-11-29 12:21:03 +00:00
icelake cpuid: Add helper function for cpuid(1) functions 2018-12-13 04:32:57 +00:00
quark cpuid: Add helper function for cpuid(1) functions 2018-12-13 04:32:57 +00:00
skylake cpuid: Add helper function for cpuid(1) functions 2018-12-13 04:32:57 +00:00
Kconfig src/cpu: Remove dead sourced lines 2018-11-15 10:25:20 +00:00