diff options
author | Jett Rink <jettrink@chromium.org> | 2018-05-08 14:14:32 -0600 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2018-05-23 12:50:54 -0700 |
commit | 36d59f752fb7526bcfac74c567593c05c97b6f10 (patch) | |
tree | cadced96074eb23ba4c7063fed2d5821532e7a42 /board/bip | |
parent | 535c0bf4fa8b1c44b96f1163d163b20cebdd0a92 (diff) | |
download | chrome-ec-36d59f752fb7526bcfac74c567593c05c97b6f10.tar.gz |
yorp: add keyboard backlight control
Enable PWM control of backlight in EC for yorp and phaser. Proto build
of bip will not have backlight control in EC.
BRANCH=none
BUG=b:79422226
TEST=none (no hardware to test with)
Change-Id: Ib6ed4af4de3145b112ed43b4ca1ec9f931f3875f
Signed-off-by: Jett Rink <jettrink@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/1050785
Reviewed-by: Justin TerAvest <teravest@chromium.org>
Diffstat (limited to 'board/bip')
-rw-r--r-- | board/bip/board.h | 4 | ||||
-rw-r--r-- | board/bip/gpio.inc | 3 |
2 files changed, 7 insertions, 0 deletions
diff --git a/board/bip/board.h b/board/bip/board.h index 6db1145b3a..cf033b26bd 100644 --- a/board/bip/board.h +++ b/board/bip/board.h @@ -16,6 +16,10 @@ /* Optional features */ #define CONFIG_SYSTEM_UNLOCKED /* Allow dangerous commands while in dev. */ +/* Hardware for proto bip does not support ec keyboard backlight control. */ +#undef CONFIG_PWM +#undef CONFIG_PWM_KBLIGHT + #ifndef __ASSEMBLER__ #include "gpio_signal.h" diff --git a/board/bip/gpio.inc b/board/bip/gpio.inc index 7e66e23afc..9b984eb480 100644 --- a/board/bip/gpio.inc +++ b/board/bip/gpio.inc @@ -97,6 +97,9 @@ GPIO(USB_C1_BC12_VBUS_ON, PIN(J, 5), GPIO_OUT_LOW) /* C1 BC1.2 Power */ GPIO(USB_C1_PD_RST_ODL, PIN(L, 7), GPIO_ODR_HIGH) /* C1 PD Reset */ GPIO(USB2_OTG_ID, PIN(I, 2), GPIO_OUT_LOW) /* OTG ID */ +/* Not implemented in hardware yet */ +UNIMPLEMENTED(KB_BL_PWR_EN) + /* Alternate functions GPIO definitions */ /* Cr50 requires no pull-ups on UART pins. */ ALTERNATE(PIN_MASK(B, 0x03), 0, MODULE_UART, 0) /* UART from EC to Servo */ |