Skip to content

ARM/arm64: dts: qcom: fix USB wakeup interrupt types

Johan Hovold linux-arm-msm linux-devicetree lkml stable 1 version Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest11 patches 11 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/11ARM: dts: qcom: sdx55: fix USB wakeup interrupt typesarch/arm/boot/dts/qcom/qcom-sdx55.dtsi+2 -20 replies
2/11arm64: dts: qcom: sa8775p: fix USB wakeup interrupt typesarch/arm64/boot/dts/qcom/sa8775p.dtsi+6 -61 reply
3/11arm64: dts: qcom: sc7180: fix USB wakeup interrupt typesarch/arm64/boot/dts/qcom/sc7180.dtsi+2 -20 replies
4/11arm64: dts: qcom: sc7280: fix usb_1 wakeup interrupt typesarch/arm64/boot/dts/qcom/sc7280.dtsi+2 -21 reply
5/11arm64: dts: qcom: sc7280: fix usb_2 wakeup interrupt typesarch/arm64/boot/dts/qcom/sc7280.dtsi+2 -20 replies
6/11arm64: dts: qcom: sc8180x: fix USB wakeup interrupt typesarch/arm64/boot/dts/qcom/sc8180x.dtsi+4 -40 replies
7/11arm64: dts: qcom: sdm670: fix USB wakeup interrupt typesarch/arm64/boot/dts/qcom/sdm670.dtsi+2 -21 reply
8/11arm64: dts: qcom: sdm845: fix USB wakeup interrupt typesarch/arm64/boot/dts/qcom/sdm845.dtsi+4 -40 replies
9/11arm64: dts: qcom: sm6375: fix USB wakeup interrupt typesarch/arm64/boot/dts/qcom/sm6375.dtsi+2 -20 replies
10/11arm64: dts: qcom: sm8150: fix USB wakeup interrupt typesarch/arm64/boot/dts/qcom/sm8150.dtsi+4 -41 reply
11/11arm64: dts: qcom: sm8550: fix USB wakeup interrupt typesarch/arm64/boot/dts/qcom/sm8550.dtsi+2 -21 reply

Reviews trailers per patch

5 of 11 patches have a Reviewed-by or Acked-by.

PatchAbel VesaAndrew HalaneyKrzysztof KozlowskiRichard AcayanJack Pham
1/11
2/11R-b
3/11
4/11R-b
5/11
6/11
7/11A-b
8/11
9/11
10/11R-b
11/11R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 5 reviewers.

Read the v1 thread

Cover letter [PATCH 00/11] ARM/arm64: dts: qcom: fix USB wakeup interrupt types

When testing a recent series that addresses resource leaks in the Qualcomm dwc3 glue driver [1], I realised that probe deferral can break wakeup from suspend due to how the wakeup interrupts are currently requested.

The following series fixes this by no longer overriding the firmware defined trigger types for the wakeup interrupts:

	https://lore.kernel.org/lkml/[email protected]/

It turns out a number Qualcomm devicetrees have also gotten the trigger types wrong, something which this series addresses.

Specifically, the HS/SS PHY wakeup interrupts are level triggered while the DP/DM HS PHY interrupts are edge triggered, and which edge to trigger on depends both on the use-case and on whether a Low speed or Full/High speed device is connected.

Fortunately, there should be no dependency between this series and USB one as all devicetree use the correct trigger type for the HS/SS PHY interrupts and the HS one has never been armed by Linux anyway. The DP/DM interrupt trigger types are also updated on suspend currently.

The only exception may be sc7280 where a recent cleanup patch inadvertently switched the SS and DP trigger types, but that one should just be backported anyway.

Note that the binding example is updated in the USB driver series mentioned above.

Johan

[1] https://lore.kernel.org/lkml/[email protected]/

Johan Hovold (11):
ARM: dts: qcom: sdx55: fix USB wakeup interrupt types
arm64: dts: qcom: sa8775p: fix USB wakeup interrupt types
arm64: dts: qcom: sc7180: fix USB wakeup interrupt types
arm64: dts: qcom: sc7280: fix usb_1 wakeup interrupt types
arm64: dts: qcom: sc7280: fix usb_2 wakeup interrupt types
arm64: dts: qcom: sc8180x: fix USB wakeup interrupt types
arm64: dts: qcom: sdm670: fix USB wakeup interrupt types
arm64: dts: qcom: sdm845: fix USB wakeup interrupt types
arm64: dts: qcom: sm6375: fix USB wakeup interrupt types
arm64: dts: qcom: sm8150: fix USB wakeup interrupt types
arm64: dts: qcom: sm8550: fix USB wakeup interrupt types

 arch/arm/boot/dts/qcom/qcom-sdx55.dtsi |  4 ++--
 arch/arm64/boot/dts/qcom/sa8775p.dtsi  | 12 ++++++------
 arch/arm64/boot/dts/qcom/sc7180.dtsi   |  4 ++--
 arch/arm64/boot/dts/qcom/sc7280.dtsi   |  8 ++++----
 arch/arm64/boot/dts/qcom/sc8180x.dtsi  |  8 ++++----
 arch/arm64/boot/dts/qcom/sdm670.dtsi   |  4 ++--
 arch/arm64/boot/dts/qcom/sdm845.dtsi   |  8 ++++----
 arch/arm64/boot/dts/qcom/sm6375.dtsi   |  4 ++--
 arch/arm64/boot/dts/qcom/sm8150.dtsi   |  8 ++++----
 arch/arm64/boot/dts/qcom/sm8550.dtsi   |  4 ++--
 10 files changed, 32 insertions(+), 32 deletions(-)
Signature · 1 line
2.41.0