1
0
Fork 0
forked from len0rd/rockbox

Philips SA9200: initialize i2c, i2s, and as3514 as the OF does. Fixes clicks/pops heard when reading the adc.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22101 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Mark Arigo 2009-08-01 17:51:00 +00:00
parent 4e7517dfb1
commit fc570147e6
3 changed files with 20 additions and 0 deletions

View file

@ -299,6 +299,13 @@ void i2c_init(void)
outl(0x1e, 0x600060a4);
ascodec_write(AS3514_SUPERVISOR, 5);
#elif defined(PHILIPS_SA9200)
outl(0x0, 0x600060a4);
outl(inl(0x600060a4) | 0x20, 0x600060a4);
outl(inl(0x7000c020) | 0x3, 0x7000c020);
outl(0x55, 0x7000c02c);
outl(0x54, 0x7000c030);
#endif
#endif