summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/usb
diff options
context:
space:
mode:
authorWesley Cheng <quic_wcheng@quicinc.com>2024-01-03 00:45:22 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-01-04 18:09:27 +0300
commitb1541a80414d13b1da9b528b09e68a4a518ae8fe (patch)
treefbb610cf4c8e78be14fd414daec18b13a61a5505 /Documentation/devicetree/bindings/usb
parentc99b38c412343053e9af187e595793c8805bb9b8 (diff)
downloadlinux-b1541a80414d13b1da9b528b09e68a4a518ae8fe.tar.xz
dt-bindings: usb: xhci: Add num-hc-interrupters definition
Add the definition for how many interrupts the XHCI host controller should allocate. XHCI can potentially support up to 1024 interrupters, which implementations may want to limit. Reviewed-by: Rob Herring <robh@kernel.org> Signed-off-by: Wesley Cheng <quic_wcheng@quicinc.com> Link: https://lore.kernel.org/r/20240102214549.22498-15-quic_wcheng@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/usb-xhci.yaml6
1 files changed, 6 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/usb/usb-xhci.yaml b/Documentation/devicetree/bindings/usb/usb-xhci.yaml
index 180a261c3e8f..4238ae896ef6 100644
--- a/Documentation/devicetree/bindings/usb/usb-xhci.yaml
+++ b/Documentation/devicetree/bindings/usb/usb-xhci.yaml
@@ -29,6 +29,12 @@ properties:
description: Interrupt moderation interval
default: 5000
+ num-hc-interrupters:
+ description: Maximum number of interrupters to allocate
+ $ref: /schemas/types.yaml#/definitions/uint16
+ minimum: 1
+ maximum: 1024
+
additionalProperties: true
examples: