Skip to contentSkip to conversation

devicetree based AC97 driver

DISCUSSION Alexander Stein 1 participant 1 message Apr 30, 2014

lore
Share & tools
lore
#0 lore raw

Hello,

some might remember me posting some patches to (old) Atmel AC97 controller driver for device tree support.
It was suggested to switch over to ASoC. I started doing this to get full devicetree support for my at91sam9263 board which has a codec attached to the AC97 lines. Until now I failed because the terminology is confusing me. I also stumbled over the documentation of those machine drivers. Do I really need some board-specific code in order to get all this working? This would make the devicetree approach rather useless. So what would I need to get this working? I guess a new snd_soc_codec_driver for LM4550B using soc_ac97_ops for accessing the registers. I suppose a new snd_soc_dai_ops for the actual Atmel AC97 controller. Anything else?
Which part creates the sound card in ALSA itself?

Best regards,
Alexander