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"