diff options
author | Zick Wei <zick.wei@quanta.corp-partner.google.com> | 2020-02-04 14:19:40 +0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-02-11 19:47:47 +0000 |
commit | 6ba747b88f10499dd558e1b606895cf82ed7ba3d (patch) | |
tree | 0b62c71779b03a1a8ea744d539d649c395b472f7 /board/trembyle/board.h | |
parent | 9473c61ff528ce45bda479027f5011297faaa5da (diff) | |
download | chrome-ec-6ba747b88f10499dd558e1b606895cf82ed7ba3d.tar.gz |
morphius: add PWM CH0 for LED control
This patch add PWM channel 0 for LED control.
BUG=none
BRANCH=none
TEST=make buildall
Signed-off-by: Zick Wei <zick.wei@quanta.corp-partner.google.com>
Change-Id: I513856dd7c223b5ee1f6f12fa9a1846f5f616e01
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2035440
Reviewed-by: Denis Brockus <dbrockus@chromium.org>
Commit-Queue: Denis Brockus <dbrockus@chromium.org>
Diffstat (limited to 'board/trembyle/board.h')
-rw-r--r-- | board/trembyle/board.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/board/trembyle/board.h b/board/trembyle/board.h index 45e1437390..884b2461df 100644 --- a/board/trembyle/board.h +++ b/board/trembyle/board.h @@ -64,6 +64,18 @@ enum battery_type { BATTERY_TYPE_COUNT, }; +enum mft_channel { + MFT_CH_0 = 0, + /* Number of MFT channels */ + MFT_CH_COUNT, +}; + +enum pwm_channel { + PWM_CH_KBLIGHT = 0, + PWM_CH_FAN, + PWM_CH_COUNT +}; + #endif /* !__ASSEMBLER__ */ |