pwm: Add Renesas RZ/G2L MTU3a PWM driver
authorBiju Das <biju.das.jz@bp.renesas.com>
Fri, 2 Jun 2023 10:11:21 +0000 (11:11 +0100)
committerThierry Reding <thierry.reding@gmail.com>
Fri, 23 Jun 2023 13:46:29 +0000 (15:46 +0200)
commit254d3a727421ccc935f085eaa9bae51cb6c9df25
tree98394ddc6d7273ba404027d683107267727d32fa
parentbc13d60e4e1e945b34769a4a4c2b172e8552abe5
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>
drivers/pwm/Kconfig
drivers/pwm/Makefile
drivers/pwm/pwm-rz-mtu3.c [new file with mode: 0644]