diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2013-05-23 14:14:50 -0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2013-05-25 10:33:30 -0400 |
commit | b6b5e76bb8bb22ecff90a7840dc4845d63328289 (patch) | |
tree | bc8fa98cf13025bce74dc37e212be6de3ae86679 /sound/soc/codecs/ssm2518.h | |
parent | c7788792a5e7b0d5d7f96d0766b4cb6112d47d75 (diff) |
ASoC: Add ssm2518 support
This patch adds a ASoC CODEC driver for the SSM2516. The SSM2516 is a stereo
Class-D audio amplifier with an I2S interface for audio in and a built-in
dynamic range control processor.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/codecs/ssm2518.h')
-rw-r--r-- | sound/soc/codecs/ssm2518.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/sound/soc/codecs/ssm2518.h b/sound/soc/codecs/ssm2518.h new file mode 100644 index 000000000000..62511d80518e --- /dev/null +++ b/sound/soc/codecs/ssm2518.h | |||
@@ -0,0 +1,20 @@ | |||
1 | /* | ||
2 | * SSM2518 amplifier audio driver | ||
3 | * | ||
4 | * Copyright 2013 Analog Devices Inc. | ||
5 | * Author: Lars-Peter Clausen <lars@metafoo.de> | ||
6 | * | ||
7 | * Licensed under the GPL-2. | ||
8 | */ | ||
9 | |||
10 | #ifndef __SND_SOC_CODECS_SSM2518_H__ | ||
11 | #define __SND_SOC_CODECS_SSM2518_H__ | ||
12 | |||
13 | #define SSM2518_SYSCLK 0 | ||
14 | |||
15 | enum ssm2518_sysclk_src { | ||
16 | SSM2518_SYSCLK_SRC_MCLK = 0, | ||
17 | SSM2518_SYSCLK_SRC_BCLK = 1, | ||
18 | }; | ||
19 | |||
20 | #endif | ||