All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH v2 0/7] Support for the Faraday ftgmac100 controller
@ 2018-10-01  8:53 Cédric Le Goater
  2018-10-01  8:53 ` [U-Boot] [PATCH v2 1/7] net: Remove the Faraday ftgmac100 controller driver Cédric Le Goater
                   ` (6 more replies)
  0 siblings, 7 replies; 18+ messages in thread
From: Cédric Le Goater @ 2018-10-01  8:53 UTC (permalink / raw)
  To: u-boot

Hello,

This series re-adds a driver for the Faraday ftgmac100 controller and
its Aspeed variant as as one can find on the OpenPOWER platforms.
I have choosen to remove and re-add the driver to ease review of the
changes, which are numerous, but we can proceed differently if you
prefer.

It was tested on the AST2500 evb.

Git tree available here:

  https://github.com/legoater/u-boot/commits/aspeed

Thanks,

C.

Changes since v1 :

 - improved comments in the code
 - changed the type of 'iobase' to 'struct ftgmac100 *' to remove the
   casts in other routines.
 - replaced the loop in the mdio methods by a call to readl_poll_timeout()
   and fixed the returned value.
 - added a flush cache on the arrays of TX and RX descriptors in
   ftgmac100_start()
 - fixed returned value of 
 - added a timer loop to catch transmit timeouts
 - introduced a clk_bulk
 - improved Kconfig description
 - introduced a udevice_id .data model
 - dropped is_aspeed bool
 - dropped MDIO interface setting for Aspeed SoC. The default is
   correct.
 - removed the clcoks which are now handled automatically in the
   ftgmac100 driver
 - introduced a fix for the D2-PLL clock setting


Cédric Le Goater (7):
  net: Remove the Faraday ftgmac100 controller driver
  net: Re-add support for the Faraday ftgmac100 controller
  aspeed: ast2500: fix missing break in D2PLL clock enablement
  net: ftgmac100: Add support for the Aspeed SoC
  aspeed: Update ast2500 SoC DTS file to Linux v4.17-rc6 level
  aspeed: Activate ethernet devices on the ast2500 Eval Board
  aspeed: ast2500: fix D2-PLL clock setting in RGMII mode

 drivers/net/ftgmac100.h          |  158 +--
 include/netdev.h                 |    1 -
 drivers/clk/aspeed/clk_ast2500.c |   39 +
 drivers/net/ftgmac100.c          |  761 ++++++------
 arch/arm/dts/ast2500-evb.dts     |   23 +
 arch/arm/dts/ast2500.dtsi        | 1995 ++++++++++++++++++------------
 configs/evb-ast2500_defconfig    |    8 +
 drivers/net/Kconfig              |   26 +
 8 files changed, 1747 insertions(+), 1264 deletions(-)

-- 
2.17.1

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

end of thread, other threads:[~2018-10-09 21:34 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-01  8:53 [U-Boot] [PATCH v2 0/7] Support for the Faraday ftgmac100 controller Cédric Le Goater
2018-10-01  8:53 ` [U-Boot] [PATCH v2 1/7] net: Remove the Faraday ftgmac100 controller driver Cédric Le Goater
2018-10-02 11:22   ` Simon Glass
2018-10-02 15:48     ` Cédric Le Goater
2018-10-09 16:19       ` Simon Glass
2018-10-09 20:44         ` Joe Hershberger
2018-10-09 21:09           ` Cédric Le Goater
2018-10-09 21:19             ` Joe Hershberger
2018-10-09 21:34               ` Cédric Le Goater
2018-10-01  8:53 ` [U-Boot] [PATCH v2 2/7] net: Re-add support for the Faraday ftgmac100 controller Cédric Le Goater
2018-10-01  8:53 ` [U-Boot] [PATCH v2 3/7] aspeed: ast2500: fix missing break in D2PLL clock enablement Cédric Le Goater
2018-10-01  8:53 ` [U-Boot] [PATCH v2 4/7] net: ftgmac100: Add support for the Aspeed SoC Cédric Le Goater
2018-10-02 11:22   ` Simon Glass
2018-10-01  8:53 ` [U-Boot] [PATCH v2 5/7] aspeed: Update ast2500 SoC DTS file to Linux v4.17-rc6 level Cédric Le Goater
2018-10-02 11:22   ` Simon Glass
2018-10-01  8:53 ` [U-Boot] [PATCH v2 6/7] aspeed: Activate ethernet devices on the ast2500 Eval Board Cédric Le Goater
2018-10-01  8:53 ` [U-Boot] [PATCH v2 7/7] aspeed: ast2500: fix D2-PLL clock setting in RGMII mode Cédric Le Goater
2018-10-02 11:22   ` Simon Glass

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.