linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/6] ASoC: fsl: Don't use devm_regmap_init_mmio_clk
@ 2021-03-24  9:58 Shengjiu Wang
  2021-03-24  9:58 ` [PATCH 1/6] ASoC: fsl_esai: " Shengjiu Wang
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: Shengjiu Wang @ 2021-03-24  9:58 UTC (permalink / raw)
  To: timur, nicoleotsuka, Xiubo.Lee, festevam, broonie, perex, tiwai,
	alsa-devel
  Cc: linuxppc-dev, linux-kernel

When there is power domain bind with ipg clock,

The call flow:
devm_regmap_init_mmio_clk
    - clk_prepare()
        - clk_pm_runtime_get()

cause the power domain of clock always be enabled after
regmap_init(). which impact the power consumption.

So use devm_regmap_init_mmio instead of
devm_regmap_init_mmio_clk.

Shengjiu Wang (6):
  ASoC: fsl_esai: Don't use devm_regmap_init_mmio_clk
  ASoC: fsl_spdif: Don't use devm_regmap_init_mmio_clk
  ASoC: fsl_asrc: Don't use devm_regmap_init_mmio_clk
  ASoC: fsl_easrc: Don't use devm_regmap_init_mmio_clk
  ASoC: fsl_audmix: Don't use devm_regmap_init_mmio_clk
  ASoC: fsl_micfil: Don't use devm_regmap_init_mmio_clk

 sound/soc/fsl/fsl_asrc.c   | 57 +++++++++++++++++++++++++++++---------
 sound/soc/fsl/fsl_audmix.c |  3 +-
 sound/soc/fsl/fsl_easrc.c  |  3 +-
 sound/soc/fsl/fsl_esai.c   | 48 ++++++++++++++++++++++++--------
 sound/soc/fsl/fsl_micfil.c | 25 +++++++++++++----
 sound/soc/fsl/fsl_spdif.c  |  3 +-
 6 files changed, 103 insertions(+), 36 deletions(-)

-- 
2.27.0


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2021-03-24 23:40 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-24  9:58 [PATCH 0/6] ASoC: fsl: Don't use devm_regmap_init_mmio_clk Shengjiu Wang
2021-03-24  9:58 ` [PATCH 1/6] ASoC: fsl_esai: " Shengjiu Wang
2021-03-24  9:58 ` [PATCH 2/6] ASoC: fsl_spdif: " Shengjiu Wang
2021-03-24  9:58 ` [PATCH 3/6] ASoC: fsl_asrc: " Shengjiu Wang
2021-03-24  9:58 ` [PATCH 4/6] ASoC: fsl_easrc: " Shengjiu Wang
2021-03-24  9:58 ` [PATCH 5/6] ASoC: fsl_audmix: " Shengjiu Wang
2021-03-24  9:58 ` [PATCH 6/6] ASoC: fsl_micfil: " Shengjiu Wang
2021-03-24 23:39 ` [PATCH 0/6] ASoC: fsl: " Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).