Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: usb: xhci: Add support for BCM2711

The xHCI IP on the BCM2711 SoC is compatible to "brcm,xhci-brcm-v2",
but also requires a power domain. So introduce a new compatible
and the specific constraints. Since the key allOf can only occur
once, merge the reference below.

Signed-off-by: Stefan Wahren <wahrenst@gmx.net>
Reviewed-by: Conor Dooley <conor.dooley@microchip.com>
Reviewed-by: Florian Fainelli <florian.fainelli@broadcom.com>
Link: https://lore.kernel.org/r/20231205200531.8232-2-wahrenst@gmx.net
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Stefan Wahren and committed by
Greg Kroah-Hartman
b3f8e6ae 855d75cf

+22 -3
+22 -3
Documentation/devicetree/bindings/usb/generic-xhci.yaml
··· 9 9 maintainers: 10 10 - Mathias Nyman <mathias.nyman@intel.com> 11 11 12 - allOf: 13 - - $ref: usb-xhci.yaml# 14 - 15 12 properties: 16 13 compatible: 17 14 oneOf: ··· 22 25 - marvell,armada-380-xhci 23 26 - marvell,armada-8k-xhci 24 27 - const: generic-xhci 28 + - description: Broadcom SoCs with power domains 29 + items: 30 + - enum: 31 + - brcm,bcm2711-xhci 32 + - const: brcm,xhci-brcm-v2 25 33 - description: Broadcom STB SoCs with xHCI 26 34 enum: 27 35 - brcm,xhci-brcm-v2 ··· 51 49 - const: core 52 50 - const: reg 53 51 52 + power-domains: 53 + maxItems: 1 54 + 54 55 unevaluatedProperties: false 55 56 56 57 required: 57 58 - compatible 58 59 - reg 59 60 - interrupts 61 + 62 + allOf: 63 + - $ref: usb-xhci.yaml# 64 + - if: 65 + properties: 66 + compatible: 67 + contains: 68 + const: brcm,bcm2711-xhci 69 + then: 70 + required: 71 + - power-domains 72 + else: 73 + properties: 74 + power-domains: false 60 75 61 76 examples: 62 77 - |