From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jason Cooper Subject: Re: [PATCH 0/5] mv643xx_eth: use mvmdio MDIO bus driver Date: Thu, 14 Mar 2013 13:25:44 -0400 Message-ID: <20130314172544.GT12700@titan.lakedaemon.net> References: <1359473048-26551-1-git-send-email-florian@openwrt.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: Andrew Lunn , Russell King , linux-doc-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Rob Herring , Greg Kroah-Hartman , Paul Mackerras , Lennert Buytenhek , netdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linuxppc-dev-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org, davem-fT/PcQaiUtIeIZ0/mPfg9Q@public.gmane.org, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org To: Florian Fainelli Return-path: Content-Disposition: inline In-Reply-To: <1359473048-26551-1-git-send-email-florian-p3rKhJxN3npAfugRpC6u6w@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: devicetree-discuss-bounces+gldd-devicetree-discuss=m.gmane.org-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org Sender: "devicetree-discuss" List-Id: netdev.vger.kernel.org Florian, Any word on version 2 of this series? I'd like to base the conversion of kirkwood to DT based ethernet init on it. thx, Jason. On Tue, Jan 29, 2013 at 04:24:03PM +0100, Florian Fainelli wrote: > Hi all, > > This patch converts the mv643xx_eth driver to use the mvmdio MDIO bus driver > instead of rolling its own implementation. As a result, all users of this > mv643xx_eth driver are converted to register an "orion-mdio" platform_device. > The mvmdio driver is also updated to support an interrupt line which reports > SMI error/completion, and to allow traditionnal platform device registration > instead of just device tree. > > David, I think it makes sense for you to merge all of this, since we do > not want the architecture files to be desynchronized from the mv643xx_eth to > avoid runtime breakage. The potential for merge conflicts should be very small. > > You can probably safely merge patches 1 to 4 if Thomas agrees, and we will > see what kind of feeback I get on patch 5. > > Florian Fainelli (5): > net: mvmdio: unmap base register address at driver removal > net: mvmdio: rename base register cookie from smireg to regs > net: mvmdio: enhance driver to support SMI error/done interrupts > net: mvmdio: allow Device Tree and platform device to coexist > mv643xx_eth: convert to use the Marvell Orion MDIO driver > > .../devicetree/bindings/net/marvell-orion-mdio.txt | 3 + > arch/arm/plat-orion/common.c | 84 +++++++-- > arch/powerpc/platforms/chrp/pegasos_eth.c | 20 +++ > arch/powerpc/sysdev/mv64x60_dev.c | 14 +- > drivers/net/ethernet/marvell/Kconfig | 1 + > drivers/net/ethernet/marvell/mv643xx_eth.c | 187 +------------------- > drivers/net/ethernet/marvell/mvmdio.c | 136 +++++++++++--- > 7 files changed, 226 insertions(+), 219 deletions(-) > > -- > 1.7.10.4 > > > _______________________________________________ > linux-arm-kernel mailing list > linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org > http://lists.infradead.org/mailman/listinfo/linux-arm-kernel