From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Subject: Re: [PATCH 1/3] i2c: add DMA support for freescale i2c driver Date: Fri, 28 Feb 2014 13:00:30 +0100 Message-ID: <201402281300.30907.marex@denx.de> References: <1393481115-22136-1-git-send-email-yao.yuan@freescale.com> <201402281004.10238.marex@denx.de> <20140228115925.5fe07693@ipc1.ka-ro> Mime-Version: 1.0 Content-Type: Text/Plain; charset=iso-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: In-Reply-To: <20140228115925.5fe07693-VjFSrY7JcPWvSplVBqRQBQ@public.gmane.org> Sender: linux-i2c-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Lothar =?iso-8859-1?q?Wa=DFmann?= Cc: Yao Yuan , "mark.rutland-5wv7dgnIgG8@public.gmane.org" , "wsa-z923LK4zBo2bacvFa/9K2g@public.gmane.org" , "linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , "linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , "shawn.guo-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org" , "linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org" List-Id: linux-i2c@vger.kernel.org On Friday, February 28, 2014 at 11:59:25 AM, Lothar Wa=DFmann wrote: > Hi, >=20 > Marek Vasut wrote: > > On Friday, February 28, 2014 at 06:19:18 AM, Yao Yuan wrote: > >=20 > > [...] > >=20 > > > Yes, here have two dma channels, one for RX and the other one for= TX. > > > When we request the channel we should determine it for TX or RX. > >=20 > > Sorry, I don't quite understand this. If you have two DMA channels,= can > > you not use them both to do full-duplex SPI transfer ? >=20 > SPI !=3D I2C You got me, sorry. Best regards, Marek Vasut