linux-stable/sound/soc
Derek Fang ebbfabc16d
ASoC: rt5682: Add CCF usage for providing I2S clks
There is a need to use RT5682 as DAI clock master for other codecs
within a platform, which means that the DAI clocks are required to
remain, regardless of whether the RT5682 is actually running
playback/capture.

The RT5682 CCF basic functions are implemented almost by the existing
internal functions and asoc apis. It needs a clk provider (rt5682 mclk)
to generate the bclk and wclk outputs.

The RT5682 CCF supports and restricts as below:
1. Fmt of DAI-AIF1 must be configured to master before using CCF.
2. Only accept a 48MHz clk as the clk provider.
3. Only provide a 48kHz wclk and a set of multiples of wclk as bclk.

There are some temporary limitations in this patch until a better
implementation.

Signed-off-by: Derek Fang <derek.fang@realtek.com>
Link: https://lore.kernel.org/r/1582033912-6841-1-git-send-email-derek.fang@realtek.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2020-02-18 22:23:24 +00:00
..
adi
amd ASoC: amd: Fix simultaneous playback and capture 2020-01-29 17:48:47 +00:00
atmel ASoC: atmel: fix atmel_ssc_set_audio link failure 2020-02-10 11:59:09 +00:00
au1x sound updates for 5.6-rc1 2020-01-28 16:26:57 -08:00
bcm
cirrus
codecs ASoC: rt5682: Add CCF usage for providing I2S clks 2020-02-18 22:23:24 +00:00
dwc
fsl ASoC: fsl_sai: Fix exiting path on probing failure 2020-02-06 15:52:50 +00:00
generic
hisilicon
img
intel ASoC: Intel: mrfld: return error codes when an error occurs 2020-02-11 11:25:05 +00:00
jz4740
kirkwood
mediatek ASoC: mediatek: mt8183-da7219: apply some refactors 2020-02-13 12:36:50 +00:00
meson ASoC: meson: aiu: simplify component addition 2020-02-17 18:22:21 +00:00
mxs
pxa
qcom
rockchip
samsung
sh ASoC: sh: fsi: Restore devm_ioremap() alignment 2020-02-12 18:42:47 +00:00
sirf
sof ASoC: SOF: Intel: Add Probe compress CPU DAIs 2020-02-18 21:52:11 +00:00
spear
sprd
sti
stm ASoC: stm32: i2s: improve error management on probe deferral 2020-02-11 11:24:43 +00:00
sunxi treewide: remove redundant IS_ERR() before error code check 2020-02-04 03:05:27 +00:00
tegra ASoC: tegra: Revert 24 and 32 bit support 2020-02-02 12:07:47 +00:00
ti ASoC: ti: davinci-mcasp: remove redundant assignment to variable ret 2020-02-11 11:47:59 +00:00
txx9
uniphier
ux500
xilinx
xtensa
zte
Kconfig
Makefile
soc-ac97.c
soc-acpi.c
soc-component.c ASoC: soc-pcm: call snd_soc_component_open/close() once 2020-02-12 23:51:36 +00:00
soc-compress.c
soc-core.c ASoC: core: ensure component names are unique 2020-02-14 17:15:57 +00:00
soc-dai.c ASoC: soc-pcm: call snd_soc_dai_startup()/shutdown() once 2020-02-11 15:42:03 +00:00
soc-dapm.c ASoC: soc-pcm: add for_each_dapm_widgets() macro 2020-02-11 15:41:16 +00:00
soc-devres.c
soc-generic-dmaengine-pcm.c Merge branch 'asoc-5.6' into asoc-next 2020-01-23 12:36:45 +00:00
soc-io.c
soc-jack.c
soc-ops.c
soc-pcm.c ASoC: soc-pcm: fix regression in soc_new_pcm() 2020-02-18 20:58:42 +00:00
soc-topology.c Merge branch 'asoc-5.6' into asoc-next 2020-01-23 12:36:45 +00:00
soc-utils.c