NVIDIA TX1 Audio CODEC

Hi
I want to add Audio CODEC on TX1 and plan to use ALC5639 as TK1 Dev-board.
Does TX1 has ALC5693 driver as TK1, how much effort need to porting TK1 driver to TX1? thank you.

Hello,
You can refer to rt5639 code @ sound/soc/codecs/.

with deep understanding of codec chip and codec driver infrastructure, it should not be very difficult to port such driver.

br
ChenJian

Hi Jachen
thank you for your reply

Hi Jachen
I saw there is tegra_rt5639.c file in folder kernel\sound\soc\tegra, is this is the ALC5639 driver for TX1?

Hello, bangbang_meg:
you are right.

br
Chenjian

Hi Jachen

I can’t open soc\tegra ALC5639 FLAG on TX1
I use R24.2.1 kernel firmware , if i use menuconfig to open this flag the firmware will build error.

could you provide the SOP to build ALC5639 driver on TX1.

Hello, etta:
RT5639 has already be enabled in kernel:
CONFIG_SND_SOC_RT5639=y

br
ChenJian

Hi Jachen

Thanks your help.
So R24.2.1 kernel firmware has already be enabled ALC5639 driver.

And if i change to ALC5640 how did i modify the flag?
Could you provide some suggestion?

Hello, etta:
I’m not sure about 5640.
You can either create a new driver for 5640, and add corresponding driver/DTS, or just make some change based on 5639.

You can refer to ‘Tegra ASoC Driver’ @ ‘L4T R24.2.1 Documentation’ (downloaded from Jetson Download Center | NVIDIA Developer)

br
ChenJian

Hi Jachen

thanks your information.

But i have a question about ALC5639.
you say the kernel firmware has already be enabled ALC5639 driver.

why the driver enable the tegra-snd-t210ref-mobile-rt565x module?
did i need to modify something to change to ALC5639 driver?

Hello, etta:
Sorry for my mistake.
RTL5639 is for TK1 board.

In TX1, you should refer to RT565x.

br
ChenJian