Project 'edgehog/bsp/nxp/linux-seco-imx' was moved to 'clea-os/bsp/nxp/linux-seco-imx'. Please update any links and bookmarks that may still have the old path.
[C57][DTS][C57-38][C57-61] Add audio support
Add audio support. Tested only the TRRS connector. The audio connector should work properly configuring Alsa. Test procedure: ``` # Mixer configuration amixer sset -q 'CM1_L to Left Mixer Negative Resistor' '10 kOhm' amixer sset -q 'CM1_R to Right Mixer Negative Resistor' '10 kOhm' amixer sset -q 'CM2_L to Left Mixer Negative Resistor' '10 kOhm' amixer sset -q 'CM2_R to Right Mixer Negative Resistor' '10 kOhm' amixer sset -q 'Mic PGA' on amixer sset -q 'IN3_L to Left Mixer Positive Resistor' '10 kOhm' amixer sset -q 'IN3_R to Right Mixer Positive Resistor' '10 kOhm' amixer sset -q 'HP DAC' on amixer sset -q 'HPL Output Mixer L_DAC' on amixer sset -q 'HPR Output Mixer R_DAC' on amixer sset -q 'LO DAC' on amixer sset -q 'LOL Output Mixer L_DAC' on amixer sset -q 'LOR Output Mixer R_DAC' on amixer sset -q 'PCM' 50% amixer sset -q 'Mixer Amp. Driver Gain' 40% amixer sset -q 'HP Driver Gain' 30% amixer sset -q 'LO Driver Gain' 30% amixer sset -q 'ADC Level' 50% amixer sset -q 'PGA Level' 50% # Record arecord --format=dat test-mic.wav # Playback aplay test-mic.wav ```
Please register or sign in to comment