Commit 0984bc01 authored by Johan Hovold's avatar Johan Hovold Committed by Bjorn Andersson

arm64: dts: qcom: sa8775p: 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: de100152 ("arm64: dts: qcom: sa8775p: add USB nodes")
Cc: Shazad Hussain <quic_shazhuss@quicinc.com>
Signed-off-by: default avatarJohan Hovold <johan+linaro@kernel.org>
Reviewed-by: default avatarAndrew Halaney <ahalaney@redhat.com>
Link: https://lore.kernel.org/r/20231120164331.8116-3-johan+linaro@kernel.orgSigned-off-by: default avatarBjorn Andersson <andersson@kernel.org>
parent 12fbe585
...@@ -1615,8 +1615,8 @@ usb_0: usb@a6f8800 { ...@@ -1615,8 +1615,8 @@ usb_0: usb@a6f8800 {
assigned-clock-rates = <19200000>, <200000000>; assigned-clock-rates = <19200000>, <200000000>;
interrupts-extended = <&intc GIC_SPI 287 IRQ_TYPE_LEVEL_HIGH>, interrupts-extended = <&intc GIC_SPI 287 IRQ_TYPE_LEVEL_HIGH>,
<&pdc 14 IRQ_TYPE_EDGE_RISING>, <&pdc 14 IRQ_TYPE_EDGE_BOTH>,
<&pdc 15 IRQ_TYPE_EDGE_RISING>, <&pdc 15 IRQ_TYPE_EDGE_BOTH>,
<&pdc 12 IRQ_TYPE_LEVEL_HIGH>; <&pdc 12 IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "pwr_event", interrupt-names = "pwr_event",
"dp_hs_phy_irq", "dp_hs_phy_irq",
...@@ -1702,8 +1702,8 @@ usb_1: usb@a8f8800 { ...@@ -1702,8 +1702,8 @@ usb_1: usb@a8f8800 {
assigned-clock-rates = <19200000>, <200000000>; assigned-clock-rates = <19200000>, <200000000>;
interrupts-extended = <&intc GIC_SPI 352 IRQ_TYPE_LEVEL_HIGH>, interrupts-extended = <&intc GIC_SPI 352 IRQ_TYPE_LEVEL_HIGH>,
<&pdc 8 IRQ_TYPE_EDGE_RISING>, <&pdc 8 IRQ_TYPE_EDGE_BOTH>,
<&pdc 7 IRQ_TYPE_EDGE_RISING>, <&pdc 7 IRQ_TYPE_EDGE_BOTH>,
<&pdc 13 IRQ_TYPE_LEVEL_HIGH>; <&pdc 13 IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "pwr_event", interrupt-names = "pwr_event",
"dp_hs_phy_irq", "dp_hs_phy_irq",
...@@ -1765,8 +1765,8 @@ usb_2: usb@a4f8800 { ...@@ -1765,8 +1765,8 @@ usb_2: usb@a4f8800 {
assigned-clock-rates = <19200000>, <200000000>; assigned-clock-rates = <19200000>, <200000000>;
interrupts-extended = <&intc GIC_SPI 444 IRQ_TYPE_LEVEL_HIGH>, interrupts-extended = <&intc GIC_SPI 444 IRQ_TYPE_LEVEL_HIGH>,
<&pdc 10 IRQ_TYPE_EDGE_RISING>, <&pdc 10 IRQ_TYPE_EDGE_BOTH>,
<&pdc 9 IRQ_TYPE_EDGE_RISING>; <&pdc 9 IRQ_TYPE_EDGE_BOTH>;
interrupt-names = "pwr_event", interrupt-names = "pwr_event",
"dp_hs_phy_irq", "dp_hs_phy_irq",
"dm_hs_phy_irq"; "dm_hs_phy_irq";
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment