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.

[参考译文] TLV320ADC3140:TLV320ADC3140代码编译错误(linux4.14)

Guru**** 2519000 points
Other Parts Discussed in Thread: TLV320ADC3140

请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/audio-group/audio/f/audio-forum/969801/tlv320adc3140-tlv320adc3140-code-compile-error-linux4-14

器件型号:TLV320ADC3140

TLV320ADC3140代码编译错误、Linux 版本4.14。 代码是否与 Linux 和 ALSA 不兼容?  

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    Jeremy、

    TLV320ADCx140 Linux 驱动程序是在 Linux v5.0下开发的。 有关 驱动程序支持的 Linux 版本、请参阅此常见问题解答。 ALSA 例程在 v.4.17中发生了更改,因此该特定驱动程序不支持 v4.15之前的 Linux 内核。

    附件是一个将当前驱动程序移植回支持 v4.14 Linux 内核的示例。 您可以将其用作对电流驱动器进行反向移植的参考。

    e2e.ti.com/.../tlv320adcx140.c

    e2e.ti.com/.../tlv320adcx140.h

    此致、
    佩德罗

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    尊敬的 Pedro:

    感谢您的帮助!

    我在文件 tlv320adcx140.yaml 中找不到"ti,tx-fill"和"ti,ch-order"。 我如何处理它?

    "device_property_read_bool (adcx140->dev、"ti、tx-fill")

    device_property_read_u32_array (adcx140->dev、"ti、ch-order"、NULL、0)"

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    Jeremy、

    很抱歉、最终版本中的名称已根据以下内容更改:

    - ti、TX-fill => ti、asi-TX-drive

    - ti、ch-order => ti、时隙映射

    此致、

     佩德罗