mfd: Add Renesas RZ/G2L MTU3a core driver
authorBiju Das <biju.das.jz@bp.renesas.com>
Thu, 30 Mar 2023 11:16:28 +0000 (12:16 +0100)
committerLee Jones <lee@kernel.org>
Wed, 26 Apr 2023 10:40:34 +0000 (11:40 +0100)
commit654c293e1687b31819f9bf1ac71b5a85a8053210
tree0abce928409e1c44d7964c540f5ec76d6b576306
parent0a9d6b54297e216199cbfd08c5e6a35cce152477
mfd: Add Renesas RZ/G2L MTU3a core driver

The RZ/G2L multi-function timer pulse unit 3 (MTU3a) is embedded in
the Renesas RZ/G2L family SoCs. It consists of eight 16-bit timer
channels and one 32-bit timer channel. It supports the following
functions
 - Counter
 - Timer
 - PWM

The 8/16/32 bit registers are mixed in each channel.

Add MTU3a core driver for RZ/G2L SoC. The core driver shares the
clk and channel register access for the other child devices like
Counter, PWM and Clock event.

Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Signed-off-by: Lee Jones <lee@kernel.org>
Link: https://lore.kernel.org/r/20230330111632.169434-3-biju.das.jz@bp.renesas.com
drivers/mfd/Kconfig
drivers/mfd/Makefile
drivers/mfd/rz-mtu3.c [new file with mode: 0644]
drivers/mfd/rz-mtu3.h [new file with mode: 0644]
include/linux/mfd/rz-mtu3.h [new file with mode: 0644]