summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Short <keithshort@chromium.org>2019-11-14 13:55:52 -0800
committerCommit Bot <commit-bot@chromium.org>2019-11-21 17:40:24 +0000
commit852c783ac65b8bca9ea5f7026ee965998b815052 (patch)
tree33a05b52b8ed18ce907df887a18653b9bbe25528
parentf2b6ea87826454578f2d1112336ccbb6ea17b06f (diff)
downloadchrome-ec-852c783ac65b8bca9ea5f7026ee965998b815052.tar.gz
volteer: enable eDP backlight
This change ensure the eDP backlight control is driven high so that the PCH can turn the backlight on and off. Still need to add controls to the EC to turn the backlight off. BUG=b:144520387 BRANCH=none TEST=make buildall TEST=verify backlight on Volteer Change-Id: Idb075781dc358c5c7a6fe68f828a28407b92c94d Signed-off-by: Keith Short <keithshort@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1918005 Reviewed-by: Abe Levkoy <alevkoy@chromium.org> Signed-off-by: Keith Short <keithshort@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1929377
-rw-r--r--board/volteer/gpio.inc7
1 files changed, 7 insertions, 0 deletions
diff --git a/board/volteer/gpio.inc b/board/volteer/gpio.inc
index e9575587c0..359a651d7e 100644
--- a/board/volteer/gpio.inc
+++ b/board/volteer/gpio.inc
@@ -91,6 +91,13 @@ GPIO(EN_PP3300_AG, PIN(8, 5), GPIO_OUT_LOW)
* default. */
GPIO(LED_SIDESEL_4_L, PIN(6, 0), GPIO_OUT_LOW)
+/*
+ * eDP backlight - both PCH and EC have enable pins that must be high
+ * for the backlight to turn on. Default state is high, and can be turned
+ * off during sleep states.
+ */
+GPIO(EC_EDP_BL_EN, PIN(D, 3), GPIO_OUT_HIGH)
+
/* I2C pins - Alternate function below configures I2C module on these pins */
GPIO(EC_I2C0_SENSOR_SCL, PIN(B, 5), GPIO_INPUT | GPIO_SEL_1P8V)
GPIO(EC_I2C0_SENSOR_SDA, PIN(B, 4), GPIO_INPUT | GPIO_SEL_1P8V)