public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Stefano Babic <sbabic@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] imx: imx7d: fix ahb clock mux 1
Date: Mon, 9 May 2016 09:37:59 +0200	[thread overview]
Message-ID: <57303E57.2000301@denx.de> (raw)
In-Reply-To: <1462480965-5222-1-git-send-email-stefan@agner.ch>

On 05/05/2016 22:42, Stefan Agner wrote:
> The clock parent of the AHB root clock when using mux option 1
> is the SYS PLL 270MHz clock. This is specified in  Table 5-11
> Clock Root Table of the i.MX 7Dual Applications Processor
> Reference Manual.
> 
> While it could be a documentation error, the 270MHz parent is
> also mentioned in the boot ROM configuration in Table 6-28: The
> clock is by default at 135MHz due to a POST_PODF value of 1
> (=> divider of 2).
> 
> Signed-off-by: Stefan Agner <stefan@agner.ch>
> ---
> I sent a similar fix to the LKML which has been merged some days
> ago:
> https://lkml.org/lkml/2016/4/28/767

Thanks for porting this to U-Boot, too.

> 
> --
> Stefan
> 
>  arch/arm/cpu/armv7/mx7/clock_slice.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/arm/cpu/armv7/mx7/clock_slice.c b/arch/arm/cpu/armv7/mx7/clock_slice.c
> index ad5d504..1665df9 100644
> --- a/arch/arm/cpu/armv7/mx7/clock_slice.c
> +++ b/arch/arm/cpu/armv7/mx7/clock_slice.c
> @@ -55,7 +55,7 @@ static struct clk_root_map root_array[] = {
>  	  PLL_ENET_MAIN_250M_CLK, PLL_AUDIO_MAIN_CLK}
>  	},
>  	{AHB_CLK_ROOT, CCM_AHB_CHANNEL,
> -	 {OSC_24M_CLK, PLL_SYS_PFD2_135M_CLK, PLL_DRAM_MAIN_533M_CLK,
> +	 {OSC_24M_CLK, PLL_SYS_PFD2_270M_CLK, PLL_DRAM_MAIN_533M_CLK,
>  	  PLL_SYS_PFD0_392M_CLK, PLL_ENET_MAIN_125M_CLK, PLL_USB_MAIN_480M_CLK,
>  	  PLL_AUDIO_MAIN_CLK, PLL_VIDEO_MAIN_CLK}
>  	},
> 

Applied to -next, 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
=====================================================================

      reply	other threads:[~2016-05-09  7:37 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-05 20:42 [U-Boot] [PATCH] imx: imx7d: fix ahb clock mux 1 Stefan Agner
2016-05-09  7:37 ` Stefano Babic [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=57303E57.2000301@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