xref: /linux/sound/soc/codecs/pcm1789.h (revision 908fc4c2)
1 // SPDX-License-Identifier: GPL-2.0
2 // Definitions for PCM1789 audio driver
3 // Copyright (C) 2018 Bootlin
4 // Mylène Josserand <mylene.josserand@bootlin.com>
5 
6 #ifndef __PCM1789_H__
7 #define __PCM1789_H__
8 
9 #define PCM1789_FORMATS (SNDRV_PCM_FMTBIT_S32_LE | SNDRV_PCM_FMTBIT_S24_LE | \
10 			 SNDRV_PCM_FMTBIT_S16_LE)
11 
12 extern const struct regmap_config pcm1789_regmap_config;
13 
14 int pcm1789_common_init(struct device *dev, struct regmap *regmap);
15 void pcm1789_common_exit(struct device *dev);
16 
17 #endif
18