summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/usb
diff options
context:
space:
mode:
authorVaradarajan Narayanan <quic_varada@quicinc.com>2024-07-23 12:01:50 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-07-31 10:46:05 +0200
commit17668d7bb84e4b4d6aa0196f89273fd84e300a5c (patch)
treead44d0b841d4a8f149a9ace91041f1b4a40e3ec9 /Documentation/devicetree/bindings/usb
parentusb: misc: eud: switch to fallback compatible for device matching (diff)
downloadlinux-17668d7bb84e4b4d6aa0196f89273fd84e300a5c.tar.xz
linux-17668d7bb84e4b4d6aa0196f89273fd84e300a5c.zip
dt-bindings: usb: qcom,dwc3: Update ipq5332 interrupt info
IPQ5332 has only three interrupts. Update the constraints to fix the following dt_binding_check errors. interrupt-names: ['pwr_event', 'dp_hs_phy_irq', 'dm_hs_phy_irq'] is too short Fixes: 53c6d854be4e ("dt-bindings: usb: dwc3: Clean up hs_phy_irq in binding") Signed-off-by: Varadarajan Narayanan <quic_varada@quicinc.com> Acked-by: Rob Herring (Arm) <robh@kernel.org> Link: https://lore.kernel.org/r/20240723100151.402300-2-quic_varada@quicinc.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation/devicetree/bindings/usb')
-rw-r--r--Documentation/devicetree/bindings/usb/qcom,dwc3.yaml15
1 files changed, 15 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/usb/qcom,dwc3.yaml b/Documentation/devicetree/bindings/usb/qcom,dwc3.yaml
index efde47a5b145..9dfbb01294fd 100644
--- a/Documentation/devicetree/bindings/usb/qcom,dwc3.yaml
+++ b/Documentation/devicetree/bindings/usb/qcom,dwc3.yaml
@@ -428,6 +428,21 @@ allOf:
contains:
enum:
- qcom,ipq5332-dwc3
+ then:
+ properties:
+ interrupts:
+ maxItems: 3
+ interrupt-names:
+ items:
+ - const: pwr_event
+ - const: dp_hs_phy_irq
+ - const: dm_hs_phy_irq
+
+ - if:
+ properties:
+ compatible:
+ contains:
+ enum:
- qcom,x1e80100-dwc3
then:
properties: