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

Configure Feed

Select the types of activity you want to include in your feed.

dt-bindings: usb: Add Apple dwc3

Apple Silicon uses Synopsys DesignWare dwc3 based USB controllers for
their Type-C ports.

Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Neal Gompa <neal@gompa.dev>
Signed-off-by: Sven Peter <sven@kernel.org>
Link: https://patch.msgid.link/20251015-b4-aplpe-dwc3-v2-1-cbd65a2d511a@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Sven Peter and committed by
Greg Kroah-Hartman
71e13cc1 b4528e1d

+81
+80
Documentation/devicetree/bindings/usb/apple,dwc3.yaml
··· 1 + # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 + %YAML 1.2 3 + --- 4 + $id: http://devicetree.org/schemas/usb/apple,dwc3.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Apple Silicon DWC3 USB controller 8 + 9 + maintainers: 10 + - Sven Peter <sven@kernel.org> 11 + 12 + description: 13 + Apple Silicon SoCs use a Synopsys DesignWare DWC3 based controller for each of 14 + their Type-C ports. 15 + 16 + allOf: 17 + - $ref: snps,dwc3-common.yaml# 18 + 19 + properties: 20 + compatible: 21 + oneOf: 22 + - items: 23 + - enum: 24 + - apple,t6000-dwc3 25 + - apple,t6020-dwc3 26 + - apple,t8112-dwc3 27 + - const: apple,t8103-dwc3 28 + - const: apple,t8103-dwc3 29 + 30 + reg: 31 + items: 32 + - description: Core DWC3 region 33 + - description: Apple-specific DWC3 region 34 + 35 + reg-names: 36 + items: 37 + - const: dwc3-core 38 + - const: dwc3-apple 39 + 40 + interrupts: 41 + maxItems: 1 42 + 43 + iommus: 44 + maxItems: 2 45 + 46 + resets: 47 + maxItems: 1 48 + 49 + power-domains: 50 + maxItems: 1 51 + 52 + required: 53 + - compatible 54 + - reg 55 + - reg-names 56 + - interrupts 57 + - iommus 58 + - resets 59 + - power-domains 60 + - usb-role-switch 61 + 62 + unevaluatedProperties: false 63 + 64 + examples: 65 + - | 66 + #include <dt-bindings/interrupt-controller/apple-aic.h> 67 + #include <dt-bindings/interrupt-controller/irq.h> 68 + 69 + usb@82280000 { 70 + compatible = "apple,t8103-dwc3"; 71 + reg = <0x82280000 0xcd00>, <0x8228cd00 0x3200>; 72 + reg-names = "dwc3-core", "dwc3-apple"; 73 + interrupts = <AIC_IRQ 777 IRQ_TYPE_LEVEL_HIGH>; 74 + iommus = <&dwc3_0_dart_0 0>, <&dwc3_0_dart_1 1>; 75 + 76 + power-domains = <&ps_atc0_usb>; 77 + resets = <&atcphy0>; 78 + 79 + usb-role-switch; 80 + };
+1
MAINTAINERS
··· 2437 2437 F: Documentation/devicetree/bindings/pwm/apple,s5l-fpwm.yaml 2438 2438 F: Documentation/devicetree/bindings/spi/apple,spi.yaml 2439 2439 F: Documentation/devicetree/bindings/spmi/apple,spmi.yaml 2440 + F: Documentation/devicetree/bindings/usb/apple,dwc3.yaml 2440 2441 F: Documentation/devicetree/bindings/watchdog/apple,wdt.yaml 2441 2442 F: arch/arm64/boot/dts/apple/ 2442 2443 F: drivers/bluetooth/hci_bcm4377.c