From: s.hauer@pengutronix.de (Sascha Hauer)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCHv3 1/3] ARM: mx51: Add entry for gpc_dvfs_clk
Date: Thu, 17 Mar 2011 09:00:31 +0100 [thread overview]
Message-ID: <20110317080031.GR29521@pengutronix.de> (raw)
In-Reply-To: <1300305787-7970-1-git-send-email-Dinh.Nguyen@freescale.com>
On Wed, Mar 16, 2011 at 03:03:05PM -0500, Dinh.Nguyen at freescale.com wrote:
> From: Dinh Nguyen <Dinh.Nguyen@freescale.com>
>
> For MX51 SRPG, we need to turn on the GPC clock in order to set the
> SRPG registers.
>
> Signed-off-by: Dinh Nguyen <Dinh.Nguyen@freescale.com>
> ---
> arch/arm/mach-mx5/clock-mx51-mx53.c | 8 ++++++++
> 1 files changed, 8 insertions(+), 0 deletions(-)
>
> diff --git a/arch/arm/mach-mx5/clock-mx51-mx53.c b/arch/arm/mach-mx5/clock-mx51-mx53.c
> index 652ace4..18492fa 100644
> --- a/arch/arm/mach-mx5/clock-mx51-mx53.c
> +++ b/arch/arm/mach-mx5/clock-mx51-mx53.c
> @@ -865,6 +865,13 @@ static struct clk aips_tz2_clk = {
> .disable = _clk_ccgr_disable_inwait,
> };
>
> +static struct clk gpc_dvfs_clk = {
> + .enable_reg = MXC_CCM_CCGR5,
> + .enable_shift = MXC_CCM_CCGRx_CG12_OFFSET,
> + .enable = _clk_ccgr_enable,
> + .disable = _clk_ccgr_disable,
> +};
> +
> static struct clk gpt_32k_clk = {
> .id = 0,
> .parent = &ckil_clk,
> @@ -1448,6 +1455,7 @@ static struct clk_lookup mx51_lookups[] = {
> _REGISTER_CLOCK("imx-ipuv3", NULL, ipu_clk)
> _REGISTER_CLOCK("imx-ipuv3", "di0", ipu_di0_clk)
> _REGISTER_CLOCK("imx-ipuv3", "di1", ipu_di1_clk)
> + _REGISTER_CLOCK(NULL, "gpc_dvfs_clk", gpc_dvfs_clk)
Please remove the _clk. The context makes it clear already that it's a
clock.
Sascha
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
prev parent reply other threads:[~2011-03-17 8:00 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-16 20:03 [PATCHv3 1/3] ARM: mx51: Add entry for gpc_dvfs_clk Dinh.Nguyen at freescale.com
2011-03-16 20:03 ` [PATCHv3 2/3] ARM: mx51: Implement code to allow mx51 to enter WFI Dinh.Nguyen at freescale.com
2011-03-16 20:03 ` [PATCHv3 3/3] ARM: mx51: Add support for low power suspend on MX51 Dinh.Nguyen at freescale.com
2011-03-17 8:21 ` Sascha Hauer
2011-03-17 8:29 ` Arnaud Patard (Rtp)
2011-03-17 10:31 ` Lothar Waßmann
2011-03-17 8:18 ` [PATCHv3 2/3] ARM: mx51: Implement code to allow mx51 to enter WFI Sascha Hauer
2011-03-17 16:52 ` Nguyen Dinh-R00091
2011-03-17 21:12 ` Uwe Kleine-König
2011-03-17 10:21 ` Russell King - ARM Linux
2011-03-17 8:00 ` Sascha Hauer [this message]
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=20110317080031.GR29521@pengutronix.de \
--to=s.hauer@pengutronix.de \
--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).