ARM: dts: Add CODEC MCLK for SMDK5250
authorMark Brown <broonie@linaro.org>
Fri, 20 Dec 2013 22:24:26 +0000 (07:24 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Fri, 20 Dec 2013 23:24:39 +0000 (08:24 +0900)
There is a 16.934MHz fixed rate clock connected to MCLK1 on the CODEC, add
this to the device tree bindings.

Signed-off-by: Mark Brown <broonie@linaro.org>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
arch/arm/boot/dts/exynos5250-smdk5250.dts

index 3f80c2335d32b28c71eed273cdc467d880290af4..f079c4ce36849a2a51efaf0e3c006d8b9ff449ae 100644 (file)
@@ -77,6 +77,9 @@
                        gpio-controller;
                        #gpio-cells = <2>;
 
+                       clocks = <&codec_mclk>;
+                       clock-names = "MCLK1";
+
                        AVDD2-supply = <&vdd>;
                        CPVDD-supply = <&vdd>;
                        DBVDD-supply = <&dbvdd>;
                        compatible = "samsung,clock-xxti";
                        clock-frequency = <24000000>;
                };
+
+               codec_mclk: codec-mclk {
+                       compatible = "fixed-clock";
+                       #clock-cells = <0>;
+                       clock-frequency = <16934000>;
+               };
        };
 };