All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH v2 0/3] Add Ethernet support for Poplar board
@ 2019-02-18  3:37 Shawn Guo
  2019-02-18  3:37 ` [U-Boot] [PATCH v2 1/3] reset: add reset driver for HiSilicon platform Shawn Guo
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Shawn Guo @ 2019-02-18  3:37 UTC (permalink / raw)
  To: u-boot

The series adds Ethernet support for Poplar board.  It firstly creates
a reset driver for HiSilicon platform, then introduces higmacv300
Ethernet driver, and finally enables Ethernet support for Poplar board.

Changes for v2:
 - Rename driver symbol to HIGMACV300_ETH.
 - Remove the use of temp variable 'addr' in higmac_recv().
 - Simplify the return of function higmac_ofdata_to_platdata() and
   higmac_probe().
 - Combine delaration and initialization for phyintf in function
   higmac_ofdata_to_platdata().
 - Eliminate the MDIO read/write macros.
 - Use wait_for_bit_le32() for MDIO command completion polling.
 - Set up RX packet buffers in RX_FQ descriptor at initialization time,
   so that we do not need to allocate/free packet buffers repeatedly.
 - Inform GMAC that the RX descriptor is no longer in use in function
   higmac_free_pkt().
 - Define BITS_DESC_ENA instead of using magic number 0xf.

Shawn Guo (3):
  reset: add reset driver for HiSilicon platform
  net: add higmacv300 Ethernet driver for HiSilicon platform
  poplar: enable Ethernet driver support

 arch/arm/dts/hi3798cv200-u-boot.dtsi |   6 +
 configs/poplar_defconfig             |   3 +
 drivers/net/Kconfig                  |   9 +
 drivers/net/Makefile                 |   1 +
 drivers/net/higmacv300.c             | 597 +++++++++++++++++++++++++++
 drivers/reset/Kconfig                |   6 +
 drivers/reset/Makefile               |   1 +
 drivers/reset/reset-hisilicon.c      |  95 +++++
 8 files changed, 718 insertions(+)
 create mode 100644 drivers/net/higmacv300.c
 create mode 100644 drivers/reset/reset-hisilicon.c

-- 
2.18.0

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

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

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-02-18  3:37 [U-Boot] [PATCH v2 0/3] Add Ethernet support for Poplar board Shawn Guo
2019-02-18  3:37 ` [U-Boot] [PATCH v2 1/3] reset: add reset driver for HiSilicon platform Shawn Guo
2019-02-18  3:37 ` [U-Boot] [PATCH v2 2/3] net: add higmacv300 Ethernet " Shawn Guo
2019-03-05 23:58   ` Joe Hershberger
2019-03-06  1:41     ` Shawn Guo
2019-03-06 20:48       ` Joe Hershberger
2019-03-07  8:29         ` Shawn Guo
2019-02-18  3:37 ` [U-Boot] [PATCH v2 3/3] poplar: enable Ethernet driver support Shawn Guo
2019-03-04  6:28 ` [U-Boot] [PATCH v2 0/3] Add Ethernet support for Poplar board Shawn Guo

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.