mmc: bcm2835-mmc: Support underclocking
authorPhil Elwell <phil@raspberrypi.org>
Mon, 22 Jan 2018 12:22:01 +0000 (12:22 +0000)
committerRaspbian kernel package updater <root@raspbian.org>
Thu, 15 Feb 2018 17:41:13 +0000 (17:41 +0000)
commit562fcdb66ae6c810088d982a378e63fe3653123b
tree10b96bbf20acde72820c90bd5c3de5bfa6c4afbb
parent342b79cbab5335f7431530c4d9ee35f0bce97ede
mmc: bcm2835-mmc: Support underclocking

Support underclocking of the SD bus using the max-frequency DT property
(which currently has no DT parameter). The sd_overclock parameter
already provides another way to achieve the same thing which should be
equivalent in end result, but it is a bug not to support max-frequency
as well.

See: https://github.com/raspberrypi/linux/issues/2350

Signed-off-by: Phil Elwell <phil@raspberrypi.org>
drivers/mmc/host/bcm2835-mmc.c