diff options
author | Ryan Lee <ryans.lee@maximintegrated.com> | 2017-09-15 02:30:38 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2017-09-25 21:48:14 +0200 |
commit | 4eee20246c0fa77a7a7b189ac806d5f78d675546 (patch) | |
tree | 5e17f854e6d2b290cb5bab936f8d62f5e5a7a0d2 /sound/soc/codecs/max98927.h | |
parent | Linux 4.14-rc1 (diff) | |
download | linux-4eee20246c0fa77a7a7b189ac806d5f78d675546.tar.xz linux-4eee20246c0fa77a7a7b189ac806d5f78d675546.zip |
ASoC: max98927: Added support for DSP_A and DSP_B format
Signed-off-by: Ryan Lee <ryans.lee@maximintegrated.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/max98927.h')
-rw-r--r-- | sound/soc/codecs/max98927.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sound/soc/codecs/max98927.h b/sound/soc/codecs/max98927.h index ece6a608cbe1..bf7a6f92562a 100644 --- a/sound/soc/codecs/max98927.h +++ b/sound/soc/codecs/max98927.h @@ -1,7 +1,7 @@ /* * max98927.h -- MAX98927 ALSA Soc Audio driver * - * Copyright 2013-15 Maxim Integrated Products + * Copyright (C) 2016-2017 Maxim Integrated Products * Author: Ryan Lee <ryans.lee@maximintegrated.com> * * This program is free software; you can redistribute it and/or modify it @@ -161,7 +161,9 @@ #define MAX98927_PCM_MODE_CFG_FORMAT_SHIFT (3) #define MAX98927_PCM_FORMAT_I2S (0x0 << 0) #define MAX98927_PCM_FORMAT_LJ (0x1 << 0) - +#define MAX98927_PCM_FORMAT_TDM_MODE0 (0x3 << 0) +#define MAX98927_PCM_FORMAT_TDM_MODE1 (0x4 << 0) +#define MAX98927_PCM_FORMAT_TDM_MODE2 (0x5 << 0) #define MAX98927_PCM_MODE_CFG_CHANSZ_MASK (0x3 << 6) #define MAX98927_PCM_MODE_CFG_CHANSZ_16 (0x1 << 6) #define MAX98927_PCM_MODE_CFG_CHANSZ_24 (0x2 << 6) |