From: Stefano Babic <sbabic@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH V5 4/6] imx: mx6qp Enable PRG clock for IPU
Date: Sun, 02 Aug 2015 10:46:52 +0200 [thread overview]
Message-ID: <55BDD8FC.5010109@denx.de> (raw)
In-Reply-To: <1436585927-18677-4-git-send-email-Peng.Fan@freescale.com>
On 11/07/2015 05:38, Peng Fan wrote:
> The i.MX6DQP has a PRG module, need to enable its clock for using IPU.
>
> Signed-off-by: Peng Fan <Peng.Fan@freescale.com>
> Signed-off-by: Brown Oliver <B37094@freescale.com>
> Signed-off-by: Ye.Li <B37916@freescale.com>
> Reviewed-by: Fabio Estevam <fabio.estevam@freescale.com>
> Acked-by: Stefano Babic <sbabic@denx.de>
> ---
>
> Changes v5:
> Add Stefano's Acked-by
>
> Changes v4:
> Take Fabio's suggestion, use setbits_le32. Add Fabio's Reviewed-by
>
> Changes v3:
> Remove ipu qos settings
>
> Changes v2:
> 1. runtime check
> 2. introduce ipu qos settings for better performance
>
> arch/arm/cpu/armv7/mx6/clock.c | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/arch/arm/cpu/armv7/mx6/clock.c b/arch/arm/cpu/armv7/mx6/clock.c
> index cd4bfdd..3e94472 100644
> --- a/arch/arm/cpu/armv7/mx6/clock.c
> +++ b/arch/arm/cpu/armv7/mx6/clock.c
> @@ -853,6 +853,11 @@ void enable_ipu_clock(void)
> reg = readl(&mxc_ccm->CCGR3);
> reg |= MXC_CCM_CCGR3_IPU1_IPU_MASK;
> writel(reg, &mxc_ccm->CCGR3);
> +
> + if (is_mx6dqp()) {
> + setbits_le32(&mxc_ccm->CCGR6, MXC_CCM_CCGR6_PRG_CLK0_MASK);
> + setbits_le32(&mxc_ccm->CCGR3, MXC_CCM_CCGR3_IPU2_IPU_MASK);
> + }
> }
> #endif
> /***************************************************/
>
Applied to u-boot-imx, thanks !
Best regards,
Stefano Babic
--
=====================================================================
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================
next prev parent reply other threads:[~2015-08-02 8:46 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-11 3:38 [U-Boot] [PATCH V5 1/6] imx: add cpu type for i.MX6QP/DP Peng Fan
2015-07-11 3:38 ` [U-Boot] [PATCH V5 2/6] imx: mx6: ccm: Change the clock settings for i.MX6QP Peng Fan
2015-08-02 8:44 ` Stefano Babic
2015-07-11 3:38 ` [U-Boot] [PATCH V5 3/6] imx: mx6: hab : Remove the cache issue workaroud in hab " Peng Fan
2015-08-02 8:46 ` Stefano Babic
2015-07-11 3:38 ` [U-Boot] [PATCH V5 4/6] imx: mx6qp Enable PRG clock for IPU Peng Fan
2015-08-02 8:46 ` Stefano Babic [this message]
2015-07-11 3:38 ` [U-Boot] [PATCH V5 5/6] imx: mx6sabresd/sabreauto runtime setting fdt_file Peng Fan
2015-08-02 8:47 ` Stefano Babic
2015-07-11 3:38 ` [U-Boot] [PATCH V5 6/6] imx: mx6qpsabreauto: Add MX6QP SABREAUTO CPU3 board support Peng Fan
2015-08-02 8:47 ` Stefano Babic
2015-08-02 8:44 ` [U-Boot] [PATCH V5 1/6] imx: add cpu type for i.MX6QP/DP Stefano Babic
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=55BDD8FC.5010109@denx.de \
--to=sbabic@denx.de \
--cc=u-boot@lists.denx.de \
/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