ASoC: tegra: add Tegra114 support to tegra_asoc_utils.c
authorStephen Warren <swarren@nvidia.com>
Thu, 21 Mar 2013 19:56:42 +0000 (13:56 -0600)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 25 Mar 2013 15:56:36 +0000 (15:56 +0000)
commita7fc5d256be9fda27bb69e872e6a212542a84230
treefdb60a4ae066005a92656830dee9cb5a9a4257ed
parent95d36075694b0431da22c3aef3d0dccdcc781344
ASoC: tegra: add Tegra114 support to tegra_asoc_utils.c

Tegra114 requires different PLL rates. Modify the code to know about
this.

On Tegra114 only for now, use regular clk_get() rather than clk_get_sys()
to retrieve clocks. This assumes that the clocks will be represented in
device tree. We can assure that from the start of any Tegra114 audio
support. For older chips, I'll add the required clocks properties to the
device trees this kernel cycle, and switch this code to only support the
"new_clocks" path next cycle.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/tegra/tegra_asoc_utils.c
sound/soc/tegra/tegra_asoc_utils.h