diff options
author | Vladimir Oltean <vladimir.oltean@nxp.com> | 2021-08-19 20:04:16 +0300 |
---|---|---|
committer | Thomas Bogendoerfer <tsbogend@alpha.franken.de> | 2021-08-21 10:38:48 +0200 |
commit | eba54cbb92d28b4f6dc1ed5f73f5187b09d82c08 (patch) | |
tree | e9736a4be9c888c90ac6f2c9720d4093dcb79849 /arch/mips/generic | |
parent | 0181f6f19c6c35b24f1516d8db22f3bbce762633 (diff) | |
download | linux-eba54cbb92d28b4f6dc1ed5f73f5187b09d82c08.tar.gz linux-eba54cbb92d28b4f6dc1ed5f73f5187b09d82c08.tar.bz2 linux-eba54cbb92d28b4f6dc1ed5f73f5187b09d82c08.zip |
MIPS: mscc: ocelot: mark the phy-mode for internal PHY ports
The ocelot driver was converted to phylink, and that expects a valid
phy_interface_t. Without a phy-mode, of_get_phy_mode returns
PHY_INTERFACE_MODE_NA, which is not ideal because phylink rejects that.
The ocelot driver was patched to treat PHY_INTERFACE_MODE_NA as
PHY_INTERFACE_MODE_INTERNAL to work with the broken DT blobs, but we
should fix the device trees and specify the phy-mode too.
Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Diffstat (limited to 'arch/mips/generic')
0 files changed, 0 insertions, 0 deletions