Bertrik Sikken
9067c915ad
Use I2C2_DACNT register (number of pending i2c bytes to read/write) to determine if an ascodec i2c transfer is done. This should fix i2c problems with MMU enabled.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21150 a1c6a512-1295-4272-9138-f99709370657
2009-05-31 17:48:19 +00:00
Rafaël Carré
ef9aacb2e0
FS#10245 by Jack Halpin : Adjust Clocking scheme on Sansa AMS
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21088 a1c6a512-1295-4272-9138-f99709370657
2009-05-26 18:44:02 +00:00
Bertrik Sikken
4a4639e157
Update as3525 i2c register description
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21018 a1c6a512-1295-4272-9138-f99709370657
2009-05-21 18:31:50 +00:00
Rafaël Carré
49c25816f0
Sansa AMS i2c : fix 2 problems identified by Jack Halpin & Bertrik Sikken
...
i2c clock frequency uses pclk as reference, not plla
i2c clock divider is only 10 bits, not 16
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20929 a1c6a512-1295-4272-9138-f99709370657
2009-05-14 09:36:56 +00:00
Bertrik Sikken
b5886beb81
Allow a clock divider larger than 255 for the internal i2c bus to the as3525 ascodec.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20861 a1c6a512-1295-4272-9138-f99709370657
2009-05-06 17:33:56 +00:00
Bertrik Sikken
070ee525ac
Patch by Rafaël Carré - Sansa AMS i2c :
...
* remove peripheral reset (already made in system_init).
* Move empty i2c_init() from i2c-as3525.c (and remove that file)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20645 a1c6a512-1295-4272-9138-f99709370657
2009-04-07 17:20:31 +00:00
Bertrik Sikken
a6c62a218a
Renamed as3525-codec.c to ascodec-as3525.c to bring it in line with the naming convention of the other driver
...
files.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19469 a1c6a512-1295-4272-9138-f99709370657
2008-12-17 20:16:20 +00:00