linux-arm-kernel.lists.infradead.org archive mirror
 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
  2016-05-20  7:23 ` [PATCH 1/2] clk: bcm2835: register clocks early kernel at martin.sperl.org
  2016-05-20  7:23 ` [PATCH 2/2] memory: bcm2835: enable driver early in the boot process kernel at martin.sperl.org
  0 siblings, 2 replies; 3+ messages in thread
From: kernel at martin.sperl.org @ 2016-05-20  7:23 UTC (permalink / raw)
  To: linux-arm-kernel

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] 3+ messages in thread

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

Thread overview: 3+ 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 at martin.sperl.org
2016-05-20  7:23 ` [PATCH 1/2] clk: bcm2835: register clocks early kernel at martin.sperl.org
2016-05-20  7:23 ` [PATCH 2/2] memory: bcm2835: enable driver early in the boot process kernel at martin.sperl.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).