Skip to contentSkip to conversation

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

PATCH Applied Johan Hovold 4 participants 4 messages Sep 2, 2022 – Sep 6, 2022

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

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

The primary and secondary USB controllers can be used to wake the system from suspend so mark them accordingly.

---
 arch/arm64/boot/dts/qcom/sc8280xp.dtsi | 4 ++++
 1 file changed, 4 insertions(+)
arch/arm64/boot/dts/qcom/sc8280xp.dtsi +4 -0
index 3bbaec97aee9..e441d632c3e8 100644
@@ -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 {
Signature · 1 line
2.35.1
Tested-by on v1 1/1
#1 lore raw
Quoted 22 lines · Johan Hovold

The primary and secondary USB controllers can be used to wake the system from suspend so mark them accordingly.

---
  arch/arm64/boot/dts/qcom/sc8280xp.dtsi | 4 ++++
  1 file changed, 4 insertions(+)
arch/arm64/boot/dts/qcom/sc8280xp.dtsi +2 -0
index 3bbaec97aee9..e441d632c3e8 100644
@@ -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 {

arch/arm64/boot/dts/qcom/sc8280xp.dtsi usb_1: usb@a8f8800 { · line 1933

Quoted 8 lines
arch/arm64/boot/dts/qcom/sc8280xp.dtsi +2 -0
@@ -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 {
Reviewed-by on v1 1/1
#2 lore raw
In reply to Johan Hovold
Quoted 5 lines · Johan Hovold

The primary and secondary USB controllers can be used to wake the system from suspend so mark them accordingly.

---

Konrad

Quoted 25 lines
 arch/arm64/boot/dts/qcom/sc8280xp.dtsi | 4 ++++
 1 file changed, 4 insertions(+)
arch/arm64/boot/dts/qcom/sc8280xp.dtsi +4 -0
index 3bbaec97aee9..e441d632c3e8 100644
@@ -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 {
maintainer Applied
#3 lore raw
In reply to Johan Hovold
Quoted 4 lines · Johan Hovold

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,

Signature · 1 line
Bjorn Andersson <[email protected]>