2
* ak4641.h -- AK4641 SoC Audio driver
4
* Copyright 2008 Harald Welte <laforge@gnufiish.org>
8
* This program is free software; you can redistribute it and/or modify
9
* it under the terms of the GNU General Public License version 2 as
10
* published by the Free Software Foundation.
16
/* AK4641 register space */
18
#define AK4641_PM1 0x00
19
#define AK4641_PM2 0x01
20
#define AK4641_SIG1 0x02
21
#define AK4641_SIG2 0x03
22
#define AK4641_MODE1 0x04
23
#define AK4641_MODE2 0x05
24
#define AK4641_DAC 0x06
25
#define AK4641_MIC 0x07
26
#define AK4641_TIMER 0x08
27
#define AK4641_ALC1 0x09
28
#define AK4641_ALC2 0x0a
29
#define AK4641_PGA 0x0b
30
#define AK4641_LATT 0x0c
31
#define AK4641_RATT 0x0d
32
#define AK4641_VOL 0x0e
33
#define AK4641_STATUS 0x0f
34
#define AK4641_EQLO 0x10
35
#define AK4641_EQMID 0x11
36
#define AK4641_EQHI 0x12
37
#define AK4641_BTIF 0x13
39
#define AK4641_CACHEREGNUM 0x14
43
#define AK4641_DAI_HIFI 0
44
#define AK4641_DAI_VOICE 1