From: sbabic at denx.de Date: Sat, 20 Jul 2019 08:46:36 +0000 (UTC) Subject: [U-Boot] [PATCH 1/5] mx7ulp: Fix APLL num and denom setting issue Message-ID: <20190720090251.8E7C5C21D56@lists.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de > From: Ye Li > For the current APLL setting, as we want the APLL PFD0 to meet DDR clock 320Mhz requirement. > We set MULT to 20, NUM to 4 and DENOM to 2, to get final 22 multiplier. But according to the RM, > the NUM should always be less than the DENOM. So our setting violates the rule. > Actually the ROM has already set the MULT to 22 and leave NUM/DENOM in default value. The calculated APLL PFD0 clock > is 318.9888Mhz, which also meet the DDR requirement. > To fix the issue, we remove the PLL settings in DCD to use default value from ROM, and only set the PFD0 FRAC. > Signed-off-by: Ye Li > Signed-off-by: Peng Fan 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 =====================================================================