diff options
author | Sue Chen <sue.chen@quanta.corp-partner.google.com> | 2021-05-19 11:23:16 +0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-05-20 13:18:49 +0000 |
commit | 1dfa395b6617be354a2a2161758bcf20ff87033a (patch) | |
tree | 8afb0cd2cc7bb6d00f7672cda9caa0f78d216473 | |
parent | 2a2b10cfc9c22737f4c02fa976caef3c40317847 (diff) | |
download | chrome-ec-1dfa395b6617be354a2a2161758bcf20ff87033a.tar.gz |
Genesis: LED PWM channels' IO type change to push-pull
Remove open-drain flags in led pwm ch.0 and ch.2
BUG=b:188740216
BRANCH=puff
TEST=none
Signed-off-by: Sue Chen <sue.chen@quanta.corp-partner.google.com>
Change-Id: I6bd0df05f683fe841f1cb96b8a46793d93ec57f3
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2905159
Reviewed-by: Joe Tessler <jrt@chromium.org>
Commit-Queue: Joe Tessler <jrt@chromium.org>
-rw-r--r-- | board/genesis/board.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/board/genesis/board.c b/board/genesis/board.c index 0299cb9b77..7f6452e051 100644 --- a/board/genesis/board.c +++ b/board/genesis/board.c @@ -128,12 +128,10 @@ const struct pwm_t pwm_channels[] = { .flags = PWM_CONFIG_OPEN_DRAIN, .freq = 25000}, [PWM_CH_LED_RED] = { .channel = 0, - .flags = PWM_CONFIG_OPEN_DRAIN | - PWM_CONFIG_DSLEEP, + .flags = PWM_CONFIG_DSLEEP, .freq = 2000 }, [PWM_CH_LED_WHITE] = { .channel = 2, - .flags = PWM_CONFIG_OPEN_DRAIN | - PWM_CONFIG_DSLEEP, + .flags = PWM_CONFIG_DSLEEP, .freq = 2000 }, }; |