Re: [PATCH v3 2/3] net: phy: dp83867: Add lane swapping support in the DP83867 TI's PHY driver
From: David Miller
Date: Tue Feb 07 2017 - 13:59:53 EST
From: Lukasz Majewski <lukma@xxxxxxx>
Date: Tue, 7 Feb 2017 06:20:23 +0100
> This patch adds support for enabling or disabling the lane swapping (called
> "port mirroring" in PHY's CFG4 register) feature of the DP83867 TI's PHY
> device.
>
> One use case is when bootstrap configuration enables this feature (because
> of e.g. LED_0 wrong wiring) so then one needs to disable it in software
> (at u-boot/Linux).
>
> Signed-off-by: Lukasz Majewski <lukma@xxxxxxx>
> ---
> Changes for v3:
> - Add "line swapping" to the patch description
> - Add DP83867_PORT_MIRROING_KEEP enum for better code readability
>
> Changes for v2:
> - use "net-phy-lane-swap" and "net-phy-lane-no-swap" generic PHY properties.
> instead of TI specific one
Applied.