mirror of
https://github.com/torvalds/linux.git
synced 2024-11-07 20:51:47 +00:00
b6b5e76bb8
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>
21 lines
362 B
C
21 lines
362 B
C
/*
|
|
* 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
|