arm: airoha: introduce AN7581 helpers to get SCU and CHIP_SCU regmaps
authorMikhail Kshevetskiy <mikhail.kshevetskiy@iopsys.eu>
Sat, 1 Nov 2025 00:44:47 +0000 (03:44 +0300)
committerTom Rini <trini@konsulko.com>
Fri, 7 Nov 2025 22:00:58 +0000 (16:00 -0600)
commit9aa3e440c6e64b9af6a8e679d08686b9e816eecf
tree6cd40e52c11de4df6bbea6ed76f5a1492b6b1085
parent97aa00e0211d1d0b387e69e4a568ec2ceec7815f
arm: airoha: introduce AN7581 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 AN7581 SoC.

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