arm: airoha: introduce EN7523 helpers to get SCU and CHIP_SCU regmaps
authorMikhail Kshevetskiy <mikhail.kshevetskiy@iopsys.eu>
Sat, 1 Nov 2025 00:44:48 +0000 (03:44 +0300)
committerTom Rini <trini@konsulko.com>
Fri, 7 Nov 2025 22:00:58 +0000 (16:00 -0600)
commit8e21740b68d06f71b4f9fb13b908a8828c5c7e2d
tree32069034364493fb02367f5c8ff834b63e871640
parent9aa3e440c6e64b9af6a8e679d08686b9e816eecf
arm: airoha: introduce EN7523 helpers to get SCU and CHIP_SCU regmaps

We need access SCU and CHIP_SCU regmaps in several places (clk-airoha,
reset-airoha, airoha_eth). Unfortunately these regmaps can't be easily
retrieved with a common code, because of different Airoha SoCs uses
a different dts structure.

To make life easy we can write a commonly named SoC specific helpers
for these tasks. This patch implements helpers for Airoha EN7523 SoC.

Signed-off-by: Mikhail Kshevetskiy <mikhail.kshevetskiy@iopsys.eu>
arch/arm/include/asm/arch-en7523 [new symlink]
arch/arm/mach-airoha/en7523/Makefile
arch/arm/mach-airoha/en7523/scu-regmap.c [new file with mode: 0644]