Skip to content

Add support for directly setting the FLL REFCLK

Charles Keepax alsa-devel 2 versions Applied

Status from this message: Applied all, thanks.

Get series with b4
b4 am 1361381321-437-1-git-send-email-ckeepax@opensource.wolfsonmicro.com

Versions newest first · linked by author and title

  1. v2 Latest8 patches 1 replyApplied
  2. v18 patches 4 repliesSuperseded

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/8ASoC: arizona: Move selection of FLL REFCLK into initsound/soc/codecs/arizona.c sound/soc/codecs/arizona.h+19 -120 replies
2/8ASoC: arizona: Tidy up SYNCCLK selection and cache valuessound/soc/codecs/arizona.c sound/soc/codecs/arizona.h+52 -510 replies
3/8ASoC: arizona: Factor out check for enabled FLLsound/soc/codecs/arizona.c+17 -80 replies
4/8ASoC: arizona: Factor out FLL disablesound/soc/codecs/arizona.c+15 -70 replies
5/8ASoC: arizona: Factor out FLL enablesound/soc/codecs/arizona.c+36 -300 replies
6/8ASoC: arizona: Improve suppression of noop FLL updatessound/soc/codecs/arizona.c sound/soc/codecs/arizona.h+11 -80 replies
7/8ASoC: arizona: Add support for directly setting the FLL REFCLKsound/soc/codecs/arizona.c sound/soc/codecs/arizona.h sound/soc/codecs/wm5102.c +3 more+61 -40 replies
8/8ASoC: arizona: Add convience define for clearing SYNCCLKsound/soc/codecs/arizona.c sound/soc/codecs/arizona.h+5 -40 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/8] Add support for directly setting the FLL REFCLK

This patch series adds support for specifying the source of REFCLK directly for Wolfson Arizona based devices. This should allow for improved performance by using the highest available REFCLK source. Should the REFCLK source not be directly specified then the patches will default to the older behaviour of using the 32kHz clock for REFCLK.

REFCLK is configured using a call to snd_soc_codec_set_pll specifying one of the new WM51xx_FLLx_REFCLK defines as the pll_id. It is valid to clear the SYNCCLK source by setting the source to ARIZONA_FLL_SRC_NONE, however once a REFCLK source it can only be replaced with another valid REFCLK source.

Charles Keepax (8):
ASoC: arizona: Move selection of FLL REFCLK into init
ASoC: arizona: Tidy up SYNCCLK selection and cache values
ASoC: arizona: Factor out check for enabled FLL
ASoC: arizona: Factor out FLL disable
ASoC: arizona: Factor out FLL enable
ASoC: arizona: Improve suppression of noop FLL updates
ASoC: arizona: Add support for directly setting the FLL REFCLK
ASoC: arizona: Add convience define for clearing SYNCCLK

 sound/soc/codecs/arizona.c |  191 ++++++++++++++++++++++++++++++--------------
 sound/soc/codecs/arizona.h |    9 ++-
 sound/soc/codecs/wm5102.c  |    6 ++
 sound/soc/codecs/wm5102.h  |    6 +-
 sound/soc/codecs/wm5110.c  |    6 ++
 sound/soc/codecs/wm5110.h  |    6 +-
 6 files changed, 158 insertions(+), 66 deletions(-)
Signature · 1 line
1.7.2.5