net: ethernet: mtk_eth_soc: align reset procedure to vendor sdk
authorLorenzo Bianconi <lorenzo@kernel.org>
Sat, 14 Jan 2023 17:01:30 +0000 (18:01 +0100)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 17 Jan 2023 10:36:44 +0000 (11:36 +0100)
commit06127504c282e3e668581b5a1f410980c0c6c064
treeeb6e2c1f6e620c4095249485c93252156b832ba0
parenta9724b9c477f63b834bc303b2fc0b1abdd3815de
net: ethernet: mtk_eth_soc: align reset procedure to vendor sdk

Avoid to power-down the ethernet chip during hw reset and align reset
procedure to vendor sdk.

Reviewed-by: Leon Romanovsky <leonro@nvidia.com>
Tested-by: Daniel Golle <daniel@makrotopia.org>
Co-developed-by: Sujuan Chen <sujuan.chen@mediatek.com>
Signed-off-by: Sujuan Chen <sujuan.chen@mediatek.com>
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/ethernet/mediatek/mtk_eth_soc.c
drivers/net/ethernet/mediatek/mtk_eth_soc.h
drivers/net/ethernet/mediatek/mtk_ppe.c
drivers/net/ethernet/mediatek/mtk_ppe.h
drivers/net/ethernet/mediatek/mtk_ppe_regs.h