diff options
author | johnwc_yeh <johnwc_yeh@compal.corp-partner.google.com> | 2022-05-13 11:13:16 +0800 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2022-05-17 08:09:33 +0000 |
commit | 1a417186267c64e7da0742490b0c620eddae149a (patch) | |
tree | de78eebc1a4b94285028b5a376d881ae00271e31 | |
parent | 66adb19709d2c19ca44fb50ec3db9c3a09ca2246 (diff) | |
download | chrome-ec-1a417186267c64e7da0742490b0c620eddae149a.tar.gz |
mithrax:GPIO setting for rgb backlight
Add one pin and the pin is for LED.
When the gpio set to high is enable for rgb kb backlight led.
GPIO will be determined by fw_config.
BUG=b:223526803
BRANCH=none
TEST=make BOARD=mithrax
Signed-off-by: johnwc_yeh <johnwc_yeh@compal.corp-partner.google.com>
Change-Id: I9d2ca709ef04b74bf33e69bf48230c1517e07c4e
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3647107
Reviewed-by: Boris Mittelberg <bmbm@google.com>
Reviewed-by: Ko Ko <ko_ko@compal.corp-partner.google.com>
-rw-r--r-- | board/mithrax/gpio.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/mithrax/gpio.inc b/board/mithrax/gpio.inc index 06f2dece3e..996b0fae3d 100644 --- a/board/mithrax/gpio.inc +++ b/board/mithrax/gpio.inc @@ -67,6 +67,7 @@ GPIO(EC_PCH_SYS_PWROK, PIN(3, 7), GPIO_OUT_LOW) GPIO(EC_PCH_WAKE_R_ODL, PIN(C, 0), GPIO_ODR_HIGH) GPIO(EC_PROCHOT_ODL, PIN(6, 3), GPIO_ODR_HIGH) GPIO(EN_PP5000_FAN, PIN(6, 1), GPIO_OUT_HIGH) +GPIO(EN_PP5000_LED, PIN(C, 6), GPIO_OUT_LOW) GPIO(EN_PP5000_USBA_R, PIN(D, 7), GPIO_OUT_LOW) GPIO(EN_PP5000_PEN, PIN(E, 1), GPIO_OUT_LOW) GPIO(EN_S5_RAILS, PIN(B, 6), GPIO_OUT_LOW) @@ -126,7 +127,6 @@ UNUSED(PIN(3, 2)) /* GPO32/TRIS_L */ UNUSED(PIN(3, 5)) /* GPO35/CR_SOUT4/TEST_L */ UNUSED(PIN(6, 6)) /* GPIO66 */ UNUSED(PIN(C, 3)) /* GPIOC3 */ -UNUSED(PIN(C, 6)) /* GPIOC6 */ UNUSED(PIN(6, 2)) /* GPIO62 */ UNUSED(PIN(B, 1)) /* GPIOB1 */ UNUSED(PIN(5, 7)) /* GPIO57/SER_IRQ/ESPI_ALERT_L */ |