| From cc4e1da491b84ca05339a19893884cda78f74aef Mon Sep 17 00:00:00 2001 |
| From: Johan Hovold <johan+linaro@kernel.org> |
| Date: Wed, 13 Dec 2023 18:34:03 +0100 |
| Subject: arm64: dts: qcom: sm8150: fix USB SS wakeup |
| |
| From: Johan Hovold <johan+linaro@kernel.org> |
| |
| commit cc4e1da491b84ca05339a19893884cda78f74aef upstream. |
| |
| The USB SS PHY interrupts need to be provided by the PDC interrupt |
| controller in order to be able to wake the system up from low-power |
| states. |
| |
| Fixes: 0c9dde0d2015 ("arm64: dts: qcom: sm8150: Add secondary USB and PHY nodes") |
| Fixes: b33d2868e8d3 ("arm64: dts: qcom: sm8150: Add USB and PHY device nodes") |
| Cc: stable@vger.kernel.org # 5.10 |
| Cc: Jack Pham <quic_jackp@quicinc.com> |
| Cc: Jonathan Marek <jonathan@marek.ca> |
| Signed-off-by: Johan Hovold <johan+linaro@kernel.org> |
| Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org> |
| Link: https://lore.kernel.org/r/20231213173403.29544-6-johan+linaro@kernel.org |
| Signed-off-by: Bjorn Andersson <andersson@kernel.org> |
| Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
| --- |
| arch/arm64/boot/dts/qcom/sm8150.dtsi | 4 ++-- |
| 1 file changed, 2 insertions(+), 2 deletions(-) |
| |
| --- a/arch/arm64/boot/dts/qcom/sm8150.dtsi |
| +++ b/arch/arm64/boot/dts/qcom/sm8150.dtsi |
| @@ -3566,7 +3566,7 @@ |
| assigned-clock-rates = <19200000>, <200000000>; |
| |
| interrupts-extended = <&intc GIC_SPI 131 IRQ_TYPE_LEVEL_HIGH>, |
| - <&intc GIC_SPI 486 IRQ_TYPE_LEVEL_HIGH>, |
| + <&pdc 6 IRQ_TYPE_LEVEL_HIGH>, |
| <&pdc 8 IRQ_TYPE_EDGE_BOTH>, |
| <&pdc 9 IRQ_TYPE_EDGE_BOTH>; |
| interrupt-names = "hs_phy_irq", "ss_phy_irq", |
| @@ -3619,7 +3619,7 @@ |
| assigned-clock-rates = <19200000>, <200000000>; |
| |
| interrupts-extended = <&intc GIC_SPI 136 IRQ_TYPE_LEVEL_HIGH>, |
| - <&intc GIC_SPI 487 IRQ_TYPE_LEVEL_HIGH>, |
| + <&pdc 7 IRQ_TYPE_LEVEL_HIGH>, |
| <&pdc 10 IRQ_TYPE_EDGE_BOTH>, |
| <&pdc 11 IRQ_TYPE_EDGE_BOTH>; |
| interrupt-names = "hs_phy_irq", "ss_phy_irq", |