Skip to content

net: phy: Add Broadcom BCM53xx switch driver

Florian Fainelli u-boot 5 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest posting 2/20 of 4 patches 0 repliesNew
  2. v4 posting 1/24 patches 4 repliesSuperseded
  3. v34 patches 0 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v24 patches0 repliesSuperseded
v10 of 4 patches0 repliesSuperseded

Patches in v4 posting 2/2 No applies recorded yet

None of the 4 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v4 yet.

Read the v4 thread

Cover letter [U-Boot] [PATCH v4 0/4] net: phy: Add Broadcom BCM53xx switch driver
Quoted 33 lines · Joe Hershberger
Quoted 32 lines · Florian Fainelli

Hi all,

This patch series adds support for the Broadcom BCM53xx switches, in particular BCM53125 which is found no the Lamobo R1 board.

The driver is largely based on the DSA/b53 driver Linux driver and only incorporates what is necessary to succesfully bring-up all ports (including the management port) for boot over the network:

=> dhcp
dw_adjust_link: Speed: 1000, full duplex
BOOTP broadcast 1
DHCP client bound to address 192.168.0.11 (3 ms)
Using ethernet at 01c50000 device
TFTP from server 192.168.0.1; our IP address is 192.168.0.11 Filename 'sun7i-a20-lamobo-r1-kernel.bin'.
Load address: 0x42000000
Loading: #################################################################

         #################################################################
         ################################
         11.6 MiB/s

done
Bytes transferred = 2371552 (242fe0 hex)
=>

Joe there is one warning left which does not look legit to me since we now have a help paragraph describing the config symbol:

WARNING: please write a paragraph that describes the config symbol fully #34: FILE: drivers/net/phy/Kconfig:15:
+config B53_SWITCH

Quoted 7 lines
Quoted 5 lines

and one CHECK left which I intentionally did not fix because it makes the definitions of the bits less clear:
CHECK: Prefer using the BIT macro
#134: FILE: drivers/net/phy/b53.c:63:
+#define PORT_OVERRIDE_SPEED_100M (1 << PORT_OVERRIDE_SPEED_S)

Works for me.o

Should I expect you to queue up these patches in a git tree/branch, or is someone else picking up networking/PHY patches?

Signature · 1 line
Florian