summaryrefslogtreecommitdiff
path: root/drivers/ddr/fsl/mpc85xx_ddr_gen3.c
diff options
context:
space:
mode:
authorConor Dooley <conor.dooley@microchip.com>2024-10-23 11:17:52 +0100
committerLeo Yu-Chi Liang <ycliang@andestech.com>2024-10-29 19:58:22 +0800
commit084367be4d3134a0be46879ba2bf28b377f2c3a5 (patch)
tree1bbb5913c427e27fd40cebc7bc2a4d1bbd7d4f60 /drivers/ddr/fsl/mpc85xx_ddr_gen3.c
parent8e1acda14ea0ac08a77ea7d3d40ab7255ccbe4c5 (diff)
clk: microchip: mpfs: support new syscon based devicetree configuration
Why get a devicetree description wrong once when you can get it wrong twice? The original mistake, which the driver supports was failing to describe the main PLL that the "cfg" and "periph" clocks parented by. The second mistake was describing the "cfg" and "periph" clocks a reg region within the clock controller, rather as two registers within a syscon region that also contains pinctrl, interrupt muxing controls and other functions. Make up for lost time and describe these regions as they should have been originally, preserving support for the existing two configurations for the sake of existing systems with firmware-provided devicetrees. Signed-off-by: Conor Dooley <conor.dooley@microchip.com> Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
Diffstat (limited to 'drivers/ddr/fsl/mpc85xx_ddr_gen3.c')
0 files changed, 0 insertions, 0 deletions