diff options
Diffstat (limited to 'sound/soc/codecs/rt5640.h')
-rw-r--r-- | sound/soc/codecs/rt5640.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/sound/soc/codecs/rt5640.h b/sound/soc/codecs/rt5640.h index 5e8df25a13f3..895ca149db2e 100644 --- a/sound/soc/codecs/rt5640.h +++ b/sound/soc/codecs/rt5640.h | |||
@@ -192,6 +192,13 @@ | |||
192 | #define RT5640_R_VOL_MASK (0x3f) | 192 | #define RT5640_R_VOL_MASK (0x3f) |
193 | #define RT5640_R_VOL_SFT 0 | 193 | #define RT5640_R_VOL_SFT 0 |
194 | 194 | ||
195 | /* SW Reset & Device ID (0x00) */ | ||
196 | #define RT5640_ID_MASK (0x3 << 1) | ||
197 | #define RT5640_ID_5639 (0x0 << 1) | ||
198 | #define RT5640_ID_5640 (0x2 << 1) | ||
199 | #define RT5640_ID_5642 (0x3 << 1) | ||
200 | |||
201 | |||
195 | /* IN1 and IN2 Control (0x0d) */ | 202 | /* IN1 and IN2 Control (0x0d) */ |
196 | /* IN3 and IN4 Control (0x0e) */ | 203 | /* IN3 and IN4 Control (0x0e) */ |
197 | #define RT5640_BST_SFT1 12 | 204 | #define RT5640_BST_SFT1 12 |
@@ -976,8 +983,6 @@ | |||
976 | #define RT5640_SCLK_SRC_SFT 14 | 983 | #define RT5640_SCLK_SRC_SFT 14 |
977 | #define RT5640_SCLK_SRC_MCLK (0x0 << 14) | 984 | #define RT5640_SCLK_SRC_MCLK (0x0 << 14) |
978 | #define RT5640_SCLK_SRC_PLL1 (0x1 << 14) | 985 | #define RT5640_SCLK_SRC_PLL1 (0x1 << 14) |
979 | #define RT5640_SCLK_SRC_PLL1T (0x2 << 14) | ||
980 | #define RT5640_SCLK_SRC_RCCLK (0x3 << 14) /* 15MHz */ | ||
981 | #define RT5640_PLL1_SRC_MASK (0x3 << 12) | 986 | #define RT5640_PLL1_SRC_MASK (0x3 << 12) |
982 | #define RT5640_PLL1_SRC_SFT 12 | 987 | #define RT5640_PLL1_SRC_SFT 12 |
983 | #define RT5640_PLL1_SRC_MCLK (0x0 << 12) | 988 | #define RT5640_PLL1_SRC_MCLK (0x0 << 12) |
@@ -2097,7 +2102,6 @@ struct rt5640_priv { | |||
2097 | int pll_in; | 2102 | int pll_in; |
2098 | int pll_out; | 2103 | int pll_out; |
2099 | 2104 | ||
2100 | int dmic_en; | ||
2101 | bool hp_mute; | 2105 | bool hp_mute; |
2102 | }; | 2106 | }; |
2103 | 2107 | ||