xref: /openbmc/linux/sound/soc/codecs/adav80x.h (revision 12eb4683)
1 /*
2  * header file for ADAV80X parts
3  *
4  * Copyright 2011 Analog Devices Inc.
5  *
6  * Licensed under the GPL-2 or later.
7  */
8 
9 #ifndef _ADAV80X_H
10 #define _ADAV80X_H
11 
12 enum adav80x_pll_src {
13 	ADAV80X_PLL_SRC_XIN,
14 	ADAV80X_PLL_SRC_XTAL,
15 	ADAV80X_PLL_SRC_MCLKI,
16 };
17 
18 enum adav80x_pll {
19 	ADAV80X_PLL1 = 0,
20 	ADAV80X_PLL2 = 1,
21 };
22 
23 enum adav80x_clk_src {
24 	ADAV80X_CLK_XIN = 0,
25 	ADAV80X_CLK_MCLKI = 1,
26 	ADAV80X_CLK_PLL1 = 2,
27 	ADAV80X_CLK_PLL2 = 3,
28 	ADAV80X_CLK_XTAL = 6,
29 
30 	ADAV80X_CLK_SYSCLK1 = 6,
31 	ADAV80X_CLK_SYSCLK2 = 7,
32 	ADAV80X_CLK_SYSCLK3 = 8,
33 };
34 
35 #endif
36