]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
dt-bindings: phy: mtk-xs-phy: support type switch by pericfg
authorFrank Wunderlich <frank-w@public-files.de>
Tue, 22 Apr 2025 13:24:27 +0000 (15:24 +0200)
committerVinod Koul <vkoul@kernel.org>
Wed, 14 May 2025 08:24:44 +0000 (09:24 +0100)
Add support for type switch by pericfg register between USB3/PCIe.

Signed-off-by: Frank Wunderlich <frank-w@public-files.de>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20250422132438.15735-5-linux@fw-web.de
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Documentation/devicetree/bindings/phy/mediatek,xsphy.yaml

index 3b5253659e6f0cd0ee58decb787556765d7a8958..0bed847bb4ad774760c1f4d3597c5a6184aad31f 100644 (file)
@@ -151,6 +151,21 @@ patternProperties:
         minimum: 1
         maximum: 31
 
+      mediatek,syscon-type:
+        $ref: /schemas/types.yaml#/definitions/phandle-array
+        description:
+          A phandle to syscon used to access the register of type switch,
+          the field should always be 3 cells long.
+        items:
+          - items:
+              - description:
+                  Phandle to phy type configuration system controller
+              - description:
+                  Phy type configuration register offset
+              - description:
+                  Index of config segment
+                enum: [0, 1, 2, 3]
+
     required:
       - reg
       - clocks