Message ID | 20231211121611.6765-1-quic_kriskura@quicinc.com |
---|---|
Headers | show |
Series | Fix USB Interrupts on Qualcomm Platforms | expand |
On 11/12/2023 13:16, Krishna Kurapati wrote: > On several QUSB2 Targets, the hs_phy_irq mentioned is actually > qusb2_phy interrupt specific to QUSB2 PHY's. Rename hs_phy_irq > to qusb2_phy for such targets. > > In actuality, the hs_phy_irq is also present in these targets, but > kept in for debug purposes in hw test environments. This is not > triggered by default and its functionality is mutually exclusive > to that of qusb2_phy interrupt. > ... > > + interrupts-extended = <GIC_SPI 128 IRQ_TYPE_LEVEL_HIGH>, > + <GIC_SPI 136 IRQ_TYPE_LEVEL_HIGH>, > + <GIC_SPI 225 IRQ_TYPE_LEVEL_HIGH>; > + interrupt-names = "pwr_event", > + "qusb2_phy", > + "ss_phy_irq"; > + > power-domains = <&gcc USB1_GDSC>; > > resets = <&gcc GCC_USB1_BCR>; > diff --git a/arch/arm64/boot/dts/qcom/msm8953.dtsi b/arch/arm64/boot/dts/qcom/msm8953.dtsi > index e7de7632669a..29a6f9ad3df3 100644 > --- a/arch/arm64/boot/dts/qcom/msm8953.dtsi > +++ b/arch/arm64/boot/dts/qcom/msm8953.dtsi > @@ -1118,9 +1118,12 @@ usb3: usb@70f8800 { > #size-cells = <1>; > ranges; > > - interrupts = <GIC_SPI 136 IRQ_TYPE_LEVEL_HIGH>, > + interrupts = <GIC_SPI 134 IRQ_TYPE_LEVEL_HIGH>, > + <GIC_SPI 136 IRQ_TYPE_LEVEL_HIGH>, > <GIC_SPI 220 IRQ_TYPE_LEVEL_HIGH>; > - interrupt-names = "hs_phy_irq", "ss_phy_irq"; > + interrupt-names = "pwr_event", Please do not take this patchset till we resolve discussion in the bindings (shortly: "I don't understand why pwr_even has to be put at first position, causing re-ordering of all interrupts"). Best regards, Krzysztof