您好、团队成员:
我们将 PCM6260-Q1用于麦克风、之前消息中提供的链接没有下载链接、请为我们提供用于下载 Linux 驱动程序和集成文档的链接。
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
您好、团队成员:
我们将 PCM6260-Q1用于麦克风、之前消息中提供的链接没有下载链接、请为我们提供用于下载 Linux 驱动程序和集成文档的链接。
我们将 pcmdevice 驱动程序代码更改为 Linux 社区、同时支持 pcm6260
pcm6240.c«codecs«soc«声音- kernel/git/next/linux-next.git - Linux-下一个集成测试树
pcm6240.h«编解码器«soc«声音- kernel/git/next/linux-next.git - Linux-下一个集成测试树
至于 BBB-patch、BBB 平台没有只用于代码的配置文件。 如果您的平台不是 BBB、则无法在平台上使用。
还有一点,请与您分享平台信息和平台。 谢谢。
我们是 NVIDIA ORIN nano SOM 和我们的定制载波板。
Linux 版本5.15.136。
我们遇到了该编译问题、
CC [M] sound/soci soc codecs/pcm6240.o
sound/45V soc codecs/pcm6240.c:2047:23:错误:‘reGCACHE_maple’undeclared here (not in a function);您的意思是‘reGCACHE_none’?
2047 | .cache_type = REGCACHE_maple、
| ^~~~~~~~~~~~~~
| REGCACHE_NONE
make[4]:***[scripts/Makefile.build:295: sound/soci soc decs/pcm6240.o]错误1
make[3]:***[scripts/Makefile.build:559: sound/second/codecs] soc 错误2
make[2]:***[scripts/Makefile.build:559: sound/second] soc 错误2
make[1]:***[Makefile:1912: sound]错误2
Make[1]:***正在等待未完成的作业...
make:***[Makefile:34: kernel]错误2
我们在尝试编译整个 pcdmdevices 文件夹时出现了这个错误、
cc sound/soci soc codecs/pcmdevice/pcmdevice-core.o
sound/45V soc codecs/pcmdevice/pcmdevice-core.c: in function‘pcmdevice_codec_probe ':
sound/45V soc codecs/pcmdevice/pcmdevice-core.c:1223:17: error:‘fw_action_hotplug’undeclared (first use in this function)
1223 | fw_action_hotplug
|^~~~~~~~~~~~~~~~~
sound/45V soc codecs/pcmdevice/pcmdevice-core.c:1223:17:注:对于出现在中的每个功能,每个未声明的标识符只报告一次
sound/45V soc codecs/pcmdevice/pcmdevice-core.c:
sound/45V soc codecs/pcmdevice/pcmdevice-core.c:1446:18: error:‘Struct snd_soc_di_di_di_da_driver’没有名为‘symmetric_rates’的成员;您是指‘symmetric_rate’吗?
1446 |.symmetxy_rates = 1、
|^~~~~~~~~~~~~~~
|对称速率
sound/45V soc‘‘/pcmdevice/pcmdevice-core.c:1446:36:警告:初始化 const struct snd_soc_cdai_ops *'从' int '使指针自整数而无转换[-Wint-conversion]
1446 |.symmetxy_rates = 1、
|^
sound/45V soc codecs/pcmdevice/pcmdevice-core.c:1446:36: note:(near initialization for‘pcmdevice_da_driver[0].cops’)
make[5]:***[scripts/Makefile.build:295: sound/soci soc decs/pcmdevice/pcmdevice-core.o]错误1
make[5]:***正在等待未完成的作业...
cc sound/socondics/pcmdevice/pcmdevice-rw.o soc
cc/svcrcodecs/pcmdevice/pcmdevice-ops.o soc
make[4]:***[scripts/Makefile.build:559: sound/soci soc decs/pcmdevice]错误2
make[3]:***[scripts/Makefile.build:559: sound/second/codecs] soc 错误2
make[2]:***[scripts/Makefile.build:559: sound/second] soc 错误2
make[1]:***[Makefile:1912: sound]错误2
Make[1]:***正在等待未完成的作业...
make:***[Makefile:32: kernel]错误2
请将 API 和6.5会员替换为5.15会员。
示例是 tas256xsw-android/tas2563-android-driver - Android 平台上用于 TAS256x 的软件- TAS2563 Android 驱动程序(TI.com)