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>
Sat, 31 Mar 2018 14:57:29 +0000 (15:57 +0100)
commitd7da12c9101090389a2bd756892da0032cdd1717
tree639c45760e1d5ed43625dd6446da6c4c846d3c71
parente5f4d98cf8de121db0569bf059a52155b803f1bd
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