From 03f9957645280e0fcb52abbaf14bcbf6b9c37df1 Mon Sep 17 00:00:00 2001 From: Vincent Palatin Date: Tue, 22 Jan 2013 16:41:26 -0800 Subject: [PATCH] CHROMIUM: exynos: dts: configure audio codec master clock pin On Spring, the I2S0 clock is connected to MCLK2/GPIO3 instead of MCLK1. Explicitly configure the pin on boards I have tested and let the sane default value (MCLK1 as before) for others. Signed-off-by: Vincent Palatin BUG=chrome-os-partner:17343 TEST=emerge-daisy_spring chromeos-kernel play sound on Snow with the codec on MCLK1, on Spring proto-1 with the codec on MCLK2. Change-Id: I9792dc325bea67e9466cff04576d9a3bbcea4eb1 Reviewed-on: https://gerrit.chromium.org/gerrit/41790 Tested-by: Vincent Palatin Reviewed-by: Dylan Reid Commit-Queue: Vincent Palatin --- arch/arm/boot/dts/exynos5250-snow.dts | 4 ++++ arch/arm/boot/dts/exynos5250-spring.dts | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/exynos5250-snow.dts b/arch/arm/boot/dts/exynos5250-snow.dts index de79f2f3d7bb..3a388a36ee59 100644 --- a/arch/arm/boot/dts/exynos5250-snow.dts +++ b/arch/arm/boot/dts/exynos5250-snow.dts @@ -52,6 +52,10 @@ reset-gpio = <&gpx1 5 1 0 0>; edid-emulation = <5>; }; + + codec { + mclk-pin = <1>; + }; }; dwmmc2@12220000 { diff --git a/arch/arm/boot/dts/exynos5250-spring.dts b/arch/arm/boot/dts/exynos5250-spring.dts index 22528ff5f90b..8dab76311771 100644 --- a/arch/arm/boot/dts/exynos5250-spring.dts +++ b/arch/arm/boot/dts/exynos5250-spring.dts @@ -93,6 +93,10 @@ reset-gpio = <&gpc3 1 1 0 0>; hpd-gpio = <&gpc3 0 0 0 0>; }; + + codec { + mclk-pin = <2>; + }; }; sound { -- 2.20.1