From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Thu, 30 Nov 2017 10:34:44 -0500 Subject: [U-Boot] [U-Boot, 10/11] clk: clk_stm32fx: add clock configuration for mmc usage In-Reply-To: <1510748093-16433-11-git-send-email-patrice.chotard@st.com> References: <1510748093-16433-11-git-send-email-patrice.chotard@st.com> Message-ID: <20171130153444.GO3587@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, Nov 15, 2017 at 01:14:52PM +0100, patrice.chotard at st.com wrote: > From: Patrice Chotard > > MMC block needs 48Mhz source clock, for that we choose > to select the SAI PLL. > Update also stm32_clock_get_rate() to retrieve the MMC > clock source needed in MMC driver. > > STM32F4 uses a different RCC variant than STM32F7. For STM32F4 > sdmmc clocks bit are located into dckcfgr register whereas there > are located into dckcfgr2 registers on STM32F7. > In both registers, bits CK48MSEL and SDMMC1SEL are located at > the same position. > > Signed-off-by: Christophe Priouzeau > Signed-off-by: Patrice Chotard > Reviewed-by: Vikas Manocha 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: not available URL: