public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH v3 0/6] ls1028a: networking support
@ 2019-06-20 14:48 Alex Marginean
  2019-06-20 14:48 ` [U-Boot] [PATCH 1/6 v3] include: configs: ls1028a: set SYS_RX_ETH_BUFFER to 8 Alex Marginean
                   ` (5 more replies)
  0 siblings, 6 replies; 16+ messages in thread
From: Alex Marginean @ 2019-06-20 14:48 UTC (permalink / raw)
  To: u-boot

This patch set introduces ENETC ethernet and MDIO drivers, integrated in LS1028A
NXP device and enables networking on the two existing boards.
The SGMII interface labeled MAC0 is now functional on the reference design board
(RDB).  The RDB also features four switch ports, not enabled yet.
On the development system (QDS) the RGMII port is now functional.  Add-on cards
are not yet enabled.

Depends on:
    - DM MDIO: https://patchwork.ozlabs.org/patch/1109368/
    - PCI EA and FLR: https://patchwork.ozlabs.org/patch/1111608/

Changes in v3:
    - Added cover letter
    - Added serdes (SoC internal PHYs) configuration code
    - Use a single config option for ethernet and MDIO drivers as they are
    cross dependent
    - Use net_rx_packets for Rx and set SYS_RX_ETH_BUFFER to 8, minimum BD ring
    size supported by ENETC
    - MDIO driver now resides in its own file, read/write functions are
    reused by ethernet driver to access serdes
    - PCI IDs for our functions are no longer defined in pci_ids.h
    - several cosmetic updates, static functions, comments

Alex Marginean (6):
  include: configs: ls1028a: set SYS_RX_ETH_BUFFER to 8
  drivers: net: add NXP ENETC ethernet driver
  drivers: net: add NXP ENETC MDIO driver
  drivers: net: apply serdes configuration for ENETC Ethernet interfaces
  arm: dts: ls1028a updates for network interfaces
  configs: ls1028a: enable networking options in rds, qds defconfig

 arch/arm/dts/fsl-ls1028a-qds.dts |  13 +
 arch/arm/dts/fsl-ls1028a-rdb.dts |  13 +
 arch/arm/dts/fsl-ls1028a.dtsi    |  24 ++
 configs/ls1028aqds_tfa_defconfig |   5 +-
 configs/ls1028ardb_tfa_defconfig |   2 +
 drivers/net/Kconfig              |   7 +
 drivers/net/Makefile             |   1 +
 drivers/net/fsl_enetc.c          | 583 +++++++++++++++++++++++++++++++
 drivers/net/fsl_enetc.h          | 227 ++++++++++++
 drivers/net/fsl_enetc_mdio.c     | 149 ++++++++
 include/configs/ls1028a_common.h |   4 +
 11 files changed, 1027 insertions(+), 1 deletion(-)
 create mode 100644 drivers/net/fsl_enetc.c
 create mode 100644 drivers/net/fsl_enetc.h
 create mode 100644 drivers/net/fsl_enetc_mdio.c

-- 
2.17.1

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2019-07-03  1:30 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-06-20 14:48 [U-Boot] [PATCH v3 0/6] ls1028a: networking support Alex Marginean
2019-06-20 14:48 ` [U-Boot] [PATCH 1/6 v3] include: configs: ls1028a: set SYS_RX_ETH_BUFFER to 8 Alex Marginean
2019-07-01  8:08   ` Bin Meng
2019-07-02 17:46     ` Alex Marginean
2019-07-03  1:30       ` Bin Meng
2019-06-20 14:48 ` [U-Boot] [PATCH 2/6 v3] drivers: net: add NXP ENETC ethernet driver Alex Marginean
2019-07-01  8:08   ` Bin Meng
2019-06-20 14:48 ` [U-Boot] [PATCH 3/6 v3] drivers: net: add NXP ENETC MDIO driver Alex Marginean
2019-07-01  8:08   ` Bin Meng
2019-06-20 14:48 ` [U-Boot] [PATCH 4/6 v3] drivers: net: apply serdes configuration for ENETC Ethernet interfaces Alex Marginean
2019-07-01  8:08   ` Bin Meng
2019-06-20 14:48 ` [U-Boot] [PATCH 5/6 v3] arm: dts: ls1028a updates for network interfaces Alex Marginean
2019-07-01  8:08   ` Bin Meng
2019-06-20 14:48 ` [U-Boot] [PATCH 6/6 v3] configs: ls1028a: enable networking options in rds, qds defconfig Alex Marginean
2019-07-01  8:08   ` Bin Meng
2019-07-02 17:49     ` Alex Marginean

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox