Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8febe6a5 authored by Hemant Kumar's avatar Hemant Kumar Committed by Azhar Shaikh
Browse files

ARM: dts: msm: Add ss_phy_irq as SS USB wakeup source



For mdmcalifornium in case of super speed suspend, power event irq is
not generated upon bus resume. Hence explicitly register for lfps_rxterm
irq as a wake up source to initiate resume sequence for controller in
super speed mode.
To have the same solution across all platforms, update 8996 dtsi.
Also for 8996 update the correct hs_phy_irq interrupt number as
that of QUSB PHY IRQ.

Change-Id: Ie0e67f202513b2c4bf069c10f2b2538a08c8c80c
Signed-off-by: default avatarHemant Kumar <hemantk@codeaurora.org>
Signed-off-by: default avatarAzhar Shaikh <azhars@codeaurora.org>
parent 96f92e28
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -128,8 +128,9 @@

		qcom,gic-parent = <&intc>;
		qcom,gic-map = <2 216>, /* tsens_upper_lower_int */
			<88 172>, /* usb1_hs_async_wakeup_irq */
			<88 222>,   /* ee0_krait_hlos_spmi_periph_irq */
			<54 235>,   /* qmp_usb3_lfps_rxterm_irq */
			<49 234>,   /* qusb2_phy_dpse_hv qusb2phy_intr */
			<0xff 18>,  /* WDT_biteInt */
			<0xff 19>,  /* WDT_barkInt */
			<0xff 38>,  /* qtmr_virt_irq[0] */
@@ -179,7 +180,6 @@
			<0xff 206>, /* rpm_ipc(26)   */
			<0xff 207>, /* rpm_ipc(27)   */
			<0xff 212>, /* usb30_power_event_irq */
			<0xff 234>, /* qusb2phy_intr   */
			<0xff 240>, /* summary_irq_kpss */
			<0xff 270>; /* bam_irq[0] */
		qcom,gpio-parent = <&tlmm_pinmux>;
+4 −3
Original line number Diff line number Diff line
@@ -22,12 +22,13 @@
		ranges;

		interrupt-parent = <&usb3>;
		interrupts = <0 1>;
		interrupts = <0 1 2>;
		#interrupt-cells = <1>;
		interrupt-map-mask = <0x0 0xffffffff>;
		interrupt-map = <0x0 0 &intc 0 202 0
				 0x0 1 &intc 0 180 0>;
		interrupt-names = "hs_phy_irq", "pwr_event_irq";
				 0x0 1 &intc 0 203 0
				 0x0 2 &intc 0 180 0>;
		interrupt-names = "hs_phy_irq", "ss_phy_irq", "pwr_event_irq";
		USB3_GDSC-supply = <&gdsc_usb30>;
		vdda33-supply = <&pmdcalifornium_l10>;
		vdda18-supply = <&pmdcalifornium_l5>;
+2 −1
Original line number Diff line number Diff line
@@ -239,7 +239,8 @@

		qcom,gic-parent = <&intc>;
		qcom,gic-map = <2 216>, /* tsens_upper_lower_int */
			<52 212>,   /* qmp_usb3_lfps_rxterm_irq */
			<79 379>,   /* qusb2phy_dmse_hv_prim */
			<52 275>,   /* qmp_usb3_lfps_rxterm_irq */
			<87 358>,   /* ee0_krait_hlos_spmi_periph_irq */
			<0xff 16>,  /* APCj_qgicdrCpu0HwFaultIrptReq */
			<0xff 23>,  /* APCj_qgicdrCpu0PerfMonIrptReq */
+2 −2
Original line number Diff line number Diff line
@@ -1848,8 +1848,8 @@
		#size-cells = <1>;
		ranges;

		interrupts = <0 133 0>, <0 180 0>;
		interrupt-names = "hs_phy_irq", "pwr_event_irq";
		interrupts = <0 347 0>, <0 243 0>, <0 180 0>;
		interrupt-names = "hs_phy_irq", "ss_phy_irq", "pwr_event_irq";

		USB3_GDSC-supply = <&gdsc_usb30>;
		vbus_dwc3-supply = <&smbcharger_charger_otg>;