[PATCH RFT 1/4] dt-bindings: usb: qcom,dwc3: Make ss_phy_irq optional for MSM8996

Konrad Dybcio posted 4 patches 3 weeks, 5 days ago
[PATCH RFT 1/4] dt-bindings: usb: qcom,dwc3: Make ss_phy_irq optional for MSM8996
Posted by Konrad Dybcio 3 weeks, 5 days ago
From: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>

MSM8996 has two DWC3 hosts, one of which is USB2, which naturally
means it doesn't have a SuperSpeed interrupt. 3 interrupts are already
allowed, apply the same logic to interrupt-names.

This fixes warnings such as:

usb@76f8800: interrupt-names: ['pwr_event', 'qusb2_phy', 'hs_phy_irq'] is too short

Signed-off-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
---
 Documentation/devicetree/bindings/usb/qcom,dwc3.yaml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Documentation/devicetree/bindings/usb/qcom,dwc3.yaml b/Documentation/devicetree/bindings/usb/qcom,dwc3.yaml
index 935e204b607bbd3bc9bfbdcd03519202197c9eb4..7ce56db1bbd4cd801129929616eb17f968b097f1 100644
--- a/Documentation/devicetree/bindings/usb/qcom,dwc3.yaml
+++ b/Documentation/devicetree/bindings/usb/qcom,dwc3.yaml
@@ -422,6 +422,7 @@ allOf:
           minItems: 3
           maxItems: 4
         interrupt-names:
+          minItems: 3
           items:
             - const: pwr_event
             - const: qusb2_phy

-- 
2.47.1
Re: [PATCH RFT 1/4] dt-bindings: usb: qcom,dwc3: Make ss_phy_irq optional for MSM8996
Posted by Rob Herring (Arm) 3 weeks ago
On Fri, 29 Nov 2024 23:12:45 +0100, Konrad Dybcio wrote:
> From: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
> 
> MSM8996 has two DWC3 hosts, one of which is USB2, which naturally
> means it doesn't have a SuperSpeed interrupt. 3 interrupts are already
> allowed, apply the same logic to interrupt-names.
> 
> This fixes warnings such as:
> 
> usb@76f8800: interrupt-names: ['pwr_event', 'qusb2_phy', 'hs_phy_irq'] is too short
> 
> Signed-off-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
> ---
>  Documentation/devicetree/bindings/usb/qcom,dwc3.yaml | 1 +
>  1 file changed, 1 insertion(+)
> 

Acked-by: Rob Herring (Arm) <robh@kernel.org>