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
..
2019-10-01 12:16:01 +01:00
2018-02-27 10:41:34 +00:00
2019-10-25 11:06:57 +01:00
2020-01-07 22:29:38 +00:00
2020-01-17 15:38:56 +00:00
2020-01-14 15:49:03 +00:00
2018-04-26 12:44:15 +01:00
2019-10-21 13:52:22 +01:00
2019-06-12 13:52:26 +01:00
2019-06-12 13:52:26 +01:00
2020-01-10 13:31:49 +00:00
2020-01-09 21:22:36 +00:00
2020-01-13 14:58:45 +00:00
2019-07-26 13:10:09 +01:00
2018-05-18 11:20:11 +01:00
2019-06-26 12:39:34 +01:00
2019-06-26 12:39:34 +01:00
2019-01-07 16:53:10 +00:00
2018-06-01 12:05:30 +01:00
2019-12-17 14:18:32 +01:00
2019-12-16 11:47:28 +00:00
2019-10-02 12:50:40 +01:00