mmc: stm32_sdmmc2: manage max-frequency property from DT
If the max-frequency property is provided in the device tree mmc node,
it should be managed. The max allowed frequency will be the min between
this property value and what the card can support.

Change-Id: I885b676c3300d2670a0fe4c6ecab87758b5893ad
Signed-off-by: Yann Gautier <yann.gautier@st.com>
1 parent 1e91952 commit 2c2c9f1eb1596793dd590cfc19d65488fd286dfc
@Yann Gautier Yann Gautier authored on 28 May 2019
Showing 2 changed files
View
drivers/st/mmc/stm32_sdmmc2.c
View
include/drivers/st/stm32_sdmmc2.h