diff options
author | Biju Das <biju.das.jz@bp.renesas.com> | 2023-06-02 11:11:21 +0100 |
---|---|---|
committer | Thierry Reding <thierry.reding@gmail.com> | 2023-06-23 15:46:29 +0200 |
commit | 254d3a727421ccc935f085eaa9bae51cb6c9df25 (patch) | |
tree | 98394ddc6d7273ba404027d683107267727d32fa /drivers/pwm/Kconfig | |
parent | bc13d60e4e1e945b34769a4a4c2b172e8552abe5 (diff) |
pwm: Add Renesas RZ/G2L MTU3a PWM driver
The RZ/G2L Multi-Function Timer Pulse Unit 3 (a.k.a MTU3a) uses
one counter and two match components to configure duty_cycle
and period to generate PWM output waveform.
Add basic support for RZ/G2L MTU3a PWM driver by creating separate
PWM channels for each IOs.
Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Reviewed-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to 'drivers/pwm/Kconfig')
-rw-r--r-- | drivers/pwm/Kconfig | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/pwm/Kconfig b/drivers/pwm/Kconfig index 41cdafbc17a8..6210babb0741 100644 --- a/drivers/pwm/Kconfig +++ b/drivers/pwm/Kconfig @@ -503,6 +503,17 @@ config PWM_ROCKCHIP Generic PWM framework driver for the PWM controller found on Rockchip SoCs. +config PWM_RZ_MTU3 + tristate "Renesas RZ/G2L MTU3a PWM Timer support" + depends on RZ_MTU3 || COMPILE_TEST + depends on HAS_IOMEM + help + This driver exposes the MTU3a PWM Timer controller found in Renesas + RZ/G2L like chips through the PWM API. + + To compile this driver as a module, choose M here: the module + will be called pwm-rz-mtu3. + config PWM_SAMSUNG tristate "Samsung PWM support" depends on PLAT_SAMSUNG || ARCH_S5PV210 || ARCH_EXYNOS || COMPILE_TEST |