coreboot/src/soc/intel
Duncan Laurie 7fcb376982 UPSTREAM: soc/intel/apollolake: Add function to translate gpio_t into ACPI pin
There are four GPIO communities in this SOC and they are implemented
as separate ACPI devices. This means the pin number that is used in
an ACPI GPIO declaration needs to be relative to the community that
the pin resides in. Also select GENERIC_GPIO_LIB in the SOC Kconfig
so this function actually gets used.

This was tested on the reef mainboard by verifying the output of the
SSDT for the Maxim 98357A codec that the assigned GPIO_76 is listed
as pin 0x24 which is the value relative to the Northwest community.

BUG=None
BRANCH=None
TEST=None

Change-Id: Iad2ab8eccf4c91185a075ffce8d41c81f06c1113
Original-Signed-off-by: Duncan Laurie <dlaurie@chromium.org>
Original-Reviewed-on: https://review.coreboot.org/15513
Original-Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Original-Tested-by: build bot (Jenkins)
Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/358585
Reviewed-by: Martin Roth <martinroth@chromium.org>
2016-07-07 01:09:07 -07:00
..
apollolake UPSTREAM: soc/intel/apollolake: Add function to translate gpio_t into ACPI pin 2016-07-07 01:09:07 -07:00
baytrail UPSTREAM: intel romstage: Use run_ramstage() 2016-06-30 10:08:18 -07:00
braswell soc/intel: indicate to build system that XIP_ROM_SIZE isn't used 2016-05-06 16:50:00 +02:00
broadwell UPSTREAM: intel romstage: Use run_ramstage() 2016-06-30 10:08:18 -07:00
common UPSTREAM: skylake: Generate ACPI timing values for I2C devices 2016-07-07 01:08:46 -07:00
fsp_baytrail UPSTREAM: intel romstage: Use run_ramstage() 2016-06-30 10:08:18 -07:00
fsp_broadwell_de UPSTREAM: fsp_broadwell_de: Enable Super I/O address range decode 2016-07-01 11:02:47 -07:00
quark UPSTREAM: soc/intel/quark: Add C bootblock 2016-06-13 15:56:07 -07:00
sch UPSTREAM: intel/sch: Merge northbridge and southbridge in src/soc 2016-05-20 17:08:20 -07:00
skylake UPSTREAM: skylake: Generate ACPI timing values for I2C devices 2016-07-07 01:08:46 -07:00