mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-08 12:45:26 -05:00
Introduce HiFi E.T. MA8/MA8C ports.
HiFi E.T. MA8 is almost the same as MA9 except another DAC(pcm1792 in ma8, df1704 in ma9). MA8 has ILI9342 lcd, MA8C has ILI9342C lcd. Change-Id: If2ac04f5a3382590b2a392c46286559f54b2ed6a
This commit is contained in:
parent
a170c99170
commit
3a97e12fc5
12 changed files with 645 additions and 7 deletions
|
|
@ -29,21 +29,25 @@ void df1704_set_ml_dir(const int dir)
|
|||
{
|
||||
pca9555_write_config(dir<<8, (1<<8));
|
||||
}
|
||||
void pcm1792_set_ml_dir (const int) __attribute__((alias("df1704_set_ml_dir")));
|
||||
|
||||
void df1704_set_ml(const int val)
|
||||
{
|
||||
pca9555_write_output(val<<8, 1<<8);
|
||||
}
|
||||
void pcm1792_set_ml (const int) __attribute__((alias("df1704_set_ml")));
|
||||
|
||||
void df1704_set_mc(const int val)
|
||||
{
|
||||
pca9555_write_output(val<<1, 1<<1);
|
||||
}
|
||||
void pcm1792_set_mc (const int) __attribute__((alias("df1704_set_mc")));
|
||||
|
||||
void df1704_set_md(const int val)
|
||||
{
|
||||
pca9555_write_output(val<<0, 1<<0);
|
||||
}
|
||||
void pcm1792_set_md (const int) __attribute__((alias("df1704_set_md")));
|
||||
|
||||
static void pop_ctrl(const int val)
|
||||
{
|
||||
|
|
@ -60,7 +64,6 @@ static void dac_enable(const int val)
|
|||
pca9555_write_output(val<<4, 1<<4);
|
||||
}
|
||||
|
||||
|
||||
void audiohw_postinit(void)
|
||||
{
|
||||
pop_ctrl(0);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue