xref: /openbmc/linux/sound/soc/codecs/adau1761.h (revision e7bae9bb)
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3  * ADAU1361/ADAU1461/ADAU1761/ADAU1961 driver
4  *
5  * Copyright 2014 Analog Devices Inc.
6  *  Author: Lars-Peter Clausen <lars@metafoo.de>
7  */
8 
9 #ifndef __SOUND_SOC_CODECS_ADAU1761_H__
10 #define __SOUND_SOC_CODECS_ADAU1761_H__
11 
12 #include <linux/regmap.h>
13 #include "adau17x1.h"
14 
15 struct device;
16 
17 int adau1761_probe(struct device *dev, struct regmap *regmap,
18 	enum adau17x1_type type, void (*switch_mode)(struct device *dev));
19 
20 extern const struct regmap_config adau1761_regmap_config;
21 
22 #endif
23