From: Maxime Ripard Date: Tue, 17 Apr 2018 11:22:38 +0200 Subject: [U-Boot] [PATCH 1/1] sunxi: R40: add support for gigabit ethernet In-Reply-To: <20180412181903.15450-1-lothar.felten@gmail.com> References: <20180412181903.15450-1-lothar.felten@gmail.com> Message-ID: <20180417092238.vvq6lgcnfqkbexyt@flea> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Lothar, On Thu, Apr 12, 2018 at 08:19:03PM +0200, Lothar Felten wrote: > This patch adds support for the gigabit interface found on the > Allwinner R40/V40 CPU. > It does not support the 100Mbit interface (EMAC). > > Fixes: > - add GMAC gating clock and reset control > - GPIO mux settings > - device tree entries > > Tested on BananaPi M2 Berry (R40), custom board (V40). > > Signed-off-by: Lothar Felten > --- > arch/arm/dts/sun8i-r40-bananapi-m2-ultra.dts | 14 ++++++++++ > arch/arm/dts/sun8i-r40.dtsi | 37 +++++++++++++++++++++++++++ > arch/arm/include/asm/arch-sunxi/clock_sun6i.h | 10 +++++++- > board/sunxi/gmac.c | 5 +++- > configs/Bananapi_M2_Ultra_defconfig | 4 +++ > drivers/net/sun8i_emac.c | 2 ++ > 6 files changed, 70 insertions(+), 2 deletions(-) This patch looks mostly correct, but it should be split into multiple, smaller patches, one per logical change. This would mean something like: - One to add the clock / reset changes - One to add the pinctrl change - One to add the DTSI bits - And one to enable it on the BPI M2-U (with the config and DTS changes). Thanks! Maxime -- Maxime Ripard, Bootlin (formerly Free Electrons) Embedded Linux and Kernel engineering https://bootlin.com -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: not available URL: