Skip to content

Commit b484b25

Browse files
frank-wvinodkoul
authored andcommitted
dt-bindings: phy: mtk-xs-phy: support type switch by pericfg
Add support for type switch by pericfg register between USB3/PCIe. Signed-off-by: Frank Wunderlich <[email protected]> Reviewed-by: AngeloGioacchino Del Regno <[email protected]> Reviewed-by: Krzysztof Kozlowski <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Vinod Koul <[email protected]>
1 parent 117d09e commit b484b25

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

Documentation/devicetree/bindings/phy/mediatek,xsphy.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,21 @@ patternProperties:
151151
minimum: 1
152152
maximum: 31
153153

154+
mediatek,syscon-type:
155+
$ref: /schemas/types.yaml#/definitions/phandle-array
156+
description:
157+
A phandle to syscon used to access the register of type switch,
158+
the field should always be 3 cells long.
159+
items:
160+
- items:
161+
- description:
162+
Phandle to phy type configuration system controller
163+
- description:
164+
Phy type configuration register offset
165+
- description:
166+
Index of config segment
167+
enum: [0, 1, 2, 3]
168+
154169
required:
155170
- reg
156171
- clocks

0 commit comments

Comments
 (0)