Leveraging the simple-card machine driver
There are cases when your board does not require any hacks from the Codec nor the CPU DAI. The ASoC core provides the simple-audio
machine driver, which can be used to describe a whole sound card from the DT. The following is an excerpt of such a node:
sound { Â Â Â Â compatible ="simple-audio-card"; Â Â Â Â simple-audio-card,name ="VF610-Tower-Sound-Card"; Â Â Â Â simple-audio-card,format ="left_j"; Â Â Â Â simple-audio-card,bitclock-master = <&dailink0_master>; Â Â Â Â simple-audio-card,frame-master = <&dailink0_master>; Â Â Â Â simple-audio-card,widgets ="Microphone","Microphone Jack", Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â "...