From: Lucas Stach <l.stach@pengutronix.de>
To: Shawn Guo <shawn.guo@freescale.com>,
Viresh Kumar <viresh.kumar@linaro.org>
Cc: "Rafael J. Wysocki" <rjw@rjwysocki.net>,
linux-arm-kernel@lists.infradead.org, linux-pm@vger.kernel.org,
kernel@pengutronix.de
Subject: [PATCH 0/5] i.MX53 cpufreq support
Date: Fri, 19 Sep 2014 18:16:16 +0200 [thread overview]
Message-ID: <1411143381-10516-1-git-send-email-l.stach@pengutronix.de> (raw)
This series implements cpufreq support for the i.MX53 SoC
using the generic cpufreq-cpu0 driver. The design is based
on feedback I got on the last round of patches.
Basically this implements a CPU clock type that abstracts away
all the clock handling required for reprogramming the PLL
feeding the CPU, so we don't have to worry about this in the
cpufreq driver. For now this is only used on MX53, but looking
forward the same approach (and code) could be used on MX6.
The first patch allows cpufreq-cpu0 to deactivate OPPs where
the regulator isn't able to provide the required voltage. This
has been tested on custom a MX53 board.
Lucas Stach (5):
cpufreq: cpu0: disable unsupported OPPs
clk: imx5: add step clock, used when reprogramming PLL1
clk: imx: add CPU clock type
arm: imx53: clk: add ARM clock
ARM: imx53: add cpufreq support
arch/arm/boot/dts/imx53.dtsi | 13 ++++-
arch/arm/mach-imx/Makefile | 2 +-
arch/arm/mach-imx/clk-cpu.c | 104 +++++++++++++++++++++++++++++++++
arch/arm/mach-imx/clk-imx51-imx53.c | 14 ++++-
arch/arm/mach-imx/clk.h | 4 ++
arch/arm/mach-imx/mach-imx53.c | 4 ++
drivers/cpufreq/cpufreq-cpu0.c | 60 +++++++++++--------
include/dt-bindings/clock/imx5-clock.h | 5 +-
8 files changed, 179 insertions(+), 27 deletions(-)
create mode 100644 arch/arm/mach-imx/clk-cpu.c
--
2.1.0
next reply other threads:[~2014-09-19 16:16 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-19 16:16 Lucas Stach [this message]
2014-09-19 16:16 ` [PATCH 1/5] cpufreq: cpu0: disable unsupported OPPs Lucas Stach
2014-09-19 16:49 ` Viresh Kumar
2014-09-19 16:16 ` [PATCH 2/5] clk: imx5: add step clock, used when reprogramming PLL1 Lucas Stach
2014-09-19 16:16 ` [PATCH 3/5] clk: imx: add CPU clock type Lucas Stach
2014-09-26 2:59 ` Shawn Guo
2014-09-26 10:10 ` Lucas Stach
2014-09-19 16:16 ` [PATCH 4/5] arm: imx53: clk: add ARM clock Lucas Stach
2014-09-19 16:16 ` [PATCH 5/5] ARM: imx53: add cpufreq support Lucas Stach
2014-09-26 3:02 ` Shawn Guo
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=1411143381-10516-1-git-send-email-l.stach@pengutronix.de \
--to=l.stach@pengutronix.de \
--cc=kernel@pengutronix.de \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-pm@vger.kernel.org \
--cc=rjw@rjwysocki.net \
--cc=shawn.guo@freescale.com \
--cc=viresh.kumar@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;
as well as URLs for NNTP newsgroup(s).