dt-bindings: usb: xhci: Allow "iommus" and "dr_mode" properties
Subsystems (2)
Rob Herring (Arm)
maintainerPATCH 1/2 dt-bindings: usb: xhci: Allow "iommus" and "dr_mode" properties
Allow "iommus" property as it's reasonable for any XHCI controller to be behind an IOMMU. Allow "dr_mode" as an XHCI controller can be part of a dual-role controller.
In particular, the Marvell Armada 8K XHCI controller uses both of these properties.
Signed-off-by Rob Herring (Arm) <[email protected]>
--- Documentation/devicetree/bindings/usb/generic-xhci.yaml | 8 ++++++++ 1 file changed, 8 insertions(+)
Documentation/devicetree/bindings/usb/generic-xhci.yaml +8 -0
@@ -53,6 +53,14 @@ properties: dma-coherent: true + dr_mode: + enum: + - host + - otg + + iommus: + maxItems: 1 + power-domains: maxItems: 1
Signature · 1 line
2.51.0
Rob Herring (Arm)
maintainerPATCH 2/2 dt-bindings: usb: xhci: Add "generic-xhci" compatible for Marvell Armada 37xx/8k
The Marvell Armada 37xx and 8k platforms compatible property don't match the binding schema. They are compatible with the "generic-xhci" compatible. The 37xx does have a quirk for "reset on resume", but that's probably not required to function in all situations.
Signed-off-by Rob Herring (Arm) <[email protected]>
--- Documentation/devicetree/bindings/usb/generic-xhci.yaml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-)
Documentation/devicetree/bindings/usb/generic-xhci.yaml +5 -2
@@ -14,12 +14,15 @@ properties: oneOf: - description: Generic xHCI device const: generic-xhci - - description: Armada 37xx/375/38x/8k SoCs + - description: Armada 375/38x SoCs items: - enum: - - marvell,armada3700-xhci - marvell,armada-375-xhci - marvell,armada-380-xhci + - description: Armada 37xx/8k SoCs + items: + - enum: + - marvell,armada3700-xhci - marvell,armada-8k-xhci - const: generic-xhci - description: Broadcom SoCs with power domains
Signature · 1 line
2.51.0