]> git.baikalelectronics.ru Git - uboot.git/commit
mmc: stm32_sdmmc2: add dual data rate support
authorYann Gautier <yann.gautier@foss.st.com>
Tue, 13 Sep 2022 11:23:44 +0000 (13:23 +0200)
committerJaehoon Chung <jh80.chung@samsung.com>
Mon, 24 Oct 2022 09:01:59 +0000 (18:01 +0900)
commit77ce34d55cf7834f56f4f165d705b53243e22aee
tree9e59c53825a634b7e721265f7464613f2d590cd2
parent8503df29886d8e0ddbb4210983e4c158e27697e0
mmc: stm32_sdmmc2: add dual data rate support

To support dual data rate with STM32 sdmmc2 driver, the dedicated bit
(DDR - BIT(18)) needs to be set in the CLKRC register. Clock bypass
(no divider) is not allowed in this case. This is required for the
eMMC DDR modes.

Signed-off-by: Yann Gautier <yann.gautier@foss.st.com>
Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>
drivers/mmc/stm32_sdmmc2.c