summaryrefslogtreecommitdiff
path: root/arch/arm64/boot/dts/freescale
diff options
context:
space:
mode:
authorIoana Ciornei <ioana.ciornei@nxp.com>2022-03-11 23:22:27 +0200
committerDavid S. Miller <davem@davemloft.net>2022-03-14 10:41:51 +0000
commitf978fe85b8d1d5b879a4ddda7e4baddbe60e4ee8 (patch)
treecbb477bb49cac7ecf30fe72b4ec02f75ca19ac8f /arch/arm64/boot/dts/freescale
parentaa95c37112414c4c7ea8332357cb7182fc45c84a (diff)
dpaa2-mac: configure the SerDes phy on a protocol change
This patch integrates the dpaa2-eth driver with the generic PHY infrastructure in order to search, find and reconfigure the SerDes lanes in case of a protocol change. On the .mac_config() callback, the phy_set_mode_ext() API is called so that the Lynx 28G SerDes PHY driver can change the lane's configuration. In the same phylink callback the MC firmware is called so that it reconfigures the MAC side to run using the new protocol. The consumer drivers - dpaa2-eth and dpaa2-switch - are updated to call the dpaa2_mac_start/stop functions newly added which will power_on/power_off the associated SerDes lane. Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/arm64/boot/dts/freescale')
0 files changed, 0 insertions, 0 deletions