All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] arm64: dts: hikey960: Define wl1837 power capabilities
@ 2018-06-13 18:03 ` Ryan Grachek
  0 siblings, 0 replies; 14+ messages in thread
From: Ryan Grachek @ 2018-06-13 18:03 UTC (permalink / raw)
  To: linux-arm-kernel

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

Signed-off-by: Ryan Grachek <ryan@edited.us>
---
 arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts b/arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts
index c6999624ed8a..68c5a6c819ae 100644
--- a/arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts
+++ b/arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts
@@ -585,6 +585,8 @@
 	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";
-- 
2.11.0

^ permalink raw reply related	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2018-06-28 20:27 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-06-13 18:03 [PATCH] arm64: dts: hikey960: Define wl1837 power capabilities Ryan Grachek
2018-06-13 18:03 ` Ryan Grachek
2018-06-13 18:03 ` Ryan Grachek
2018-06-13 19:36 ` John Stultz
2018-06-13 19:36   ` John Stultz
2018-06-13 19:36   ` John Stultz
2018-06-14  6:20   ` Kalle Valo
2018-06-14  6:20     ` Kalle Valo
2018-06-14  6:20     ` Kalle Valo
2018-06-13 21:47 ` Valentin Schneider
2018-06-13 21:47   ` Valentin Schneider
2018-06-28 20:26 ` Wei Xu
2018-06-28 20:26   ` Wei Xu
2018-06-28 20:26   ` Wei Xu

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.