]> git.dujemihanovic.xyz Git - u-boot.git/commit
net: phy: ti: Add lane swapping support in the DP83867 TI's PHY driver
authorJanine Hagemann <j.hagemann@phytec.de>
Tue, 28 Aug 2018 06:25:37 +0000 (08:25 +0200)
committerJoe Hershberger <joe.hershberger@ni.com>
Wed, 10 Oct 2018 17:28:53 +0000 (12:28 -0500)
commitfba725f41002e5035e601a7cfa9429b0c8184211
tree95f3060d69dc48deb666ee196f9a6339158f1bcd
parent883b5302fc71c97a838e7d4d5d45e85492f582ec
net: phy: ti: Add lane swapping support in the DP83867 TI's PHY driver

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).

Based on commit fc6d39c39581 ("net: phy: dp83867: Add lane swapping
support in the DP83867 TI's PHY driver") of mainline linux kernel.

Signed-off-by: Janine Hagemann <j.hagemann@phytec.de>
Acked-by: Lukasz Majewski <lukma@denx.de>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
doc/device-tree-bindings/net/ti,dp83867.txt
drivers/net/phy/ti.c