Hi Fabio,
I observe audio noise issue on mainline kernel, which is based on linux-next repository, master branch (last commit: 3a94271d0798fe2a2e5bfe2d135f2c8f6db2e80b).
I didn't make any changes, just built mxs-defconfig-based uImage and imx28-evk.dtb and loaded on my i.MX28 EVK REV D board.
After that I tried to record something:
~ # arecord -D hw:0,1 -t wav -c 2 -r 44100 -f S16_LE -d 5 awesome.wav
Recording WAVE 'awesome.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
...and play it:
~ # aplay -D plughw:0,0 awesome.wav
Playing WAVE 'awesome.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
I heard only random noise.
Here is the list of devices:
~ # aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: mxssgtl5000 [mxs_sgtl5000], device 0: HiFi Playback sgtl5000-0 []
Subdevices: 1/1
Subdevice #0: subdevice #0
~ # arecord -l
**** List of CAPTURE Hardware Devices ****
card 0: mxssgtl5000 [mxs_sgtl5000], device 1: HiFi Capture sgtl5000-1 []
Subdevices: 1/1
Subdevice #0: subdevice #0
Please, help!