From patchwork Wed Mar 22 18:21:01 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartlomiej Zolnierkiewicz X-Patchwork-Id: 95811 Delivered-To: patch@linaro.org Received: by 10.182.3.34 with SMTP id 2csp338714obz; Wed, 22 Mar 2017 11:22:45 -0700 (PDT) X-Received: by 10.99.45.3 with SMTP id t3mr46073549pgt.162.1490206965117; Wed, 22 Mar 2017 11:22:45 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x40si2688153plb.230.2017.03.22.11.22.44; Wed, 22 Mar 2017 11:22:45 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965601AbdCVSWa (ORCPT + 11 others); Wed, 22 Mar 2017 14:22:30 -0400 Received: from mailout2.samsung.com ([203.254.224.25]:41913 "EHLO mailout2.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965536AbdCVSVq (ORCPT ); Wed, 22 Mar 2017 14:21:46 -0400 Received: from epcas5p1.samsung.com (unknown [182.195.41.39]) by mailout2.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0ON8008DKB087490@mailout2.samsung.com>; Thu, 23 Mar 2017 03:21:44 +0900 (KST) Received: from epsmges5p4.samsung.com (unknown [182.195.42.88]) by epcas5p1.samsung.com (KnoxPortal) with ESMTP id 20170322182143epcas5p173f27ff674c5be6573eced105e5739ea~uR0iUCStX2989329893epcas5p1p; Wed, 22 Mar 2017 18:21:43 +0000 (GMT) Received: from epcas5p2.samsung.com ( [182.195.41.40]) by epsmges5p4.samsung.com (EPCPMTA) with SMTP id 3E.43.04908.7B0C2D85; Thu, 23 Mar 2017 03:21:43 +0900 (KST) Received: from epcpsbgm2new.samsung.com (u27.gpu120.samsung.co.kr [203.254.230.27]) by epcas5p3.samsung.com (KnoxPortal) with ESMTP id 20170322182143epcas5p3ed7e25912e24ae67b5593d2baaf63791~uR0h_rwew1779717797epcas5p3Y; Wed, 22 Mar 2017 18:21:43 +0000 (GMT) X-AuditID: b6c32a58-f79f16d00000132c-39-58d2c0b75768 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm2new.samsung.com (EPCPMTA) with SMTP id B4.7E.06422.7B0C2D85; Thu, 23 Mar 2017 03:21:43 +0900 (KST) Received: from AMDC3058.DIGITAL.local ([106.120.53.102]) by mmp2.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0ON8005Z0AZJ9P00@mmp2.samsung.com>; Thu, 23 Mar 2017 03:21:43 +0900 (KST) From: Bartlomiej Zolnierkiewicz To: Tejun Heo Cc: Sekhar Nori , Sergei Shtylyov , Kevin Hilman , Arnd Bergmann , Russell King , Dmitry Eremin-Solenikov , linux-ide@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, b.zolnierkie@samsung.com Subject: [PATCH v3 4/5] ARM: davinci: add pata_bk3710 libata driver support Date: Wed, 22 Mar 2017 19:21:01 +0100 Message-id: <1490206862-26065-5-git-send-email-b.zolnierkie@samsung.com> X-Mailer: git-send-email 1.9.1 In-reply-to: <1490206862-26065-1-git-send-email-b.zolnierkie@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrCIsWRmVeSWpSXmKPExsWy7bCmhu72A5ciDF4d1bb4O+kYu8XGGetZ LSY9ec9s8bN9C5PFpsfXWC2O7XjEZHF51xw2i9uXeS32925gsjiz6ha7xa/lRxkduD1amnvY PH7/msTo8f5GK7vHg6n/mTx2zrrL7rFpVSebx+Yl9R59W1Yxehy/sZ3J4/MmuQCuKC6blNSc zLLUIn27BK6MR5snMxb85q+4duMYawPjR94uRk4OCQETiY1zz7FD2GISF+6tZ+ti5OIQEljK KLH9yzomCKedSWLW9rMsMB3XOlqhquYwSry40wLl/GKUeHp+ARtIFZuAlcTE9lWMILaIgKzE lWkPGUGKmAW+MEls6LwIlhAW8JaYcuA5axcjBweLgKrE048mICavgIfEvK8OEMvkJE4emwxW wSngKfGwVQMivIldYvb9HJCwBND0TQeYIcIuEmsWdrJC2MISr45vgXpMWuLv0luMEPZ0oMd+ S4AcIyGwmVFi1e4JUEXWEoePXwRrZhbgk+j9/YQJYj6vREebEESJh8SiJQ1QuxwlrrR0s8KD Yd22G6wTGGUWMDKsYhRLLSjOTU8tNi0w0StOzC0uzUvXS87P3cQITgtaETsY/80IOsQowMGo xMPL0XgpQog1say4MvcQowQHs5IIb/keoBBvSmJlVWpRfnxRaU5q8SFGaQ4WJXHeKIOJEUIC 6YklqdmpqQWpRTBZJg5OqQZGrx711S7mq9eu31vz+yrn3audgYbrJ3gLuU26vvMkT6nAIWGe fAv7p44dC4XdfjY5aSyS0Jy3xDz9pMjD77c63u82r59Wbbokp+ThLa2297szsy7Ndy12X77B zDHiQ9ZGufCgA+GaZZuUO63K30v1tiYcnyY45eH7JXwVPxnabG492G2kdfioEktxRqKhFnNR cSIAsReNpgcDAAA= X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprGIsWRmVeSWpSXmKPExsVy+t9jQd3tBy5FGEz8J2rxd9IxdouNM9az Wkx68p7Z4mf7FiaLTY+vsVoc2/GIyeLyrjlsFrcv81rs793AZHFm1S12i1/LjzI6cHu0NPew efz+NYnR4/2NVnaPB1P/M3nsnHWX3WPTqk42j81L6j36tqxi9Dh+YzuTx+dNcgFcUW42GamJ KalFCql5yfkpmXnptkqhIW66FkoKeYm5qbZKEbq+IUFKCmWJOaVAnpEBGnBwDnAPVtK3S3DL eLR5MmPBb/6KazeOsTYwfuTtYuTkkBAwkbjW0coGYYtJXLi3Hsjm4hASmMUocWn7dijnF6PE 9MbpTCBVbAJWEhPbVzGC2CICshJXpj1kBCliFvjGJLHz7S92kISwgLfElAPPWbsYOThYBFQl nn40ATF5BTwk5n11gFgmJ3Hy2GSwCk4BT4mHrRogYSGgii8LZ7NOYORdwMiwilEitSC5oDgp PdcoL7Vcrzgxt7g0L10vOT93EyM4Tp5J72A8vMv9EKMAB6MSD29EzaUIIdbEsuLK3EOMEhzM SiK85XuAQrwpiZVVqUX58UWlOanFhxhNga6ayCwlmpwPjOG8knhDE3MTc2MDC3NLSxMjJXHe xtnPwoUE0hNLUrNTUwtSi2D6mDg4pRoY+4J21RZE5+9N604JXeF41M+ndXrw4RONiekxdQw9 wSxna8SWyhzNWaAseePt/8O3JTveC3lHurWFZO680aX3S4bz++P9pja7Gf/9Db/Equ3VvtOb t2yz6NZjdu2LvZk+cPtPvDhN/vPywqXMqsGRWb+fPH4j9O/SwRlCn+Y8+X558eMP2c0HlViK MxINtZiLihMBpm8grKkCAAA= X-MTR: 20000000000000000@CPGS X-CMS-MailID: 20170322182143epcas5p3ed7e25912e24ae67b5593d2baaf63791 X-Msg-Generator: CA X-Sender-IP: 203.254.230.27 X-Local-Sender: =?utf-8?q?Bartlomiej_Zolnierkiewicz=1BSRPOL-Kernel_=28TP?= =?utf-8?b?KRvsgrzshLHsoITsnpAbU2VuaW9yIFNvZnR3YXJlIEVuZ2luZWVy?= X-Global-Sender: =?utf-8?q?Bartlomiej_Zolnierkiewicz=1BSRPOL-Kernel_=28TP?= =?utf-8?q?=29=1BSamsung_Electronics=1BSenior_Software_Engineer?= X-Sender-Code: =?utf-8?q?C10=1BEHQ=1BC10CD02CD027392?= CMS-TYPE: 105P X-HopCount: 7 X-CMS-RootMailID: 20170322182143epcas5p3ed7e25912e24ae67b5593d2baaf63791 X-RootMTR: 20170322182143epcas5p3ed7e25912e24ae67b5593d2baaf63791 References: <1490206862-26065-1-git-send-email-b.zolnierkie@samsung.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Sekhar Nori Signed-off-by: Sekhar Nori [b.zolnierkie: split from bigger patch + preserved old driver support] Signed-off-by: Bartlomiej Zolnierkiewicz --- arch/arm/mach-davinci/board-dm644x-evm.c | 3 ++- arch/arm/mach-davinci/board-dm646x-evm.c | 3 ++- arch/arm/mach-davinci/board-neuros-osd2.c | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) -- 1.9.1 diff --git a/arch/arm/mach-davinci/board-dm644x-evm.c b/arch/arm/mach-davinci/board-dm644x-evm.c index 023480b..20f1874 100644 --- a/arch/arm/mach-davinci/board-dm644x-evm.c +++ b/arch/arm/mach-davinci/board-dm644x-evm.c @@ -744,7 +744,8 @@ static int davinci_phy_fixup(struct phy_device *phydev) return 0; } -#define HAS_ATA IS_ENABLED(CONFIG_BLK_DEV_PALMCHIP_BK3710) +#define HAS_ATA (IS_ENABLED(CONFIG_BLK_DEV_PALMCHIP_BK3710) || \ + IS_ENABLED(CONFIG_PATA_BK3710)) #define HAS_NOR IS_ENABLED(CONFIG_MTD_PHYSMAP) diff --git a/arch/arm/mach-davinci/board-dm646x-evm.c b/arch/arm/mach-davinci/board-dm646x-evm.c index f702d4f..cb17682 100644 --- a/arch/arm/mach-davinci/board-dm646x-evm.c +++ b/arch/arm/mach-davinci/board-dm646x-evm.c @@ -119,7 +119,8 @@ }, }; -#define HAS_ATA IS_ENABLED(CONFIG_BLK_DEV_PALMCHIP_BK3710) +#define HAS_ATA (IS_ENABLED(CONFIG_BLK_DEV_PALMCHIP_BK3710) || \ + IS_ENABLED(CONFIG_PATA_BK3710)) #ifdef CONFIG_I2C /* CPLD Register 0 bits to control ATA */ diff --git a/arch/arm/mach-davinci/board-neuros-osd2.c b/arch/arm/mach-davinci/board-neuros-osd2.c index 0a78388..0c02aaa 100644 --- a/arch/arm/mach-davinci/board-neuros-osd2.c +++ b/arch/arm/mach-davinci/board-neuros-osd2.c @@ -163,7 +163,8 @@ static void __init davinci_ntosd2_map_io(void) .wires = 4, }; -#define HAS_ATA IS_ENABLED(CONFIG_BLK_DEV_PALMCHIP_BK3710) +#define HAS_ATA (IS_ENABLED(CONFIG_BLK_DEV_PALMCHIP_BK3710) || \ + IS_ENABLED(CONFIG_PATA_BK3710)) #define HAS_NAND IS_ENABLED(CONFIG_MTD_NAND_DAVINCI) From patchwork Wed Mar 22 18:21:02 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartlomiej Zolnierkiewicz X-Patchwork-Id: 95812 Delivered-To: patch@linaro.org Received: by 10.182.3.34 with SMTP id 2csp338782obz; Wed, 22 Mar 2017 11:22:55 -0700 (PDT) X-Received: by 10.98.141.82 with SMTP id z79mr46891355pfd.20.1490206975164; Wed, 22 Mar 2017 11:22:55 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t2si1918547pfl.148.2017.03.22.11.22.54; Wed, 22 Mar 2017 11:22:55 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965620AbdCVSWt (ORCPT + 11 others); Wed, 22 Mar 2017 14:22:49 -0400 Received: from mailout3.samsung.com ([203.254.224.33]:43788 "EHLO mailout3.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965542AbdCVSVv (ORCPT ); Wed, 22 Mar 2017 14:21:51 -0400 Received: from epcas5p3.samsung.com (unknown [182.195.41.41]) by mailout3.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0ON800B8NB0CLTB0@mailout3.samsung.com>; Thu, 23 Mar 2017 03:21:48 +0900 (KST) Received: from epsmges5p2.samsung.com (unknown [182.195.42.45]) by epcas5p2.samsung.com (KnoxPortal) with ESMTP id 20170322182147epcas5p282cefa160539c6eef9ec9c5c71663e96~uR0mAQTLr0173901739epcas5p29; Wed, 22 Mar 2017 18:21:47 +0000 (GMT) Received: from epcas5p3.samsung.com ( [182.195.41.41]) by epsmges5p2.samsung.com (EPCPMTA) with SMTP id 28.22.04790.BB0C2D85; Thu, 23 Mar 2017 03:21:47 +0900 (KST) Received: from epcpsbgm2new.samsung.com (u27.gpu120.samsung.co.kr [203.254.230.27]) by epcas5p3.samsung.com (KnoxPortal) with ESMTP id 20170322182147epcas5p3037b4fd5aaf82741ae14353df7d8789d~uR0lqLSpw1079010790epcas5p3C; Wed, 22 Mar 2017 18:21:47 +0000 (GMT) X-AuditID: b6c32a2d-f793d6d0000012b6-18-58d2c0bb98ec Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm2new.samsung.com (EPCPMTA) with SMTP id 75.7E.06422.BB0C2D85; Thu, 23 Mar 2017 03:21:47 +0900 (KST) Received: from AMDC3058.DIGITAL.local ([106.120.53.102]) by mmp2.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0ON8005Z0AZJ9P00@mmp2.samsung.com>; Thu, 23 Mar 2017 03:21:47 +0900 (KST) From: Bartlomiej Zolnierkiewicz To: Tejun Heo Cc: Sekhar Nori , Sergei Shtylyov , Kevin Hilman , Arnd Bergmann , Russell King , Dmitry Eremin-Solenikov , linux-ide@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, b.zolnierkie@samsung.com Subject: [PATCH v3 5/5] ARM: davinci_all_defconfig: convert to use libata PATA Date: Wed, 22 Mar 2017 19:21:02 +0100 Message-id: <1490206862-26065-6-git-send-email-b.zolnierkie@samsung.com> X-Mailer: git-send-email 1.9.1 In-reply-to: <1490206862-26065-1-git-send-email-b.zolnierkie@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrKIsWRmVeSWpSXmKPExsWy7bCmpu7uA5ciDN5d17T4O+kYu8XGGetZ LSY9ec9s8bN9C5PFpsfXWC2O7XjEZHF51xw2i9uXeS32925gsjiz6ha7xa/lRxkduD1amnvY PH7/msTo8f5GK7vHg6n/mTx2zrrL7rFpVSebx+Yl9R59W1Yxehy/sZ3J4/MmuQCuKC6blNSc zLLUIn27BK6MN7cusBd84q5Y0fuCtYGxh6uLkZNDQsBEYuG7FhYIW0ziwr31bCC2kMBSRokj E/W7GLmA7HYmiea2OUwwDV/2djJDJOYwSkydcJ4RwvnFKPHz+0+wdjYBK4mJ7asYQWwRAVmJ K9MeghUxC3xhktjQeREsISwQIPH/4U5mEJtFQFWirX0VO4jNK+AhsbjpOtQ6OYmTxyazdjFy cHAKeEo8bNUAmSMhsIld4tKjZkaQuATQgk0HmCHKXSS+9Bxig7CFJV4d38IOYUtL/F16ixHC ns4osf23BMSczYwSq3ZPgCqyljh8/CIriM0swCfR+/sJE8R8XomONiGIEg+JPRP+QM1xlHg3 Zw8zJLiAIbHyvcEERpkFjAyrGMVSC4pz01OLTQuM9IoTc4tL89L1kvNzNzGCE4OW7g7GLwu8 DzEKcDAq8fA+WHEpQog1say4MvcQowQHs5IIb/keoBBvSmJlVWpRfnxRaU5q8SFGaQ4WJXHe KIOJEUIC6YklqdmpqQWpRTBZJg5OqQZG0dtbllxQ+/g0cF5ssvfCbP4Clb9Laz5lzmf5EFTG k7Bj6ZHFFmLfE2umh862aolReiKpVzbBMDn14Mtc64P6/lOfVfwK7bO5KWJfG7roxYzT6UIN unxeNdM5fnnFz227cVrZwPn9fDXmzX/W3ZzkPpOTbefLmzsO8k71iohY/qfz/XrtilPrlFiK MxINtZiLihMBCUYfPAgDAAA= X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprBIsWRmVeSWpSXmKPExsVy+t9jQd3dBy5FGHz6JWTxd9IxdouNM9az Wkx68p7Z4mf7FiaLTY+vsVoc2/GIyeLyrjlsFrcv81rs793AZHFm1S12i1/LjzI6cHu0NPew efz+NYnR4/2NVnaPB1P/M3nsnHWX3WPTqk42j81L6j36tqxi9Dh+YzuTx+dNcgFcUW42GamJ KalFCql5yfkpmXnptkqhIW66FkoKeYm5qbZKEbq+IUFKCmWJOaVAnpEBGnBwDnAPVtK3S3DL eHPrAnvBJ+6KFb0vWBsYe7i6GDk5JARMJL7s7WSGsMUkLtxbz9bFyMUhJDCLUWLOgXmsEM4v RonW+VcYQarYBKwkJravArNFBGQlrkx7yAhSxCzwjUli59tf7CAJYQE/iTlf94PZLAKqEm3t q8BsXgEPicVN15kg1slJnDw2GWgDBwengKfEw1YNkLAQUMmXhbNZJzDyLmBkWMUokVqQXFCc lJ5rlJdarlecmFtcmpeul5yfu4kRHCvPpHcwHt7lfohRgINRiYc3ouZShBBrYllxZe4hRgkO ZiUR3vI9QCHelMTKqtSi/Pii0pzU4kOMpkB3TWSWEk3OB8ZxXkm8oYm5ibmxgYW5paWJkZI4 b+PsZ+FCAumJJanZqakFqUUwfUwcnFINQIumendWx11pFInt3jfd2EO+u3PGb5a/LleOv2rP D0k4Wd307c8eZumjJ87zdn7tnlvw9dfPiSHVEXsat8Xrphy/d6uUIftw8pYJm2+/NW+OWF1c bnrLSyKpdEvlnCO/3sRM06nQnWwf8qwxdMnz1a4in09Y1z+tenK61b5QzYR/Hs/uy69jlFiK MxINtZiLihMBXLBRLqsCAAA= X-MTR: 20000000000000000@CPGS X-CMS-MailID: 20170322182147epcas5p3037b4fd5aaf82741ae14353df7d8789d X-Msg-Generator: CA X-Sender-IP: 203.254.230.27 X-Local-Sender: =?utf-8?q?Bartlomiej_Zolnierkiewicz=1BSRPOL-Kernel_=28TP?= =?utf-8?b?KRvsgrzshLHsoITsnpAbU2VuaW9yIFNvZnR3YXJlIEVuZ2luZWVy?= X-Global-Sender: =?utf-8?q?Bartlomiej_Zolnierkiewicz=1BSRPOL-Kernel_=28TP?= =?utf-8?q?=29=1BSamsung_Electronics=1BSenior_Software_Engineer?= X-Sender-Code: =?utf-8?q?C10=1BEHQ=1BC10CD02CD027392?= CMS-TYPE: 105P X-HopCount: 7 X-CMS-RootMailID: 20170322182147epcas5p3037b4fd5aaf82741ae14353df7d8789d X-RootMTR: 20170322182147epcas5p3037b4fd5aaf82741ae14353df7d8789d References: <1490206862-26065-1-git-send-email-b.zolnierkie@samsung.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Sekhar Nori IDE subsystem has been deprecated since 2009 and the majority (if not all) of Linux distributions have switched to use libata for ATA support exclusively. However there are still some users (mostly old or/and embedded non-x86 systems) that have not converted from using IDE subsystem to libata PATA drivers. This doesn't seem to be good thing in the long-term for Linux as while there is less and less PATA systems left in use: * testing efforts are divided between two subsystems * having duplicate drivers for same hardware confuses users This patch converts davinci_all_defconfig to use libata PATA drivers. Signed-off-by: Sekhar Nori [b.zolnierkie: split from bigger patch + added patch description] Signed-off-by: Bartlomiej Zolnierkiewicz --- arch/arm/configs/davinci_all_defconfig | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) -- 1.9.1 diff --git a/arch/arm/configs/davinci_all_defconfig b/arch/arm/configs/davinci_all_defconfig index c8663ea..93aab3d 100644 --- a/arch/arm/configs/davinci_all_defconfig +++ b/arch/arm/configs/davinci_all_defconfig @@ -74,12 +74,10 @@ CONFIG_BLK_DEV_RAM=y CONFIG_BLK_DEV_RAM_COUNT=1 CONFIG_BLK_DEV_RAM_SIZE=32768 CONFIG_EEPROM_AT24=y -CONFIG_IDE=m -CONFIG_BLK_DEV_PALMCHIP_BK3710=m -CONFIG_SCSI=m CONFIG_BLK_DEV_SD=m CONFIG_ATA=m CONFIG_AHCI_DA850=m +CONFIG_PATA_BK3710=m CONFIG_NETDEVICES=y CONFIG_NETCONSOLE=y CONFIG_TUN=m