mirror_ubuntu-kernels/drivers/net/ethernet/freescale/dpaa2
Ioana Ciornei f978fe85b8 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>
2022-03-14 10:41:51 +00:00
..
dpaa2-eth-dcb.c dpaa2-eth: add a dpaa2_eth_ prefix to all functions in dpaa2-eth-dcb.c 2020-09-01 13:23:47 -07:00
dpaa2-eth-debugfs.c dpaa2-eth: name the debugfs directory after the DPNI object 2021-05-21 14:05:04 -07:00
dpaa2-eth-debugfs.h
dpaa2-eth-devlink.c dpaa2-eth: Register devlink instance at the end of probe 2021-09-27 16:31:59 +01:00
dpaa2-eth-trace.h dpaa2-eth: fix recursive header include 2020-06-25 16:03:39 -07:00
dpaa2-eth.c dpaa2-mac: configure the SerDes phy on a protocol change 2022-03-14 10:41:51 +00:00
dpaa2-eth.h dpaa2-eth: Update SINGLE_STEP register access 2022-02-19 16:27:17 +00:00
dpaa2-ethtool.c dpaa2-eth: add support for software TSO 2022-02-09 13:15:35 +00:00
dpaa2-mac.c dpaa2-mac: configure the SerDes phy on a protocol change 2022-03-14 10:41:51 +00:00
dpaa2-mac.h dpaa2-mac: configure the SerDes phy on a protocol change 2022-03-14 10:41:51 +00:00
dpaa2-ptp.c bus: fsl-mc: fsl-mc-allocator: Rework MSI handling 2021-12-16 22:16:41 +01:00
dpaa2-ptp.h dpaa2-eth: define a global ptp_qoriq structure pointer 2020-09-18 14:32:48 -07:00
dpaa2-switch-ethtool.c dpaa2-switch: export MAC statistics in ethtool 2021-08-04 09:53:34 +01:00
dpaa2-switch-flower.c dpaa2-switch: fix default return of dpaa2_switch_flower_parse_mirror_key 2022-02-15 14:31:43 +00:00
dpaa2-switch.c dpaa2-mac: configure the SerDes phy on a protocol change 2022-03-14 10:41:51 +00:00
dpaa2-switch.h dpaa2-switch: integrate the MAC endpoint support 2021-08-04 09:53:34 +01:00
dpkg.h dpaa2-eth: fixup kdoc warnings 2021-03-16 15:29:49 -07:00
dpmac-cmd.h dpaa2-mac: add the MC API for reconfiguring the protocol 2022-03-14 10:41:50 +00:00
dpmac.c dpaa2-mac: add the MC API for reconfiguring the protocol 2022-03-14 10:41:50 +00:00
dpmac.h dpaa2-mac: add the MC API for reconfiguring the protocol 2022-03-14 10:41:50 +00:00
dpni-cmd.h dpaa2-eth: Update dpni_get_single_step_cfg command 2022-02-19 16:27:16 +00:00
dpni.c dpaa2-eth: Update dpni_get_single_step_cfg command 2022-02-19 16:27:16 +00:00
dpni.h dpaa2-eth: Update dpni_get_single_step_cfg command 2022-02-19 16:27:16 +00:00
dprtc-cmd.h
dprtc.c
dprtc.h dpaa2-eth: fixup kdoc warnings 2021-03-16 15:29:49 -07:00
dpsw-cmd.h dpaa2-switch: add API for setting up mirroring 2021-07-29 21:34:45 +01:00
dpsw.c dpaa2-switch: add API for setting up mirroring 2021-07-29 21:34:45 +01:00
dpsw.h dpaa2-switch: integrate the MAC endpoint support 2021-08-04 09:53:34 +01:00
Kconfig staging: dpaa2-switch: move the driver out of staging 2021-03-10 13:30:36 -08:00
Makefile dpaa2-switch: integrate the MAC endpoint support 2021-08-04 09:53:34 +01:00