mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-25 02:32:08 +03:00
a4107ebd5d2416b37ab62e1e7d684c9a63e3b2b0
Currently MCLK rate depends on following DT properties, * 'mclk-fs' : This is a scaling factor depending on which MCLK rate is calculated at runtime [rate = scale * sample_rate]. Different codecs might expect different scale factors and hence DT property is useful here. * 'nvidia,mclk-rate' : This is used to provided fixed rate for MCLK. This overrides scale property, when specified. Since the requirement is either to have fixed or dynamic rate for MCLK, this can be managed with single property like below. * Use 'assigned-clocks' and 'assigned-clock-parents' to specify parent clock for MCLK. * Use preferred rate during initialization with 'assigned-clock-rates' DT binding. This can be the required fixed rate as well. * If dynamic scaling is required, then use 'mclk-fs' property. Otherwise system uses fixed rate. Since rt565x audio codecs expect scaling factor of 256, all platforms which use such codecs must be populated with "mclk-fs" property. This is taken care in other patches in the series. Bug 200542485 Bug 200516191 Bug 200503387 Change-Id: I1fc31626929bab9d4707d2a1b74c8f1749412ea4 Signed-off-by: Sameer Pujar <spujar@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2173560 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Jonathan Hunter <jonathanh@nvidia.com> Reviewed-by: Ravindra Lokhande <rlokhande@nvidia.com> Reviewed-by: Mohan Kumar D <mkumard@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Description
No description provided