clock, reset: microchip: move all mpfs reset code to the reset subsystem
authorConor Dooley <conor.dooley@microchip.com>
Wed, 24 Apr 2024 08:42:08 +0000 (09:42 +0100)
committerStephen Boyd <sboyd@kernel.org>
Tue, 7 May 2024 21:57:46 +0000 (14:57 -0700)
commit098c290a490d0121e209617097ea563e5e607066
tree29f47b641e2f7df49f1107dfb589eb583a5b159a
parent4cece764965020c22cff7665b18a012006359095
clock, reset: microchip: move all mpfs reset code to the reset subsystem

Stephen and Philipp, while reviewing patches, said that all of the aux
device creation and the register read/write code could be moved to the
reset subsystem, leaving the clock driver with no implementations of
reset_* functions at all. Move them.

Suggested-by: Philipp Zabel <p.zabel@pengutronix.de>
Suggested-by: Stephen Boyd <sboyd@kernel.org>
Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://lore.kernel.org/r/20240424-strangle-sharpener-34755c5e6e3e@spud
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/microchip/clk-mpfs.c
drivers/reset/reset-mpfs.c
include/soc/microchip/mpfs.h