diff options
author | David Huang <david.huang@quanta.corp-partner.google.com> | 2020-11-13 11:28:57 +0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-11-18 18:36:11 +0000 |
commit | f3c9a58c8c98db5617d632c57deab28d9fc39e76 (patch) | |
tree | 3afeb07aebe1a6f32fd86ef16a1e10a7603beaa7 /board/voema/board.h | |
parent | 3d684ba979049b1e0020d1eadcf095865559ccff (diff) | |
download | chrome-ec-f3c9a58c8c98db5617d632c57deab28d9fc39e76.tar.gz |
voema: Modify LED control to gpio
Change LED control from pwm to gpio.
BUG=none
BRANCH=master
TEST=Check LED status in each state.
Signed-off-by: David Huang <david.huang@quanta.corp-partner.google.com>
Change-Id: Ic638b23dc0cd0eff0b8d252836f83b76503b192b
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2537525
Reviewed-by: Keith Short <keithshort@chromium.org>
Commit-Queue: Keith Short <keithshort@chromium.org>
Diffstat (limited to 'board/voema/board.h')
-rw-r--r-- | board/voema/board.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/board/voema/board.h b/board/voema/board.h index 93034565d8..e57217d07d 100644 --- a/board/voema/board.h +++ b/board/voema/board.h @@ -25,9 +25,7 @@ #define CONFIG_POWER_PP5000_CONTROL /* LED defines */ -#define CONFIG_LED_PWM -/* Although there are 2 LEDs, they are both controlled by the same lines. */ -#define CONFIG_LED_PWM_COUNT 1 +#define CONFIG_LED_ONOFF_STATES /* Keyboard features */ @@ -162,10 +160,6 @@ enum battery_type { }; enum pwm_channel { - PWM_CH_LED1_BLUE = 0, - PWM_CH_LED2_GREEN, - PWM_CH_LED3_RED, - PWM_CH_LED4_SIDESEL, PWM_CH_FAN, PWM_CH_KBLIGHT, PWM_CH_COUNT |