Commit 6991fabd authored by Kamal Dasu's avatar Kamal Dasu Committed by Greg Kroah-Hartman
Browse files

mmc: sdhci-brcmstb: Add ability to increase max clock rate for 72116b0



[ Upstream commit 97904a59 ]

The 72116B0 has improved SDIO controllers that allow the max clock
rate to be increased from a max of 100MHz to a max of 150MHz. The
driver will need to get the clock and increase it's default rate
and override the caps register, that still indicates a max of 100MHz.
The new clock will be named "sdio_freq" in the DT node's "clock-names"
list. The driver will use a DT property, "clock-frequency", to
enable this functionality and will get the actual rate in MHz
from the property to allow various speeds to be requested.

Signed-off-by: default avatarAl Cooper <alcooperx@gmail.com>
Signed-off-by: default avatarKamal Dasu <kdasu.kdev@gmail.com>
Acked-by: default avatarFlorian Fainelli <f.fainelli@gmail.com>
Link: https://lore.kernel.org/r/20220520183108.47358-3-kdasu.kdev@gmail.com


Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
Stable-dep-of: 723ef0e2 ("mmc: sdhci-brcmstb: add cqhci suspend/resume to PM ops")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 4c671d03
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment