From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Thu, 14 Sep 2017 20:47:54 -0400 Subject: [U-Boot] [U-Boot, v6, 4/9] ARM: at91: spl: Add mck function to lower rate while switching In-Reply-To: <20170913065854.26134-5-wenyou.yang@microchip.com> References: <20170913065854.26134-5-wenyou.yang@microchip.com> Message-ID: <20170915004754.GG4560@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Wed, Sep 13, 2017 at 02:58:49PM +0800, Wenyou Yang wrote: > Refer to the commit 70f8c8316ad(PMC: add new mck function to lower > rate while switching) from AT91Bootstrap. > > While switching to a lower clock source, we must switch the clock > source first instead of last. Otherwise, we could end up with > too high frequency on internal bus and peripherals. > This happens on SAMA5D2 as exitting from the ROM code. > > Add a function pmc_mck_init_down() to allow this sequence. > > Signed-off-by: Wenyou Yang > Reviewed-by: Simon Glass Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: