From: Mark Brown Subject: Re: [PATCH v2 05/11] ASoC: Add a set_bias_level() callback to the DAPM context struct Date: Mon, 23 Jun 2014 11:08:27 +0100 Message-ID: <20140623100827.GW24291@sirena.org.uk> References: <1402935191-18398-1-git-send-email-lars@metafoo.de> <1402935191-18398-6-git-send-email-lars@metafoo.de> <20140621201437.GS5099@sirena.org.uk> <20140622052600.GM22053@intel.com> <20140622101236.GI24291@sirena.org.uk> <20140623043405.GP22053@intel.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2559321980440617606==" Return-path: Received: from mezzanine.sirena.org.uk (mezzanine.sirena.org.uk [106.187.55.193]) by alsa0.perex.cz (Postfix) with ESMTP id AE9AC2615B9 for ; Mon, 23 Jun 2014 12:08:52 +0200 (CEST) In-Reply-To: <20140623043405.GP22053@intel.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org To: Vinod Koul Cc: alsa-devel@alsa-project.org, Lars-Peter Clausen , Liam Girdwood List-Id: alsa-devel@alsa-project.org --===============2559321980440617606== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="qndya+I13rh6QJ0p" Content-Disposition: inline --qndya+I13rh6QJ0p Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Mon, Jun 23, 2014 at 10:04:05AM +0530, Vinod Koul wrote: > On Sun, Jun 22, 2014 at 11:12:36AM +0100, Mark Brown wrote: > > Please be more specific about this - what do they offer that runtime PM > > and widgets don't offer? > Well you are assuming that folks writing DSP FW will not have some wiered > sequence! > Neverthless, i can think of two scenarios to control fw loading and sequences: > 1. DMICs attached to DSP doing record but data getting consumed by DSP. No data > goes to host cpu. No PCM/parameters here, so we can do a simple Input-Output > loop. Somthing reverse of what we can do with Codec vibra. Widgets will not tell > me when to load DSP FW. Since no device handle, no runtime here! Why not? If there's a DAPM context there must be a struct device for it and if there's an audio path there should be widgets on it. > 2. SoC DSP generating clock for codec and audio ICs even when no data is > generated by SoC. This is not true for I2S but for other bus prtocols like > Slimbus. This sounds like something runtime PM would work fine for? --qndya+I13rh6QJ0p Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBAgAGBQJTp/yXAAoJELSic+t+oim9ji8QAJwbeY1Nbazg/1cjlFDqPc76 MGqFIgdZBoDnT1miiahu/o9fkSrcn/iJsz6uG2LJuQc5uyNhRH6SGTXyB1rxoOk0 +ZY8b0HtH+dke18UBTwj47KHIW6sovbbRrKiWLzwrRIq1PWGuQ9wxAOm0NdrDNv1 IqeytklB8t5C0h8l/Tzjn6lp87R5VLPAya5tbQ8TpwMLizTZZ+jMkmOfmkssvaCC egDot7eZ9e5XYXLL17qLTH/R8I4c4wucheAJBSOcJuZps+j0DXuM4LK3i7BSEEhR BKz05jme8HLx1PqAiTZ4xvRlLG8xfConJoTf/zUZj+uBKkHh2KkmRBxxggpE1BPp /dJ5cBCC9iwQWWbBXHoNV/fxhSwinMaU31ztY0MOObVhGfg9JCglW+pclECRzMdx rJUTcOa8g9UamdwtMKvIB6Wc5BisgjQQsEvEWtxSgGhQ8WWa1OtXJve2nXyOBFfs XiR4xpbu/0VjHZ1PSnYZWEjpcyAGCQrSA77sqlrTD9c0olrIFHmrsvGb3cLOawhe 460qOLD4HXFkI5J+DFC8X28Lb9HeMWp6vyj3QG//3ZRdO2GK9pHM1l98UbrFVlLs Boms50fMVDSrhe2eKH4JeauV4K0ZsAENURAKKMYZ0BFNMwIGFUBm0aUGz7fbjaKt jpoBGcVB9sThSy2AteN+ =1X8/ -----END PGP SIGNATURE----- --qndya+I13rh6QJ0p-- --===============2559321980440617606== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline --===============2559321980440617606==--