From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eddie.linux-mips.org ([148.251.95.138] helo=cvs.linux-mips.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1eDE1A-0003AL-1O for linux-mtd@lists.infradead.org; Fri, 10 Nov 2017 18:27:05 +0000 Received: (from localhost user: 'ladis' uid#1021 fake: STDIN (ladis@eddie.linux-mips.org)) by eddie.linux-mips.org id S23992314AbdKJS0l4Zale (ORCPT ); Fri, 10 Nov 2017 19:26:41 +0100 Date: Fri, 10 Nov 2017 19:26:21 +0100 Sender: Ladislav Michl From: Ladislav Michl To: Tony Lindgren Cc: Peter Ujfalusi , linux-mtd@lists.infradead.org, linux-omap@vger.kernel.org, Roger Quadros , Boris Brezillon , Kyungmin Park Subject: Re: [PATCH v3 5/7] mtd: onenand: omap2: Unify OMAP2 and OMAP3 DMA implementation Message-ID: <20171110182621.ntiptm3h2u437nv7@lenoch> References: <20171109091155.6a6azfvjarwvlfh2@lenoch> <20171109091529.x3pqqvbiywj5aulo@lenoch> <3d33265a-2520-2298-6068-f76a7257bfd0@ti.com> <20171110100443.zqk7uzxoaq4eyntk@lenoch> <20171110152423.GM28152@atomide.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20171110152423.GM28152@atomide.com> List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Fri, Nov 10, 2017 at 07:24:23AM -0800, Tony Lindgren wrote: > FYI, the gpio pin for onenand should not be in gpio mode. It should > be used as external dma request line to automatically trigger new > transfers like we do for tusb6010 dma. But of course it's possible > that onenand has other issues too preventing the dma usage. Hmm, that's probably what comment in omap3-n900.dts is saying: "sys_ndmareq1 could be used by the driver, not as gpio65 though" However board-rx51 (is that n900?) is using it as gpio pin. Also omap2420-n8x0-common.dtsi comment says: "gpio-irq for dma: 26" and it matches board-n8x0.c platform data configuration. But I still missing pinmux configuration as we need to add it into DT as well. I guess this was originally done in bootloader. Any hint where can I get this info from? Thanks, ladis