Commit a30449eb authored by oscardagrach's avatar oscardagrach Committed by Wei Xu

arm64: dts: hikey960: Define wl1837 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. This fixes
a regression found here: https://lkml.org/lkml/2018/6/12/930

Fixes: 60f36637 ("wlcore: sdio: allow pm to handle sdio power")
Signed-off-by: default avatarRyan Grachek <ryan@edited.us>
Tested-by: default avatarJohn Stultz <john.stultz@linaro.org>
Acked-by: default avatarJohn Stultz <john.stultz@linaro.org>
Tested-by: default avatarValentin Schneider <valentin.schneider@arm.com>
Signed-off-by: default avatarWei Xu <xuwei5@hisilicon.com>
parent f904390a
......@@ -585,6 +585,8 @@ &dwmmc2 { /* WIFI */
vmmc-supply = <&wlan_en>;
ti,non-removable;
non-removable;
cap-power-off-card;
keep-power-in-suspend;
#address-cells = <0x1>;
#size-cells = <0x0>;
status = "ok";
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment