linux/arch/mips/ralink
Shiji Yang fd99ac5055 mips: ralink: introduce commonly used remap node function
The ralink_of_remap() function is repeated several times on SoC specific
source files. They have the same structure, but just differ in compatible
strings. In order to make commonly use of these codes, this patch
introduces a newly designed mtmips_of_remap_node() function to match and
remap all supported system controller and memory controller nodes.

Build and run tested on MT7620 and MT7628.

Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
Reviewed-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
2023-06-21 14:54:50 +02:00
..
bootrom.c mips: ralink: convert to DEFINE_SHOW_ATTRIBUTE 2022-09-19 16:40:39 +02:00
cevt-rt3352.c MIPS: Replace setup_irq() by request_irq() 2020-03-05 16:47:35 +01:00
clk.c mips: ralink: get cpu rate from new driver code 2023-06-21 14:50:23 +02:00
common.h mips: ralink: introduce commonly used remap node function 2023-06-21 14:54:50 +02:00
early_printk.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
ill_acc.c mips: ralink: fix a refcount leak in ill_acc_of_setup() 2022-03-01 17:25:42 +01:00
irq-gic.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
irq.c mips: Bulk conversion to generic_handle_domain_irq() 2021-08-12 11:39:40 +01:00
Kconfig mips: ralink: mt7620: introduce 'soc_device' initialization 2023-03-14 17:13:51 +01:00
Makefile treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
mt7620.c mips: ralink: introduce commonly used remap node function 2023-06-21 14:54:50 +02:00
mt7621.c mips: ralink: introduce commonly used remap node function 2023-06-21 14:54:50 +02:00
of.c mips: ralink: introduce commonly used remap node function 2023-06-21 14:54:50 +02:00
Platform MIPS: ralink: Don't include objects twice 2020-05-15 09:10:07 +02:00
prom.c pinctrl: ralink: move ralink architecture pinmux header into the driver 2021-06-07 09:17:47 +02:00
reset.c mips: ralink: remove reset related code 2023-06-21 14:50:23 +02:00
rt288x.c mips: ralink: introduce commonly used remap node function 2023-06-21 14:54:50 +02:00
rt305x.c mips: ralink: introduce commonly used remap node function 2023-06-21 14:54:50 +02:00
rt3883.c mips: ralink: introduce commonly used remap node function 2023-06-21 14:54:50 +02:00
timer-gic.c MIPS: ralink: Replace <linux/clk-provider.h> by <linux/of_clk.h> 2020-02-19 10:37:58 -08:00
timer.c MIPS: ralink: Use devm_platform_get_and_ioremap_resource() 2023-02-09 13:05:17 +01:00