coreboot-kgpe-d16/src/soc/intel/apollolake
Venkateswarlu Vinjamuri 6dd7b402d5 soc/intel/apollolake: Add PM methods to power gate SD card
This implements dynamic generation of sdcard GpioInt in SSDT.
GpioInt in SSDT generation is based on the card detect GPIO if
it is provided by the mainboard in devicetree.

This implements GNVS variable to store the address of sdcard cd pin.
GNVS used to store rxstate of the sdcard cd pin to get card presence.

Add _PS0/_PS3 methods to power gate the sd card controller in
S0ix and runtime PM.

CQ-DEPEND=448173
BUG=chrome-os-partner:63070
TEST=Suspend and resume using 'echo freeze > /sys/power/state'.
System should enter S0ix and resume with no issue.

Change-Id: Id2c42fc66062f0431385607cff1a83563eaeef87
Signed-off-by: Venkateswarlu Vinjamuri <venkateswarlu.v.vinjamuri@intel.com>
Reviewed-on: https://review.coreboot.org/18496
Tested-by: build bot (Jenkins)
Reviewed-by: Duncan Laurie <dlaurie@chromium.org>
Reviewed-by: Vaibhav Shankar <vaibhav.shankar@intel.com>
2017-03-10 11:11:13 +01:00
..
acpi soc/intel/apollolake: Add PM methods to power gate SD card 2017-03-10 11:11:13 +01:00
bootblock soc/intel/apollolake: allow ApolloLake SoC to use FSP CAR Init 2016-12-21 00:11:24 +01:00
include soc/intel/apollolake: Add PM methods to power gate SD card 2017-03-10 11:11:13 +01:00
acpi.c soc/intel/apollolake: Add PM methods to power gate SD card 2017-03-10 11:11:13 +01:00
car.c soc/intel/apollolake: Drop privilege level to IA_UNTRUSTED 2016-12-02 16:39:55 +01:00
chip.c soc/intel/apollolake: Add PM methods to power gate SD card 2017-03-10 11:11:13 +01:00
chip.h soc/intel/apollolake: Add PM methods to power gate SD card 2017-03-10 11:11:13 +01:00
cpu.c soc/intel/apollolake: Move privilege drop to later stage 2016-12-08 21:40:31 +01:00
cse.c soc/intel/apollolake: Add check if FPFs are blown 2017-03-09 04:41:44 +01:00
dsp.c soc/intel/apollolake: Add Audio DSP device 2016-07-02 03:23:12 +02:00
elog.c soc/intel/apollolake: Enable ELOG 2016-08-25 23:51:27 +02:00
exit_car.S soc/intel/apollolake: Add CQOS CAR implementation 2016-08-28 18:38:48 +02:00
exit_car_fsp.S soc/intel/apollolake: allow ApolloLake SoC to use FSP CAR Init 2016-12-21 00:11:24 +01:00
flash_ctrlr.c soc/intel/apollolake: Use the new SPI driver interface 2016-12-07 20:23:01 +01:00
gpio.c soc/intel/apollolake: Add functions to calculate GPIO address 2016-09-09 23:51:01 +02:00
graphics.c driver/intel/fsp20: move lb_framebuffer function 2016-09-15 01:16:41 +02:00
heci.c soc/intel/apollolake: Prepare to use common HECI driver 2017-03-09 04:40:00 +01:00
i2c.c soc/intel/common/lpss_i2c: configure buses by rise/fall times 2016-11-12 00:19:22 +01:00
i2c_early.c soc/intel/common/lpss_i2c: simplify API and use common config structure 2016-11-11 03:11:45 +01:00
itss.c soc/intel/apollolake: work around FSP for gpio interrupt polarity 2016-07-13 21:58:50 +02:00
Kconfig soc/intel/apollolake: Start using common CSE driver 2017-03-09 04:40:49 +01:00
lpc.c vboot: Separate vboot from chromeos 2016-07-28 00:36:00 +02:00
lpc_lib.c google/reef: Enable 20K pull ups for LPC CLKRUN and LAD0:3 lines 2016-09-06 20:22:27 +02:00
Makefile.inc soc/intel/apollolake: Add PM methods to power gate SD card 2017-03-10 11:11:13 +01:00
meminit.c drivers/intel/fsp2_0: Make FSP Headers Consumable out of Box 2016-09-02 18:12:24 +02:00
memmap.c soc/intel/apollolake: Implement stage cache to improve resume time 2016-10-07 18:18:14 +02:00
mmap_boot.c soc/intel/common: remove mrc cache assumptions 2016-12-15 07:51:35 +01:00
nhlt.c soc/intel/apollolake: Add support for DMIC 4ch & 1ch 2016-11-14 18:12:11 +01:00
northbridge.c
p2sb.c soc/intel/apollolake: handle p2sb quirks 2016-07-02 03:22:32 +02:00
pmc.c soc/intel/apollolake: clear PMC registers 2016-10-16 02:49:07 +02:00
pmutil.c soc/intel/apollolake: Enable ACPI PM timer emulation on all CPUs 2016-12-02 16:39:37 +01:00
reset.c drivers/intel/fsp2_0: Make FSP Headers Consumable out of Box 2016-09-02 18:12:24 +02:00
romstage.c soc/intel/apollolake: don't probe flash manually 2016-12-15 23:10:57 +01:00
sd.c soc/intel/apollolake: Add PM methods to power gate SD card 2017-03-10 11:11:13 +01:00
smi.c soc/apollolake: add GPIO SMI support 2016-08-10 21:10:59 +02:00
smihandler.c soc/apollolake: add GPIO SMI support 2016-08-10 21:10:59 +02:00
spi.c soc/intel/apollolake: Use the new SPI driver interface 2016-12-07 20:23:01 +01:00
sram.c soc/intel/apollolake: Use fixed resource for SRAM and IPC1 2016-09-28 21:56:26 +02:00
tsc_freq.c intel/apollolake: Enable turbo 2016-11-14 18:10:05 +01:00
uart.c soc/apollolake/uart.c: Do not NOOP .set_resources() and friends 2016-05-12 04:01:58 +02:00
uart_early.c
xdci.c soc/intel/apollolake: Move XDCI in its own file 2017-03-06 20:39:53 +01:00
xhci.c soc/intel/apollolake: Move XDCI in its own file 2017-03-06 20:39:53 +01:00