Hello,
On Tuesday 02 December 2008 01:07:28 ext Grazvydas Ignotas wrote:
The TWL4030 codec device has two ADCs. Both of them can have several inputs routed to them, but TRM says that only one source can be selected for every ADC, even though every source has a dedicated bit in the registers.
This patch adds controls for capture source controls. When a microphone is selected, handlers automatically enable bias power (disable when deselected). The patch also adds microphone gain control. Microphone and line input recording tested on OMAP3 pandora board.
Do you have plans for the Digital microphones (DIGIMIC0, DIGIMIC1)? Since they are not connected to any of the ADCs, but have separate digital path towards the main CPU... One can use either Analog mic or the Digital mic for TX1 and TX2 (ADCMICSEL register).