u-boot/drivers/net/ldpaa_eth
Pankaj Bansal 82fadccccf drivers: net: ldpaa_eth: check if the dpmac is enabled
some dpmacs in armv8a based freescale layerscape SOCs can be
configured via both serdes(sgmii, xfi, xlaui etc) bits and via
EC*_PMUX(rgmii) bits in RCW.
e.g. dpmac 17 and 18 in LX2160A can be configured as SGMII from
serdes bits and as RGMII via EC1_PMUX/EC2_PMUX bits
Now if a dpmac is enabled by serdes bits then it takes precedence
over EC*_PMUX bits. i.e. in LX2160A if we select serdes protocol
that configures dpmac17 as SGMII and set the EC1_PMUX as RGMII,
then the dpmac is SGMII and not RGMII.

Therefore, in fsl_rgmii_init function of SOC, we will check if the
dpmac is enabled or not? if it is (fsl_serdes_init has already enabled
the dpmac), then don't enable it.

Signed-off-by: Pankaj Bansal <pankaj.bansal@nxp.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Reviewed-by: Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com>
2019-03-15 11:52:00 +05:30
..
ldpaa_eth.c ldpaa_eth.c: Fix warning when PHYLIB is not enabled 2018-10-12 07:41:24 -04:00
ldpaa_eth.h driver: net: fsl-mc: remove unused strcture elements 2018-10-10 12:36:34 -05:00
ldpaa_wriop.c driver: net: fsl-mc: Add support of multiple phys for dpmac 2018-10-10 12:45:28 -05:00
ls1088a.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
ls2080a.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
lx2160a.c drivers: net: ldpaa_eth: check if the dpmac is enabled 2019-03-15 11:52:00 +05:30
Makefile armv8: lx2160a: Add LX2160A SoC Support 2018-12-06 14:37:19 -08:00