diff mbox series

arm64: dts: qcom: sc8280xp: mark USB controllers as wakeup-sources

Message ID 20220902081652.12631-1-johan+linaro@kernel.org
State Accepted
Commit ae240fbffbad6b2f1fc7f2d2f0bb8cf300c489a5
Headers show
Series arm64: dts: qcom: sc8280xp: mark USB controllers as wakeup-sources | expand

Commit Message

Johan Hovold Sept. 2, 2022, 8:16 a.m. UTC
The primary and secondary USB controllers can be used to wake the system
from suspend so mark them accordingly.

Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
---
 arch/arm64/boot/dts/qcom/sc8280xp.dtsi | 4 ++++
 1 file changed, 4 insertions(+)

Comments

Bjorn Andersson Sept. 6, 2022, 4:38 p.m. UTC | #1
On Fri, 2 Sep 2022 10:16:52 +0200, Johan Hovold wrote:
> The primary and secondary USB controllers can be used to wake the system
> from suspend so mark them accordingly.
> 
> 

Applied, thanks!

[1/1] arm64: dts: qcom: sc8280xp: mark USB controllers as wakeup-sources
      commit: ae240fbffbad6b2f1fc7f2d2f0bb8cf300c489a5

Best regards,
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/qcom/sc8280xp.dtsi b/arch/arm64/boot/dts/qcom/sc8280xp.dtsi
index 3bbaec97aee9..e441d632c3e8 100644
--- a/arch/arm64/boot/dts/qcom/sc8280xp.dtsi
+++ b/arch/arm64/boot/dts/qcom/sc8280xp.dtsi
@@ -1872,6 +1872,8 @@  usb_0: usb@a6f8800 {
 					<&gem_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_USB3_0 0>;
 			interconnect-names = "usb-ddr", "apps-usb";
 
+			wakeup-source;
+
 			status = "disabled";
 
 			usb_0_dwc3: usb@a600000 {
@@ -1924,6 +1926,8 @@  usb_1: usb@a8f8800 {
 					<&gem_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_USB3_1 0>;
 			interconnect-names = "usb-ddr", "apps-usb";
 
+			wakeup-source;
+
 			status = "disabled";
 
 			usb_1_dwc3: usb@a800000 {