[PATCH v2 03/12] ARM: dts: rockchip: override the clocks in i2s for kylin board
wxt at rock-chips.com
Thu Jan 7 00:25:46 PST 2016
The sysclk seems be incorrect since we use the simple card for kylin
The simple card call:
clk = of_clk_get(args.np, 0);
dai->sysclk = clk_get_rate(clk);
The sysclk come from the first clock, then first clock is hclk_i2s
in i2s for rk3036 dtsi.
So, we can override the clocks to fit the simple card in here.
Signed-off-by: Caesar Wang <wxt at rock-chips.com>
Changes in v2: None
arch/arm/boot/dts/rk3036-kylin.dts | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/arch/arm/boot/dts/rk3036-kylin.dts b/arch/arm/boot/dts/rk3036-kylin.dts
index 27b6326..b642369 100644
@@ -288,6 +288,13 @@
+ * We should override the clocks since sysclk from the first clock
+ * in simple card.
+ clock-names = "i2s_clk", "i2s_hclk";
+ clocks = <&cru SCLK_I2S>, <&cru HCLK_I2S>;
#sound-dai-cells = <0>;
status = "okay";
More information about the linux-arm-kernel