I am using imx8ulp-evk9, in M core I flashed sai_low_power_audio image and after booting A core I am getting wm8960 as sound card I can record and play in that,
Now on the same SAI(SAI0), I want to use adau7002 instead of wm8960, currently in A core dts file below is configured,
wm8960: wm8960@1a {
compatible = "wlf,wm8960,lpa";
reg = <0x1a>;
wlf,shared-lrclk;
clocks = <&wm8960_mclk>;
clock-names = "mclk";
};
rpmsg_audio: rpmsg-audio {
compatible = "fsl,imx8ulp-rpmsg-audio";
model = "wm8960-audio";
fsl,rpmsg-out;
fsl,rpmsg-in;
audio-codec = <&wm8960>;
memory-region = <&audio_reserved>;
audio-routing =
"LINPUT1", "MICB",
"LINPUT3", "MICB";
status = "okay";
};
this is under i2c_rpbus_0, because wm8960 has i2c in it, in adau7002 no i2c is there so if I want to replace it with adau7002 what changes I required to do?