]> xenbits.xensource.com Git - people/aperard/linux-chromebook.git/commitdiff
CHROMIUM: exynos: dts: configure audio codec master clock pin
authorVincent Palatin <vpalatin@chromium.org>
Wed, 23 Jan 2013 00:41:26 +0000 (16:41 -0800)
committerChromeBot <chrome-bot@google.com>
Thu, 31 Jan 2013 01:57:11 +0000 (17:57 -0800)
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 <vpalatin@chromium.org>
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 <vpalatin@chromium.org>
Reviewed-by: Dylan Reid <dgreid@chromium.org>
Commit-Queue: Vincent Palatin <vpalatin@chromium.org>

arch/arm/boot/dts/exynos5250-snow.dts
arch/arm/boot/dts/exynos5250-spring.dts

index de79f2f3d7bb2a960f92389fda9c6c93c4386ec3..3a388a36ee598878c19a36746554af93ba86e6ca 100644 (file)
                        reset-gpio = <&gpx1 5 1 0 0>;
                        edid-emulation = <5>;
                };
+
+               codec {
+                       mclk-pin = <1>;
+               };
        };
 
        dwmmc2@12220000 {
index 22528ff5f90be196033ad8c17e7cb5a1dc5b21ea..8dab7631177147fd00cab77fd7c8585c35e7c0ae 100644 (file)
                        reset-gpio = <&gpc3 1 1 0 0>;
                        hpd-gpio = <&gpc3 0 0 0 0>;
                };
+
+               codec {
+                       mclk-pin = <2>;
+               };
        };
 
        sound {