mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-25 20:14:25 +08:00
6cd4c6459e
Add support for the Analog Devices ADAU1372 audio CODEC. [Alexandre Belloni: allow 32kHz for TDM4 in slave mode] Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Link: https://lore.kernel.org/r/20201127123030.1610574-2-alexandre.belloni@bootlin.com Signed-off-by: Mark Brown <broonie@kernel.org>
22 lines
453 B
C
22 lines
453 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
/*
|
|
* ADAU1372 driver
|
|
*
|
|
* Copyright 2016 Analog Devices Inc.
|
|
* Author: Lars-Peter Clausen <lars@metafoo.de>
|
|
*/
|
|
|
|
#ifndef SOUND_SOC_CODECS_ADAU1372_H
|
|
#define SOUND_SOC_CODECS_ADAU1372_H
|
|
|
|
#include <linux/regmap.h>
|
|
|
|
struct device;
|
|
|
|
int adau1372_probe(struct device *dev, struct regmap *regmap,
|
|
void (*switch_mode)(struct device *dev));
|
|
|
|
extern const struct regmap_config adau1372_regmap_config;
|
|
|
|
#endif
|