Hello,
I can understand that rpmsg driver is required for each components residing in M4 domain so that A7 domain (running Linux) can interact with M4 domain controlled interfaces like SAI, audio codecs.
My question is:
In the Linux (4.14), sound/soc/codecs/rpmsg_wm8960.c -> This has intelligence about wm8960 codec (registers available and their bit fields - for example how to configure PLL, initialization sequence) and also
In the M4 SDK, components/codec/wm8960/fsl_wm8960.c -> This has also intelligence about wm8960 codec.
Does this architecture sounds good ? And also, i could see the drivers on the linux side with respect to audio is heavily hard coded for wm8960 rather than to be generic. (Choosing "fsl,imx-audio-rpmsg" in the device tree choses wm8960 codec by default).
Is there any plan to make this audio architecture to be generic ?
Thanks,
Jai Ganesh