Tool/software:
in the related thread i was provided altered driver files that gave DMIC support. unfortunately i wasn't able to test it for some time due to prototype woe's.
i am finally getting to test it and i am getting errors:
| /home/michaeljacobson/Renesas_Docker/yocto/3.0.6/build/tmp/work-shared/smarc-rzg2l/kernel-source/sound/soc/codecs/tlv320aic3x.c: In function 'aic3x_hw_params':
| /home/michaeljacobson/Renesas_Docker/yocto/3.0.6/build/tmp/work-shared/smarc-rzg2l/kernel-source/sound/soc/codecs/tlv320aic3x.c:1202:2: error: implicit declaration of function 'snd_soc_component_update_bitsHW'; did you mean 'snd_soc_component_update_bits'? [-Werror=implicit-function-declaration]
| snd_soc_component_update_bitsHW(component, AIC3X_PLL_PROGA_REG, PLLP_MASK, pll_p);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| snd_soc_component_update_bits
| /home/michaeljacobson/Renesas_Docker/yocto/3.0.6/build/tmp/work-shared/smarc-rzg2l/kernel-source/drivers/pci/controller/pcie-rzv2m-host.c: In function 'rzv2m_pcie_probe':
| /home/michaeljacobson/Renesas_Docker/yocto/3.0.6/build/tmp/work-shared/smarc-rzg2l/kernel-source/drivers/pci/controller/pcie-rzv2m-host.c:1059:6: warning: unused variable 'reg' [-Wunused-variable]
| u32 reg;
| ^~~
| /home/michaeljacobson/Renesas_Docker/yocto/3.0.6/build/tmp/work-shared/smarc-rzg2l/kernel-source/drivers/pci/controller/pcie-rzv2m-host.c: In function 'rzv2m_pcie_hw_enable_msi':
| /home/michaeljacobson/Renesas_Docker/yocto/3.0.6/build/tmp/work-shared/smarc-rzg2l/kernel-source/drivers/pci/controller/pcie-rzv2m-host.c:1235:14: warning: assignment to 'long unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion]
| msi->pages = ioremap(RAMA_ADDRESS, RAMA_SIZE);
| ^
| /home/michaeljacobson/Renesas_Docker/yocto/3.0.6/build/tmp/work-shared/smarc-rzg2l/kernel-source/drivers/pci/controller/pcie-rzv2m-host.c: In function 'rzv2m_pcie_resume':
| /home/michaeljacobson/Renesas_Docker/yocto/3.0.6/build/tmp/work-shared/smarc-rzg2l/kernel-source/drivers/pci/controller/pcie-rzv2m-host.c:1595:6: warning: unused variable 'data' [-Wunused-variable]
| u32 data;
| ^~~~
| /home/michaeljacobson/Renesas_Docker/yocto/3.0.6/build/tmp/work-shared/smarc-rzg2l/kernel-source/sound/soc/codecs/tlv320aic3x.c: In function 'aic3x_set_dai_fmt':
| /home/michaeljacobson/Renesas_Docker/yocto/3.0.6/build/tmp/work-shared/smarc-rzg2l/kernel-source/sound/soc/codecs/tlv320aic3x.c:1280:16: error: 'SND_SOC_DAIFMT_CLOCK_PROVIDER_MASK' undeclared (first use in this function); did you mean 'SND_SOC_DAIFMT_CLOCK_MASK'?
| switch (fmt & SND_SOC_DAIFMT_CLOCK_PROVIDER_MASK) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| SND_SOC_DAIFMT_CLOCK_MASK
| /home/michaeljacobson/Renesas_Docker/yocto/3.0.6/build/tmp/work-shared/smarc-rzg2l/kernel-source/sound/soc/codecs/tlv320aic3x.c:1280:16: note: each undeclared identifier is reported only once for each function it appears in
| AR sound/soc/au1x/built-in.a
| CC lib/decompress_unzstd.o
| /home/michaeljacobson/Renesas_Docker/yocto/3.0.6/build/tmp/work-shared/smarc-rzg2l/kernel-source/sound/soc/codecs/tlv320aic3x.c:1281:7: error: 'SND_SOC_DAIFMT_CBP_CFP' undeclared (first use in this function); did you mean 'SND_SOC_DAIFMT_CBM_CFM'?
| case SND_SOC_DAIFMT_CBP_CFP:
| ^~~~~~~~~~~~~~~~~~~~~~
| SND_SOC_DAIFMT_CBM_CFM
| CC arch/arm64/kernel/hw_breakpoint.o
| /home/michaeljacobson/Renesas_Docker/yocto/3.0.6/build/tmp/work-shared/smarc-rzg2l/kernel-source/sound/soc/codecs/tlv320aic3x.c:1285:7: error: 'SND_SOC_DAIFMT_CBC_CFC' undeclared (first use in this function); did you mean 'SND_SOC_DAIFMT_CBM_CFM'?
| case SND_SOC_DAIFMT_CBC_CFC:
| ^~~~~~~~~~~~~~~~~~~~~~
| SND_SOC_DAIFMT_CBM_CFM
| CC fs/jbd2/recovery.o
| CC net/ethtool/coalesce.o
| CC net/unix/sysctl_net_unix.o
| /home/michaeljacobson/Renesas_Docker/yocto/3.0.6/build/tmp/work-shared/smarc-rzg2l/kernel-source/sound/soc/codecs/tlv320aic3x.c:1289:7: error: 'SND_SOC_DAIFMT_CBP_CFC' undeclared (first use in this function); did you mean 'SND_SOC_DAIFMT_CBM_CFM'?
| case SND_SOC_DAIFMT_CBP_CFC:
| ^~~~~~~~~~~~~~~~~~~~~~
| SND_SOC_DAIFMT_CBM_CFM
| CC net/unix/scm.o
| CC fs/squashfs/inode.o
| CC crypto/authenc.o
| /home/michaeljacobson/Renesas_Docker/yocto/3.0.6/build/tmp/work-shared/smarc-rzg2l/kernel-source/sound/soc/codecs/tlv320aic3x.c:1294:7: error: 'SND_SOC_DAIFMT_CBC_CFP' undeclared (first use in this function); did you mean 'SND_SOC_DAIFMT_CBM_CFM'?
| case SND_SOC_DAIFMT_CBC_CFP:
| ^~~~~~~~~~~~~~~~~~~~~~
| SND_SOC_DAIFMT_CBM_CFM
| /home/michaeljacobson/Renesas_Docker/yocto/3.0.6/build/tmp/work-shared/smarc-rzg2l/kernel-source/sound/soc/codecs/tlv320aic3x.c: At top level:
| /home/michaeljacobson/Renesas_Docker/yocto/3.0.6/build/tmp/work-shared/smarc-rzg2l/kernel-source/sound/soc/codecs/tlv320aic3x.c:1523:3: error: 'struct snd_soc_dai_driver' has no member named 'symmetric_rate'; did you mean 'symmetric_rates'?
| .symmetric_rate = 1,
| ^~~~~~~~~~~~~~
| symmetric_rates
| /home/michaeljacobson/Renesas_Docker/yocto/3.0.6/build/tmp/work-shared/smarc-rzg2l/kernel-source/sound/soc/codecs/tlv320aic3x.c:1523:20: warning: initialization of 'const struct snd_soc_cdai_ops *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
| .symmetric_rate = 1,
| ^
| /home/michaeljacobson/Renesas_Docker/yocto/3.0.6/build/tmp/work-shared/smarc-rzg2l/kernel-source/sound/soc/codecs/tlv320aic3x.c:1523:20: note: (near initialization for 'aic3x_dai.cops')
| cc1: some warnings being treated as errors
| AR drivers/pinctrl/built-in.a
| make[4]: *** [/home/michaeljacobson/Renesas_Docker/yocto/3.0.6/build/tmp/work-shared/smarc-rzg2l/kernel-source/scripts/Makefile.build:286: sound/soc/codecs/tlv320aic3x.o] Error 1
| make[3]: *** [/home/michaeljacobson/Renesas_Docker/yocto/3.0.6/build/tmp/work-shared/smarc-rzg2l/kernel-source/scripts/Makefile.build:503: sound/soc/codecs] Error 2
| make[2]: *** [/home/michaeljacobson/Renesas_Docker/yocto/3.0.6/build/tmp/work-shared/smarc-rzg2l/kernel-source/scripts/Makefile.build:503: sound/soc] Error 2
| make[1]: *** [/home/michaeljacobson/Renesas_Docker/yocto/3.0.6/build/tmp/work-shared/smarc-rzg2l/kernel-source/Makefile:1832: sound] Error 2
am i running a too-old version of the kernel? yocto? i took the files in their entirety and made no changes. i would like help unraveling this, i am not any kind of linux expert.