mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-17 01:04:19 +08: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
|