]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: mmci: increase stm32 sdmmcv2 clock max freq
authorYann Gautier <yann.gautier@foss.st.com>
Wed, 15 Dec 2021 14:17:25 +0000 (15:17 +0100)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 21 Dec 2021 12:06:10 +0000 (13:06 +0100)
commit072498d0cb277f9481800790eb2b5f82f1646905
treeb61e8007f6ed40f934ffb3b27ee6ff18ce306cc1
parentc006c0a4d029004a3c9945035b1c92eaf096620d
mmc: mmci: increase stm32 sdmmcv2 clock max freq

The variant->f_max is dependent on the IP, not on the SoC where it is
embedded. Set the max frequency of its source clock to 267MHz.
The frequency used will be limited by the IOs max frequency, set in the
SoC device tree.

Signed-off-by: Yann Gautier <yann.gautier@foss.st.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20211215141727.4901-3-yann.gautier@foss.st.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/mmci.c