diff options
author | Wealian Liao <whliao@nuvoton.corp-partner.google.com> | 2021-07-06 10:59:58 +0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-07-30 17:56:00 +0000 |
commit | 5f8e59c305bd8f9497a7409a0d27e034896e4038 (patch) | |
tree | 1c69569347dc40d55eebd9c7ab66a1e78e5346f4 /zephyr/projects/npcx_evb/npcx9/zmake.yaml | |
parent | 7bf38c623e11a98c24aa28ed9cb5c08516a7853b (diff) | |
download | chrome-ec-5f8e59c305bd8f9497a7409a0d27e034896e4038.tar.gz |
zephyr: npcx_evb: Enable PWM
This CL enables 2 PWM channels for npcx7/9_evb.
BRANCH=none
BUG=none
TEST='pwmduty' console command & check the output waveform is correct.
```
uart:~$ pwmduty
PWM channels:
0: 50%
1: 25%
```
Signed-off-by: Wealian Liao <whliao@nuvoton.corp-partner.google.com>
Change-Id: I6fa5d3b7fd3bf1f9d1fdb3f64ca3488ad3addacc
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3063104
Reviewed-by: Keith Short <keithshort@chromium.org>
Commit-Queue: Keith Short <keithshort@chromium.org>
Diffstat (limited to 'zephyr/projects/npcx_evb/npcx9/zmake.yaml')
-rw-r--r-- | zephyr/projects/npcx_evb/npcx9/zmake.yaml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/zephyr/projects/npcx_evb/npcx9/zmake.yaml b/zephyr/projects/npcx_evb/npcx9/zmake.yaml index 5aaa630542..29443aba14 100644 --- a/zephyr/projects/npcx_evb/npcx9/zmake.yaml +++ b/zephyr/projects/npcx_evb/npcx9/zmake.yaml @@ -5,6 +5,7 @@ board: npcx9_evb dts-overlays: - gpio.dts + - pwm.dts supported-zephyr-versions: - v2.6 toolchain: coreboot-sdk |