All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] ARM: bcm2835: probe clock and sdram driver early
@ 2016-05-20  7:23 ` kernel at martin.sperl.org
  0 siblings, 0 replies; 6+ messages in thread
From: kernel @ 2016-05-20  7:23 UTC (permalink / raw)
  To: Michael Turquette, Stephen Boyd, Stephen Warren, Lee Jones,
	Eric Anholt, linux-clk, linux-rpi-kernel, linux-arm-kernel
  Cc: Martin Sperl

From: Martin Sperl <kernel@martin.sperl.org>

Probe the clock and sdram driver early during the boot process.
This is done to minimize the risk that the PLLD_CORE0 or PLLD
clocks get disabled by another driver.

Such a situation results in the SDRAM stopping to work, which
we can trigger easily with current kernels when there are only a
few clocks enabled.

Right now both drivers are registered with core_initcall.
I am unsure if there is any link-ordering that could
impact us - if such is the case we will need to move the
priorities of one of the drivers slightly. Recommendations?

Note that this patchset requires the sdram memory driver patch
to be applied first.

Martin Sperl (2):
  clk: bcm2835: register clocks early
  memory: bcm2835: enable driver early in the boot process

 drivers/clk/bcm/clk-bcm2835.c  | 18 +++++++++++++++---
 drivers/memory/bcm2835-sdram.c | 10 +++++++++-
 2 files changed, 24 insertions(+), 4 deletions(-)

--
2.1.4

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2016-05-20  7:23 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-05-20  7:23 [PATCH 0/2] ARM: bcm2835: probe clock and sdram driver early kernel
2016-05-20  7:23 ` kernel at martin.sperl.org
2016-05-20  7:23 ` [PATCH 1/2] clk: bcm2835: register clocks early kernel
2016-05-20  7:23   ` kernel at martin.sperl.org
2016-05-20  7:23 ` [PATCH 2/2] memory: bcm2835: enable driver early in the boot process kernel
2016-05-20  7:23   ` kernel at martin.sperl.org

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.