Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
ak4641.h
Go to the documentation of this file.
1 /*
2  * ak4641.h -- AK4641 SoC Audio driver
3  *
4  * Copyright 2008 Harald Welte <[email protected]>
5  *
6  * Based on ak4535.h
7  *
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.
11  */
12 
13 #ifndef _AK4641_H
14 #define _AK4641_H
15 
16 /* AK4641 register space */
17 
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
38 
39 #define AK4641_CACHEREGNUM 0x14
40 
41 
42 
43 #define AK4641_DAI_HIFI 0
44 #define AK4641_DAI_VOICE 1
45 
46 
47 #endif