From: Mark Brown <broonie@kernel.org> To: "S.j. Wang" <shengjiu.wang@nxp.com> Cc: Nicolin Chen <nicoleotsuka@gmail.com>, "timur@kernel.org" <timur@kernel.org>, "Xiubo.Lee@gmail.com" <Xiubo.Lee@gmail.com>, "festevam@gmail.com" <festevam@gmail.com>, "alsa-devel@alsa-project.org" <alsa-devel@alsa-project.org>, "linuxppc-dev@lists.ozlabs.org" <linuxppc-dev@lists.ozlabs.org>, "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org> Subject: Re: [PATCH] ASoC: fsl_esai: Add pm runtime function Date: Thu, 18 Apr 2019 11:17:13 +0100 [thread overview] Message-ID: <20190418101713.GD6702@sirena.org.uk> (raw) In-Reply-To: <VE1PR04MB6479871F3FC087282D23582DE3260@VE1PR04MB6479.eurprd04.prod.outlook.com> [-- Attachment #1: Type: text/plain, Size: 1115 bytes --] On Thu, Apr 18, 2019 at 10:15:24AM +0000, S.j. Wang wrote: > > On Thu, Apr 18, 2019 at 02:00:12AM -0700, Nicolin Chen wrote: > > > On Thu, Apr 18, 2019 at 03:29:09AM +0000, S.j. Wang wrote: > > > Just for curiosity, we had similar situation on imx6sx, so we added > > > suspend/resume with regcache. Why will the clock enable state be lost > > > too? Does CCM on imx8 (might not be called CCM > > > though) have any difference? What about clock rate settings? > > That sounds like a bug somewhere else - I'd expect that after resume the > > clocking would be restored to the state it was in before suspend. > There is limitation in our internal design. That is in imx8 the power of > subsystem will be disabled at suspend, include the clock state , clock rate. Right, that's fairly normal but usually it'd be restored as part of the resume process? > This patch is to enable the pm runtime, so I think it is better to move the > clock operation to pm runtime, and close the clock at suspend to reduce > the power. It's definitely good to turn the clock off as much as possible, yes. [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 488 bytes --]
WARNING: multiple messages have this Message-ID (diff)
From: Mark Brown <broonie@kernel.org> To: "S.j. Wang" <shengjiu.wang@nxp.com> Cc: "alsa-devel@alsa-project.org" <alsa-devel@alsa-project.org>, "timur@kernel.org" <timur@kernel.org>, "Xiubo.Lee@gmail.com" <Xiubo.Lee@gmail.com>, "festevam@gmail.com" <festevam@gmail.com>, "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>, Nicolin Chen <nicoleotsuka@gmail.com>, "linuxppc-dev@lists.ozlabs.org" <linuxppc-dev@lists.ozlabs.org> Subject: Re: [PATCH] ASoC: fsl_esai: Add pm runtime function Date: Thu, 18 Apr 2019 11:17:13 +0100 [thread overview] Message-ID: <20190418101713.GD6702@sirena.org.uk> (raw) In-Reply-To: <VE1PR04MB6479871F3FC087282D23582DE3260@VE1PR04MB6479.eurprd04.prod.outlook.com> [-- Attachment #1: Type: text/plain, Size: 1115 bytes --] On Thu, Apr 18, 2019 at 10:15:24AM +0000, S.j. Wang wrote: > > On Thu, Apr 18, 2019 at 02:00:12AM -0700, Nicolin Chen wrote: > > > On Thu, Apr 18, 2019 at 03:29:09AM +0000, S.j. Wang wrote: > > > Just for curiosity, we had similar situation on imx6sx, so we added > > > suspend/resume with regcache. Why will the clock enable state be lost > > > too? Does CCM on imx8 (might not be called CCM > > > though) have any difference? What about clock rate settings? > > That sounds like a bug somewhere else - I'd expect that after resume the > > clocking would be restored to the state it was in before suspend. > There is limitation in our internal design. That is in imx8 the power of > subsystem will be disabled at suspend, include the clock state , clock rate. Right, that's fairly normal but usually it'd be restored as part of the resume process? > This patch is to enable the pm runtime, so I think it is better to move the > clock operation to pm runtime, and close the clock at suspend to reduce > the power. It's definitely good to turn the clock off as much as possible, yes. [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 488 bytes --]
next prev parent reply other threads:[~2019-04-18 10:17 UTC|newest] Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top 2019-04-18 10:15 [PATCH] ASoC: fsl_esai: Add pm runtime function S.j. Wang 2019-04-18 10:15 ` S.j. Wang 2019-04-18 10:17 ` Mark Brown [this message] 2019-04-18 10:17 ` Mark Brown -- strict thread matches above, loose matches on Subject: below -- 2019-04-18 11:12 S.j. Wang 2019-04-18 11:12 ` S.j. Wang 2019-04-18 10:21 S.j. Wang 2019-04-18 10:21 ` S.j. Wang 2019-04-18 3:29 S.j. Wang 2019-04-18 9:00 ` Nicolin Chen 2019-04-18 9:00 ` Nicolin Chen 2019-04-18 9:06 ` Mark Brown 2019-04-18 9:06 ` Mark Brown
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20190418101713.GD6702@sirena.org.uk \ --to=broonie@kernel.org \ --cc=Xiubo.Lee@gmail.com \ --cc=alsa-devel@alsa-project.org \ --cc=festevam@gmail.com \ --cc=linux-kernel@vger.kernel.org \ --cc=linuxppc-dev@lists.ozlabs.org \ --cc=nicoleotsuka@gmail.com \ --cc=shengjiu.wang@nxp.com \ --cc=timur@kernel.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.