Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751567AbdFIEfm (ORCPT ); Fri, 9 Jun 2017 00:35:42 -0400 Received: from smtp.csie.ntu.edu.tw ([140.112.30.61]:52954 "EHLO smtp.csie.ntu.edu.tw" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751495AbdFIEfl (ORCPT ); Fri, 9 Jun 2017 00:35:41 -0400 MIME-Version: 1.0 In-Reply-To: <20170608124841.b6i5qphsyubksbvb@flea.home> References: <20170607173345.22462-1-clabbe.montjoie@gmail.com> <20170607173345.22462-3-clabbe.montjoie@gmail.com> <20170608083428.csv54tryvgwdb552@flea.home> <20170608084222.GA10830@Red> <20170608124841.b6i5qphsyubksbvb@flea.home> From: Chen-Yu Tsai Date: Fri, 9 Jun 2017 12:35:08 +0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2 2/2] ARM: sun8i: a83t: add dwmac-sun8i ethernet driver To: Corentin Labbe Cc: Maxime Ripard , Rob Herring , Mark Rutland , Russell King , Chen-Yu Tsai , devicetree , linux-arm-kernel , linux-kernel Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1769 Lines: 42 On Thu, Jun 8, 2017 at 8:48 PM, Maxime Ripard wrote: > On Thu, Jun 08, 2017 at 10:42:22AM +0200, Corentin Labbe wrote: >> On Thu, Jun 08, 2017 at 10:34:28AM +0200, Maxime Ripard wrote: >> > On Wed, Jun 07, 2017 at 07:33:45PM +0200, Corentin Labbe wrote: >> > > The dwmac-sun8i is an ethernet MAC hardware that support 10/100/1000 speed. >> > > This patch enable the dwmac-sun8i on the Allwinner a83t SoC Device-tree. >> > > >> > > Signed-off-by: Corentin Labbe >> > > Reviewed-by: Chen-Yu Tsai >> > > --- >> > > arch/arm/boot/dts/sun8i-a83t.dtsi | 28 ++++++++++++++++++++++++++++ >> > > 1 file changed, 28 insertions(+) >> > > >> > > diff --git a/arch/arm/boot/dts/sun8i-a83t.dtsi b/arch/arm/boot/dts/sun8i-a83t.dtsi >> > > index 01a83406f9ae..7d719b4aeaa9 100644 >> > > --- a/arch/arm/boot/dts/sun8i-a83t.dtsi >> > > +++ b/arch/arm/boot/dts/sun8i-a83t.dtsi >> > > @@ -200,6 +200,14 @@ >> > > #interrupt-cells = <3>; >> > > #gpio-cells = <3>; >> > > >> > > + emac_rgmii_pins: emac-rgmii-pins { >> > > + pins = "PD2", "PD3", "PD4", "PD5", "PD6", "PD7", >> > > + "PD11", "PD12", "PD13", "PD14", "PD18", >> > > + "PD19", "PD21", "PD22", "PD23"; >> > > + function = "gmac"; >> > > + drive-strength = <40>; >> > > + }; >> > > + >> > >> > This is not used anywhere. >> > >> But will be used by bpim3 board > > Then will add it when we'll add support for that board, until then, > it's dead code. I'll include this in my A83T work branch and resend it when I get around to it. Thanks ChenYu