diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2013-05-23 20:14:50 +0200 |
---|---|---|
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) | |
download | talos-op-linux-b6b5e76bb8bb22ecff90a7840dc4845d63328289.tar.gz talos-op-linux-b6b5e76bb8bb22ecff90a7840dc4845d63328289.zip |
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 @@ +/* + * SSM2518 amplifier audio driver + * + * Copyright 2013 Analog Devices Inc. + * Author: Lars-Peter Clausen <lars@metafoo.de> + * + * Licensed under the GPL-2. + */ + +#ifndef __SND_SOC_CODECS_SSM2518_H__ +#define __SND_SOC_CODECS_SSM2518_H__ + +#define SSM2518_SYSCLK 0 + +enum ssm2518_sysclk_src { + SSM2518_SYSCLK_SRC_MCLK = 0, + SSM2518_SYSCLK_SRC_BCLK = 1, +}; + +#endif |