IMX8MM with WM8904

cancel
Showing results for 
Search instead for 
Did you mean: 

IMX8MM with WM8904

57 Views
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 Kudos
1 Reply

4 Views
NXP TechSupport
NXP TechSupport

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 Kudos