summaryrefslogtreecommitdiff
path: root/sound/soc/tegra/tegra_asoc_utils.h
diff options
context:
space:
mode:
authorStephen Warren <swarren@nvidia.com>2013-03-21 13:56:42 -0600
committerMark Brown <broonie@opensource.wolfsonmicro.com>2013-03-25 15:56:36 +0000
commita7fc5d256be9fda27bb69e872e6a212542a84230 (patch)
treefdb60a4ae066005a92656830dee9cb5a9a4257ed /sound/soc/tegra/tegra_asoc_utils.h
parent95d36075694b0431da22c3aef3d0dccdcc781344 (diff)
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>
Diffstat (limited to 'sound/soc/tegra/tegra_asoc_utils.h')
-rw-r--r--sound/soc/tegra/tegra_asoc_utils.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/tegra/tegra_asoc_utils.h b/sound/soc/tegra/tegra_asoc_utils.h
index 974c9f8830f9..19fdcafed32f 100644
--- a/sound/soc/tegra/tegra_asoc_utils.h
+++ b/sound/soc/tegra/tegra_asoc_utils.h
@@ -29,6 +29,7 @@ struct device;
enum tegra_asoc_utils_soc {
TEGRA_ASOC_UTILS_SOC_TEGRA20,
TEGRA_ASOC_UTILS_SOC_TEGRA30,
+ TEGRA_ASOC_UTILS_SOC_TEGRA114,
};
struct tegra_asoc_utils_data {