MLK-16700: ARM64: dts: imx8qm-mek: enable audio mixer
authorViorel Suman <viorel.suman@nxp.com>
Thu, 26 Oct 2017 11:54:54 +0000 (14:54 +0300)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 20:39:03 +0000 (15:39 -0500)
Enable audio mixer.

BuildInfo:
 - SCFW f5910b7d, IMX-MKIMAGE 2522fd70, ATF a438801
 - U-Boot 2017.03-00047-g8fe8d6d

Signed-off-by: Viorel Suman <viorel.suman@nxp.com>
arch/arm64/boot/dts/freescale/fsl-imx8qm-mek.dts

index 419a68a..9e9dea2 100644 (file)
                        "ASRC-Capture", "CPU-Capture",
                        "CPU-Capture", "Capture";
        };
+
+       sound-amix-sai {
+               compatible = "fsl,imx-audio-amix";
+               model = "amix-audio-sai";
+               dais = <&sai6>, <&sai7>;
+               amix-controller = <&amix>;
+       };
+};
+
+&acm {
+       status = "okay";
+};
+
+&amix {
+       status = "okay";
+};
+
+&sai6 {
+       assigned-clocks = <&clk IMX8QM_ACM_SAI6_MCLK_SEL>,
+                       <&clk IMX8QM_AUD_PLL0_DIV>,
+                       <&clk IMX8QM_AUD_ACM_AUD_PLL_CLK0_DIV>,
+                       <&clk IMX8QM_AUD_ACM_AUD_REC_CLK0_DIV>,
+                       <&clk IMX8QM_AUD_SAI_6_MCLK>;
+       assigned-clock-parents = <&clk IMX8QM_AUD_ACM_AUD_PLL_CLK0_CLK>;
+       assigned-clock-rates = <0>, <786432000>, <49152000>, <12288000>, <49152000>;
+       fsl,sai-asynchronous;
+       fsl,txm-rxs;
+       status = "okay";
+};
+
+&sai7 {
+       assigned-clocks = <&clk IMX8QM_ACM_SAI7_MCLK_SEL>,
+                       <&clk IMX8QM_AUD_PLL0_DIV>,
+                       <&clk IMX8QM_AUD_ACM_AUD_PLL_CLK0_DIV>,
+                       <&clk IMX8QM_AUD_ACM_AUD_REC_CLK0_DIV>,
+                       <&clk IMX8QM_AUD_SAI_7_MCLK>;
+       assigned-clock-parents = <&clk IMX8QM_AUD_ACM_AUD_PLL_CLK0_CLK>;
+       assigned-clock-rates = <0>, <786432000>, <49152000>, <12288000>, <49152000>;
+       fsl,sai-asynchronous;
+       fsl,txm-rxs;
+       status = "okay";
 };
 
 &iomuxc {