]> git.dujemihanovic.xyz Git - linux.git/commit
net: ethernet: mtk_eth_soc: introduce mtk_hw_warm_reset support
authorLorenzo Bianconi <lorenzo@kernel.org>
Sat, 14 Jan 2023 17:01:29 +0000 (18:01 +0100)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 17 Jan 2023 10:36:44 +0000 (11:36 +0100)
commita9724b9c477f63b834bc303b2fc0b1abdd3815de
treee1d6269e23707595601c7c2b0dea18295cde8377
parentbccd19bce0b6cfcd8bb664718da2341cddf19532
net: ethernet: mtk_eth_soc: introduce mtk_hw_warm_reset support

Introduce mtk_hw_warm_reset utility routine. This is a preliminary patch
to align reset procedure to vendor sdk and avoid to power down the chip
during hw reset.

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