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 rk3588 compatible to rockchip,dwc3

RK3588 has three DWC3 controllers. Two of them are fully functional in
host, device and OTG mode including USB2 support. They are connected to
dedicated PHYs, that also support USB-C's DisplayPort alternate mode.

The third controller is connected to one of the combphy's shared
with PCIe and SATA. It can only be used in host mode and does not
support USB2. Compared to the other controllers this one needs
some extra clocks.

While adding the extra clocks required by RK3588, I noticed grf_clk
is not available on RK3568, so I disallowed it for that platform.

Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Reviewed-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://lore.kernel.org/r/20231020150022.48725-2-sebastian.reichel@collabora.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Sebastian Reichel and committed by
Greg Kroah-Hartman
98bad5bc de7ecc4e

+55 -5
+55 -5
Documentation/devicetree/bindings/usb/rockchip,dwc3.yaml
··· 20 20 Type-C PHY 21 21 Documentation/devicetree/bindings/phy/phy-rockchip-typec.txt 22 22 23 - allOf: 24 - - $ref: snps,dwc3.yaml# 25 - 26 23 select: 27 24 properties: 28 25 compatible: ··· 27 30 enum: 28 31 - rockchip,rk3328-dwc3 29 32 - rockchip,rk3568-dwc3 33 + - rockchip,rk3588-dwc3 30 34 required: 31 35 - compatible 32 36 ··· 37 39 - enum: 38 40 - rockchip,rk3328-dwc3 39 41 - rockchip,rk3568-dwc3 42 + - rockchip,rk3588-dwc3 40 43 - const: snps,dwc3 41 44 42 45 reg: ··· 57 58 Master/Core clock, must to be >= 62.5 MHz for SS 58 59 operation and >= 30MHz for HS operation 59 60 - description: 60 - Controller grf clock 61 + Controller grf clock OR UTMI clock 62 + - description: 63 + PIPE clock 61 64 62 65 clock-names: 63 66 minItems: 3 ··· 67 66 - const: ref_clk 68 67 - const: suspend_clk 69 68 - const: bus_clk 70 - - const: grf_clk 69 + - enum: 70 + - grf_clk 71 + - utmi 72 + - const: pipe 71 73 72 74 power-domains: 73 75 maxItems: 1 ··· 89 85 - interrupts 90 86 - clocks 91 87 - clock-names 88 + 89 + allOf: 90 + - $ref: snps,dwc3.yaml# 91 + - if: 92 + properties: 93 + compatible: 94 + contains: 95 + const: rockchip,rk3328-dwc3 96 + then: 97 + properties: 98 + clocks: 99 + minItems: 3 100 + maxItems: 4 101 + clock-names: 102 + minItems: 3 103 + items: 104 + - const: ref_clk 105 + - const: suspend_clk 106 + - const: bus_clk 107 + - const: grf_clk 108 + - if: 109 + properties: 110 + compatible: 111 + contains: 112 + const: rockchip,rk3568-dwc3 113 + then: 114 + properties: 115 + clocks: 116 + maxItems: 3 117 + clock-names: 118 + maxItems: 3 119 + - if: 120 + properties: 121 + compatible: 122 + contains: 123 + const: rockchip,rk3588-dwc3 124 + then: 125 + properties: 126 + clock-names: 127 + minItems: 3 128 + items: 129 + - const: ref_clk 130 + - const: suspend_clk 131 + - const: bus_clk 132 + - const: utmi 133 + - const: pipe 92 134 93 135 examples: 94 136 - |