Hi NXP,
I am trying to port adau1761 to imx8qxp, but get fail when yocto do_copile.
Reference to non-existent node or label "adau1761"
The kernel version is 5.15.
I have already added node "adau1761" like below in imx8x-mek.dtsi.
Please help me :'(
/{
....
sound-adau1761 {
compatible = "simple-audio-card";
simple-audio-card,name = "adau1761-Sound-Card";
simple-audio-card,format = "left_j";
simple-audio-card,bitclock-master = <&codec_dai>;
simple-audio-card,frame-master = <&codec_dai>;
simple-audio-card,widgets =
"Microphone", "Microphone Jack",
"Headphone", "Headphone Jack",
"Speaker", "External Speaker";
simple-audio-card,routing =
"MIC_IN", "Microphone Jack",
"Headphone Jack", "HP_OUT",
"External Speaker", "LINE_OUT";
cpu_dai: simple-audio-card,cpu {
sound-dai = <&sai1>;
};
codec_dai: simple-audio-card,codec {
sound-dai = <&adau1761>;
clocks = <&mclkout0_lpcg 0>;
};
};
sound-cs42888 {
....
};
adau1761: adau1761@3b {
compatible = "adi,adau1761";
reg = <0x3b>;
clocks = <&mclkout0_lpcg 0>;
clock-names = "mclk";
assigned-clocks = <&clk IMX_SC_R_AUDIO_PLL_0 IMX_SC_PM_CLK_PLL>,
<&clk IMX_SC_R_AUDIO_PLL_0 IMX_SC_PM_CLK_SLV_BUS>,
<&clk IMX_SC_R_AUDIO_PLL_0 IMX_SC_PM_CLK_MST_BUS>,
<&mclkout0_lpcg 0>;
};
};