I'm placing "argument" and "kernel module" in quotes here because I'm not sure if these are actually the names for what I am referring to below.
I am trying to get a DA7213 codec (on an IQAudio Codec Zero HAT) to operate as the I2S master. Looking at the da7213.c source code (https://github.com/raspberrypi/linux/bl ... 213.c#L744), I see:
Is the da7213->master part something that I can set via something like a Device Tree Overlay? How do I set this to true? Furthermore, it may be worth mentioning that in my particular case, the "da7213" code is being "used" or "invoked" by the iqaudio-codec code (https://github.com/raspberrypi/linux/bl ... io-codec.c).
I am trying to get a DA7213 codec (on an IQAudio Codec Zero HAT) to operate as the I2S master. Looking at the da7213.c source code (https://github.com/raspberrypi/linux/bl ... 213.c#L744), I see:
Code:
switch (event) { case SND_SOC_DAPM_PRE_PMU: /* Enable DAI clks for master mode */ if (da7213->master) snd_soc_component_update_bits(component, DA7213_DAI_CLK_MODE, DA7213_DAI_CLK_EN_MASK, DA7213_DAI_CLK_EN_MASK);
Statistics: Posted by dpie — Sat Jan 06, 2024 1:43 am