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-15 06:17:47 +0000
commit2e228e989063ddd62035aa4567988996ba84f237 (patch)
tree31583bc8c9edf3e7907dfc26a6ab9ee121b54e5f
parent188b6ff7d7b4e4139c16df188728f47ae81a4e00 (diff)
downloadchrome-ec-2e228e989063ddd62035aa4567988996ba84f237.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>
-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)