diff options
author | Mark Brown <broonie@kernel.org> | 2016-01-11 13:54:31 +0000 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-01-11 13:54:31 +0000 |
commit | 51a545a343a4af02c7c1f27822c9dc63b6a8280b (patch) | |
tree | ddc1a1284abd53028a6b28436d64fe753f730e70 /sound/soc/codecs/pcm179x.h | |
parent | a1916ff3500db308bff5913996a62b0bf8c4a97e (diff) | |
parent | 0471cd938e244e22f3ead77d2b82230f83e35f69 (diff) |
Merge remote-tracking branch 'asoc/topic/pcm1792a' into asoc-next
Diffstat (limited to 'sound/soc/codecs/pcm179x.h')
-rw-r--r-- | sound/soc/codecs/pcm179x.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/sound/soc/codecs/pcm179x.h b/sound/soc/codecs/pcm179x.h new file mode 100644 index 000000000000..c6fdc062a497 --- /dev/null +++ b/sound/soc/codecs/pcm179x.h @@ -0,0 +1,27 @@ +/* + * definitions for PCM179X + * + * Copyright 2013 Amarula Solutions + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + */ + +#ifndef __PCM179X_H__ +#define __PCM179X_H__ + +#define PCM1792A_RATES (SNDRV_PCM_RATE_44100 | SNDRV_PCM_RATE_8000_48000 | \ + SNDRV_PCM_RATE_88200 | SNDRV_PCM_RATE_96000 | \ + SNDRV_PCM_RATE_192000) + +#define PCM1792A_FORMATS (SNDRV_PCM_FMTBIT_S32_LE | SNDRV_PCM_FMTBIT_S24_LE | \ + SNDRV_PCM_FMTBIT_S16_LE) + +#endif |