From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut To: Huang Shijie Subject: Re: [PATCH] dma: add new DMA control commands Date: Thu, 18 Oct 2012 12:51:14 +0200 References: <1350538335-29026-1-git-send-email-b32955@freescale.com> <201210181049.21556.marex@denx.de> <507FC827.40601@freescale.com> In-Reply-To: <507FC827.40601@freescale.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <201210181251.15116.marex@denx.de> Cc: alsa-devel@alsa-project.org, tiwai@suse.de, artem.bityutskiy@linux.intel.com, perex@perex.cz, linux-mtd@lists.infradead.org, linux-i2c@vger.kernel.org, Huang Shijie , linux@arm.linux.org.uk, cjb@laptop.org, lrg@ti.com, ben-linux@fluff.org, linux-arm-kernel@lists.infradead.org, Fabio Estevam , Vinod Koul , broonie@opensource.wolfsonmicro.com, linux-mmc@vger.kernel.org, w.sang@pengutronix.de, linux-kernel@vger.kernel.org, djbw@fb.com, khali@linux-fr.org, shawn.guo@linaro.org, dwmw2@infradead.org List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Dear Huang Shijie, > =E4=BA=8E 2012=E5=B9=B410=E6=9C=8818=E6=97=A5 16:49, Marek Vasut =E5=86= =99=E9=81=93: > > Dear Huang Shijie, > >=20 > >> =E4=BA=8E 2012=E5=B9=B410=E6=9C=8818=E6=97=A5 16:16, Marek Vasut =E5= =86=99=E9=81=93: > >>> So we can't stream data from the chip? About time to adjust the MTD > >>> framework to allow that. Maybe implement a command queue? > >>=20 > >> IMHO, it's not possible. Because the READ-PAGE(00h-30h) command needs = to > >> check the busy status > >> which means we have to stop in the middle, so we can not chain the all > >> the read-pages DMA commands. > >=20 > > Can the DMA not branch? >=20 > it's too complicated to the MTD layer, as well as the gpmi driver. Can you please elaborate ? Best regards, Marek Vasut