summaryrefslogtreecommitdiff
path: root/src/mainboard/google/chell/gpio.h
diff options
context:
space:
mode:
authorAaron Durbin <adurbin@chromium.org>2015-11-11 16:50:52 -0600
committerPatrick Georgi <pgeorgi@google.com>2015-11-18 16:28:49 +0100
commitd49d42f629e09a36e9ce498319d5ad2fb4744a32 (patch)
treed36996d3f820763141ed8a6ec27fe94699d1ce27 /src/mainboard/google/chell/gpio.h
parentce6c35699b605dd097dd25642c480738b9738222 (diff)
downloadcoreboot-d49d42f629e09a36e9ce498319d5ad2fb4744a32.tar.xz
google/chell: disable power rails in sleep path
For the rails controllable by the host processor through gpios turn them off in the sleep paths. The result is that S3 and S5 will turn off those rails. BUG=chrome-os-partner:47228 BRANCH=None TEST=Built for chell. Change-Id: I5843f13be43a6ec143600585a5a0c47563e533dd Signed-off-by: Patrick Georgi <pgeorgi@chromium.org> Original-Commit-Id: ddd5860dc0cfee68ec2f77f4931665740bede08c Original-Change-Id: Ife0e2fb11373dd129e20b914b45cd5b56c3493f7 Original-Signed-off-by: Aaron Durbin <adurbin@chromium.org> Original-Reviewed-on: https://chromium-review.googlesource.com/312321 Original-Reviewed-by: Duncan Laurie <dlaurie@chromium.org> Reviewed-on: http://review.coreboot.org/12446 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/mainboard/google/chell/gpio.h')
-rw-r--r--src/mainboard/google/chell/gpio.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mainboard/google/chell/gpio.h b/src/mainboard/google/chell/gpio.h
index cb10be4915..20880cdb27 100644
--- a/src/mainboard/google/chell/gpio.h
+++ b/src/mainboard/google/chell/gpio.h
@@ -49,6 +49,13 @@
#define EC_SCI_GPI GPE0_DW2_16
#define EC_SMI_GPI GPP_E15
+/* Power rail control signals. */
+#define EN_PP3300_KEPLER GPP_C11
+#define EN_PP3300_DX_TOUCH GPP_C22
+#define EN_PP3300_DX_EMMC GPP_D5
+#define EN_PP1800_DX_EMMC GPP_D6
+#define EN_PP3300_DX_CAM GPP_D12
+
#ifndef __ACPI__
/* Pad configuration in ramstage. */
static const struct pad_config gpio_table[] = {