1#ifndef KEST_INT_SGTL5000_H_
2#define KEST_INT_SGTL5000_H_
5#define CHIP_DIG_POWER 0x0002
6#define CHIP_CLK_CTRL 0x0004
7#define CHIP_I2S_CTRL 0x0006
8#define CHIP_SSS_CTRL 0x000A
9#define CHIP_ADCDAC_CTRL 0x000E
10#define CHIP_DAC_VOL 0x0010
11#define CHIP_PAD_STRENGTH 0x0014
12#define CHIP_ANA_ADC_CTRL 0x0020
13#define CHIP_ANA_HP_CTRL 0x0022
14#define CHIP_ANA_CTRL 0x0024
15#define CHIP_LINREG_CTRL 0x0026
16#define CHIP_REF_CTRL 0x0028
17#define CHIP_MIC_CTRL 0x002A
18#define CHIP_LINE_OUT_CTRL 0x002C
19#define CHIP_LINE_OUT_VOL 0x002E
20#define CHIP_ANA_POWER 0x0030
22#define CHIP_PLL_CTRL 0x0032
23#define CHIP_CLK_TOP_CTRL 0x0034
24#define CHIP_ANA_STATUS 0x0036
25#define CHIP_ANA_TEST1 0x0038
26#define CHIP_ANA_TEST2 0x003A
27#define CHIP_SHORT_CTRL 0x003C
28#define DAP_CONTROL 0x0100
30#define DAP_BASS_ENHANCE 0x0104
31#define DAP_BASS_ENHANCE_CTRL 0x0106
32#define DAP_AUDIO_EQ 0x0108
33#define DAP_SGTL_SURROUND 0x010A
34#define DAP_FILTER_COEF_ACCESS 0x010C
35#define DAP_COEF_WR_B0_MSB 0x010E
36#define DAP_COEF_WR_B0_LSB 0x0110
37#define DAP_AUDIO_EQ_BASS_BAND0 0x0116
38#define DAP_AUDIO_EQ_BAND1 0x0118
39#define DAP_AUDIO_EQ_BAND2 0x011A
40#define DAP_AUDIO_EQ_BAND3 0x011C
41#define DAP_AUDIO_EQ_TREBLE_BAND4 0x011E
42#define DAP_MAIN_CHAN 0x0120
43#define DAP_MIX_CHAN 0x0122
44#define DAP_AVC_CTRL 0x0124
45#define DAP_AVC_THRESHOLD 0x0126
46#define DAP_AVC_ATTACK 0x0128
47#define DAP_AVC_DECAY 0x012A
48#define DAP_COEF_WR_B1_MSB 0x012C
49#define DAP_COEF_WR_B1_LSB 0x012E
50#define DAP_COEF_WR_B2_MSB 0x0130
51#define DAP_COEF_WR_B2_LSB 0x0132
52#define DAP_COEF_WR_A1_MSB 0x0134
53#define DAP_COEF_WR_A1_LSB 0x0136
54#define DAP_COEF_WR_A2_MSB 0x0138
55#define DAP_COEF_WR_A2_LSB 0x013A
57#define SGTL5000_I2C_ADDR_CS_LOW 0x0A
58#define SGTL5000_I2C_ADDR_CS_HIGH 0x2A
void kest_sgtl5000_init(void *param)