summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaymond Chung <raymondchung@ami.corp-partner.google.com>2022-11-22 15:48:48 +0800
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2022-11-25 07:39:47 +0000
commit0fdab007bed8126649b2f29fcdb0a7f26fb1ff16 (patch)
tree41800eac63b646db8cdf0e4e1062a8da94faef72
parentae03c203db5587bdb48768cecb3d2986fba40650 (diff)
downloadchrome-ec-0fdab007bed8126649b2f29fcdb0a7f26fb1ff16.tar.gz
gaelin: Keep backlight and speaker power control for display
This change adds to keep backlight and speaker always on to unlock proto 2 power on validation. We'll keep following on it to figure out the correct behavior for backlight/speaker power control and implement in EC. BUG=b:249000573, b:259321814 BRANCH=None TEST="make -j BOARD=gaelin" and normal display. Change-Id: Id4c60a26f74957e57c5ea4230f70ea02660236ed Signed-off-by: Raymond Chung <raymondchung@ami.corp-partner.google.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/4043947 Code-Coverage: Zoss <zoss-cl-coverage@prod.google.com> Reviewed-by: Derek Huang <derekhuang@google.com> Commit-Queue: Derek Huang <derekhuang@google.com>
-rw-r--r--board/gaelin/gpio.inc10
1 files changed, 8 insertions, 2 deletions
diff --git a/board/gaelin/gpio.inc b/board/gaelin/gpio.inc
index fcd39ad8bc..6de7003743 100644
--- a/board/gaelin/gpio.inc
+++ b/board/gaelin/gpio.inc
@@ -46,7 +46,11 @@ GPIO(ANALOG_PPVAR_PWR_IN_IMON_EC, PIN(4, 2), GPIO_INPUT)
/* Display */
GPIO(EC_OVERRIDE_SCLR_EN, PIN(D, 4), GPIO_OUT_HIGH)
-GPIO(EC_12VSC_EN, PIN(D, 2), GPIO_OUT_LOW)
+
+/* TODO(b/260063632): the gpio pin control is wip, setting to level high
+ to enable the backlight by default */
+GPIO(EC_12VSC_EN, PIN(D, 2), GPIO_OUT_HIGH)
+
GPIO(OSD_STS, PIN(4, 1), GPIO_INPUT)
GPIO(DISP_MODE, PIN(A, 0), GPIO_INPUT)
GPIO(PANEL_PWR_STS, PIN(9, 5), GPIO_INPUT)
@@ -57,7 +61,9 @@ GPIO(WP_EC, PIN(C, 3), GPIO_INPUT)
GPIO(OSD_INT, PIN(0, 5), GPIO_INPUT)
/* Audio */
-GPIO(EC_AMP_SD, PIN(5, 6), GPIO_OUT_LOW)
+/* TODO(b/260063632): the gpio pin control is wip, setting to level high
+ to enable the speaker by default */
+GPIO(EC_AMP_SD, PIN(5, 6), GPIO_OUT_HIGH)
/* BarrelJack */
GPIO(EN_PPVAR_BJ_ADP_L, PIN(0, 7), GPIO_OUT_LOW)