summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/exynos5250-snow-common.dtsi
diff options
context:
space:
mode:
authorSylwester Nawrocki <s.nawrocki@samsung.com>2018-03-09 20:22:46 +0300
committerKrzysztof Kozlowski <krzk@kernel.org>2018-03-11 20:41:11 +0300
commitc7d59e4b4e96dfa07dd5e4fef1897e54921a4560 (patch)
tree87645ebad5fcf5672ad363fcb32acbba9fb12bc6 /arch/arm/boot/dts/exynos5250-snow-common.dtsi
parentbd98a24267c9ccd120e03ffbdb6e17ffa405db50 (diff)
downloadlinux-c7d59e4b4e96dfa07dd5e4fef1897e54921a4560.tar.xz
ARM: dts: exynos: Add audio clocks configuration for Snow Chromebook
Currently the audio subsystem clocks are not configured properly on Snow and sound is not working. The MAX98095 CODEC is not getting its master clock on the MCLK pin connected to the SOC's CLKOUT GPIO. This patch adds CLKOUT and other clocks configuration so HDMI audio can also be supported. Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com> Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Diffstat (limited to 'arch/arm/boot/dts/exynos5250-snow-common.dtsi')
-rw-r--r--arch/arm/boot/dts/exynos5250-snow-common.dtsi15
1 files changed, 15 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/exynos5250-snow-common.dtsi b/arch/arm/boot/dts/exynos5250-snow-common.dtsi
index 59cf1b202849..bdf59dd3654b 100644
--- a/arch/arm/boot/dts/exynos5250-snow-common.dtsi
+++ b/arch/arm/boot/dts/exynos5250-snow-common.dtsi
@@ -225,6 +225,16 @@
};
};
+&clock {
+ assigned-clocks = <&clock CLK_FOUT_EPLL>;
+ assigned-clock-rates = <49152000>;
+};
+
+&clock_audss {
+ assigned-clocks = <&clock_audss EXYNOS_MOUT_AUDSS>;
+ assigned-clock-parents = <&clock CLK_FOUT_EPLL>;
+};
+
&cpu0 {
cpu0-supply = <&buck2_reg>;
};
@@ -649,6 +659,11 @@
};
};
+&pmu_system_controller {
+ assigned-clocks = <&pmu_system_controller 0>;
+ assigned-clock-parents = <&clock CLK_FIN_PLL>;
+};
+
&rtc {
status = "okay";
clocks = <&clock CLK_RTC>, <&max77686 MAX77686_CLK_AP>;