From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751723AbaB1MEF (ORCPT ); Fri, 28 Feb 2014 07:04:05 -0500 Received: from mail-out.m-online.net ([212.18.0.10]:51179 "EHLO mail-out.m-online.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751157AbaB1MEC convert rfc822-to-8bit (ORCPT ); Fri, 28 Feb 2014 07:04:02 -0500 X-Auth-Info: Qf3AgbCL9cjxmf8sMDZmixM+STYmlLN/8Lu3usKBUfg= From: Marek Vasut To: Lothar =?iso-8859-1?q?Wa=DFmann?= Subject: Re: [PATCH 1/3] i2c: add DMA support for freescale i2c driver Date: Fri, 28 Feb 2014 13:00:30 +0100 User-Agent: KMail/1.13.7 (Linux/3.13-trunk-amd64; KDE/4.11.3; x86_64; ; ) Cc: Yao Yuan , "mark.rutland@arm.com" , "wsa@the-dreams.de" , "linux-kernel@vger.kernel.org" , "linux-i2c@vger.kernel.org" , "shawn.guo@linaro.org" , "linux-arm-kernel@lists.infradead.org" References: <1393481115-22136-1-git-send-email-yao.yuan@freescale.com> <201402281004.10238.marex@denx.de> <20140228115925.5fe07693@ipc1.ka-ro> In-Reply-To: <20140228115925.5fe07693@ipc1.ka-ro> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 8BIT Message-Id: <201402281300.30907.marex@denx.de> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Friday, February 28, 2014 at 11:59:25 AM, Lothar Waßmann wrote: > Hi, > > Marek Vasut wrote: > > On Friday, February 28, 2014 at 06:19:18 AM, Yao Yuan wrote: > > > > [...] > > > > > 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. > > > > 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 ? > > SPI != I2C You got me, sorry. Best regards, Marek Vasut 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 From mboxrd@z Thu Jan 1 00:00:00 1970 From: marex@denx.de (Marek Vasut) Date: Fri, 28 Feb 2014 13:00:30 +0100 Subject: [PATCH 1/3] i2c: add DMA support for freescale i2c driver In-Reply-To: <20140228115925.5fe07693@ipc1.ka-ro> References: <1393481115-22136-1-git-send-email-yao.yuan@freescale.com> <201402281004.10238.marex@denx.de> <20140228115925.5fe07693@ipc1.ka-ro> Message-ID: <201402281300.30907.marex@denx.de> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Friday, February 28, 2014 at 11:59:25 AM, Lothar Wa?mann wrote: > Hi, > > Marek Vasut wrote: > > On Friday, February 28, 2014 at 06:19:18 AM, Yao Yuan wrote: > > > > [...] > > > > > 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. > > > > 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 ? > > SPI != I2C You got me, sorry. Best regards, Marek Vasut