From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752449AbbDQTwm (ORCPT ); Fri, 17 Apr 2015 15:52:42 -0400 Received: from smtp02.smtpout.orange.fr ([80.12.242.124]:60767 "EHLO smtp.smtpout.orange.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751354AbbDQTwi (ORCPT ); Fri, 17 Apr 2015 15:52:38 -0400 X-ME-Helo: belgarion.home X-ME-Date: Fri, 17 Apr 2015 21:52:35 +0200 X-ME-IP: 86.199.192.132 From: Robert Jarzmik To: Ezequiel Garcia Cc: Sebastian Hesselbarth , Antoine Tenart , dwmw2@infradead.org, computersforpeace@gmail.com, boris.brezillon@free-electrons.com, zmxu@marvell.com, jszhang@marvell.com, linux-arm-kernel@lists.infradead.org, linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v4 04/10] mtd: pxa3xx_nand: rework flash detection and timing setup References: <1429118648-19416-1-git-send-email-antoine.tenart@free-electrons.com> <1429118648-19416-5-git-send-email-antoine.tenart@free-electrons.com> <552EB7F0.2090106@gmail.com> <552FB4DF.1030403@free-electrons.com> <552FBC0E.20004@gmail.com> <552FEA74.5020909@free-electrons.com> X-URL: http://belgarath.falguerolles.org/ Date: Fri, 17 Apr 2015 21:52:27 +0200 In-Reply-To: <552FEA74.5020909@free-electrons.com> (Ezequiel Garcia's message of "Thu, 16 Apr 2015 13:59:32 -0300") Message-ID: <87r3riv8g4.fsf@belgarion.home> User-Agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Ezequiel Garcia writes: >> Also, as soon as Robert moves pxa3xx boards fully to DT, we'll loose >> the pdata timings option above. *sigh* >> > Well, such move would include proper timing DT properties for non-ONFI > devices. I will move several boards to DT, including several pxa3x boards, but not _all_ the boards. For reference, I said in [1] this : > Actually, this deserves another discussion alltogether. My plan was not to > convert all pxa board files to dt support, but all internal SoC IPs drivers + > mach/plat support. > > Or put another way at the end : > - there will be at least one pxa25x board which is fully DT converted > - there will be at least one pxa27x board which is fully DT converted > - there will be at least one pxa3xx board which is fully DT converted > > - there will be at least one pxa25x board which is not DT converted > - there will be at least one pxa27x board which is not DT converted > - there will be at least one pxa3xx board which is not DT converted > > I want to keep the support for both legacy platform_data and DT for pxa > architecture. The idea I had was that only fully DT converted machines will > benefit from multiplatform support. And as you said Ezequiel, the problem will arise regardless of being DT or not, it's a lack of conformance of the zylonite board's nand amongst others. So the timings will have to survive somewhere, whichever place is seen fit. Cheers. -- Robert [1] http://lists.openwall.net/linux-kernel/2015/03/24/101 From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp02.smtpout.orange.fr ([80.12.242.124] helo=smtp.smtpout.orange.fr) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1YjCJv-0007oU-ST for linux-mtd@lists.infradead.org; Fri, 17 Apr 2015 19:53:01 +0000 From: Robert Jarzmik To: Ezequiel Garcia Subject: Re: [PATCH v4 04/10] mtd: pxa3xx_nand: rework flash detection and timing setup References: <1429118648-19416-1-git-send-email-antoine.tenart@free-electrons.com> <1429118648-19416-5-git-send-email-antoine.tenart@free-electrons.com> <552EB7F0.2090106@gmail.com> <552FB4DF.1030403@free-electrons.com> <552FBC0E.20004@gmail.com> <552FEA74.5020909@free-electrons.com> Date: Fri, 17 Apr 2015 21:52:27 +0200 In-Reply-To: <552FEA74.5020909@free-electrons.com> (Ezequiel Garcia's message of "Thu, 16 Apr 2015 13:59:32 -0300") Message-ID: <87r3riv8g4.fsf@belgarion.home> MIME-Version: 1.0 Content-Type: text/plain Cc: zmxu@marvell.com, boris.brezillon@free-electrons.com, Antoine Tenart , linux-kernel@vger.kernel.org, linux-mtd@lists.infradead.org, jszhang@marvell.com, computersforpeace@gmail.com, dwmw2@infradead.org, linux-arm-kernel@lists.infradead.org, Sebastian Hesselbarth List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Ezequiel Garcia writes: >> Also, as soon as Robert moves pxa3xx boards fully to DT, we'll loose >> the pdata timings option above. *sigh* >> > Well, such move would include proper timing DT properties for non-ONFI > devices. I will move several boards to DT, including several pxa3x boards, but not _all_ the boards. For reference, I said in [1] this : > Actually, this deserves another discussion alltogether. My plan was not to > convert all pxa board files to dt support, but all internal SoC IPs drivers + > mach/plat support. > > Or put another way at the end : > - there will be at least one pxa25x board which is fully DT converted > - there will be at least one pxa27x board which is fully DT converted > - there will be at least one pxa3xx board which is fully DT converted > > - there will be at least one pxa25x board which is not DT converted > - there will be at least one pxa27x board which is not DT converted > - there will be at least one pxa3xx board which is not DT converted > > I want to keep the support for both legacy platform_data and DT for pxa > architecture. The idea I had was that only fully DT converted machines will > benefit from multiplatform support. And as you said Ezequiel, the problem will arise regardless of being DT or not, it's a lack of conformance of the zylonite board's nand amongst others. So the timings will have to survive somewhere, whichever place is seen fit. Cheers. -- Robert [1] http://lists.openwall.net/linux-kernel/2015/03/24/101 From mboxrd@z Thu Jan 1 00:00:00 1970 From: robert.jarzmik@free.fr (Robert Jarzmik) Date: Fri, 17 Apr 2015 21:52:27 +0200 Subject: [PATCH v4 04/10] mtd: pxa3xx_nand: rework flash detection and timing setup In-Reply-To: <552FEA74.5020909@free-electrons.com> (Ezequiel Garcia's message of "Thu, 16 Apr 2015 13:59:32 -0300") References: <1429118648-19416-1-git-send-email-antoine.tenart@free-electrons.com> <1429118648-19416-5-git-send-email-antoine.tenart@free-electrons.com> <552EB7F0.2090106@gmail.com> <552FB4DF.1030403@free-electrons.com> <552FBC0E.20004@gmail.com> <552FEA74.5020909@free-electrons.com> Message-ID: <87r3riv8g4.fsf@belgarion.home> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Ezequiel Garcia writes: >> Also, as soon as Robert moves pxa3xx boards fully to DT, we'll loose >> the pdata timings option above. *sigh* >> > Well, such move would include proper timing DT properties for non-ONFI > devices. I will move several boards to DT, including several pxa3x boards, but not _all_ the boards. For reference, I said in [1] this : > Actually, this deserves another discussion alltogether. My plan was not to > convert all pxa board files to dt support, but all internal SoC IPs drivers + > mach/plat support. > > Or put another way at the end : > - there will be at least one pxa25x board which is fully DT converted > - there will be at least one pxa27x board which is fully DT converted > - there will be at least one pxa3xx board which is fully DT converted > > - there will be at least one pxa25x board which is not DT converted > - there will be at least one pxa27x board which is not DT converted > - there will be at least one pxa3xx board which is not DT converted > > I want to keep the support for both legacy platform_data and DT for pxa > architecture. The idea I had was that only fully DT converted machines will > benefit from multiplatform support. And as you said Ezequiel, the problem will arise regardless of being DT or not, it's a lack of conformance of the zylonite board's nand amongst others. So the timings will have to survive somewhere, whichever place is seen fit. Cheers. -- Robert [1] http://lists.openwall.net/linux-kernel/2015/03/24/101