imx8 device tree and mutliple <&clk IMX8MM_CLK_DUMMY>

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

imx8 device tree and mutliple <&clk IMX8MM_CLK_DUMMY>

570 Views
edwardtyrrell
Senior Contributor I

Hi,

I'm after an in-depth explanation why <&clk IMX8MM_CLK_DUMMY> is defined so many times under 'clocks' within the sai below. Also, I'm trying to use PLL2 to derive a 44100 divisible clock, according to other posts PLL2 should be divisible (freq  722534400) but whatever value I choose for 'assigned-clock-rates' the resulting clock in the driver is always half PLL2 (361267200) =>  sysclk freq=361267200.  

&sai1 {
pinctrl-names = "default", "dsd";
pinctrl-0 = <&pinctrl_sai1>;
pinctrl-1 = <&pinctrl_sai1_dsd>;
assigned-clocks = <&clk IMX8MM_CLK_SAI1_SRC>,
<&clk IMX8MM_CLK_SAI1_DIV>;
assigned-clock-parents = <&clk IMX8MM_AUDIO_PLL1_OUT>;
assigned-clock-rates = <0>, <49152000>;
clocks = <&clk IMX8MM_CLK_SAI1_IPG>, <&clk IMX8MM_CLK_DUMMY>,
<&clk IMX8MM_CLK_SAI1_ROOT>, <&clk IMX8MM_CLK_DUMMY>,
<&clk IMX8MM_CLK_DUMMY>, <&clk IMX8MM_AUDIO_PLL1_OUT>,
<&clk IMX8MM_AUDIO_PLL2_OUT>;
clock-names = "bus", "mclk0", "mclk1", "mclk2", "mclk3", "pll8k", "pll11k";
fsl,sai-multi-lane;
fsl,dataline,dsd = <0 0xff 0xff 2 0xff 0x11>;
dmas = <&sdma2 0 26 0>, <&sdma2 1 26 0>;
status = "okay";
};

 

Thanks.

0 Kudos
Reply
1 Reply

559 Views
Rita_Wang
NXP TechSupport
NXP TechSupport

Could you tell us which version of BSP are you using? What details have you modified for the divisible clock?

0 Kudos
Reply