IMX8MM with WM8904

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

IMX8MM with WM8904

1,292 次查看
zhaopingyang_sg
Contributor III

HI,

   I'm porting wm8904 device driver to IMX8MM system,but the dts file always compliled error。

  my env as follows:

  •  CPU : IMX8MM 
  •  System :Linux imx8mmevk 5.4.24

DTS As Follows:


&i2c4 {
   clock-frequency = <100000>;
   pinctrl-names = "default";
   pinctrl-0 = <&pinctrl_i2c4>;
   status = "okay";
   codec01: wm8904@1a {
   compatible = "wlf,wm8904";
   reg = <0x1a>;
   wlf,shared-lrclk;
   clocks = <&clks IMX8MM_CLK_SAI5_ROOT>;
   clock-names = "mclk0";
   };
};

Compile Error as follows:

imx8@imx8-yocto:~/imx8-voip/voip-kernel$ make -j8
DTC arch/arm64/boot/dts/freescale/imx8mm-evk.dtb
arch/arm64/boot/dts/freescale/imx8mm-evk.dts:683.21-689.4: ERROR (phandle_references): /soc@0/bus@30800000/i2c@30a50000/wm8904@1a: Reference to non-existent node or label "clks"

0 项奖励
回复
1 回复

1,239 次查看
igorpadykov
NXP Employee
NXP Employee

Hi zhaoping

"non-existent node or label "clks" may mean errors or typo in dts file,

one can try to rebuild all image from scratch using linux documentation from 

Embedded Linux for i.MX Applications Processors | NXP 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复