Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753615AbbDTUz0 (ORCPT ); Mon, 20 Apr 2015 16:55:26 -0400 Received: from mezzanine.sirena.org.uk ([106.187.55.193]:38942 "EHLO mezzanine.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750771AbbDTUzY (ORCPT ); Mon, 20 Apr 2015 16:55:24 -0400 Date: Mon, 20 Apr 2015 21:55:11 +0100 From: Mark Brown To: Koro Chen Cc: robh+dt@kernel.org, matthias.bgg@gmail.com, perex@perex.cz, tiwai@suse.de, srv_heupstream@mediatek.com, linux-mediatek@lists.infradead.org, s.hauer@pengutronix.de, galak@codeaurora.org, lgirdwood@gmail.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, alsa-devel@alsa-project.org Message-ID: <20150420205511.GL14892@sirena.org.uk> References: <1428653649-38200-1-git-send-email-koro.chen@mediatek.com> <1428653649-38200-4-git-send-email-koro.chen@mediatek.com> <20150418175139.GG26185@sirena.org.uk> <1429510944.30743.36.camel@mtksdaap41> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="n83H03bbH672hrlY" Content-Disposition: inline In-Reply-To: <1429510944.30743.36.camel@mtksdaap41> X-Cookie: Everyone hates me because I'm paranoid. 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: [RESEND RFC PATCH 3/3] ASoC: mediatek: Add AFE platform driver 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: 1819 Lines: 45 --n83H03bbH672hrlY Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Mon, Apr 20, 2015 at 02:22:24PM +0800, Koro Chen wrote: > On Sat, 2015-04-18 at 18:51 +0100, Mark Brown wrote: > > On Fri, Apr 10, 2015 at 04:14:09PM +0800, Koro Chen wrote: > > Ah, so the SRAM is directly memory mappable. Nice. But we have a > > limited amount of it so need to allocate it to a device somehow based on > > some factor I guess? > Yes, actually SRAM is only used for the main playback path (which is > memif "DL1") to achieve low power in real use case. Maybe you think it's > better to not describe this in the device tree, but to choose SRAM > automatically if memif "DL1" is chosen? Since it's directly memory mappable is there actually any cost in latency terms from using the SRAM in low latency cases (or did I misread what the code was doing there)? If it can only be used with one interface and there's no downside from using it... --n83H03bbH672hrlY Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJVNWeuAAoJECTWi3JdVIfQGVoH/1W+8st7XBLSp2QIzItCAppk T8Dp5baU7pWKS5zwNwhfGf3i6a+bpb+G+k5ggS5ViiC0Gfic8AH7p6GeJP3I3fYw gn+utp5mM/yt2kWUeM47GoNbGv1n6eEup8hiYcm9+KmUlT2i/sMb/OpOdv+BrTWI kpclvGExdq/sxK+PYpDxzt+CIdjuye6LpcOu1TqumeZZ2YGcz6w7tz7JUaFihfCT 5S3JWRRlqnhquRzVHnJIMuWBEe3rSmq5+5qgyKNuFuIRwUVa5JbwOS1KTFmWhInj i5H8oUEX2WVsPMYISy/pC88gxLVt3VDpEoe1473OyrjFXv2Bipjn2h8jQ+caztQ= =FzKD -----END PGP SIGNATURE----- --n83H03bbH672hrlY-- -- 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/