]> git.baikalelectronics.ru Git - uboot.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)
commit585830fffc7029b8491c6f06a064953b4bfd3818
tree95f3060d69dc48deb666ee196f9a6339158f1bcd
parent6b14acd8cbf1b1855d4a21da9905a47a0ccea7d9
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