diff options
author | Stefan Chulski <stefanc@marvell.com> | 2017-08-09 10:37:44 +0300 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2017-08-10 08:33:02 +0200 |
commit | 377883f16d360f7edf766ebf4d025db1b7f0fff0 (patch) | |
tree | be748ce46e88239d375034424aa329ca5e3aaefb /drivers/power/palmas.c | |
parent | 4189373a3d7e3604f4b3991cdbfd0ea4c23a3002 (diff) |
net: mvpp2x: fix phy connected to wrong mdio issue
A8K marvell SoC has two South Bridge communication controllers(CP0 and CP1).
Each communication controller has packet processor ports and MDIO.
On MACHIATOBin board ports from CP1 are connected to mdio on CP0.
Issue:
Wrong base address is assigned to MDIO interface during probe.
Fix:
Get MDIO address from PHY handler parent base address.
This should be refined in the future when MDIO driver is implemented.
Signed-off-by: Stefan Chulski <stefanc@marvell.com>
Tested-by: iSoC Platform CI <ykjenk@marvell.com>
Reviewed-by: Igal Liberman <igall@marvell.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'drivers/power/palmas.c')
0 files changed, 0 insertions, 0 deletions