Re: [PATCH 18/25] ASoC: sun8i-codec: Automatically set the system sample rate

2020-10-05 Thread Maxime Ripard
On Wed, Sep 30, 2020 at 09:11:41PM -0500, Samuel Holland wrote: > The sun8i codec has three clock/sample rate domains: > - The AIF1 domain, with a sample rate equal to AIF1 LRCK > - The AIF2 domain, with a sample rate equal to AIF2 LRCK > - The SYSCLK domain, containing the ADC, DAC, and

[PATCH 18/25] ASoC: sun8i-codec: Automatically set the system sample rate

2020-09-30 Thread Samuel Holland
The sun8i codec has three clock/sample rate domains: - The AIF1 domain, with a sample rate equal to AIF1 LRCK - The AIF2 domain, with a sample rate equal to AIF2 LRCK - The SYSCLK domain, containing the ADC, DAC, and effects (AGC/DRC), with a sample rate given by a divisor from SYSCLK. The