diff options
Diffstat (limited to 'sound/soc/codecs/rt5670.h')
-rw-r--r-- | sound/soc/codecs/rt5670.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sound/soc/codecs/rt5670.h b/sound/soc/codecs/rt5670.h index a0b5c855b492..d11b9c207e26 100644 --- a/sound/soc/codecs/rt5670.h +++ b/sound/soc/codecs/rt5670.h | |||
@@ -228,6 +228,12 @@ | |||
228 | #define RT5670_R_VOL_MASK (0x3f) | 228 | #define RT5670_R_VOL_MASK (0x3f) |
229 | #define RT5670_R_VOL_SFT 0 | 229 | #define RT5670_R_VOL_SFT 0 |
230 | 230 | ||
231 | /* SW Reset & Device ID (0x00) */ | ||
232 | #define RT5670_ID_MASK (0x3 << 1) | ||
233 | #define RT5670_ID_5670 (0x0 << 1) | ||
234 | #define RT5670_ID_5672 (0x1 << 1) | ||
235 | #define RT5670_ID_5671 (0x2 << 1) | ||
236 | |||
231 | /* Combo Jack Control 1 (0x0a) */ | 237 | /* Combo Jack Control 1 (0x0a) */ |
232 | #define RT5670_CBJ_BST1_MASK (0xf << 12) | 238 | #define RT5670_CBJ_BST1_MASK (0xf << 12) |
233 | #define RT5670_CBJ_BST1_SFT (12) | 239 | #define RT5670_CBJ_BST1_SFT (12) |