2923af0246
This patch adds support for the Analog Devices ADAU1381 and ADAU1781 audio CODECs. The device is a low-power, 24-bit stereo audio CODEC with multiple analog inputs and outputs, two digital microphone inputs and an I2S interface. The device can be controlled either using I2C or SPI. The main difference between the two variants is that the ADAU1781 has a freely programmable SigmaDSP processor, while the ADAU1381 has a fixed function wind noise reduction filter. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Mark Brown <broonie@linaro.org>
24 lines
501 B
C
24 lines
501 B
C
/*
|
|
* ADAU1381/ADAU1781 driver
|
|
*
|
|
* Copyright 2014 Analog Devices Inc.
|
|
* Author: Lars-Peter Clausen <lars@metafoo.de>
|
|
*
|
|
* Licensed under the GPL-2.
|
|
*/
|
|
|
|
#ifndef __SOUND_SOC_CODECS_ADAU1781_H__
|
|
#define __SOUND_SOC_CODECS_ADAU1781_H__
|
|
|
|
#include <linux/regmap.h>
|
|
#include "adau17x1.h"
|
|
|
|
struct device;
|
|
|
|
int adau1781_probe(struct device *dev, struct regmap *regmap,
|
|
enum adau17x1_type type, void (*switch_mode)(struct device *dev));
|
|
|
|
extern const struct regmap_config adau1781_regmap_config;
|
|
|
|
#endif
|