]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitac9de8b494c5604cb77056c6c0fc509f565dbeb1
treefdb60a4ae066005a92656830dee9cb5a9a4257ed
parent281588cfd87e8cf73722dedc9a7c49b43393d464
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