summaryrefslogtreecommitdiff
path: root/dts
diff options
context:
space:
mode:
authorConor Dooley <conor.dooley@microchip.com>2022-10-25 08:58:46 +0100
committerLeo Yu-Chi Liang <ycliang@andestech.com>2022-11-15 15:37:17 +0800
commit32cfdd51630506393ca078aa36fa70248d549109 (patch)
tree6875113bd82f3eeb0381ff7e26fe4b80115f924b /dts
parentfb103971feb637809a96fe739d81fe2f887cf3ac (diff)
downloadu-boot-32cfdd51630506393ca078aa36fa70248d549109.tar.gz
u-boot-32cfdd51630506393ca078aa36fa70248d549109.tar.bz2
u-boot-32cfdd51630506393ca078aa36fa70248d549109.zip
clk: microchip: mpfs: fix reference clock handling
The original devicetrees for PolarFire SoC messed up & defined the msspll's output as a fixed-frequency, 600 MHz clock & used that as the input for the clock controller node. The msspll is not a fixed frequency clock and later devicetrees handled this properly. Check the devicetree & if it is one of the fixed ones, register the msspll. Otherwise, skip registering it & pass the reference clock directly to the cfg clock registration function so that existing devicetrees are not broken by this change. As the MSS PLL is not a "cfg" or a "periph" clock, add a new driver for it, based on the one in Linux. Fixes: 2f27c9219e ("clk: Add Microchip PolarFire SoC clock driver") Signed-off-by: Conor Dooley <conor.dooley@microchip.com> Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com> Reviewed-by: Padmarao Begari <padmarao.begari@microchip.com> Tested-by: Padmarao Begari <padmarao.begari@microchip.com>
Diffstat (limited to 'dts')
0 files changed, 0 insertions, 0 deletions