Skip to content

ASoC: da7213: Device clocking updates and fixes

Adam Thomson alsa-devel lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4ASoC: da7213: Default to 64 BCLKs per WCLK to support all formatssound/soc/codecs/da7213.c+2 -21 reply
2/4ASoC: da7213: Improve driver efficiency with regards to MCLK usagesound/soc/codecs/da7213.c+11 -91 reply
3/4ASoC: da7213: Refactor sysclk(), pll() functions to improve handlingsound/soc/codecs/da7213.c sound/soc/codecs/da7213.h+57 -402 replies
4/4ASoC: da7213: Improve 32KHz mode PLL lockingsound/soc/codecs/da7213.c+24 -12 replies

Reviews trailers per patch

None of the 4 patches has a Reviewed-by or Acked-by.

PatchPeter Meerwald-Stadler
1/4T-b
2/4T-b
3/4T-b
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/4] ASoC: da7213: Device clocking updates and fixes

This patch set contains a series of patches relating to device clocking. The changes are as follows:

1) Set correct default BCLKs per WCLK to achieve all DAI formats. Currently only 16-bit formats would operate correctly.
2) Only use MCLK as required, when an audio stream is active. Can be disabled all other times.
3) Refactoring of sysclk() and pll() functions to make them cleaner, removing need for unnecessary private flags, and resolve incorrect 32Khz mode configuration.
4) Improve 32KHz PLL locking with some small register updates when configuring PLL and when DAI is enabled.

Patches are based on v4.7 Linux kernel

Adam Thomson (4):
ASoC: da7213: Default to 64 BCLKs per WCLK to support all formats
ASoC: da7213: Improve driver efficiency with regards to MCLK usage
ASoC: da7213: Refactor sysclk(), pll() functions to improve handling
ASoC: da7213: Improve 32KHz mode PLL locking

 sound/soc/codecs/da7213.c | 134 +++++++++++++++++++++++++++++-----------------
 sound/soc/codecs/da7213.h |  12 +++--
 2 files changed, 94 insertions(+), 52 deletions(-)

--
1.9.3