From: Florian Fainelli Date: Sat, 9 Dec 2017 10:55:26 -0800 Subject: [U-Boot] [PATCH v3 0/4] net: phy: Add Broadcom BCM53xx switch driver Message-ID: <20171209185530.27342-1-f.fainelli@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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) => Changes in v3: - dropped redundant phydev->priv assignment in b53_probe(), spotted by Joe Changes in v2: - collected Sefan's Reviewed-by and Joe's Acked-by tags - use max() in drivers/net/designware.c as suggested by Joe Florian Fainelli (4): net: phy: Add Broadcom BCM53xx switch driver net: designware: Pad small packets net: phy: b53: Add b53_reg read/write commands configs: Update Lamobo_R1 with B53 switch options configs/Lamobo_R1_defconfig | 3 + drivers/net/designware.c | 5 + drivers/net/phy/Kconfig | 14 + drivers/net/phy/Makefile | 1 + drivers/net/phy/b53.c | 765 ++++++++++++++++++++++++++++++++++++++++++++ drivers/net/phy/phy.c | 3 + include/phy.h | 1 + 7 files changed, 792 insertions(+) create mode 100644 drivers/net/phy/b53.c -- 2.14.1