public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: sbabic at denx.de <sbabic@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 5/5] mx7ulp_evk: Update DDR freq to 352.8Mhz for ULP B0
Date: Sat, 20 Jul 2019 08:57:19 +0000 (UTC)	[thread overview]
Message-ID: <20190720091255.CCCFBC21E4E@lists.denx.de> (raw)

> From: Ye Li <ye.li@nxp.com>
> On i.MX7ULP B0, the DDR clock target is increased from 320Mhz to 380Mhz.
> We update DDR clock relevant settings to approach the target. But since the
> limitation on LCDIF pix clock for HDMI output
> (refer "mx7ulp_evk: Change APLL and its PFD0 frequencies"), we set DDR
> clock to 352.8Mhz (25.2Mhz * 14) by using the clock path:
> 	APLL PFD0 -> DDR CLK -> NIC0 -> NIC1 -> LCDIF clock
> To reduce the impact to entire system, the NIC0_DIV and NIC1_DIV are kept,
> so the divider 14 is calculated as:
> 	14 = (NIC0_DIV + 1) * (NIC1_DIV + 1) * (LCDIF_PCC_DIV + 1)
> 	NIC0_DIV:      1
> 	NIC1_DIV:      0
> 	LCDIF_PCC_DIV: 6
> APLL and APLL PFD0 settings:
> 	PFD0 FRAC:  27
> 	APLL MULT:  22
> 	APLL NUM:   1
> 	APLL DENOM: 20
> This patch applies the new settings for both DCD and plugin.
> There is no DDR script change on this new frequency.
> Overnight memtester is passed.
> Signed-off-by: Ye Li <ye.li@nxp.com>
> Reviewed-by: Peng Fan <peng.fan@nxp.com>

Applied to u-boot-imx, master, 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:[~2019-07-20  8:57 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-20  8:57 sbabic at denx.de [this message]
  -- strict thread matches above, loose matches on Subject: below --
2019-05-15  9:56 [U-Boot] [PATCH 0/5] i.MX7ULP EVK: update ddr script to make board boot Peng Fan
2019-05-15  9:57 ` [U-Boot] [PATCH 5/5] mx7ulp_evk: Update DDR freq to 352.8Mhz for ULP B0 Peng Fan

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=20190720091255.CCCFBC21E4E@lists.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