From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756427AbcFASOq (ORCPT ); Wed, 1 Jun 2016 14:14:46 -0400 Received: from down.free-electrons.com ([37.187.137.238]:50309 "EHLO mail.free-electrons.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1755970AbcFASOl (ORCPT ); Wed, 1 Jun 2016 14:14:41 -0400 Date: Wed, 1 Jun 2016 20:14:39 +0200 From: Maxime Ripard To: Michal Suchanek Cc: linux-sunxi , Mark Brown , Chen-Yu Tsai , linux-spi , "linux-arm-kernel@lists.infradead.org" , Linux Kernel Mailing List Subject: Re: [PATCH 3/5] spi: sunxi: expose maximum transfer size limit Message-ID: <20160601181439.GB4908@lukather> References: <5fffb7eca6f4b70853d92be2403595d6d06bede7.1464130597.git.hramrach@gmail.com> <20160530083745.GG4247@lukather> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="eN+VsUY52o/CFM+1" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --eN+VsUY52o/CFM+1 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, May 30, 2016 at 10:57:10AM +0200, Michal Suchanek wrote: > Hello, >=20 > On 30 May 2016 at 10:37, Maxime Ripard = wrote: > > On Thu, May 26, 2016 at 07:25:24PM -0000, Michal Suchanek wrote: > >> The sun4i spi hardware can trasfer at most 63 bytes of data without DMA > >> support so report the limitation. Same on sun6i. > > > > Is it? Is there timeouts on the A31 and later SoCs? > > >=20 > I have no sun6i hardware to test with. >=20 > This is an advisory limit you can query and it better be smaller > rather than unreliable. The hard limit in the driver is still > SUN6I_FIFO_DEPTH (which is 128 bytes on sun6i). >=20 > You can test his without any actual SPI device. Unused pins you can > multiplex as SPI suffice. Ok, for the time being: Acked-by: Maxime Ripard Thanks! Maxime --=20 Maxime Ripard, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com --eN+VsUY52o/CFM+1 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJXTyYPAAoJEBx+YmzsjxAgwJUP/1OTmGGtDyRUQbyc0qSXXz9r 2QIEBfzm7tgBh1nn8QlPw5jW4VWfDYJR7HV9EXhlpKcoBv+wXtLxkt0ObYNEbUin JlI6LRs7h3nF9S3fLH9WJ/EplOP8IFcGTNnivTaokCg1R4+NkELvGbZcXDYd8BRN dFwRQb9eNue6HdXQtjRXR2/JTeRpM93rjctzj+t7Hyg9JW/IvGG1DX8VwBOumX4C 5k7xx6VYvNh5pMyXqa7KOxh4S+KMKjU2WG423932E19c24/cxtGHGOvb9UD7ooe5 tDfZSaBKmU+9UxcWs3v7cYTYjAG2oboP0S9eUZjPqtM9DMdfy9pwGSItiZY90f1o CVibUD/spR8X/mpvFgNHOVuygcc6SA5Cnkax+JsaLp36elLpaaXZKrVAwwlJaLJt 219b9coAV+LN0lLhQi+j0+Fcsfvy7QA3ZOCSqz/Jl3PZJx3zgN/VVFouFzv92rQA I+oxQWIkXCYODEDHD/yP8gdXgJ0McoDA0pIboALutgKJIw/RiHgOIchKsBLx3JFy 8NBh3+ESc/50REpywoCIJRZ+NxrcnCy6TrMFO15ITIOVMdlmSJWwnJ5JRy0AJuME nrYMXEK3Unbl+toEgrS08WxuQfHMpV81Vmirv00jIK2iLqkSMDB7mFymJNs2udaK 7ECqWnChrqPYlYUvNreH =fLX2 -----END PGP SIGNATURE----- --eN+VsUY52o/CFM+1--