devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v0 1/2] dt-bindings: usb: qcom,dwc3: Add minItems for interrupt info
@ 2024-07-11  6:56 Varadarajan Narayanan
  2024-07-11  6:56 ` [PATCH v0 2/2] arm64: dts: qcom: ipq5332: Fix interrupt trigger type for usb Varadarajan Narayanan
                   ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: Varadarajan Narayanan @ 2024-07-11  6:56 UTC (permalink / raw)
  To: gregkh, robh, krzk+dt, conor+dt, andersson, konrad.dybcio,
	quic_wcheng, johan+linaro, quic_kriskura, linux-arm-msm,
	linux-usb, devicetree, linux-kernel
  Cc: Varadarajan Narayanan

IPQ5332 has only three interrupts. Update min items
accordingly for interrupt names to fix the following
dt_binding_check errors.

	interrupt-names: ['pwr_event', 'dp_hs_phy_irq', 'dm_hs_phy_irq'] is too short

Fixes: a5c7592366af ("dt-bindings: usb: qcom,dwc3: add SC8280XP binding")
Signed-off-by: Varadarajan Narayanan <quic_varada@quicinc.com>
---
 Documentation/devicetree/bindings/usb/qcom,dwc3.yaml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/Documentation/devicetree/bindings/usb/qcom,dwc3.yaml b/Documentation/devicetree/bindings/usb/qcom,dwc3.yaml
index efde47a5b145..283bac1efba9 100644
--- a/Documentation/devicetree/bindings/usb/qcom,dwc3.yaml
+++ b/Documentation/devicetree/bindings/usb/qcom,dwc3.yaml
@@ -432,8 +432,11 @@ allOf:
     then:
       properties:
         interrupts:
+          minItems: 3
           maxItems: 4
         interrupt-names:
+          minItems: 3
+          maxItems: 4
           items:
             - const: pwr_event
             - const: dp_hs_phy_irq
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2024-07-17  9:51 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-11  6:56 [PATCH v0 1/2] dt-bindings: usb: qcom,dwc3: Add minItems for interrupt info Varadarajan Narayanan
2024-07-11  6:56 ` [PATCH v0 2/2] arm64: dts: qcom: ipq5332: Fix interrupt trigger type for usb Varadarajan Narayanan
2024-07-11  7:47 ` [PATCH v0 1/2] dt-bindings: usb: qcom,dwc3: Add minItems for interrupt info Krzysztof Kozlowski
2024-07-11  8:47   ` Varadarajan Narayanan
2024-07-11  9:03     ` Krzysztof Kozlowski
2024-07-11  9:03     ` Krzysztof Kozlowski
2024-07-11  9:28       ` Varadarajan Narayanan
2024-07-11  8:31 ` Rob Herring (Arm)
2024-07-11 14:22 ` Rob Herring
2024-07-17  9:51   ` Varadarajan Narayanan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).