diff options
author | Fabio Baltieri <fabiobaltieri@google.com> | 2022-03-04 12:35:28 +0000 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2022-03-08 18:11:55 +0000 |
commit | 94d91681f46b259bfb69b150d9c04fd67c462b53 (patch) | |
tree | 57e46c81f60fea129fcd2b502761a5cc9b67062c /zephyr/projects/trogdor | |
parent | b588702cb78170e1beeac6bb2d7dea3457b5684f (diff) | |
download | chrome-ec-94d91681f46b259bfb69b150d9c04fd67c462b53.tar.gz |
zephyr: shim: set generic-pwm-channel on herobrine or trogdor
Set the generic-pwm-channel label on ARM platforms so that they work
correctly with the current AP firmware. It should restore the order in
which they were declared before:
66fa9b729c zephyr: replace the ecos kblight driver for a deshimmed one
BRANCH=none
BUG=b:217741090, b:222516095
TEST=zmake testall
TEST=run on lazor
Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
Reported-by: Michał Barnaś <mb@semihalf.com>
Tested-by: Michał Barnaś <mb@semihalf.com>
Change-Id: I09ce1bf3ba1aa6617fbcd3631727a5a5d942aead
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3503648
Reviewed-by: Michał Barnaś <mb@semihalf.com>
Reviewed-by: Jeremy Bettis <jbettis@chromium.org>
Diffstat (limited to 'zephyr/projects/trogdor')
-rw-r--r-- | zephyr/projects/trogdor/lazor/display.dts | 1 | ||||
-rw-r--r-- | zephyr/projects/trogdor/lazor/keyboard.dts | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/zephyr/projects/trogdor/lazor/display.dts b/zephyr/projects/trogdor/lazor/display.dts index a341b1f109..bf510b03ee 100644 --- a/zephyr/projects/trogdor/lazor/display.dts +++ b/zephyr/projects/trogdor/lazor/display.dts @@ -8,6 +8,7 @@ compatible = "cros-ec,displight"; pwms = <&pwm5 0 PWM_POLARITY_NORMAL>; frequency = <4800>; + generic-pwm-channel = <1>; }; }; diff --git a/zephyr/projects/trogdor/lazor/keyboard.dts b/zephyr/projects/trogdor/lazor/keyboard.dts index b28e23a5d6..32218f9c56 100644 --- a/zephyr/projects/trogdor/lazor/keyboard.dts +++ b/zephyr/projects/trogdor/lazor/keyboard.dts @@ -28,6 +28,7 @@ compatible = "cros-ec,kblight-pwm"; pwms = <&pwm3 0 PWM_POLARITY_NORMAL>; frequency = <10000>; + generic-pwm-channel = <0>; }; }; |