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

dt-bindings: phy: armada-cp110-utmi: add optional swap-dx-lanes property

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>

authored by

Josua Mayer and committed by
Vinod Koul
4de48026 d14c1461

+6
+6
Documentation/devicetree/bindings/phy/marvell,armada-cp110-utmi-phy.yaml
··· 41 41 Phandle to the system controller node 42 42 $ref: /schemas/types.yaml#/definitions/phandle 43 43 44 + swap-dx-lanes: 45 + $ref: /schemas/types.yaml#/definitions/uint32-array 46 + description: | 47 + Specifies the ports which will swap the differential-pair (D+/D-), 48 + default is not-swapped. 49 + 44 50 # Required child nodes: 45 51 46 52 patternProperties: