| 1 |
/* SPDX-License-Identifier: GPL-2.0-only */ |
| 2 |
/* |
| 3 |
* ADAU1372 driver |
| 4 |
* |
| 5 |
* Copyright 2016 Analog Devices Inc. |
| 6 |
* Author: Lars-Peter Clausen <[email protected]> |
| 7 |
*/ |
| 8 |
|
| 9 |
#ifndef SOUND_SOC_CODECS_ADAU1372_H |
| 10 |
#define SOUND_SOC_CODECS_ADAU1372_H |
| 11 |
|
| 12 |
#include <linux/regmap.h> |
| 13 |
|
| 14 |
struct device; |
| 15 |
|
| 16 |
extern const struct of_device_id adau1372_of_match[]; |
| 17 |
int adau1372_probe(struct device *dev, struct regmap *regmap, |
| 18 |
void (*switch_mode)(struct device *dev)); |
| 19 |
|
| 20 |
extern const struct regmap_config adau1372_regmap_config; |
| 21 |
|
| 22 |
#endif |