diff options
author | Caveh Jalali <caveh@chromium.org> | 2018-05-05 00:39:56 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2018-06-01 17:44:42 -0700 |
commit | 37987e1e7d50f02ce1f664be1ba66fb40d2fe772 (patch) | |
tree | d9e4f746842ac259159fd3ba8efe51afb8e4aced /board/atlas/board.c | |
parent | 32255f2989a2087479c0a0f440290ce1efc3e4f4 (diff) | |
download | chrome-ec-37987e1e7d50f02ce1f664be1ba66fb40d2fe772.tar.gz |
atlas: board version 1 support
these changes reflect the hardware changes made between version 0 and
version 1 of the atlas board.
note: these changes are not backward compatible - version 0 of atlas
is no longer supported.
BUG=b:78309559
BRANCH=none
TEST=works fine on atlas version 1
Change-Id: Ia519f161c66066e02e9ddce7560a8fe2b7e74882
Signed-off-by: Caveh Jalali <caveh@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/1045730
Commit-Ready: Caveh Jalali <caveh@google.com>
Tested-by: Caveh Jalali <caveh@google.com>
Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
Diffstat (limited to 'board/atlas/board.c')
-rw-r--r-- | board/atlas/board.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/board/atlas/board.c b/board/atlas/board.c index b0f4e01384..2ffd4540c7 100644 --- a/board/atlas/board.c +++ b/board/atlas/board.c @@ -97,6 +97,8 @@ const struct pwm_t pwm_channels[] = { [PWM_CH_KBLIGHT] = { 3, 0, 10000 }, [PWM_CH_LED1] = { 0, PWM_CONFIG_DSLEEP, 100 }, [PWM_CH_LED2] = { 2, PWM_CONFIG_DSLEEP, 100 }, + [PWM_CH_LED3] = { 6, PWM_CONFIG_DSLEEP, 100 }, + [PWM_CH_LED4] = { 1, PWM_CONFIG_DSLEEP, 100 }, }; BUILD_ASSERT(ARRAY_SIZE(pwm_channels) == PWM_CH_COUNT); |