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