完善资料让更多小伙伴认识你,还能领取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>; }; }; |
|
相关推荐
|
|
只有小组成员才能发言,加入小组>>
1936个成员聚集在这个小组
加入小组我的项目我做主,使用GN+Ninja来完成构建系统(VSCode开发RT106X)
36433 浏览 0 评论
NXP IMX8应用处理器快速入门必备:技巧、使用、设计指南
5051 浏览 1 评论
6118 浏览 1 评论
6822 浏览 0 评论
NXP i.MX6UL开发板(linux系统烧录+规格+硬件+模块移植)使用手册
4255 浏览 0 评论
655浏览 2评论
求助,S32G上Core M启动后如何让Core A在Flash指定位置加载uboot?
646浏览 2评论
ESP32-WROVER-IE + LAN8720以太网,GPIO0电压只有1.6v,无法正常进入spi flash boot模式如何解决?
647浏览 2评论
求分享适用于PN7160 Android的NFC工厂测试应用程序
738浏览 2评论
852浏览 2评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-12-29 21:33 , Processed in 1.197030 second(s), Total 74, Slave 58 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号