LF-538 net: phy: tja11xx: add user interface to enable slave mode
authorFugang Duan <fugang.duan@nxp.com>
Wed, 18 Dec 2019 08:48:45 +0000 (16:48 +0800)
committerDong Aisheng <aisheng.dong@nxp.com>
Mon, 14 Dec 2020 05:13:32 +0000 (13:13 +0800)
commit753647f6fdc654ffb6662fcce853436bf1a95556
treedbd97caa8b05a0aa9572aec431b7929b66f61de0
parent5b2b23356597b698395c0c4dd81eae8bca6ffbb3
LF-538 net: phy: tja11xx: add user interface to enable slave mode

Current phy driver only support master mode.
Add sysfs interface for user to danimiacally configure
the phy mode to master or slave.

Reviewed-by: Richard Zhu <hongxing.zhu@nxp.com>
Signed-off-by: Fugang Duan <fugang.duan@nxp.com>
drivers/net/phy/nxp-tja11xx.c