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/TAS5782M:将TAS5782M设备驱动程序注册到RaspberryPi的方法

Guru**** 2463330 points
Other Parts Discussed in Thread: TAS5782M

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

https://e2e.ti.com/support/audio-group/audio/f/audio-forum/765241/linux-tas5782m-registration-method-of-the-tas5782m-device-driver-to-raspberrypi

部件号:TAS5782M

工具/软件:Linux

您好,先生

我不想回答下面的一个基本问题。

我想将TAS5782M与RaspberryPi Zero配合使用。

请 告诉我添加到设备树和引导时加载的过程。

在我的条件下,5782 m 是已编译且已正确手动加载(sudo insmod 5782 m 402.ko)。

巴西

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

    将TAS5782添加到DTS和启动时加载的过程因SoC平台而异。 请向平台寻求进一步支持。
    我们建议您访问 gopinaths.gitlab.io/.../ 进行参考。


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

    有关 TI提供的驱动程序,请参阅e2e.ti.com/.../71.9216万。

    在驱动程序中,提供了以下信息以及I2C地址0x90/0x92。

    #ifdef config_of
    静态结构of_device_id tas5782m_of_match[]={
    {.compatible ="ti,5782 m 2",},
    {}
    };


    通常,我们的DTS (TI的BeagleBone Black)需要提供上述信息,如下所示。 此外,您需要自己完成,因为我不会了解您的系统或主板信息的任何详细信息:

    i2c2{
    5782 m :5782 m@48{
    兼容="ti,5782 m 4";
    REG =<0x48>;
    #address-cells =<1>;
    #size-cells =<0>;
    };
    };


    此致,
    Alix Wan。