diff options
author | Alexandru Ardelean <alexandru.ardelean@analog.com> | 2019-09-06 16:02:55 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-09-11 15:27:09 +0100 |
commit | 0060c8783330ab60deb96f9d6bb7abfe4664765d (patch) | |
tree | ac2defbf44fe2c1ca5ffb3f82ba305897bd7a153 /tools/laptop | |
parent | c1609946b8b6485e1d405663004867ea9e92178a (diff) |
net: stmmac: implement support for passive mode converters via dt
In-between the MAC & PHY there can be a mode converter, which converts one
mode to another (e.g. GMII-to-RGMII).
The converter, can be passive (i.e. no driver or OS/SW information
required), so the MAC & PHY need to be configured differently.
For the `stmmac` driver, this is implemented via a `mac-mode` property in
the device-tree, which configures the MAC into a certain mode, and for the
PHY a `phy_interface` field will hold the mode of the PHY. The mode of the
PHY will be passed to the PHY and from there-on it work in a different
mode. If unspecified, the default `phy-mode` will be used for both.
Signed-off-by: Alexandru Ardelean <alexandru.ardelean@analog.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/laptop')
0 files changed, 0 insertions, 0 deletions