]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
rtc: renesas-rtca3: Add support for multiple reset lines
authorOvidiu Panait <ovidiu.panait.rb@renesas.com>
Fri, 7 Nov 2025 21:07:04 +0000 (21:07 +0000)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Mon, 8 Dec 2025 21:28:17 +0000 (22:28 +0100)
commit6ada8e24238dd57b38faca503b09757e17819b05
treec08140f19f6b7859cb10870eab8c7cab65a93fc0
parent4800046b56a5b240ab280f55165484a9dbdf7092
rtc: renesas-rtca3: Add support for multiple reset lines

Switch from devm_reset_control_get_shared() to
devm_reset_control_array_get_shared() when retrieving resets.

The RZ/V2H SoC requires two resets for the RTC block instead of one,
so this will allow to handle multiple resets without additional changes.

Signed-off-by: Ovidiu Panait <ovidiu.panait.rb@renesas.com>
Reviewed-by: Claudiu Beznea <claudiu.beznea.uj@bp.renesas.com>
Link: https://patch.msgid.link/20251107210706.45044-3-ovidiu.panait.rb@renesas.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-renesas-rtca3.c