twl4030-audio.txt 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. Texas Instruments TWL family (twl4030) audio module
  2. The audio module inside the TWL family consist of an audio codec and a vibra
  3. driver.
  4. Required properties:
  5. - compatible : must be "ti,twl4030-audio"
  6. Optional properties, nodes:
  7. Audio functionality:
  8. - codec { }: Need to be present if the audio functionality is used. Within this
  9. section the following options can be used:
  10. - ti,digimic_delay: Delay need after enabling the digimic to reduce artifacts
  11. from the start of the recorded sample (in ms)
  12. -ti,ramp_delay_value: HS ramp delay configuration to reduce pop noise
  13. -ti,hs_extmute: Use external mute for HS pop reduction
  14. -ti,hs_extmute_gpio: Use external GPIO to control the external mute
  15. -ti,offset_cncl_path: Offset cancellation path selection, refer to TRM for the
  16. valid values.
  17. Vibra functionality
  18. - ti,enable-vibra: Need to be set to <1> if the vibra functionality is used. if
  19. missing or it is 0, the vibra functionality is disabled.
  20. Example:
  21. &i2c1 {
  22. clock-frequency = <2600000>;
  23. twl: twl@48 {
  24. reg = <0x48>;
  25. interrupts = <7>; /* SYS_NIRQ cascaded to intc */
  26. interrupt-parent = <&intc>;
  27. twl_audio: audio {
  28. compatible = "ti,twl4030-audio";
  29. ti,enable-vibra = <1>;
  30. codec {
  31. ti,ramp_delay_value = <3>;
  32. };
  33. };
  34. };
  35. };