From: Kevin Hilman <khilman@deeprootsystems.com>
To: Kalle Jokiniemi <kalle.jokiniemi@digia.com>
Cc: linux-omap@vger.kernel.org, jouni.hogander@nokia.com
Subject: Re: [PATCH 1/1] ARM: OMAP3: Add missing iva2 clken_pll save/restore
Date: Wed, 13 May 2009 09:49:21 -0700 [thread overview]
Message-ID: <87ljp16j8u.fsf@deeprootsystems.com> (raw)
In-Reply-To: <1242197333-26981-2-git-send-email-kalle.jokiniemi@digia.com> (Kalle Jokiniemi's message of "Wed\, 13 May 2009 09\:48\:53 +0300")
Kalle Jokiniemi <kalle.jokiniemi@digia.com> writes:
> The CM_CLKEN_PLL_IVA2 register was not being saved by the
> current prcm save/restore code. This patch adds the proper
> save/restore for that register.
>
> Signed-off-by: Kalle Jokiniemi <kalle.jokiniemi@digia.com>
Thanks, pushing to PM branch.
Kevin
> ---
> arch/arm/mach-omap2/prcm.c | 5 +++++
> 1 files changed, 5 insertions(+), 0 deletions(-)
>
> diff --git a/arch/arm/mach-omap2/prcm.c b/arch/arm/mach-omap2/prcm.c
> index a24792a..4f7fd99 100644
> --- a/arch/arm/mach-omap2/prcm.c
> +++ b/arch/arm/mach-omap2/prcm.c
> @@ -54,6 +54,7 @@ struct omap3_prcm_regs {
> u32 pll_cm_clken2;
> u32 cm_polctrl;
> u32 iva2_cm_fclken;
> + u32 iva2_cm_clken_pll;
> u32 core_cm_fclken1;
> u32 core_cm_fclken3;
> u32 sgx_cm_fclken;
> @@ -260,6 +261,8 @@ void omap3_prcm_save_context(void)
> prcm_context.cm_polctrl = __raw_readl(OMAP3430_CM_POLCTRL);
> prcm_context.iva2_cm_fclken =
> cm_read_mod_reg(OMAP3430_IVA2_MOD, CM_FCLKEN);
> + prcm_context.iva2_cm_clken_pll = cm_read_mod_reg(OMAP3430_IVA2_MOD,
> + OMAP3430_CM_CLKEN_PLL);
> prcm_context.core_cm_fclken1 =
> cm_read_mod_reg(CORE_MOD, CM_FCLKEN1);
> prcm_context.core_cm_fclken3 =
> @@ -414,6 +417,8 @@ void omap3_prcm_restore_context(void)
> __raw_writel(prcm_context.cm_polctrl, OMAP3430_CM_POLCTRL);
> cm_write_mod_reg(prcm_context.iva2_cm_fclken, OMAP3430_IVA2_MOD,
> CM_FCLKEN);
> + cm_write_mod_reg(prcm_context.iva2_cm_clken_pll, OMAP3430_IVA2_MOD,
> + OMAP3430_CM_CLKEN_PLL);
> cm_write_mod_reg(prcm_context.core_cm_fclken1, CORE_MOD, CM_FCLKEN1);
> cm_write_mod_reg(prcm_context.core_cm_fclken3, CORE_MOD,
> OMAP3430ES2_CM_FCLKEN3);
> --
> 1.5.4.3
prev parent reply other threads:[~2009-05-13 16:49 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-13 6:48 [PATCH 0/1] ARM: OMAP3: Add missing iva2 clken_pll save/restore Kalle Jokiniemi
2009-05-13 6:48 ` [PATCH 1/1] " Kalle Jokiniemi
2009-05-13 16:49 ` Kevin Hilman [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=87ljp16j8u.fsf@deeprootsystems.com \
--to=khilman@deeprootsystems.com \
--cc=jouni.hogander@nokia.com \
--cc=kalle.jokiniemi@digia.com \
--cc=linux-omap@vger.kernel.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