From: Patrick DELAUNAY Date: Wed, 21 Oct 2020 07:59:28 +0000 Subject: [PATCH 1/2] mmc: mmc_of_parse: Enable 52 MHz support with "cap-mmc-highspeed" In-Reply-To: <20200915195147.2659607-1-mr.nuke.me@gmail.com> References: <20200909215402.366561-1-mr.nuke.me@gmail.com> <20200915195147.2659607-1-mr.nuke.me@gmail.com> Message-ID: <7c65f2a594e249c28ebb65a3e9bd402d@SFHDAG2NODE3.st.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Alexandru, > From: Alexandru Gagniuc > Sent: mardi 15 septembre 2020 21:52 > To: uboot-stm32 at st-md-mailman.stormreply.com; peng.fan at nxp.com > Cc: Alexandru Gagniuc ; Patrick DELAUNAY > ; Patrice CHOTARD ; u- > boot at lists.denx.de > Subject: [PATCH 1/2] mmc: mmc_of_parse: Enable 52 MHz support with "cap- > mmc-highspeed" > Importance: High > > "cap-mmc-highspeed" enables support for 26 MHz MMC, but there is no additional > flag to enable 52 MHz MMC. In Linux. "cap-mmc-highspeed" > is used for MMC HS at both 26MHz and 52MHz. > > Use the same approach and enable MMC_CAP(MMC_HS_52) host capability > when "cap-mmc-highspeed" is found in the devicetree. In the event an MMC card > doesn't support 52 MHz, it will be clocked at a speed based on its EXT CSD, even > on 52 MHz host controllers > > Signed-off-by: Alexandru Gagniuc > --- > drivers/mmc/mmc-uclass.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > Applied to u-boot-stm/master, thanks! Regards Patrick