From: sboyd@codeaurora.org (Stephen Boyd)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 0/2] msm: dummy no-op clock support
Date: Thu, 24 Mar 2011 16:34:44 -0700 [thread overview]
Message-ID: <1301009686-4042-1-git-send-email-sboyd@codeaurora.org> (raw)
This patchset adds support for dummy no-op clocks. Some older MSM
targets combined the AHB clock (what we call pclk) with the core clk
and newer targets split the clocks out. Since we don't want to clutter
drivers with ifdefs or add checks for IS_ERR clocks add support for a
dummy clock. This simplifies drivers because they can always assume a
clock is present and error out if it isn't.
On top of this, add dummy clocks for 8960 to ease driver development.
Stephen Boyd (2):
msm: clock: Support dummy clocks
msm: 8960: Add dummy clocks for 8960
arch/arm/mach-msm/Makefile | 1 +
arch/arm/mach-msm/board-msm8960.c | 7 ++
arch/arm/mach-msm/clock-dummy.c | 81 ++++++++++++++++++
arch/arm/mach-msm/clock.h | 11 +++
arch/arm/mach-msm/devices-msm8960.c | 160 +++++++++++++++++++++++++++++++++++
arch/arm/mach-msm/devices.h | 3 +
6 files changed, 263 insertions(+), 0 deletions(-)
create mode 100644 arch/arm/mach-msm/clock-dummy.c
--
Sent by an employee of the Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.
next reply other threads:[~2011-03-24 23:34 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-24 23:34 Stephen Boyd [this message]
2011-03-24 23:34 ` [PATCH 1/2] msm: clock: Support dummy clocks Stephen Boyd
2011-03-28 18:48 ` David Brown
2011-03-24 23:34 ` [PATCH 2/2] msm: 8960: Add dummy clocks for 8960 Stephen Boyd
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=1301009686-4042-1-git-send-email-sboyd@codeaurora.org \
--to=sboyd@codeaurora.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).