Searched hist:"10739 ea3132861b1344264b110ea48d951a0e3b0" (Results 1 – 3 of 3) sorted by relevance
/linux/drivers/net/ethernet/stmicro/stmmac/ |
H A D | hwif.c | diff 10739ea3132861b1344264b110ea48d951a0e3b0 Tue Apr 04 00:23:01 CEST 2023 Shenwei Wang <shenwei.wang@nxp.com> net: stmmac: add support for platform specific reset
This patch adds support for platform-specific reset logic in the stmmac driver. Some SoCs require a different reset mechanism than the standard dwmac IP reset. To support these platforms, a new function pointer 'fix_soc_reset' is added to the plat_stmmacenet_data structure. The stmmac_reset in hwif.h is modified to call the 'fix_soc_reset' function if it exists. This enables the driver to use the platform-specific reset logic when necessary.
Signed-off-by: Shenwei Wang <shenwei.wang@nxp.com> Reviewed-by: Simon Horman <simon.horman@corigine.com> Link: https://lore.kernel.org/r/20230403222302.328262-1-shenwei.wang@nxp.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
|
H A D | hwif.h | diff 10739ea3132861b1344264b110ea48d951a0e3b0 Tue Apr 04 00:23:01 CEST 2023 Shenwei Wang <shenwei.wang@nxp.com> net: stmmac: add support for platform specific reset
This patch adds support for platform-specific reset logic in the stmmac driver. Some SoCs require a different reset mechanism than the standard dwmac IP reset. To support these platforms, a new function pointer 'fix_soc_reset' is added to the plat_stmmacenet_data structure. The stmmac_reset in hwif.h is modified to call the 'fix_soc_reset' function if it exists. This enables the driver to use the platform-specific reset logic when necessary.
Signed-off-by: Shenwei Wang <shenwei.wang@nxp.com> Reviewed-by: Simon Horman <simon.horman@corigine.com> Link: https://lore.kernel.org/r/20230403222302.328262-1-shenwei.wang@nxp.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
|
/linux/include/linux/ |
H A D | stmmac.h | diff 10739ea3132861b1344264b110ea48d951a0e3b0 Tue Apr 04 00:23:01 CEST 2023 Shenwei Wang <shenwei.wang@nxp.com> net: stmmac: add support for platform specific reset
This patch adds support for platform-specific reset logic in the stmmac driver. Some SoCs require a different reset mechanism than the standard dwmac IP reset. To support these platforms, a new function pointer 'fix_soc_reset' is added to the plat_stmmacenet_data structure. The stmmac_reset in hwif.h is modified to call the 'fix_soc_reset' function if it exists. This enables the driver to use the platform-specific reset logic when necessary.
Signed-off-by: Shenwei Wang <shenwei.wang@nxp.com> Reviewed-by: Simon Horman <simon.horman@corigine.com> Link: https://lore.kernel.org/r/20230403222302.328262-1-shenwei.wang@nxp.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
|