Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753961AbbDHNJP (ORCPT ); Wed, 8 Apr 2015 09:09:15 -0400 Received: from mailout3.samsung.com ([203.254.224.33]:61445 "EHLO mailout3.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753267AbbDHNJN convert rfc822-to-8bit (ORCPT ); Wed, 8 Apr 2015 09:09:13 -0400 X-AuditID: cbfee61a-f79516d000006302-bd-55252876cb26 From: Bartlomiej Zolnierkiewicz To: Nicolas Ferre Cc: Alexandre Belloni , linux-arm-kernel@lists.infradead.org, Boris Brezillon , linux-pcmcia@lists.infradead.org, linux-kernel@vger.kernel.org, linux-ide@vger.kernel.org, Tejun Heo , Jean-Christophe Plagniol-Villard Subject: Re: [PATCH v2 1/9] ata: at91: use syscon to configure the smc Date: Wed, 08 Apr 2015 15:08:55 +0200 Message-id: <1581911.ATyU5YCajb@amdc1032> User-Agent: KMail/4.8.4 (Linux/3.2.0-70-generic-pae; KDE/4.8.5; i686; ; ) In-reply-to: <552519B7.2090206@atmel.com> References: <1427138955-3617-1-git-send-email-alexandre.belloni@free-electrons.com> <3156869.zFaIKVVpHK@amdc1032> <552519B7.2090206@atmel.com> MIME-version: 1.0 Content-transfer-encoding: 8BIT Content-type: text/plain; charset=windows-1252 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrBLMWRmVeSWpSXmKPExsVy+t9jAd1yDdVQg0+pFh3XFjNZHHixkMVi 0+NrrBbHdjxisri8aw6bxeS+XywW3y43s1use/iCyeLX8qOMDpweC35tZfF4sukio8erC3dY PDat6mTz2Lyk3uPzJrkAtigum5TUnMyy1CJ9uwSujLuXnrAX7BOpOLpOq4FxmkAXIyeHhICJ xILL/cwQtpjEhXvr2boYuTiEBBYxSnza94IRwvnGKDFx7mx2kCo2ASuJie2rGEFsEQFtiVsL TjGDFDELXGKSOHfoN1iRsICbxPKmiUwgNouAqsSBmZdZQWxeAU2JLecOgDWLCnhK7JwOYXMC xbddaWCG2DaJUWLVvt1QDYISPybfYwGxmYG2PXl3ASjOAWTrSdy/qDWBUWAWkqpZSKpmIVQt YGRexSiaWpBcUJyUnmuoV5yYW1yal66XnJ+7iREc/s+kdjCubLA4xCjAwajEwyuwWCVUiDWx rLgy9xCjBAezkgjvf2XVUCHelMTKqtSi/Pii0pzU4kOM0hwsSuK8c3TlQoUE0hNLUrNTUwtS i2CyTBycUg2MrnfWcPLuNLglWNb8h89tzfSaE3e+3HDcbvZWkz9lekXrpD0/bgv9TVxpMOPb 5F3mp7Y/VZcv1qz1yk+Zeq7reTeburbUBq9HErw/LpnweunaVO1b8cNU5sTSTxunqqlcd3TW u1rJ56W7ZqLCcr6/QbtOCtwJVNwauOzp9LA/EWrPw7Yd05y8RomlOCPRUIu5qDgRAF34uHd7 AgAA Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2747 Lines: 71 Hi, On Wednesday, April 08, 2015 02:06:15 PM Nicolas Ferre wrote: > Le 08/04/2015 14:00, Bartlomiej Zolnierkiewicz a ?crit : > > On Wednesday, April 08, 2015 01:13:35 PM Alexandre Belloni wrote: > >> Hi, > >> > >> On 08/04/2015 at 13:04:19 +0200, Bartlomiej Zolnierkiewicz wrote : > >>> On Monday, March 23, 2015 08:29:07 PM Alexandre Belloni wrote: > >>>> Use syscon/regmap to configure the smc. This allows to avoid using > >>>> at91sam9_smc.h and to compile the driver in a multiplatform configuration. > >>>> > >>>> The driver will still not probe until the proper DT bindings are added. That > >>>> binding will include an atmel,smc property that is a phandle to the SMC the CF > >>>> controller is connected to. > >>> > >>> If the driver is currently working fine in !ARCH_MULTIPLATFORM > >>> configuration then this patch will make it non-functional until > >>> atmel,smc property is added to DT. To prevent this and preserve > >>> bisectability the patchset should first add atmel,smc property > >>> and then convert pata_at91 driver to use it. > >>> > >> > >> Starting with 4.1, it will not be possible to use the driver anyway as > >> all the platforms using it have switched to multiplatform. This patch > >> makes it compilable again. > > > > Hmm. It seems that it was your commit which did the switch without > > converting all at91 specific code to be multiplatform ready first: > > > > From: Alexandre Belloni > > Date: Fri, 13 Mar 2015 22:57:18 +0100 > > Subject: ARM: at91: switch to multiplatform > > > > Switch AT91 to multiplatform as all SoCs are properly handled. > > > > Signed-off-by: Alexandre Belloni > > Signed-off-by: Nicolas Ferre > > > > ? > > > >> Anyway, it seems that there is little interest in that driver and nobody > >> I contacted has access to a board which can be used to test this. > > > > If there are no users then probably the driver can be removed but this > > something that platform Maintainers should decide on. > > This is why there are loose constrains on this driver and that we > decided to move on. > > So I think that modifying it and introducing the DT property afterwards > can be done. OK, thank you for clarifying this. For pata_at91 changes: Acked-by: Bartlomiej Zolnierkiewicz Best regards, -- Bartlomiej Zolnierkiewicz Samsung R&D Institute Poland Samsung Electronics -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/