Back to home page

OSCL-LXR

 
 

    


0001 Texas Instruments TWL family (twl4030) audio module
0002 
0003 The audio module inside the TWL family consist of an audio codec and a vibra
0004 driver.
0005 
0006 Required properties:
0007 - compatible : must be "ti,twl4030-audio"
0008 
0009 Optional properties, nodes:
0010 
0011 Audio functionality:
0012 - codec { }: Need to be present if the audio functionality is used. Within this
0013              section the following options can be used:
0014 - ti,digimic_delay: Delay need after enabling the digimic to reduce artifacts
0015                     from the start of the recorded sample (in ms)
0016 -ti,ramp_delay_value: HS ramp delay configuration to reduce pop noise
0017 -ti,hs_extmute: Use external mute for HS pop reduction
0018 -ti,hs_extmute_gpio: Use external GPIO to control the external mute
0019 -ti,offset_cncl_path: Offset cancellation path selection, refer to TRM for the
0020                       valid values.
0021 
0022 Vibra functionality
0023 - ti,enable-vibra: Need to be set to <1> if the vibra functionality is used. if
0024                    missing or it is 0, the vibra functionality is disabled.
0025 
0026 Example:
0027 &i2c1 {
0028         clock-frequency = <2600000>;
0029 
0030         twl: twl@48 {
0031                 reg = <0x48>;
0032                 interrupts = <7>; /* SYS_NIRQ cascaded to intc */
0033                 interrupt-parent = <&intc>;
0034 
0035                 twl_audio: audio {
0036                         compatible = "ti,twl4030-audio";
0037 
0038                         ti,enable-vibra = <1>;
0039 
0040                         codec {
0041                                 ti,ramp_delay_value = <3>;
0042                         };
0043 
0044                 };
0045         };
0046 };