2
* ak4535.h -- AK4535 Soc Audio driver
4
* Copyright 2005 Openedhand Ltd.
6
* Author: Richard Purdie <richard@openedhand.com>
10
* This program is free software; you can redistribute it and/or modify
11
* it under the terms of the GNU General Public License version 2 as
12
* published by the Free Software Foundation.
18
/* AK4535 register space */
20
#define AK4535_PM1 0x0
21
#define AK4535_PM2 0x1
22
#define AK4535_SIG1 0x2
23
#define AK4535_SIG2 0x3
24
#define AK4535_MODE1 0x4
25
#define AK4535_MODE2 0x5
26
#define AK4535_DAC 0x6
27
#define AK4535_MIC 0x7
28
#define AK4535_TIMER 0x8
29
#define AK4535_ALC1 0x9
30
#define AK4535_ALC2 0xa
31
#define AK4535_PGA 0xb
32
#define AK4535_LATT 0xc
33
#define AK4535_RATT 0xd
34
#define AK4535_VOL 0xe
35
#define AK4535_STATUS 0xf
37
#define AK4535_CACHEREGNUM 0x10