Mylène Josserand | 4ae340d | 2018-03-15 17:18:24 +0100 | [diff] [blame] | 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 | int pcm1789_common_exit(struct device *dev); |
| 16 | |
| 17 | #endif |