From: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
To: broonie@kernel.org, lee.jones@linaro.org
Cc: alsa-devel@alsa-project.org, patches@opensource.wolfsonmicro.com,
lgirdwood@gmail.com, sameo@linux.intel.com
Subject: [PATCH 0/3 v3] arizona: Improvements to codec DVFS control
Date: Mon, 23 Jun 2014 17:28:26 +0100 [thread overview]
Message-ID: <1403540909-22013-1-git-send-email-ckeepax@opensource.wolfsonmicro.com> (raw)
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 v2:
- Correct some small issues (wrong printf specifier,
clarity on PRE_PMD/POST_PMD event)
- Added warning for calling arizona_dvfs_down with flags
that are not enabled
- Squashed patches 2 and 4, so the SUBSYS bit is not set
from two seperate places
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 (3):
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
drivers/mfd/arizona-core.c | 87 ++++++++++++++++++++++++++++++++++++++
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, 174 insertions(+), 87 deletions(-)
--
1.7.2.5
next reply other threads:[~2014-06-23 16:38 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-06-23 16:28 Charles Keepax [this message]
2014-06-23 16:28 ` [PATCH 1/3 v3] mfd: arizona: Export function to control subsystem DVFS Charles Keepax
2014-06-27 8:31 ` Lee Jones
2014-06-23 16:28 ` [PATCH 2/3 v3] ASoC: wm_adsp: Move DVFS control into codec driver Charles Keepax
2014-06-23 16:28 ` [PATCH 3/3 v3] ASoC: arizona: Add DVFS handling for sample rate control Charles Keepax
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=1403540909-22013-1-git-send-email-ckeepax@opensource.wolfsonmicro.com \
--to=ckeepax@opensource.wolfsonmicro.com \
--cc=alsa-devel@alsa-project.org \
--cc=broonie@kernel.org \
--cc=lee.jones@linaro.org \
--cc=lgirdwood@gmail.com \
--cc=patches@opensource.wolfsonmicro.com \
--cc=sameo@linux.intel.com \
/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: link
Be 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.