mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-03 13:31:57 +00:00
The TPM (Timer/PWM Module) is a 2- to 8-channel timer which supports input capture, output compare, and the generation of PWM signals to control electric motor and power management applications. This patch adds the driver and the binding necessary for instantiating the driver. The work is based on the RV32M1 driver for TPM done by Henrik Brix Andersen. A later patch will enable this driver to be used for the KW41Z SoC, if PWM support is requested. Signed-off-by: Alex Porosanu <alexandru.porosanu@nxp.com>
54 lines
973 B
Plaintext
54 lines
973 B
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"
|
|
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"
|
|
|
|
endif # PWM
|