Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

arm64: dts: qcom: sm8550: fix USB wakeup interrupt types

The DP/DM wakeup interrupts are edge triggered and which edge to trigger
on depends on use-case and whether a Low speed or Full/High speed device
is connected.

Note that only triggering on rising edges can be used to detect resume
events but not disconnect events.

Fixes: 7f7e5c1b037f ("arm64: dts: qcom: sm8550: Add USB PHYs and controller nodes")
Cc: Abel Vesa <abel.vesa@linaro.org>
Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
Reviewed-by: Abel Vesa <abel.vesa@linaro.org>
Link: https://lore.kernel.org/r/20231120164331.8116-12-johan+linaro@kernel.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>

authored by

Johan Hovold and committed by
Bjorn Andersson
29d91ecf 54524b69

+2 -2
+2 -2
arch/arm64/boot/dts/qcom/sm8550.dtsi
··· 2929 2929 2930 2930 interrupts-extended = <&intc GIC_SPI 130 IRQ_TYPE_LEVEL_HIGH>, 2931 2931 <&pdc 17 IRQ_TYPE_LEVEL_HIGH>, 2932 - <&pdc 15 IRQ_TYPE_EDGE_RISING>, 2933 - <&pdc 14 IRQ_TYPE_EDGE_RISING>; 2932 + <&pdc 15 IRQ_TYPE_EDGE_BOTH>, 2933 + <&pdc 14 IRQ_TYPE_EDGE_BOTH>; 2934 2934 interrupt-names = "hs_phy_irq", 2935 2935 "ss_phy_irq", 2936 2936 "dm_hs_phy_irq",