AnsweredAssumed Answered

How to configure sai3 port for pico-imx7

Question asked by Ganapathirao pilla on Jan 6, 2018
Latest reply on Jan 8, 2018 by Ganapathirao pilla



I am trying to configure sai3 port for pico-imx7 platform to use external mic.

Below is my configuration for sai3 in dtsi file:


 sai3 {
                #sound-dai-cells = <0>;
                pinctrl-names = "default";
                pinctrl-0 = <&pinctrl_sai3>;
                 assigned-clocks = <&clks IMX7D_SAI3_ROOT_SRC>,
                                   <&clks IMX7D_SAI3_ROOT_CLK>;
                assigned-clock-parents = <&clks IMX7D_PLL_AUDIO_POST_DIV>;
                assigned-clock-rates = <3072000>;
                status = "okay";
pinctrl_sai3: sai3grp {
                fsl,pins = <
                        MX7D_PAD_UART3_TX_DATA__SAI3_TX_BCLK   0x1f
                        MX7D_PAD_UART3_CTS_B__SAI3_TX_SYNC     0x1f
                        MX7D_PAD_UART3_RTS_B__SAI3_TX_DATA0    0x30

But with this configuration, if i build and flash image in the board, I am getting the following log:


switch to partitions #0, OK
mmc0(part 0) is current device
reading uEnv.txt
14 bytes read in 9 ms (1000 Bytes/s)
Loaded environment from uEnv.txt
Importing environment from mmc ...
reading boot.scr
** Unable to read file boot.scr **
reading zImage
6133040 bytes read in 151 ms (38.7 MiB/s)
Booting from mmc ...
baseboard is pi
reading imx7d-pico_pi.dtb
43915 bytes read in 17 ms (2.5 MiB/s)
Kernel image @ 0x80800000 [ 0x000000 - 0x5d9530 ]
## Flattened Device Tree blob at 83000000
   Booting using the fdt blob at 0x83000000
   Using Device Tree in place at 83000000, end 8300db8a


Starting kernel ...


And its not proceeding further. Please provide proper configuration for sai3.

Thanks in advance..