[alsa-devel] [PATCH 0/4 v2] arizona: Improvements to codec DVFS control

Charles Keepax ckeepax at opensource.wolfsonmicro.com
Fri Jun 20 16:41:09 CEST 2014


Hi,

Respin of Richard's DVFS series, from me since he is on
holiday. I have based these on Mark's ASoC for-next branch
as there a few changes in there to the same parts of code.
But let me know if you would rather have a series based on
Lee's tree instead.

This set of changes cleans up the way the drivers handle
the control of internal subsystem clocks for codecs with
DVFS. This previously relied on the clock control happening
as a side-effect of changing the regulator voltage, rather
than explicitly, which assumed that you were using the
built-in regulator. Also DVFS control was being done from
the ADSP driver despite that driver supposedly being codec-
agnostic.
There are other cases on some codecs where DVFS control is
needed so this sequence of patches cleans up the way DVFS
is implemented and adds the extra case of DVFS boost for
higher sample rates on WM8997 and WM5102


Changes since v1:
 - Changed mask variable to flags to be more consistent
   with its usage
 - Fixed minor tabbing issue
 - Adding missing SND_SOC_DAPM_PRE_PMD event flag in WM_ADSP2_E


Richard Fitzgerald (4):
  mfd: arizona: Export function to control subsystem DVFS
  ASoC: wm_adsp: Move DVFS control into codec driver
  ASoC: arizona: Add DVFS handling for sample rate control
  regulator: arizona-ldo1: Do not control clocking from regulator

 drivers/mfd/arizona-core.c       |   84 ++++++++++++++++++++++++++++++++++++++
 drivers/regulator/arizona-ldo1.c |    5 --
 include/linux/mfd/arizona/core.h |   12 +++++
 sound/soc/codecs/arizona.c       |   22 +++++++++-
 sound/soc/codecs/wm5102.c        |   47 ++++++++++++++++++++-
 sound/soc/codecs/wm5110.c        |    2 +-
 sound/soc/codecs/wm_adsp.c       |   73 +--------------------------------
 sound/soc/codecs/wm_adsp.h       |   13 +++---
 8 files changed, 171 insertions(+), 87 deletions(-)

-- 
1.7.2.5



More information about the Alsa-devel mailing list