Michael Trimarchi | 13b02fa | 2013-08-03 16:20:43 +0200 | [diff] [blame] | 1 | /* |
Michael Trimarchi | 823733b | 2016-01-10 00:38:03 +0100 | [diff] [blame] | 2 | * definitions for PCM179X |
Michael Trimarchi | 13b02fa | 2013-08-03 16:20:43 +0200 | [diff] [blame] | 3 | * |
| 4 | * Copyright 2013 Amarula Solutions |
| 5 | * |
| 6 | * This program is free software; you can redistribute it and/or |
| 7 | * modify it under the terms of the GNU General Public License |
| 8 | * as published by the Free Software Foundation; either version 2 |
| 9 | * of the License, or (at your option) any later version. |
| 10 | * |
| 11 | * This program is distributed in the hope that it will be useful, |
| 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 14 | * GNU General Public License for more details. |
| 15 | */ |
| 16 | |
Michael Trimarchi | 823733b | 2016-01-10 00:38:03 +0100 | [diff] [blame] | 17 | #ifndef __PCM179X_H__ |
| 18 | #define __PCM179X_H__ |
Michael Trimarchi | 13b02fa | 2013-08-03 16:20:43 +0200 | [diff] [blame] | 19 | |
Michael Trimarchi | 13b02fa | 2013-08-03 16:20:43 +0200 | [diff] [blame] | 20 | #define PCM1792A_FORMATS (SNDRV_PCM_FMTBIT_S32_LE | SNDRV_PCM_FMTBIT_S24_LE | \ |
| 21 | SNDRV_PCM_FMTBIT_S16_LE) |
| 22 | |
Jacob Siverskog | 1b347b6 | 2016-01-22 13:39:53 +0100 | [diff] [blame] | 23 | extern const struct regmap_config pcm179x_regmap_config; |
| 24 | |
| 25 | int pcm179x_common_init(struct device *dev, struct regmap *regmap); |
Jacob Siverskog | 1b347b6 | 2016-01-22 13:39:53 +0100 | [diff] [blame] | 26 | |
Michael Trimarchi | 13b02fa | 2013-08-03 16:20:43 +0200 | [diff] [blame] | 27 | #endif |