]> www.infradead.org Git - linux.git/commitdiff
dt-bindings: phy: armada-cp110-utmi: add optional swap-dx-lanes property
authorJosua Mayer <josua@solid-run.com>
Sun, 2 Jun 2024 15:49:39 +0000 (17:49 +0200)
committerVinod Koul <vkoul@kernel.org>
Wed, 12 Jun 2024 11:21:21 +0000 (16:51 +0530)
Armada CP110 UTMI supports swapping D+ and D- signals.
usb251xb.yaml already describes a suitable device-tree property for the
same purpose but as child usb controller node.

Add optional swap-dx-lanes device-tree property to armada cp110 utmi phy
with same semantics as usb251xb:
The property lists all ports that swap D+ and D-, unlisted ports are
considered correct.

Signed-off-by: Josua Mayer <josua@solid-run.com>
Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
Link: https://lore.kernel.org/r/20240602-cn9130-som-v6-4-89393e86d4c7@solid-run.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Documentation/devicetree/bindings/phy/marvell,armada-cp110-utmi-phy.yaml

index 9ce7b4c6d20888f098c249a4a85fdac698a94dfb..2ef02aac042a38aa170b31ac3c5c23a92207c3b1 100644 (file)
@@ -41,6 +41,12 @@ properties:
       Phandle to the system controller node
     $ref: /schemas/types.yaml#/definitions/phandle
 
+  swap-dx-lanes:
+    $ref: /schemas/types.yaml#/definitions/uint32-array
+    description: |
+      Specifies the ports which will swap the differential-pair (D+/D-),
+      default is not-swapped.
+
 # Required child nodes:
 
 patternProperties: