mmc: sdhci-iproc: Fix vmmc regulators (pre-bcm2711)
authorJuerg Haefliger <juergh@canonical.com>
Wed, 29 Sep 2021 09:42:23 +0000 (11:42 +0200)
committerPhil Elwell <8911409+pelwell@users.noreply.github.com>
Wed, 29 Sep 2021 10:20:23 +0000 (11:20 +0100)
commit5ab0b197d5c070aa06a17bd649a3e6a1f83fcd66
tree80927590cb498c36ad14f21afe33b4b5697f8790
parent00e71218388140dba4443c7b3d743eabab74d056
mmc: sdhci-iproc: Fix vmmc regulators (pre-bcm2711)

The Linux support for controlling card power via regulators appears to
be contentious. I would argue that the default behaviour is contrary to
the SDHCI spec - turning off the power writes a reserved value to the
SD Bus Voltage Select field of the Power Control Register, which
seems to kill the Arasan/iProc controller - but fortunately there is a
hook in sdhci_ops to override the behaviour.

Signed-off-by: Juerg Haefliger <juergh@canonical.com>
Signed-off-by: Phil Elwell <phil@raspberrypi.com>
drivers/mmc/host/sdhci-iproc.c