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