]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
soc: renesas: r9a09g056-sys: Populate max_register
authorClaudiu Beznea <claudiu.beznea.uj@bp.renesas.com>
Wed, 5 Nov 2025 07:05:25 +0000 (09:05 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 18 Dec 2025 13:02:59 +0000 (14:02 +0100)
[ Upstream commit 4ff787433ba6d564b00334b4bfd6350f5b6f4bb3 ]

Populate max_register to avoid external aborts.

Fixes: 2da2740fb9c8 ("soc: renesas: rz-sysc: Add syscon/regmap support")
Signed-off-by: Claudiu Beznea <claudiu.beznea.uj@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://patch.msgid.link/20251105070526.264445-2-claudiu.beznea.uj@bp.renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/soc/renesas/r9a09g056-sys.c

index 3ad1422eba36e69848ad8a82623bdcbfc8c29e06..16b4e433c3373903dca040f291f1cad0634ae3ab 100644 (file)
@@ -72,4 +72,5 @@ static const struct rz_sysc_soc_id_init_data rzv2n_sys_soc_id_init_data __initco
 
 const struct rz_sysc_init_data rzv2n_sys_init_data = {
        .soc_id_init_data = &rzv2n_sys_soc_id_init_data,
+       .max_register = 0x170c,
 };