From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefano Babic Date: Fri, 28 Sep 2012 11:31:11 +0200 Subject: [U-Boot] [PATCH v2 09/14] mx5 clocks: Fix get_ipg_per_clk() In-Reply-To: <433970799.5372457.1348777388137.JavaMail.root@advansee.com> References: <433970799.5372457.1348777388137.JavaMail.root@advansee.com> Message-ID: <50656E5F.10807@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 On 27/09/2012 22:23, Beno?t Th?baudeau wrote: > This fixes the "IPG PERCLK" frequency printed by the clocks command. The issue > was that get_ipg_per_clk() used periph_clk instead of lp_apm in the case > CCM.CBCMR.perclk_lp_apm_sel is set. > > It also fixes I?C support. > Hi Beno?t, I understand "clocks" reports a wrong value only if CCM.CBCMR.perclk_lp_apm_sel is set, not always. Can you better explain me which is wrong and which is the fix for I2C ? It seems unrelated, and I do not get the reason checking the patch Thanks, Stefano -- ===================================================================== DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel 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 =====================================================================