clk: microchip: mpfs: split MSSPLL in two
authorConor Dooley <conor.dooley@microchip.com>
Mon, 22 Jan 2024 12:19:51 +0000 (12:19 +0000)
committerConor Dooley <conor.dooley@microchip.com>
Tue, 6 Feb 2024 14:07:18 +0000 (14:07 +0000)
commit1afa9480c997b016a20b6a292824ad1056307176
tree58d36c3abc2d97d1a4fae84013ab145d3934d632
parent8c2b1b48ad83d37a58a555c3bcf372b4ab477c64
clk: microchip: mpfs: split MSSPLL in two

The MSSPLL is really two stages - there's the PLL itself and 4 outputs,
each with their own divider. The current driver models this as a single
entity, outputting a single clock, used for both the CPU and AHB/AXI
buses. The other 3 outputs are used for the eMMC, "user crypto" and CAN
controller. Split the MSSPLL in two, as a precursor to adding support
for the other 3 outputs, with the PLL itself as one "hw" clock and the
output divider stage as another.

Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
drivers/clk/microchip/clk-mpfs.c