[alsa-devel] asoc: s3c24xx+uda1380 - some questions

pHilipp Zabel philipp.zabel at gmail.com
Tue Jan 27 20:49:01 CET 2009

On Tue, Jan 27, 2009 at 5:22 PM, Vasily Khoruzhick <anarsoul at gmail.com> wrote:
> On Tuesday 27 January 2009 18:06:47 pHilipp Zabel wrote:
>> Could you show the code?
>> On magician I'm just powering up uda1380 when the driver is loaded,
>> but I wouldn't mind saving some power :)
>> There are two GPIOs involved - one connected to the uda1380's RESET
>> line and one to control the power.
>> The last one doesn't have anything to do with uda1380, really. It's an
>> external power switch in a PMIC (or CPLD, on magican) so it would be
>> nice if this code could live in the machine specific drivers.
>> regards
>> Philipp
> Yep, of course, here's machine driver (originally created by Denis Grigoriev)
> and modified codec driver.
> Btw, on rx1950 there're 4 gpio pins involved:
> GPJ0 controls codec power
> GPA1 controls amplifier power
> GPG12 is jack sense pin, it's value depends whether headphone jack is inserted
> or not,
> and GPD0 is connected to uda1380 reset.

The uda1380 data sheet says that the reset time should be at least 1
µs - could that be a problem?


More information about the Alsa-devel mailing list