From 2f9a881cd19cf7263ed07b327b2c5a2aa4c970eb Mon Sep 17 00:00:00 2001 From: Bryan Wu Date: Wed, 16 Apr 2014 15:35:20 -0700 Subject: sound: tegra: ahub: add clock settings for T124 Several additional audio clocks need to be initialized before accessing any audio register, otherwise system will just hard hang. Probably fastboot bootloader initialize these clocks, which actually should be handled in driver. We found this issue for U-Boot bringup. Bug 1482099 Change-Id: Ia7a7c0115bc92a4e98e6f337cf8efc7b2f7a72a0 Signed-off-by: Bryan Wu Signed-off-by: Prabhu Kuttiyam Reviewed-on: http://git-master/r/408429 (cherry picked from commit 2929886db14e9d2ac0e75b282126397970fbf9c9) Reviewed-on: http://git-master/r/427929 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Winnie Hsu Reviewed-by: Aleksandr Frid GVS: Gerrit_Virtual_Submit Reviewed-by: Karan Jhavar --- sound/soc/tegra/tegra30_ahub.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'sound') diff --git a/sound/soc/tegra/tegra30_ahub.c b/sound/soc/tegra/tegra30_ahub.c index dadacb636b64..98995bc58351 100644 --- a/sound/soc/tegra/tegra30_ahub.c +++ b/sound/soc/tegra/tegra30_ahub.c @@ -618,6 +618,20 @@ static const char * const configlink_clocks[] = { #ifndef CONFIG_ARCH_TEGRA_14x_SOC "spdif_in", #endif +#if defined(CONFIG_ARCH_TEGRA_11x_SOC) || defined(CONFIG_ARCH_TEGRA_12x_SOC) + "amx", + "adx", +#endif +#ifdef CONFIG_ARCH_TEGRA_12x_SOC + "amx1", + "adx1", + "afc0", + "afc1", + "afc2", + "afc3", + "afc4", + "afc5", +#endif }; struct of_dev_auxdata ahub_auxdata[] = { -- cgit v1.2.3