Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933562AbbEOJ0X (ORCPT ); Fri, 15 May 2015 05:26:23 -0400 Received: from mezzanine.sirena.org.uk ([106.187.55.193]:41012 "EHLO mezzanine.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752481AbbEOJ0T (ORCPT ); Fri, 15 May 2015 05:26:19 -0400 Date: Fri, 15 May 2015 10:25:43 +0100 From: Mark Brown To: leilk liu Cc: Mark Rutland , Matthias Brugger , Rob Herring , Pawel Moll , Ian Campbell , Kumar Gala , Catalin Marinas , Will Deacon , Eddie Huang , Hongzhou Yang , Sascha Hauer , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-spi@vger.kernel.org, linux-mediatek@lists.infradead.org, srv_heupstream@mediatek.com, Sascha Hauer Message-ID: <20150515092543.GY2761@sirena.org.uk> References: <1431075343-7887-1-git-send-email-leilk.liu@mediatek.com> <1431075343-7887-3-git-send-email-leilk.liu@mediatek.com> <20150508175306.GG2761@sirena.org.uk> <1431434356.2128.9.camel@mhfsdcap03> <20150512160540.GB3066@sirena.org.uk> <1431675522.2128.13.camel@mhfsdcap03> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="3rA5Es2VluvhcIdy" Content-Disposition: inline In-Reply-To: <1431675522.2128.13.camel@mhfsdcap03> X-Cookie: 13. ... r-q1 User-Agent: Mutt/1.5.23 (2014-03-12) X-SA-Exim-Connect-IP: 94.175.94.161 X-SA-Exim-Mail-From: broonie@sirena.org.uk Subject: Re: [PATCH 2/3] spi: mediatek: Add spi bus for Mediatek MT8173 X-SA-Exim-Version: 4.2.1 (built Mon, 26 Dec 2011 16:24:06 +0000) X-SA-Exim-Scanned: Yes (on mezzanine.sirena.org.uk) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1562 Lines: 41 --3rA5Es2VluvhcIdy Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Fri, May 15, 2015 at 03:38:42PM +0800, leilk liu wrote: > On Tue, 2015-05-12 at 17:05 +0100, Mark Brown wrote: > > Implement can_dma() - look for drivers providing that for examples. > MTK spi hardware uses the dmaengine in spi controller. According to > datasheet, spi driver just need to enable dma register bit and write a > physical address to relevant dma address register, so I think it may be > complex while the driver supports can_dma. That's how a very large proportion of devices that work with DMA are done - why would this be complicated? All can_dma() does is report if DMA is possible. --3rA5Es2VluvhcIdy Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJVVbuXAAoJECTWi3JdVIfQOM0H/1QA4VRmTcQKW4xIuJZwMWcE B1JVTfAeAvI8BVWMp6m3eEpTzQbGpbaZYqFKg+63AD7d1zUF76EGREVixnkojiS+ 6agjzTR0CX8wHReIbNP62GYdGL7gKGSgVNv847OcnbeALj20+QSfWvHS/QsbjHZN +8/hIYtqYFQTviQhCKeOgqDTMtJ730id+HTabUfhjvL8IiB20N4H0QUMJZIl1aA0 4ENqbLW7ROAiaCrdr+2UgD3AVUdYJUQLyt/tz7AHc/19YHw01T9MTjeTqSID7kI1 //aaRtTQ8ftBncJl9JP6i8A5GiNaPbKTMatugVMbAPwWAa1HSeq3Fuq9s59MtWk= =xdg4 -----END PGP SIGNATURE----- --3rA5Es2VluvhcIdy-- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/