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/TLV320ADC3101: Linux/TLV320ADC3101: The review on dts settings as a i2c slave entry

Part Number: TLV320ADC3101


Tool/software: Linux

Hi TI support,

We are using Linux kernel 4.1.0 as our kernel base for development.

There is only one i2c master in our HW design and will be labeled as 'i2c-0'

We use sound/soc/codecs/tlv320aic31xx.c as our base and need to add an tlv320aic310x entry as the follows:

i2c0: i2c@fd0b0000 {
compatible = "nvt,nvt_i2c.0";
nvt,hwmods = "i2c0";
reg = <0xfd0b0000 0x100>;
interrupts = <0 77 4>;
clock-frequency = <400>;
#address-cells = <1>;
#size-cells = <0>;

tlv320aic310x: tlv320aic310x@1a {
compatible = "ti,tlv320aic310x";
reg = <0x1a>;
};
};

Could you please help review the dts settings for bringing up the TI codec driver?

Thanks!

B.R.

Victor

  • Victor,

    We do not review device tree settings due to the large variety of systems developed by third parties and the different Linux versions available. We do provide examples based on TI boards that show the three main components that must be configured and linked:

    • Codec driver - This is provided by TI for select codec like TLV320AIC310x
    • Platform driver - This is provided by the Linux system
    • Machine driver - This connects pins, power, and other board level components together

    This Sitara Linux Audio Driver Overview wiki page provides an overview on how to configure the three components.

    This ALSA User Space wiki page shows some of the command line utilities available.

    This Linux Core Audio User's Guide wiki page shows examples of using audio codecs on different TI Linux EVMs.

    These wiki pages should provide a good starting point for development. For further support, contact the third party and appropriate Linux support forums for your system and Linux version.

    best regards,

      Pedro

  • Hi Pedro,

    Thanks for the info.

    I will take a look at them.

    B.R.

    Victor