Skip to content

stmmac: dwmac-sti refactor+cleanup

Joachim Eastwood netdev 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest7 patches 1 replyIn review
  2. v17 patches 7 repliesSuperseded

Changes since v2 from the cover letter

- add missing static to sti_dwmac_pm_ops
- s/sti_dwmac_set_phy_mode/sti_dwmac_set_mode
- acked/tested by Giuseppe

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7stmmac: dwmac-sti: remove useless of_node checkdrivers/net/ethernet/stmicro/stmmac/dwmac-sti.c+0 -30 replies
2/7stmmac: dwmac-sti: remove clk NULL checksdrivers/net/ethernet/stmicro/stmmac/dwmac-sti.c+4 -60 replies
3/7stmmac: dwmac-sti: add PM ops and resume functiondrivers/net/ethernet/stmicro/stmmac/dwmac-sti.c+37 -100 replies
4/7stmmac: dwmac-sti: move st,gmac_en parsing to sti_dwmac_parse_datadrivers/net/ethernet/stmicro/stmmac/dwmac-sti.c+3 -30 replies
5/7stmmac: dwmac-sti: move clk_prepare_enable out of init and add error handlingdrivers/net/ethernet/stmicro/stmmac/dwmac-sti.c+15 -40 replies
6/7stmmac: dwmac-sti: clean up and rename sti_dwmac_initdrivers/net/ethernet/stmicro/stmmac/dwmac-sti.c+4 -60 replies
7/7stmmac: dwmac-sti: remove unused priv dev memberdrivers/net/ethernet/stmicro/stmmac/dwmac-sti.c+0 -20 replies

Reviews trailers per patch

All 7 patches have a Reviewed-by or Acked-by.

PatchGiuseppe Cavallaro
1/7A-b T-b
2/7A-b T-b
3/7A-b T-b
4/7A-b T-b
5/7A-b T-b
6/7A-b T-b
7/7A-b T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [net-next v2 0/7] stmmac: dwmac-sti refactor+cleanup

This patch set aims to remove the init/exit callbacks from the dwmac-sti driver and instead use standard PM callbacks. Doing this will also allow us to cleanup the driver.

Eventually the init/exit callbacks will be deprecated and removed from all drivers dwmac-* except for dwmac-generic. Drivers will be refactored to use standard PM and remove callbacks.

Changes since v2:
- add missing static to sti_dwmac_pm_ops
- s/sti_dwmac_set_phy_mode/sti_dwmac_set_mode
- acked/tested by Giuseppe

Joachim Eastwood (7):
stmmac: dwmac-sti: remove useless of_node check
stmmac: dwmac-sti: remove clk NULL checks
stmmac: dwmac-sti: add PM ops and resume function
stmmac: dwmac-sti: move st,gmac_en parsing to sti_dwmac_parse_data
stmmac: dwmac-sti: move clk_prepare_enable out of init and add error handling
stmmac: dwmac-sti: clean up and rename sti_dwmac_init
stmmac: dwmac-sti: remove unused priv dev member

 drivers/net/ethernet/stmicro/stmmac/dwmac-sti.c | 87 ++++++++++++++++---------
 1 file changed, 58 insertions(+), 29 deletions(-)
Signature · 1 line
2.10.2