From: Alex Elder <elder@linaro.org>
To: mturquette@linaro.org, mporter@linaro.org, bcm@fixthebug.org
Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org
Subject: [PATCH v3 0/5] clk: bcm: prerequisite and bus clock support
Date: Thu, 29 May 2014 09:05:56 -0500 [thread overview]
Message-ID: <1401372361-18842-1-git-send-email-elder@linaro.org> (raw)
Currently only peripheral clocks are supported for Broadcom platforms
that use Kona style CCUs for clocking. This series adds support for
bus clocks as well.
One motivation for doing this is that there exist peripheral clocks
that cannot be configured without having first initialized a related
bus clock. Adding bus clock support allows such peripheral clocks
to be usable.
This also imposes a new requirement, however--that the bus clock
be initialized *before* the clock that depends on it. For this,
we define the notion of a "prerequisite" clock. If a clock has a
prerequisite specified, that prequisite clock will be initialized
first. For now this only affects startup-time initialization.
These patches are based on Mike Turquette's current "clk-next"
branch.
4c8f806 Merge branch 'clk-fixes' into clk-next
They are available here:
http://git.linaro.org/landing-teams/working/broadcom/kernel.git
Branch review/bcm-bus-clk-v3
-Alex
Version history:
v3: - Deleted unused clk_lookup field from struct kona_clk
- Now use term "initialized" rather than "enabled"
v2: - Added field "p" to the previously unnamed prereq union.
Alex Elder (5):
clk: bcm281xx: add an initialized flag
clk: bcm281xx: implement prerequisite clocks
clk: bcm281xx: add bus clock support
clk: bcm281xx: define a bus clock
ARM: dts: add bus clock bsc3_apb for bcm281xx
arch/arm/boot/dts/bcm11351.dtsi | 3 +-
drivers/clk/bcm/clk-bcm281xx.c | 13 +++-
drivers/clk/bcm/clk-kona-setup.c | 96 +++++++++++++++++++++++++++-
drivers/clk/bcm/clk-kona.c | 120 ++++++++++++++++++++++++++++++++++-
drivers/clk/bcm/clk-kona.h | 34 +++++++++-
include/dt-bindings/clock/bcm281xx.h | 3 +-
6 files changed, 258 insertions(+), 11 deletions(-)
--
1.9.1
next reply other threads:[~2014-05-29 14:06 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-29 14:05 Alex Elder [this message]
2014-05-29 14:05 ` [PATCH v3 1/5] clk: bcm281xx: add an initialized flag Alex Elder
2014-05-29 14:05 ` [PATCH v3 2/5] clk: bcm281xx: implement prerequisite clocks Alex Elder
2014-05-29 14:05 ` [PATCH v3 3/5] clk: bcm281xx: add bus clock support Alex Elder
2014-05-29 14:06 ` [PATCH v3 4/5] clk: bcm281xx: define a bus clock Alex Elder
2014-05-29 14:06 ` [PATCH v3 5/5] ARM: dts: add bus clock bsc3_apb for bcm281xx Alex Elder
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=1401372361-18842-1-git-send-email-elder@linaro.org \
--to=elder@linaro.org \
--cc=bcm@fixthebug.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mporter@linaro.org \
--cc=mturquette@linaro.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
all inboxes | Powered by JetHome®