From patchwork Fri May 24 12:46:32 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Emilio_L=C3=B3pez?= X-Patchwork-Id: 2611151 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) by patchwork2.kernel.org (Postfix) with ESMTP id 025C3DF24C for ; Fri, 24 May 2013 12:47:57 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1UfrPF-0003px-8k; Fri, 24 May 2013 12:47:38 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1UfrOo-0006X3-I2; Fri, 24 May 2013 12:47:10 +0000 Received: from [2606:3f00:60:21c:d00d:c0de:4:f00d] (helo=zetta.elopez.com.ar) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1UfrOm-0006WQ-0Y for linux-arm-kernel@lists.infradead.org; Fri, 24 May 2013 12:47:09 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=elopez.com.ar; s=mail; h=Content-Type:In-Reply-To:References:Subject:CC:To:MIME-Version:From:Date:Message-ID; bh=S3U0XulyweyWR4u4T7biCWFay0IoZethQcq6pT4/xhM=; b=jUURuhY9Z65LK/+Kx9HQ9v6PZxxJ1g7TryKZdWDF7S0CwwjAgxNP0TuhF06KaS2HRr/8VkwedBVoUIfI/7Uei6wtAaeBDajutWE5jnR5xibHu1nz73QGj9PCnUbKItToI9r3QRkjvagR6hez869QhgB7Biug2Ul5gV6Hv+xhar9rVrThrpbioBunYPPGlq47IM7vvxbK1RuAnAK3KCsFbtvFLHqLDamY1/CSft+L+fLwPDBshGdsa9WEe8qQY0lWdy2TWu7t9oOPtzGnaXeZac3jQW21n/4JBtnUz4+EED5aQWybJemMUbmDEu8OuKU+7MyjsCJ3bMpItw0NSUDhCA==; Received: from [181.164.109.61] (helo=[192.168.1.103]) by zetta.elopez.com.ar with esmtpsa (TLS1.0:DHE_RSA_CAMELLIA_256_CBC_SHA1:256) (Exim 4.80) id 1UfrOI-0000Jb-GO; Fri, 24 May 2013 09:46:38 -0300 Message-ID: <519F6128.9060608@elopez.com.ar> Date: Fri, 24 May 2013 09:46:32 -0300 From: =?ISO-8859-1?Q?Emilio_L=F3pez?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130514 Thunderbird/17.0.6 MIME-Version: 1.0 To: Maxime Ripard Subject: Re: [PATCHv3 1/6] net: Add EMAC ethernet driver found on Allwinner A10 SoC's References: <1369387394-9453-1-git-send-email-maxime.ripard@free-electrons.com> <1369387394-9453-2-git-send-email-maxime.ripard@free-electrons.com> In-Reply-To: <1369387394-9453-2-git-send-email-maxime.ripard@free-electrons.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130524_084708_199834_92E830F1 X-CRM114-Status: GOOD ( 14.00 ) X-Spam-Score: -1.2 (-) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-1.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.8 RDNS_NONE Delivered to internal network by a host with no rDNS Cc: kevin@allwinnertech.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, davem@davemloft.net, sunny@allwinnertech.com, shuge@allwinnertech.com, Stefan Roese , Florian Fainelli , linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org El 24/05/13 06:23, Maxime Ripard escribió: > From: Stefan Roese > > The Allwinner A10 has an ethernet controller that seem to be developped > internally by them. > > The exact feature set of this controller is unknown, since there is no > public documentation for this IP, and this driver is mostly the one > published by Allwinner that has been heavily cleaned up. > > Signed-off-by: Stefan Roese > Signed-off-by: Maxime Ripard > --- (snip) > + > +config SUN4I_EMAC > + tristate "Allwinner A10 EMAC support" > + depends on ARCH_SUNXI > + depends on OF > + select CRC32 > + select NET_CORE > + select MII > + select REGULATOR_FIXED_VOLTAGE > + ---help--- > + Support for Allwinner A10 EMAC ethernet driver. > + > + To compile this driver as a module, choose M here. The module > + will be called sun4i-emac. > + You also need to select REGULATOR when you select REGULATOR_FIXED_VOLTAGE I have attached a fixup patch you can use with git autosquash Cheers, Emilio From f1b94482b4975ce1f7bc542208718f26d5dfa140 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emilio=20L=C3=B3pez?= Date: Fri, 17 May 2013 10:11:16 -0300 Subject: [PATCH] fixup! net: Add EMAC ethernet driver found on Allwinner A10 SoC's --- drivers/net/ethernet/allwinner/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/ethernet/allwinner/Kconfig b/drivers/net/ethernet/allwinner/Kconfig index 7bbd500..47ecbe0 100644 --- a/drivers/net/ethernet/allwinner/Kconfig +++ b/drivers/net/ethernet/allwinner/Kconfig @@ -26,6 +26,7 @@ config SUN4I_EMAC select CRC32 select NET_CORE select MII + select REGULATOR select REGULATOR_FIXED_VOLTAGE select PHYLIB ---help--- -- 1.8.1.6