From: Caesar Wang <wxt@rock-chips.com>
Date: Tue, 2 Feb 2016 03:40:52 +0000 (+0800)
Subject: UPSTREAM: ARM: dts: rockchip: add mclk for rt5616 on rk3036 kylin board
X-Git-Tag: firefly_0821_release~2547
X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=0dd7c2f4f8c9203c33e46777efa7199e85c22e8d;p=firefly-linux-kernel-4.4.55.git

UPSTREAM: ARM: dts: rockchip: add mclk for rt5616 on rk3036 kylin board

The I2S block that provide the output clock as the mclk for rt5616,
That will be the master clock input.

Change-Id: Ia5d126c24aa7a869e667f5280d40a6a1977cd4a0
Signed-off-by: Caesar Wang <wxt@rock-chips.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
(cherry picked from git.kernel.org next/linux-next.git master
 commit 8f338ecf0cd47d94303d9b4d9b2f9a99944ef0e2)
---

diff --git a/arch/arm/boot/dts/rk3036-kylin.dts b/arch/arm/boot/dts/rk3036-kylin.dts
index 3332a7f785c5..b754613b9a9a 100644
--- a/arch/arm/boot/dts/rk3036-kylin.dts
+++ b/arch/arm/boot/dts/rk3036-kylin.dts
@@ -313,6 +313,8 @@
 	rt5616: rt5616@1b {
 		compatible = "rt5616";
 		reg = <0x1b>;
+		clocks = <&cru SCLK_I2S_OUT>;
+		clock-names = "mclk";
 		#sound-dai-cells = <0>;
 	};
 };