Netdev List
 help / color / mirror / Atom feed
* [PATCH 0/2] stmac: add glue for NXP LPC18xx family
@ 2015-05-02 16:40 Joachim Eastwood
  2015-05-02 16:40 ` [PATCH 1/2] stmac: add dwmac glue for NXP 18xx/43xx family Joachim Eastwood
  2015-05-02 16:40 ` [PATCH 2/2] doc: dt: add documentation for nxp,lpc1850-dwmac Joachim Eastwood
  0 siblings, 2 replies; 8+ messages in thread
From: Joachim Eastwood @ 2015-05-02 16:40 UTC (permalink / raw)
  To: peppe.cavallaro; +Cc: netdev, davem, arnd, linux-arm-kernel, Joachim Eastwood

This small patch set adds support for using the stmmac on the NXP
LPC18xx/43xx Cortex-M3/4 MCU family and add binding documentation.

Base support for the family can be found here:
http://marc.info/?l=linux-arm-kernel&m=143016894704253&w=2

DTS changes will be posted once base support, clk support and
reset are upstream. All this has been posted on the relevant
lists and my hope is that it will make it into Linux 4.1.

Below is the boot log from the stmmac driver:
[    2.831037] stmmac - user ID: 0x11, Synopsys ID: 0x36
[    2.837085]  Ring mode enabled
[    2.840559]  DMA HW capability register supported
[    2.845457]  Enhanced/Alternate descriptors
[    2.850866]  Enabled extended descriptors
[    2.855351]  RX Checksum Offload Engine supported (type 2)
[    2.861847]  TX Checksum insertion supported
[    2.867106]  Wake-Up On Lan supported
[    2.873938]  Enable RX Mitigation via HW Watchdog Timer
[    2.923122] libphy: stmmac: probed
[    2.927750] eth0: PHY ID 0007c0f1 at 1 IRQ POLL (stmmac-0:01) active
[   94.735120]  No MAC Management Counters available
[   97.767758] stmmaceth 40010000.ethernet eth0: Link is Up - 100Mbps/Full - flow control off

Joachim Eastwood (2):
  stmac: add dwmac glue for NXP 18xx/43xx family
  doc: dt: add documentation for nxp,lpc1850-dwmac

 .../devicetree/bindings/net/nxp,lpc1850-dwmac.txt  | 20 ++++++
 drivers/net/ethernet/stmicro/stmmac/Makefile       |  3 +-
 .../net/ethernet/stmicro/stmmac/dwmac-lpc18xx.c    | 76 ++++++++++++++++++++++
 .../net/ethernet/stmicro/stmmac/stmmac_platform.c  |  1 +
 .../net/ethernet/stmicro/stmmac/stmmac_platform.h  |  1 +
 5 files changed, 100 insertions(+), 1 deletion(-)
 create mode 100644 Documentation/devicetree/bindings/net/nxp,lpc1850-dwmac.txt
 create mode 100644 drivers/net/ethernet/stmicro/stmmac/dwmac-lpc18xx.c

-- 
1.8.0

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

end of thread, other threads:[~2015-05-04 19:27 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-02 16:40 [PATCH 0/2] stmac: add glue for NXP LPC18xx family Joachim Eastwood
2015-05-02 16:40 ` [PATCH 1/2] stmac: add dwmac glue for NXP 18xx/43xx family Joachim Eastwood
2015-05-02 19:31   ` Arnd Bergmann
2015-05-02 20:48     ` Joachim Eastwood
2015-05-03 22:14     ` Joachim Eastwood
2015-05-04 18:46       ` Arnd Bergmann
2015-05-04 19:27         ` Joachim Eastwood
2015-05-02 16:40 ` [PATCH 2/2] doc: dt: add documentation for nxp,lpc1850-dwmac Joachim Eastwood

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