building soc module drivers
Hi all,
I would like to build the WM8510 SOC sound driver for my ARM platform.
After downloading alsa-driver-1.0.19, "./configure --with-cross=arm-linux- --with-kernel=/home/source/linux-2.6.22.19 --with-build=/home/source/linux-2.6.22.19 --with-cards=all", and then make. I get no wm8510.c compiled. What other stuff should I do to make it compiled? Many thanks.
Best regards,
Geiger
Signature · 4 lines
Geiger Ho <[email protected]>, armed with Agile and Lean. Mission: To deliver quality of work. Phone : (852) 2736-3232 Direct : (852) 2737-9681 Fax : (852) 2314-4207 Fujitsu Microelectronics Pacific Asia Ltd, Design Centre
Quoted 6 lines · Geiger Ho
I would like to build the WM8510 SOC sound driver for my ARM platform.
After downloading alsa-driver-1.0.19, "./configure --with-cross=arm-linux- --with-kernel=/home/source/linux-2.6.22.19 --with-build=/home/source/linux-2.6.22.19 --with-cards=all", and then make. I get nowm8510.ccompiled. What other stuff should I do to make it compiled? Many thanks.
You need to either write a machine driver which uses the codec driver and have the kernel configuration for that select the codec driver or select SND_SOC_ALL_CODECS to build all the codec drivers if your module is not part of your normal kernel sources.
See Documentation/sound/alsa/soc for an overview of the programming model - there are many example machine drivers in the source.