[alsa-devel] asoc: s3c24xx+uda1380 - some questions
Vasily Khoruzhick
anarsoul at gmail.com
Tue Jan 27 17:22:25 CET 2009
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: uda1380.c
Type: text/x-csrc
Size: 24278 bytes
Desc: not available
Url : http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20090127/4759a7d1/attachment-0002.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rx1950_uda1380.c
Type: text/x-csrc
Size: 12644 bytes
Desc: not available
Url : http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20090127/4759a7d1/attachment-0003.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: uda1380.h
Type: text/x-chdr
Size: 2450 bytes
Desc: not available
Url : http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20090127/4759a7d1/attachment-0001.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20090127/4759a7d1/attachment-0001.sig
More information about the Alsa-devel
mailing list