]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
reset: th1520: Prepare for supporting multiple controllers
authorYao Zi <ziyao@disroot.org>
Tue, 14 Oct 2025 13:10:30 +0000 (13:10 +0000)
committerPhilipp Zabel <p.zabel@pengutronix.de>
Tue, 18 Nov 2025 16:52:54 +0000 (17:52 +0100)
commit0040d9eac391bacefcb0c748cf32c8fe5900b13b
tree28ecc2d94b4c5769ebdf23ebea1f099eafc39cf7
parenta35ac6f3bdb135debc8e1ff599d0009bc64dc329
reset: th1520: Prepare for supporting multiple controllers

TH1520 SoC is divided into several subsystems, shipping distinct reset
controllers with similar control logic. Let's make reset signal mapping
a data structure specific to one compatible to prepare for introduction
of more reset controllers in the future.

Signed-off-by: Yao Zi <ziyao@disroot.org>
Acked-by: Guo Ren <guoren@kernel.org>
Reviewed-by: Drew Fustini <fustini@kernel.org>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
drivers/reset/reset-th1520.c