diff options
Diffstat (limited to 'sound/soc/codecs/wm8904.h')
-rw-r--r-- | sound/soc/codecs/wm8904.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/sound/soc/codecs/wm8904.h b/sound/soc/codecs/wm8904.h index 9e8c84188ba7..c29a0e8131ca 100644 --- a/sound/soc/codecs/wm8904.h +++ b/sound/soc/codecs/wm8904.h | |||
@@ -123,6 +123,7 @@ | |||
123 | #define WM8904_EQ23 0x9C | 123 | #define WM8904_EQ23 0x9C |
124 | #define WM8904_EQ24 0x9D | 124 | #define WM8904_EQ24 0x9D |
125 | #define WM8904_CONTROL_INTERFACE_TEST_1 0xA1 | 125 | #define WM8904_CONTROL_INTERFACE_TEST_1 0xA1 |
126 | #define WM8904_ADC_TEST_0 0xC6 | ||
126 | #define WM8904_ANALOGUE_OUTPUT_BIAS_0 0xCC | 127 | #define WM8904_ANALOGUE_OUTPUT_BIAS_0 0xCC |
127 | #define WM8904_FLL_NCO_TEST_0 0xF7 | 128 | #define WM8904_FLL_NCO_TEST_0 0xF7 |
128 | #define WM8904_FLL_NCO_TEST_1 0xF8 | 129 | #define WM8904_FLL_NCO_TEST_1 0xF8 |
@@ -1557,6 +1558,16 @@ | |||
1557 | #define WM8904_USER_KEY_WIDTH 1 /* USER_KEY */ | 1558 | #define WM8904_USER_KEY_WIDTH 1 /* USER_KEY */ |
1558 | 1559 | ||
1559 | /* | 1560 | /* |
1561 | * R198 (0xC6) - ADC Test 0 | ||
1562 | */ | ||
1563 | #define WM8904_ADC_128_OSR_TST_MODE 0x0004 /* ADC_128_OSR_TST_MODE */ | ||
1564 | #define WM8904_ADC_128_OSR_TST_MODE_SHIFT 2 /* ADC_128_OSR_TST_MODE */ | ||
1565 | #define WM8904_ADC_128_OSR_TST_MODE_WIDTH 1 /* ADC_128_OSR_TST_MODE */ | ||
1566 | #define WM8904_ADC_BIASX1P5 0x0001 /* ADC_BIASX1P5 */ | ||
1567 | #define WM8904_ADC_BIASX1P5_SHIFT 0 /* ADC_BIASX1P5 */ | ||
1568 | #define WM8904_ADC_BIASX1P5_WIDTH 1 /* ADC_BIASX1P5 */ | ||
1569 | |||
1570 | /* | ||
1560 | * R204 (0xCC) - Analogue Output Bias 0 | 1571 | * R204 (0xCC) - Analogue Output Bias 0 |
1561 | */ | 1572 | */ |
1562 | #define WM8904_PGA_BIAS_MASK 0x0070 /* PGA_BIAS - [6:4] */ | 1573 | #define WM8904_PGA_BIAS_MASK 0x0070 /* PGA_BIAS - [6:4] */ |