xref: /openbmc/linux/sound/soc/codecs/adau1781.h (revision b830f94f)
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3  * ADAU1381/ADAU1781 driver
4  *
5  * Copyright 2014 Analog Devices Inc.
6  *  Author: Lars-Peter Clausen <lars@metafoo.de>
7  */
8 
9 #ifndef __SOUND_SOC_CODECS_ADAU1781_H__
10 #define __SOUND_SOC_CODECS_ADAU1781_H__
11 
12 #include <linux/regmap.h>
13 #include "adau17x1.h"
14 
15 struct device;
16 
17 int adau1781_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 adau1781_regmap_config;
21 
22 #endif
23