[coreboot-gerrit] Patch merged into coreboot/master: soc/intel/apollolake: Add function to translate gpio_t into ACPI pin

gerrit at coreboot.org gerrit at coreboot.org
Sat Jul 2 01:19:39 CEST 2016


the following patch was just integrated into master:
commit d25dd99866bffc55c2213f18a658364ef8532413
Author: Duncan Laurie <dlaurie at chromium.org>
Date:   Wed Jun 29 10:47:48 2016 -0700

    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.
    
    Change-Id: Iad2ab8eccf4c91185a075ffce8d41c81f06c1113
    Signed-off-by: Duncan Laurie <dlaurie at chromium.org>
    Reviewed-on: https://review.coreboot.org/15513
    Reviewed-by: Aaron Durbin <adurbin at chromium.org>
    Tested-by: build bot (Jenkins)


See https://review.coreboot.org/15513 for details.

-gerrit



More information about the coreboot-gerrit mailing list