imx8 device tree and mutliple <&clk IMX8MM_CLK_DUMMY>

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

imx8 device tree and mutliple <&clk IMX8MM_CLK_DUMMY>

483 次查看
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 项奖励
回复
1 回复

472 次查看
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 项奖励
回复