16 Dec
2021
16 Dec
'21
4:31 p.m.
On Sat, Dec 04, 2021 at 05:37:16PM +0300, Dmitry Osipenko wrote:
Support new nvidia,fixed-parent-rate device-tree property which instructs I2S that board wants parent clock rate to stay at a fixed rate. This allows to play audio over S/PDIF and I2S simultaneously. The root of the problem is that audio components on Tegra share the same audio PLL, and thus, only a subset of rates can be supported if we want to play audio simultaneously. Filter out audio rates that don't match parent clock rate if device-tree has the nvidia,fixed-parent-rate property.
Signed-off-by: Dmitry Osipenko digetx@gmail.com
sound/soc/tegra/tegra20_i2s.c | 49 +++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+)
Acked-by: Thierry Reding treding@nvidia.com