GTA02 Sound driver V2

Graeme Gregory graeme at
Tue Nov 6 17:49:03 CET 2007

Find attached a full patch for GTA02 sound.

In discussion with Liam about scenarios I felt that hardcoding in the
driver for GTA02 was the wrong thing to do. It left us with no
flexibility. So now all DAPM inputs and outputs can be controlled in
the mixer they are given the names "DAPM *" mute turns that output
off from the codec, unmute turns it on. (this isnt a real on off, just
used by the codec power management for routing).

The Amp On/Off and Spk/Headphone switch is also in the mixer.

On suspend/resume the Amp should be turned off/on and on properly.

This will of course require new state files, but as GSM seems to be
non-functional on this GTA02 its hard for me to test them.

Also when I play music at loud volume through the amp it invariably
end with GTA02 crashing (locks up and lcd turns off) after a random
amount of time.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: gta02-sound.patch
Type: text/x-patch
Size: 21158 bytes
Desc: not available
Url : 

More information about the openmoko-kernel mailing list