885087b328
Update pwm drivers to use DT_HAS_<compat>_ENABLED Kconfig symbol to expose the driver and enable it by default based on devicetree. We remove 'depend on' Kconfig for symbols that would be implied by the devicetree node existing. Signed-off-by: Kumar Gala <galak@kernel.org>
14 lines
434 B
Plaintext
14 lines
434 B
Plaintext
# IT8XXX2 PWM configuration options
|
|
|
|
# Copyright (c) 2021 ITE Corporation. All Rights Reserved.
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
config PWM_ITE_IT8XXX2
|
|
bool "ITE IT8XXX2 embedded controller (EC) PWM driver"
|
|
default y
|
|
depends on DT_HAS_ITE_IT8XXX2_PWM_ENABLED
|
|
help
|
|
Enable PWM driver for it8xxx2_evb.
|
|
Supports three 16-bit prescalers each with 8-bit cycle timer, and
|
|
eight PWM channels each with 8-bit duty cycle.
|