audio: set tdma slot = 1 for s420&s400 [3/3]
authorWeiguang Ruan <Weiguang.ruan@amlogic.com>
Tue, 3 Jul 2018 08:25:42 +0000 (16:25 +0800)
committerYixun Lan <yixun.lan@amlogic.com>
Thu, 5 Jul 2018 05:33:59 +0000 (22:33 -0700)
PD#169480: audio: set tdma slot = 1 for s420&s400

Change-Id: Id4fa1993866e91bebabe29553c66196c65890c97
Signed-off-by: Weiguang Ruan <Weiguang.ruan@amlogic.com>
arch/arm64/boot/dts/amlogic/axg_s400_v03.dts
arch/arm64/boot/dts/amlogic/axg_s420_v03.dts

index 75d5dfc60edd4bacc2a540d37523bc2e4c799701..4eb1dfcf27fa070bcbe7b4b52de53d6d7cb705d8 100644 (file)
                        tdmacpu: cpu {
                                sound-dai = <&aml_tdma>;
                                dai-tdm-slot-tx-mask =
-                                                       <1 1 1 1 1 1 1 1>;
+                                                       <1>;
                                dai-tdm-slot-rx-mask =
-                                                       <1 1 1 1 1 1 1 1>;
-                               dai-tdm-slot-num = <8>;
+                                                       <1>;
+                               dai-tdm-slot-num = <1>;
                                dai-tdm-slot-width = <32>;
-                               system-clock-frequency = <24576000>;
+                               system-clock-frequency = <512000>;
                        };
                        tdmacodec: codec {
                                sound-dai = <&dummy_codec &dummy_codec>;
index 4e00ee9657c5273224691ced0a3b54b1e3a0810e..61435dc0c829975f2be5aefbbb3572ca861ad42c 100644 (file)
                        frame-master = <&aml_tdma>;
                        cpu {
                                sound-dai = <&aml_tdma>;
-                               dai-tdm-slot-tx-mask = <1 1>;
-                               dai-tdm-slot-rx-mask = <1 1>;
-                               dai-tdm-slot-num = <2>;
+                               dai-tdm-slot-tx-mask = <1>;
+                               dai-tdm-slot-rx-mask = <1>;
+                               dai-tdm-slot-num = <1>;
                                dai-tdm-slot-width = <32>;
-                               system-clock-frequency = <12288000>;
+                               system-clock-frequency = <512000>;
                        };
                        codec {
                                sound-dai = <&dummy_codec &dummy_codec>;