zephyr/drivers/pwm/Kconfig
Mulin Chao dd99fbebe6 drivers: pwm: add pwm driver support in NPCX7 series
In npcx7 series, there're 8 Pulse Width Modulator (PWM) modules and each
one support generating a single 16-bit PWM output. A 16-bit clock
prescaler (PRSCn) and a 16-bit counter (CTRn) determine the cycle time,
the minimal possible pulse width, and the duty-cycle steps.

Beside introducing pwm driver for Nuvoton NPCX series, this CL also
includes:

1. Add PWM device tree declarations.
2. Zephyr PWM api implementation.
3. Add aliases in npcx7m6fb_evb board device tree file for supporting
   samples/basic/blinky_pwm application and pwm test suites

Signed-off-by: Mulin Chao <MLChao@nuvoton.com>
2020-10-06 18:16:02 -05:00

59 lines
1.0 KiB
Plaintext

# PWM configuration options
# Copyright (c) 2015 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
menuconfig PWM
bool "PWM (Pulse Width Modulation) Drivers"
help
Enable config options for PWM drivers.
if PWM
module = PWM
module-str = pwm
source "subsys/logging/Kconfig.template.log_config"
config PWM_SHELL
bool "Enable PWM shell"
default y
depends on SHELL
help
Enable the PWM related shell commands.
source "drivers/pwm/Kconfig.pca9685"
source "drivers/pwm/Kconfig.dw"
source "drivers/pwm/Kconfig.stm32"
source "drivers/pwm/Kconfig.sifive"
source "drivers/pwm/Kconfig.nrf5_sw"
source "drivers/pwm/Kconfig.nrfx"
source "drivers/pwm/Kconfig.mcux_ftm"
source "drivers/pwm/Kconfig.imx"
source "drivers/pwm/Kconfig.esp32"
source "drivers/pwm/Kconfig.sam"
source "drivers/pwm/Kconfig.mcux"
source "drivers/pwm/Kconfig.xec"
source "drivers/pwm/Kconfig.litex"
source "drivers/pwm/Kconfig.rv32m1_tpm"
source "drivers/pwm/Kconfig.mcux_tpm"
source "drivers/pwm/Kconfig.sam0"
source "drivers/pwm/Kconfig.npcx"
endif # PWM