完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
|
我将 IMX8MP 与内核 5.15.60 一起使用。
我想创建一个 768KHz 32 位 16ch 全双工音频设备。(我附上了框图。) 当使用“simple-audio-card”时,我应该如何在dts中描述它? // linux-imx/Documentation/devicetree/bindings/sound/fsl-sai.txt // I want to use SAI1 as 768KHz, 32bits, TX 16ch (8 lanes), RX 16ch (8 lanes), but I don't know how to set the dts file. // TX/RX_SYNC, TX/RX_BCLK are provided external FPGA. &sai1 { /* Basic settings are done in "imx8mp.dtsi". */ #sound-dai-cells = <0>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_sai1>; fsl,sai-synchronous-rx; // <<= add for TDM fsl,sai-multi-lane; // <<= add for TDM fsl,dataline = <8 0xFF 0xFF>; // <<= add for TDM status = "okay"; }; ~~~ sound-aio16ch{ compatible = "simple-audio-card"; simple-audio-card,name = "products-AIO"; simple-audio-card,format = "left_j"; simple-audio-card,bitclock-master = <&dailink0_master>; // <<-- What should i write here? (SAI1 does not supply TX/RX_SYNC, TX/RX_BCLK.) simple-audio-card,frame-master = <&dailink0_master>; // <<-- What should i write here? (SAI1 does not supply TX/RX_SYNC, TX/RX_BCLK.) simple-audio-card,widgets = // <<-- What should i write here? (I read "simple-card.yaml", but I don't really understand how to write it.) "Microphone", "Microphone Jack", "Headphone", "Headphone Jack", "Speaker", "External Speaker"; simple-audio-card,routing = // <<-- What should i write here? (I read "simple-card.yaml", but I don't really understand how to write it.) "MIC_IN", "Microphone Jack", "Headphone Jack", "HP_OUT", "External Speaker", "LINE_OUT"; simple-audio-card,cpu { sound-dai = <&sai1>; dai-tdm-slot-num = <16>; dai-tdm-slot-width = <32>; }; dailink0_master: simple-audio-card,codec { // <<-- What should i write here? sound-dai = <&ak4648>; }; }; |
|
相关推荐
|
|
只有小组成员才能发言,加入小组>>
2135个成员聚集在这个小组
加入小组我的项目我做主,使用GN+Ninja来完成构建系统(VSCode开发RT106X)
37376 浏览 0 评论
NXP IMX8应用处理器快速入门必备:技巧、使用、设计指南
6775 浏览 1 评论
7793 浏览 1 评论
7642 浏览 0 评论
NXP i.MX6UL开发板(linux系统烧录+规格+硬件+模块移植)使用手册
5071 浏览 0 评论
1556浏览 2评论
关于NINA-W132 Wi-Fi模块SPI通信遇到的疑问求解
1208浏览 2评论
如何在MPC PowerPC MCU上首次刷写后禁用BDM?
749浏览 1评论
将HFREFR和LFREFR寄存器值设置为错误的值来将故障注入CMU,但CMU_ISR值始终为零,为什么?
735浏览 1评论
将SPSDK for FRDM-MCX-W71 SDK与VS一起安装时出现hidapi构建错误怎么解决?
678浏览 1评论
/9
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2025-12-2 05:18 , Processed in 0.489209 second(s), Total 41, Slave 34 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191

淘帖
4270