主题中讨论的其他器件: TLV320AIC3268、 TLV320AIC3262
您好!
我在产品网站上找到了 Linux 驱动程序、但该驱动程序与 Linux 内核 v5不兼容。 我在内核版本(v5.4.47)中找到"tlvaic3x"驱动程序。 它与 aic3263兼容、还是为适用于我的内核版本的 aic326x 驱动程序。
谢谢。
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.
您好!
我在产品网站上找到了 Linux 驱动程序、但该驱动程序与 Linux 内核 v5不兼容。 我在内核版本(v5.4.47)中找到"tlvaic3x"驱动程序。 它与 aic3263兼容、还是为适用于我的内核版本的 aic326x 驱动程序。
谢谢。
TI.com 中的链接显示"无效分支:tlv320aic3268_44_kernel"。 在该页面中、我单击文件名并打开它(在主分支中、我猜)。
tlv320aic326x.c = git.ti.com/.../tlv320aic326x.c
tlv320aic326x.h = https://git.ti.com/cgit/ti-analogue-linux-kernel/dmurphy-analogue/tree/sound/soc/codecs/tlv320aic326x.h?id=07adbd28685347b6dad5c6dd651f8b2bfa0ddaf8
tlv320aic326x.c 中存在错误。snd_soc_component_read 函数需要3个参数、但具有2个参数。 我认为我们应该更改这样的函数调用、对吧?
HPL_HPR = snd_SoC_component_read (codec、AIC3262_POWER_CONF);-> snd_SoC_component_read (codec、AIC3262_POWER_CONF、&HPL_HPR);
在 DTS 中、我尝试了"ti,aic3268"和"ti,aic3262"(根据 tlv320aic3xxx-i2c.c、我只有这两个兼容选项)。 对于这两个选项、驱动程序都说"器件不是 TLV320AIC3262。 在 tlv320aic3xxx-core.c 文件中,读取的设备 ID 应为3,但在我的情况下,设备 ID 寄存器响应为6。 我在 tlv320aic3xx-core.h 中找到了 aic3xxx_type 枚举、但此处未定义 aic3263、且非 them id 为6。 我有什么问题吗?