wm8974.h (6548698f929814375fa5d62ae1db96959b0418c1) | wm8974.h (b2c3e923110f6ca60ccb30cf4a6bda5211454c4f) |
---|---|
1/* 2 * wm8974.h -- WM8974 Soc Audio driver 3 * 4 * This program is free software; you can redistribute it and/or modify 5 * it under the terms of the GNU General Public License version 2 as 6 * published by the Free Software Foundation. 7 */ 8 --- 43 unchanged lines hidden (view full) --- 52#define WM8974_SPKVOL 0x36 53#define WM8974_MONOMIX 0x38 54 55#define WM8974_CACHEREGNUM 57 56 57/* Clock divider Id's */ 58#define WM8974_OPCLKDIV 0 59#define WM8974_MCLKDIV 1 | 1/* 2 * wm8974.h -- WM8974 Soc Audio driver 3 * 4 * This program is free software; you can redistribute it and/or modify 5 * it under the terms of the GNU General Public License version 2 as 6 * published by the Free Software Foundation. 7 */ 8 --- 43 unchanged lines hidden (view full) --- 52#define WM8974_SPKVOL 0x36 53#define WM8974_MONOMIX 0x38 54 55#define WM8974_CACHEREGNUM 57 56 57/* Clock divider Id's */ 58#define WM8974_OPCLKDIV 0 59#define WM8974_MCLKDIV 1 |
60#define WM8974_ADCCLK 2 61#define WM8974_DACCLK 3 62#define WM8974_BCLKDIV 4 | 60#define WM8974_BCLKDIV 2 |
63 | 61 |
64/* DAC clock dividers */ 65#define WM8974_DACCLK_F2 (1 << 3) 66#define WM8974_DACCLK_F4 (0 << 3) 67 68/* ADC clock dividers */ 69#define WM8974_ADCCLK_F2 (1 << 3) 70#define WM8974_ADCCLK_F4 (0 << 3) 71 | |
72/* PLL Out dividers */ 73#define WM8974_OPCLKDIV_1 (0 << 4) 74#define WM8974_OPCLKDIV_2 (1 << 4) 75#define WM8974_OPCLKDIV_3 (2 << 4) 76#define WM8974_OPCLKDIV_4 (3 << 4) 77 78/* BCLK clock dividers */ 79#define WM8974_BCLKDIV_1 (0 << 2) --- 20 unchanged lines hidden --- | 62/* PLL Out dividers */ 63#define WM8974_OPCLKDIV_1 (0 << 4) 64#define WM8974_OPCLKDIV_2 (1 << 4) 65#define WM8974_OPCLKDIV_3 (2 << 4) 66#define WM8974_OPCLKDIV_4 (3 << 4) 67 68/* BCLK clock dividers */ 69#define WM8974_BCLKDIV_1 (0 << 2) --- 20 unchanged lines hidden --- |