soc/intel/apollolake: Add handler for SCI
commit7f149c7bb4744459c775c32c71fe222c792cea19
authorShaunak Saha <shaunak.saha@intel.com>
Thu, 7 Jul 2016 21:48:21 +0000 (7 14:48 -0700)
committerAaron Durbin <adurbin@chromium.org>
Tue, 12 Jul 2016 18:37:57 +0000 (12 20:37 +0200)
tree736c9741f4e136e3fb86000554a6a691bd1bd261
parente51e1045e46dfccbffc2e4ab81ac023038c4e293
soc/intel/apollolake: Add handler for SCI

This patch adds the handler to enable bit for gpio_tier1_sci_en.
gpio_tier1_sci_en enables the setting of the GPIO_TIER1_SCI_STS
bit to generate a wake event and/or an SCI or SMI#. We are setting
the bit for gpio_tier1_sci_en from the ASL code as OS clears this bit
if set from BIOS. As per ACPI spec _GPE is defined as the Named
Object  that evaluates to either an integer or a package. If _GPE
evaluates to an integer, the value is the bit assignment of the SCI
interrupt within the GPEx_STS register of a GPE block described in
the FADT that the embedded controller will trigger. FADT right now
has no mechanism to acheive the same.

Change-Id: I1e1bd3f5c89a5e6bea2d1858569a9d30e6da78fe
Signed-off-by: Shaunak Saha <shaunak.saha@intel.com>
Reviewed-on: https://review.coreboot.org/15578
Tested-by: build bot (Jenkins)
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
src/soc/intel/apollolake/acpi/gpio.asl