Skip to content

net: smc911x: Convert to DM

Marek Vasut u-boot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest12 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/12net: smc911x: Remove pkt_data_{push,pull}drivers/net/smc911x.c+2 -71 reply
2/12net: smc911x: Replace malloc()+memset() with calloc()drivers/net/smc911x.c+1 -22 replies
3/12net: smc911x: Rename smc911x_rx() to smc911x_recv()drivers/net/smc911x.c+2 -20 replies
4/12net: smc911x: Invert the logic in smc911x_miiphy_{read, write}()drivers/net/smc911x.c+16 -110 replies
5/12net: smc911x: Fix potential memleak() in init fail pathdrivers/net/smc911x.c+11 -32 replies
5/12net: smc911x: Fix potential memleak() in init fail path+0 -00 replies
6/12net: smc911x: Inline all functions from header filedrivers/net/smc911x.c drivers/net/smc911x.h examples/standalone/smc911x_eeprom.c+312 -1582 replies
7/12net: smc911x: Drop weak alias from 32bit accessorsdrivers/net/smc911x.c examples/standalone/smc911x_eeprom.c+9 -213 replies
8/12net: smc911x: Convert IO accessors to {read, write}{w, l}()drivers/net/smc911x.c+7 -61 reply
9/12net: smc911x: Pass around driver private datadrivers/net/smc911x.c+125 -1091 reply
10/12net: smc911x: Clean up the status handling in smc911x_recv()drivers/net/smc911x.c+17 -142 replies
11/12net: smc911x: Split non-DM specific bits from common codedrivers/net/smc911x.c+43 -141 reply
12/12net: smc911x: Add DM supportboard/renesas/blanche/blanche.c drivers/net/smc911x.c examples/standalone/Makefile+120 -12 replies
12/12net: smc911x: Add DM support+0 -00 replies

Reviews trailers per patch

9 of 14 patches have a Reviewed-by or Acked-by.

PatchJoe Hershberger
1/12A-b
2/12A-b
3/12
4/12
5/12A-b
5/12A-b
6/12A-b
7/12A-b
8/12A-b
9/12A-b
10/12
11/12A-b
12/12
12/12

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

Read the v1 thread

Cover letter [PATCH 00/12] net: smc911x: Convert to DM

Perform DM conversion of the SMC911x driver. Note that as I do not have any hardware with this chip, I only compile-tested this conversion. But it seems Yamada-san has one, so please test.

Note that the DT compatible is set only for 9115 , so this might need to be changed.

Note that this is compile-tested, but not hardware tested, so please do send me patches, thanks.

Marek Vasut (12):
net: smc911x: Remove pkt_data_{push,pull}
net: smc911x: Replace malloc()+memset() with calloc()
net: smc911x: Rename smc911x_rx() to smc911x_recv()
net: smc911x: Invert the logic in smc911x_miiphy_{read,write}()
net: smc911x: Fix potential memleak() in init fail path
net: smc911x: Inline all functions from header file
net: smc911x: Drop weak alias from 32bit accessors
net: smc911x: Convert IO accessors to {read,write}{w,l}()
net: smc911x: Pass around driver private data
net: smc911x: Clean up the status handling in smc911x_recv()
net: smc911x: Split non-DM specific bits from common code
net: smc911x: Add DM support

 board/renesas/blanche/blanche.c      |   2 +
 drivers/net/smc911x.c                | 523 +++++++++++++++++++++------
 drivers/net/smc911x.h                | 157 --------
 examples/standalone/Makefile         |   5 +-
 examples/standalone/smc911x_eeprom.c | 150 ++++++++
 5 files changed, 577 insertions(+), 260 deletions(-)
Cc Joe Hershberger <[email protected]>
Cc Masahiro Yamada <[email protected]>
Signature · 1 line
2.25.0