sama5d2 + tlv32aic33

This forum is for users of Microchip MPUs and who are interested in using Linux OS.

Moderator: nferre

A09353
Posts: 1
Joined: Fri Mar 30, 2018 5:20 pm

sama5d2 + tlv32aic33

Sat Mar 31, 2018 9:40 am

Hello,
i want to connect tlv320aic33 codec to sama5d2 xplained board through i2c. I have tlv320aic33evm-pdk evaluation module. Connect it to i2c of sama5d2.
I enable tlv320aic3x driver in linux kernel and edit the dts file

Code: Select all

i2c0: i2c@f8028000 {
				tlv320aic3x: tlv320aic3x@1b {
					compatible = "ti,tlv320aic3x";
					reg = <0x1b>;
				};
				...
			};
but i understand what i need to do aplay use this codec. Do I need add sound section in dts?
I try to do it use "simple-audio-card", but what do i need write in "simple-audio-card,cpu"? Or use something other than "simple-audio-card"?

Code: Select all

sound {
	compatible = "simple-audio-card";
	...
	simple-audio-card,codec {
		sound-dai = <&tlv320aic3x>;
		...
	};
	simple-audio-card,cpu {
		sound-dai = <???>;
	};
}

Return to “LINUX”

Who is online

Users browsing this forum: No registered users and 2 guests