serial: clk: bcm2835: Strange effects when using aux-uart in console
From: Martin Sperl <hidden>
Date: 2016-02-12 11:56:05
Also in:
linux-clk, linux-serial
From: Martin Sperl <hidden>
Date: 2016-02-12 11:56:05
Also in:
linux-clk, linux-serial
On 11.02.2016, at 18:55, Stefan Wahren [off-list ref] wrote: I think the reason for this behavior can be found in the uart-pl011 driver which plays with the clocks.
I will look into the why and share what I find...
According to the clock tree "plld" seems to be critical and shouldn't be disabled?
Then we may need to avoid this - but as far as I can tell the amba-pl011 driver only disables the clock in error cases (or when shutting down). Maybe we just need to disable the shutdown of the plld?
quoted
Is this maybe related to the uart0_pclk, uart1_pclk, apb_pclk clocks created and registered in bcm2835_init_clocks?Related or not i think we should get the rid off them.
A quick test shows that an empty bcm2835_init_clocks does not change the basic kernel-boot behavior and everything seems to work. So we probably should remove it in: * arch/arm/mach-bcm/board_bcm2835.c (call) * drivers/clk/bcm/clk-bcm2835.c (function definition) Martin