162306a36Sopenharmony_ciTexas Instruments TWL family (twl4030) audio module 262306a36Sopenharmony_ci 362306a36Sopenharmony_ciThe audio module inside the TWL family consist of an audio codec and a vibra 462306a36Sopenharmony_cidriver. 562306a36Sopenharmony_ci 662306a36Sopenharmony_ciRequired properties: 762306a36Sopenharmony_ci- compatible : must be "ti,twl4030-audio" 862306a36Sopenharmony_ci 962306a36Sopenharmony_ciOptional properties, nodes: 1062306a36Sopenharmony_ci 1162306a36Sopenharmony_ciAudio functionality: 1262306a36Sopenharmony_ci- codec { }: Need to be present if the audio functionality is used. Within this 1362306a36Sopenharmony_ci section the following options can be used: 1462306a36Sopenharmony_ci- ti,digimic_delay: Delay need after enabling the digimic to reduce artifacts 1562306a36Sopenharmony_ci from the start of the recorded sample (in ms) 1662306a36Sopenharmony_ci-ti,ramp_delay_value: HS ramp delay configuration to reduce pop noise 1762306a36Sopenharmony_ci-ti,hs_extmute: Use external mute for HS pop reduction 1862306a36Sopenharmony_ci-ti,hs_extmute_gpio: Use external GPIO to control the external mute 1962306a36Sopenharmony_ci-ti,offset_cncl_path: Offset cancellation path selection, refer to TRM for the 2062306a36Sopenharmony_ci valid values. 2162306a36Sopenharmony_ci 2262306a36Sopenharmony_ciVibra functionality 2362306a36Sopenharmony_ci- ti,enable-vibra: Need to be set to <1> if the vibra functionality is used. if 2462306a36Sopenharmony_ci missing or it is 0, the vibra functionality is disabled. 2562306a36Sopenharmony_ci 2662306a36Sopenharmony_ciExample: 2762306a36Sopenharmony_ci&i2c1 { 2862306a36Sopenharmony_ci clock-frequency = <2600000>; 2962306a36Sopenharmony_ci 3062306a36Sopenharmony_ci twl: twl@48 { 3162306a36Sopenharmony_ci reg = <0x48>; 3262306a36Sopenharmony_ci interrupts = <7>; /* SYS_NIRQ cascaded to intc */ 3362306a36Sopenharmony_ci interrupt-parent = <&intc>; 3462306a36Sopenharmony_ci 3562306a36Sopenharmony_ci twl_audio: audio { 3662306a36Sopenharmony_ci compatible = "ti,twl4030-audio"; 3762306a36Sopenharmony_ci 3862306a36Sopenharmony_ci ti,enable-vibra = <1>; 3962306a36Sopenharmony_ci 4062306a36Sopenharmony_ci codec { 4162306a36Sopenharmony_ci ti,ramp_delay_value = <3>; 4262306a36Sopenharmony_ci }; 4362306a36Sopenharmony_ci 4462306a36Sopenharmony_ci }; 4562306a36Sopenharmony_ci }; 4662306a36Sopenharmony_ci}; 47