mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-21 13:18:46 +07:00
dab464b60b
This patch adds support for the Analog Devices ADAU1361 and ADAU1761 CODECs. The device is a a low-power, 24-bit stereo audio CODEC with multiple analog input and outputs, one digital microphone input and an I2S interface. The device can be controlled either via I2C or SPI. The main difference between the two variants is that the ADAU1761 has a built-in SigmaDSP, while the ADAU1361 has not. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Mark Brown <broonie@linaro.org>
24 lines
519 B
C
24 lines
519 B
C
/*
|
|
* ADAU1361/ADAU1461/ADAU1761/ADAU1961 driver
|
|
*
|
|
* Copyright 2014 Analog Devices Inc.
|
|
* Author: Lars-Peter Clausen <lars@metafoo.de>
|
|
*
|
|
* Licensed under the GPL-2.
|
|
*/
|
|
|
|
#ifndef __SOUND_SOC_CODECS_ADAU1761_H__
|
|
#define __SOUND_SOC_CODECS_ADAU1761_H__
|
|
|
|
#include <linux/regmap.h>
|
|
#include "adau17x1.h"
|
|
|
|
struct device;
|
|
|
|
int adau1761_probe(struct device *dev, struct regmap *regmap,
|
|
enum adau17x1_type type, void (*switch_mode)(struct device *dev));
|
|
|
|
extern const struct regmap_config adau1761_regmap_config;
|
|
|
|
#endif
|