Skip to content

Commit 5638159

Browse files
alexandrebelloniarndb
authored andcommitted
ARM: dts: lpc32xx: Revert set default clock rate of HCLK PLL
This reverts commit c17e937. The lpc32xx clock driver is not able to actually change the PLL rate as this would require reparenting ARM_CLK, DDRAM_CLK, PERIPH_CLK to SYSCLK, then stop the PLL, update the register, restart the PLL and wait for the PLL to lock and finally reparent ARM_CLK, DDRAM_CLK, PERIPH_CLK to HCLK PLL. Currently, the HCLK driver simply updates the registers but this has no real effect and all the clock rate calculation end up being wrong. This is especially annoying for the peripheral (e.g. UARTs, I2C, SPI). Signed-off-by: Alexandre Belloni <[email protected]> Tested-by: Gregory CLEMENT <[email protected]> Link: https://lore.kernel.org/r/[email protected]' Signed-off-by: Arnd Bergmann <[email protected]>
1 parent 62c3157 commit 5638159

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

arch/arm/boot/dts/lpc32xx.dtsi

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -326,9 +326,6 @@
326326

327327
clocks = <&xtal_32k>, <&xtal>;
328328
clock-names = "xtal_32k", "xtal";
329-
330-
assigned-clocks = <&clk LPC32XX_CLK_HCLK_PLL>;
331-
assigned-clock-rates = <208000000>;
332329
};
333330
};
334331

0 commit comments

Comments
 (0)