1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * ADAU1977/ADAU1978/ADAU1979 driver
5 * Copyright 2014 Analog Devices Inc.
6 * Author: Lars-Peter Clausen <lars@metafoo.de>
9 #ifndef __SOUND_SOC_CODECS_ADAU1977_H__
10 #define __SOUND_SOC_CODECS_ADAU1977_H__
12 #include <linux/regmap.h>
22 int adau1977_probe(struct device
*dev
, struct regmap
*regmap
,
23 enum adau1977_type type
, void (*switch_mode
)(struct device
*dev
));
25 extern const struct regmap_config adau1977_regmap_config
;
27 enum adau1977_clk_id
{
31 enum adau1977_sysclk_src
{
32 ADAU1977_SYSCLK_SRC_MCLK
,
33 ADAU1977_SYSCLK_SRC_LRCLK
,