WIP FPC-III support
[linux/fpc-iii.git] / sound / soc / codecs / adav80x.h
blobfb50ff57e3175bac15258c80eebbbb15d00afd17
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 /*
3 * header file for ADAV80X parts
5 * Copyright 2011 Analog Devices Inc.
6 */
8 #ifndef _ADAV80X_H
9 #define _ADAV80X_H
11 #include <linux/regmap.h>
13 struct device;
15 extern const struct regmap_config adav80x_regmap_config;
16 int adav80x_bus_probe(struct device *dev, struct regmap *regmap);
18 enum adav80x_pll_src {
19 ADAV80X_PLL_SRC_XIN,
20 ADAV80X_PLL_SRC_XTAL,
21 ADAV80X_PLL_SRC_MCLKI,
24 enum adav80x_pll {
25 ADAV80X_PLL1 = 0,
26 ADAV80X_PLL2 = 1,
29 enum adav80x_clk_src {
30 ADAV80X_CLK_XIN = 0,
31 ADAV80X_CLK_MCLKI = 1,
32 ADAV80X_CLK_PLL1 = 2,
33 ADAV80X_CLK_PLL2 = 3,
34 ADAV80X_CLK_XTAL = 6,
36 ADAV80X_CLK_SYSCLK1 = 6,
37 ADAV80X_CLK_SYSCLK2 = 7,
38 ADAV80X_CLK_SYSCLK3 = 8,
41 #endif