Hello Keita,
See following , please! The reply is from i.MX Expert team:
t looks like correct in the register settings. But I want to know how the customer to modify the registers and how the customer to use the SSI driver?
In general we only need to pre-caculated which frequency point we need and just set it in Linux driver. For example, for 44.1KHz output, we may configure SSI root clock to 22.5792MHz ( it is a classical frequecy point) and we can calculated PLL4 to 180.6336MHz.
clk_set_rate(&pll4_audio_main_clk, 180633600);
clk_set_parent(&ssi2_clk, &pll4_audio_main_clk);
clk_set_rate(&ssi2_clk, 22579200);
Then we can configure our SSI driver to use 44.1KHz clock and the driver can automatically set the related registers.
Regards,
Weidong