|
@@ -44,9 +44,7 @@
|
|
|
};
|
|
|
|
|
|
sound: sound {
|
|
|
- compatible = "samsung,odroidx2-audio";
|
|
|
- samsung,i2s-controller = <&i2s0>;
|
|
|
- samsung,audio-codec = <&max98090>;
|
|
|
+ compatible = "simple-audio-card";
|
|
|
assigned-clocks = <&clock_audss EXYNOS_MOUT_AUDSS>,
|
|
|
<&clock_audss EXYNOS_MOUT_I2S>,
|
|
|
<&clock_audss EXYNOS_DOUT_SRP>,
|
|
@@ -57,6 +55,20 @@
|
|
|
<0>,
|
|
|
<192000000>,
|
|
|
<19200000>;
|
|
|
+
|
|
|
+ simple-audio-card,format = "i2s";
|
|
|
+ simple-audio-card,bitclock-master = <&link0_codec>;
|
|
|
+ simple-audio-card,frame-master = <&link0_codec>;
|
|
|
+
|
|
|
+ simple-audio-card,cpu {
|
|
|
+ sound-dai = <&i2s0 0>;
|
|
|
+ system-clock-frequency = <19200000>;
|
|
|
+ };
|
|
|
+
|
|
|
+ link0_codec: simple-audio-card,codec {
|
|
|
+ sound-dai = <&max98090>;
|
|
|
+ clocks = <&i2s0 CLK_I2S_CDCLK>;
|
|
|
+ };
|
|
|
};
|
|
|
|
|
|
mmc@12550000 {
|
|
@@ -377,6 +389,7 @@
|
|
|
interrupts = <0 0>;
|
|
|
clocks = <&i2s0 CLK_I2S_CDCLK>;
|
|
|
clock-names = "mclk";
|
|
|
+ #sound-dai-cells = <0>;
|
|
|
};
|
|
|
};
|
|
|
|