15 Nov
2008
15 Nov
'08
8:57 a.m.
This patch adds support for the UDA134X codec and a sound card definition for one of these UDAs connected to the s3c24xx. It is *heavily* based on the one made by Zoltan Devai but:
1 since the UDA is the only use of the L3 protocol I can find I just embedded a stripped-down L3 bit-banging algorithm from the original RMK work. It is really small.
2 the driver has the possibility to specify the pins used by codec via platform data so it can work on SMDK2410, SMDK2440 or any custom design.
3 it tries to guess the right clock source and divider so it is not tied to a particular crystal used.
4 it fixes some bugs.
--
Christian Pellegrin, see http://www.evolware.org/chri/
"Real Programmers don't play tennis, or any other sport which requires
you to change clothes. Mountain climbing is OK, and Real Programmers
wear their climbing boots to work in case a mountain should suddenly
spring up in the middle of the computer room."