]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
ARM: dts: exynos: Add clocks to audss block to fix silent hang on Exynos4412
authorKrzysztof Kozlowski <krzk@kernel.org>
Mon, 17 Jul 2017 19:45:27 +0000 (21:45 +0200)
committerArnd Bergmann <arnd@arndb.de>
Thu, 27 Jul 2017 10:53:15 +0000 (12:53 +0200)
Add necessary parent clocks for audss (Audio SubSystem, MAUDIO) clock
controller block.

This allows driver to keep EPLL enabled before accessing any MAUDIO
registers thus fixing silent hang.  This silent hang appeared with
commit 6edfa11cb396 ("clk: samsung: Add enable/disable operation for
PLL36XX clocks"), e.g. on Odroid U3 usually with last (but unrelated)
messages:

[    2.382741] input: gpio_keys as /devices/platform/gpio_keys/input/input0
[    2.405686] usb 1-3: new high-speed USB device number 3 using exynos-ehci
[    2.419843] max77686-rtc max77686-rtc: setting system clock to 2017-06-21 17:04:13 UTC (1498064653)

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/arm/boot/dts/exynos4.dtsi

index 497a9470c8881bca6e49800f90c0f5d20dd3d84a..5739389f5bb877ef7b29455a1bcd47328d7223ed 100644 (file)
@@ -59,6 +59,9 @@
                compatible = "samsung,exynos4210-audss-clock";
                reg = <0x03810000 0x0C>;
                #clock-cells = <1>;
+               clocks = <&clock CLK_FIN_PLL>, <&clock CLK_FOUT_EPLL>,
+                        <&clock CLK_SCLK_AUDIO0>, <&clock CLK_SCLK_AUDIO0>;
+               clock-names = "pll_ref", "pll_in", "sclk_audio", "sclk_pcm_in";
        };
 
        i2s0: i2s@03830000 {