From: Shawn Guo <shawn.guo@linaro.org>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v4 0/4] Add Ethernet support for Poplar board
Date: Tue, 26 Mar 2019 15:35:08 +0800 [thread overview]
Message-ID: <20190326073506.GA25457@dragon> (raw)
In-Reply-To: <20190320073241.4859-1-shawn.guo@linaro.org>
Hi Joe,
On Wed, Mar 20, 2019 at 03:32:37PM +0800, Shawn Guo wrote:
> 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 v4:
> - Add a polarity field into struct reset_ctl.
> - Instead of defining custom macros for polarity, use generic ones
> in include/dt-bindings/reset/ti-syscon.h.
> - Use .data field as register offset and .id field as bit shift.
How is this version? Any comments there?
Shawn
> Changes for v3:
> - Add polarity support into reset driver, so that we can drop the
> hacking on gmac reset sequence from higmacv300 driver.
> 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 (4):
> reset: add polarity field into struct reset_ctl
> 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 | 14 +
> 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 | 103 +++++
> include/reset.h | 3 +
> 9 files changed, 737 insertions(+)
> create mode 100644 drivers/net/higmacv300.c
> create mode 100644 drivers/reset/reset-hisilicon.c
>
> --
> 2.18.0
>
next prev parent reply other threads:[~2019-03-26 7:35 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-03-20 7:32 [U-Boot] [PATCH v4 0/4] Add Ethernet support for Poplar board Shawn Guo
2019-03-20 7:32 ` [U-Boot] [PATCH v4 1/4] reset: add polarity field into struct reset_ctl Shawn Guo
2019-03-27 19:00 ` Joe Hershberger
2019-04-24 13:27 ` [U-Boot] [U-Boot, v4, " Tom Rini
2019-03-20 7:32 ` [U-Boot] [PATCH v4 2/4] reset: add reset driver for HiSilicon platform Shawn Guo
2019-03-27 18:58 ` Joe Hershberger
2019-04-24 13:28 ` [U-Boot] [U-Boot, v4, " Tom Rini
2019-03-20 7:32 ` [U-Boot] [PATCH v4 3/4] net: add higmacv300 Ethernet " Shawn Guo
2019-04-24 13:28 ` [U-Boot] [U-Boot, v4, " Tom Rini
2019-03-20 7:32 ` [U-Boot] [PATCH v4 4/4] poplar: enable Ethernet driver support Shawn Guo
2019-03-27 18:59 ` Joe Hershberger
2019-04-24 13:28 ` [U-Boot] [U-Boot, v4, " Tom Rini
2019-03-26 7:35 ` Shawn Guo [this message]
2019-03-27 19:00 ` [U-Boot] [PATCH v4 0/4] Add Ethernet support for Poplar board Joe Hershberger
2019-04-23 9:17 ` Shawn Guo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190326073506.GA25457@dragon \
--to=shawn.guo@linaro.org \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.