Em Ter, 2009-06-09 às 17:39 +0800, Paul Shen escreveu:
Hi Daniel,
Would you please give some informations about your platform ? Thus I can test the patches with your method.
...
Would you please give me code extract about your SSP, codec configurations and clock setting?
Hi Paul! :)
Im working to get Motorola EZX Phones[1] supported by mainline linux.
Our audio codec is a proprietary PMIC, manufactured by TI for Motorola, named PCAP2(PTWL93017).
The audio codec is connected to PXA SSP2, PXA SSP3, Baseband Processor and BCM20x5(bluetooth) in network mode.
PXA is always the _slave_ of bitclock and frame, so I don't have to care about clock settings on PXA side, the codec always provides me the correct clock for the selected rate.
You can find our code on git://git.openezx.org/openezx.git, ezx/current branch. (sound/soc/pxa/ezx.c and sound/soc/codecs/pcap2.c).
Most of our work is based on the 2.4 kernel source releases by motorola[2], and on the atlas(MC13783) PMIC documentation[3] from Freescale (used by Motorola on newer(MAGX) phones), as we don't have documentation for PCAP2.
[1]http://wiki.openezx.org/Project_devices [2]https://opensource.motorola.com/ [3]http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=MC13783&w...