diff options
author | Fabio Baltieri <fabiobaltieri@google.com> | 2022-11-16 16:51:21 +0000 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2022-11-21 19:27:00 +0000 |
commit | 193457f17af848b0c3232967f6af4a019c77908b (patch) | |
tree | b940b6421317bc44e57dd69ef883e5e2fb21b16a /zephyr/Kconfig.keyboard | |
parent | 87f7a365391dbe2c23e23ff7f06000d9944daa99 (diff) | |
download | chrome-ec-193457f17af848b0c3232967f6af4a019c77908b.tar.gz |
zephyr: config: select PWM automatically
Add the missing dependency to the PWM subsystem for the drivers that
depends on PWM. This is done using the select Kconfig directive, so that
the subsystem gets enabled explicitly as soon as the first of these gets
defined in the devicetree.
Drop a bunch of now unnecessary CONFIG_PWM=y settings.
BRANCH=none
BUG=none
TEST=cq dry run
Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
Change-Id: I55a78d6324f753fe5fe13a0b81b5e129626621af
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/4031191
Reviewed-by: Aaron Massey <aaronmassey@google.com>
Code-Coverage: Zoss <zoss-cl-coverage@prod.google.com>
Diffstat (limited to 'zephyr/Kconfig.keyboard')
-rw-r--r-- | zephyr/Kconfig.keyboard | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/zephyr/Kconfig.keyboard b/zephyr/Kconfig.keyboard index 400f295418..c425d7af0d 100644 --- a/zephyr/Kconfig.keyboard +++ b/zephyr/Kconfig.keyboard @@ -217,6 +217,7 @@ config PLATFORM_EC_PWM_KBLIGHT bool "PWM keyboard backlight" default y depends on DT_HAS_CROS_EC_KBLIGHT_PWM_ENABLED + select PWM select PLATFORM_EC_PWM_HC help Enables a PWM-controlled keyboard backlight controlled by a PWM signal |