summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authoroscardagrach <ryan@edited.us>2018-06-13 18:13:05 +0300
committerWei Xu <xuwei5@hisilicon.com>2018-06-28 19:05:51 +0300
commitf904390ac8b2657b97ba3c1ad2b1be0822fa62ad (patch)
treee2319b09b01f487930eb7f335ff4a619381babcd /arch
parentce397d215ccd07b8ae3f71db689aedb85d56ab40 (diff)
downloadlinux-f904390ac8b2657b97ba3c1ad2b1be0822fa62ad.tar.xz
arm64: dts: hikey: Define wl1835 power capabilities
These properties are required for compatibility with runtime PM. Without these properties, MMC host controller will not be aware of power capabilities. When the wlcore driver attempts to power on the device, it will erroneously fail with -EACCES. Fixes: 60f36637bbbd ("wlcore: sdio: allow pm to handle sdio power") Signed-off-by: Ryan Grachek <ryan@edited.us> Tested-by: John Stultz <john.stultz@linaro.org> Acked-by: John Stultz <john.stultz@linaro.org> Signed-off-by: Wei Xu <xuwei5@hisilicon.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts b/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts
index edb4ee0b8896..7f12624f6c8e 100644
--- a/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts
+++ b/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts
@@ -322,6 +322,8 @@
dwmmc_2: dwmmc2@f723f000 {
bus-width = <0x4>;
non-removable;
+ cap-power-off-card;
+ keep-power-in-suspend;
vmmc-supply = <&reg_vdd_3v3>;
mmc-pwrseq = <&wl1835_pwrseq>;