From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759562Ab3CZI1s (ORCPT ); Tue, 26 Mar 2013 04:27:48 -0400 Received: from londo.lunn.ch ([80.238.139.98]:33631 "EHLO londo.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757905Ab3CZI1q (ORCPT ); Tue, 26 Mar 2013 04:27:46 -0400 Date: Tue, 26 Mar 2013 09:27:10 +0100 From: Andrew Lunn To: Sebastian Hesselbarth Cc: Soeren Moch , Jason Cooper , Andrew Lunn , Russell King , Willy Tarreau , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] ARM: kirkwood: make use of DT mvsdio on guruplug board Message-ID: <20130326082710.GM5627@lunn.ch> References: <1364043489-17683-1-git-send-email-sebastian.hesselbarth@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1364043489-17683-1-git-send-email-sebastian.hesselbarth@gmail.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Mar 23, 2013 at 01:58:09PM +0100, Sebastian Hesselbarth wrote: > Device tree based guruplug boards still use mvsdio platform_data and > kirkwood_sdio_init to enable sdio. DT support for sdio is already there, > so make use of it. > > This also fixes mvsdio accidentially breaking nand by configuring mpp0 > to gpio, while used also by nand (nand_io2 on mpp0). > > Signed-off-by: Sebastian Hesselbarth > Tested-by: Soeren Moch Acked-by: Andrew Lunn > --- > Cc: Soeren Moch > Cc: Jason Cooper > Cc: Andrew Lunn > Cc: Russell King > Cc: Willy Tarreau > Cc: linux-arm-kernel@lists.infradead.org > Cc: linux-kernel@vger.kernel.org > --- > arch/arm/boot/dts/kirkwood-guruplug-server-plus.dts | 4 ++++ > arch/arm/mach-kirkwood/board-guruplug.c | 6 ------ > 2 files changed, 4 insertions(+), 6 deletions(-) > > diff --git a/arch/arm/boot/dts/kirkwood-guruplug-server-plus.dts b/arch/arm/boot/dts/kirkwood-guruplug-server-plus.dts > index 9555a86..44fd97d 100644 > --- a/arch/arm/boot/dts/kirkwood-guruplug-server-plus.dts > +++ b/arch/arm/boot/dts/kirkwood-guruplug-server-plus.dts > @@ -69,6 +69,10 @@ > status = "okay"; > nr-ports = <1>; > }; > + > + mvsdio@90000 { > + status = "okay"; > + }; > }; > > gpio-leds { > diff --git a/arch/arm/mach-kirkwood/board-guruplug.c b/arch/arm/mach-kirkwood/board-guruplug.c > index 0a0df45..a857163 100644 > --- a/arch/arm/mach-kirkwood/board-guruplug.c > +++ b/arch/arm/mach-kirkwood/board-guruplug.c > @@ -13,7 +13,6 @@ > #include > #include > #include > -#include > #include "common.h" > > static struct mv643xx_eth_platform_data guruplug_ge00_data = { > @@ -24,10 +23,6 @@ static struct mv643xx_eth_platform_data guruplug_ge01_data = { > .phy_addr = MV643XX_ETH_PHY_ADDR(1), > }; > > -static struct mvsdio_platform_data guruplug_mvsdio_data = { > - /* unfortunately the CD signal has not been connected */ > -}; > - > void __init guruplug_dt_init(void) > { > /* > @@ -35,5 +30,4 @@ void __init guruplug_dt_init(void) > */ > kirkwood_ge00_init(&guruplug_ge00_data); > kirkwood_ge01_init(&guruplug_ge01_data); > - kirkwood_sdio_init(&guruplug_mvsdio_data); > } > -- > 1.7.10.4 >