mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 09:11:26 +03:00
12f7c176448a117a08a4e9a3b7e0f3b12cfa8cb5
Currently AUD_MCLK is controlled by kernel driver and it remains active as long as an audio use case is running. This is the case most platforms or audio codecs require. But some external codecs, depending on specific platform, may want AUD_MCLK clock to be running always and do not require a runtime control. Since kernel is common, we need a provision in DT to differentiate both of the above requirements. This can be achieved by making AUD_MCLK clock an optional property. Platforms which don't require kernel control can simply exclude AUD_MCLK clock entry. Respective call in kernel will not have any effect. Note: We are using upstream utils driver now and update the references wherever applicable. The changes need not be considered for upstream because there is plan to use audio-graph-card based driver for Tegra210 and later, which already treats AUD_MCLK clock as optional. Thus no explicit AUD_MCLK management is necessary. Also it is recommended that codec driver should take the control of AUD_MCLK. Hence current change is needed till mentioned transition happens. Bug 200694208 Change-Id: I87e496515e02db4ded6209a336f6cfbaec034fa1 Signed-off-by: Sameer Pujar <spujar@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2474868 (manually cherry picked from commit 8b2965341c1611b5984ff412f1d5001673396476) Reviewed-on: https://git-master.nvidia.com/r/c/linux-5.10/+/2518783 Tested-by: mobile promotions <svcmobile_promotions@nvidia.com> Reviewed-by: svcacv <svcacv@nvidia.com> Reviewed-by: Viswanath L <viswanathl@nvidia.com> Reviewed-by: Mohan Kumar D <mkumard@nvidia.com> Reviewed-by: Sharad Gupta <sharadg@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> GVS: Gerrit_Virtual_Submit
Description
No description provided