From: kernel@martin.sperl.org (kernel at martin.sperl.org)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 0/2] ARM: bcm2835: probe clock and sdram driver early
Date: Fri, 20 May 2016 07:23:15 +0000 [thread overview]
Message-ID: <1463728997-8241-1-git-send-email-kernel@martin.sperl.org> (raw)
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
next reply other threads:[~2016-05-20 7:23 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-20 7:23 kernel at martin.sperl.org [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1463728997-8241-1-git-send-email-kernel@martin.sperl.org \
--to=kernel@martin.sperl.org \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).