I need to update kernel from R24.2.1 to R28 on customized carrier board. The rt5639 audio codec works on the carrier board with R24.2.1 but not R28. I traced into tegra_t210ref_dapm_widgets on the tegra_t210ref_mobile_alt.c file ,and seems only “tegra_rt5640_event_ext_mic” function been called.
Here is my audio-routing on R28 as below,
nvidia,audio-routing =
"x Headphone Jack", "x HPOL",
"x Headphone Jack", "x HPOR",
"x Int Spk", "x SPORP",
"x Int Spk", "x SPORN",
"x Int Spk", "x SPOLP",
"x Int Spk", "x SPOLN",
"x IN2P", "x Mic Jack",
"x IN2P", "x Mic Jack",
"x DMIC L1", "x Int Mic",
"x DMIC L2", "x Int Mic",
"x DMIC R1", "x Int Mic",
"x DMIC R2", "x Int Mic",
"y Headphone", "y OUT",
"y IN", "y Mic",
"z IN", "z OUT";
And the audio device list as:
nvidia@tegra-ubuntu:~$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: tegrahda [tegra-hda], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: tegrasndt210ref [tegra-snd-t210ref-mobile-rt5639], device 0: ADMAIF1 CIF ADMAIF1-0 []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: tegrasndt210ref [tegra-snd-t210ref-mobile-rt5639], device 1: ADMAIF2 CIF ADMAIF2-1 []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: tegrasndt210ref [tegra-snd-t210ref-mobile-rt5639], device 2: ADMAIF3 CIF ADMAIF3-2 []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: tegrasndt210ref [tegra-snd-t210ref-mobile-rt5639], device 3: ADMAIF4 CIF ADMAIF4-3 []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: tegrasndt210ref [tegra-snd-t210ref-mobile-rt5639], device 4: ADMAIF5 CIF ADMAIF5-4 []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: tegrasndt210ref [tegra-snd-t210ref-mobile-rt5639], device 5: ADMAIF6 CIF ADMAIF6-5 []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: tegrasndt210ref [tegra-snd-t210ref-mobile-rt5639], device 6: ADMAIF7 CIF ADMAIF7-6 []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: tegrasndt210ref [tegra-snd-t210ref-mobile-rt5639], device 7: ADMAIF8 CIF ADMAIF8-7 []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: tegrasndt210ref [tegra-snd-t210ref-mobile-rt5639], device 8: ADMAIF9 CIF ADMAIF9-8 []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: tegrasndt210ref [tegra-snd-t210ref-mobile-rt5639], device 9: ADMAIF10 CIF ADMAIF10-9 []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: tegrasndt210ref [tegra-snd-t210ref-mobile-rt5639], device 93: ADSP PCM1 ADSP-FE1-93 []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: tegrasndt210ref [tegra-snd-t210ref-mobile-rt5639], device 94: ADSP PCM2 ADSP-FE2-94 []
Subdevices: 1/1
Subdevice #0: subdevice #0
Is there anyone provide the rt5639 audio-routing for R28 kernel code?
Thanks,
Tony