summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/adau1373.h
blob: 56320d5e32d82c761ebe8235467b7b748a64f244 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef __ADAU1373_H__
#define __ADAU1373_H__

enum adau1373_pll_src {
	ADAU1373_PLL_SRC_MCLK1 = 0,
	ADAU1373_PLL_SRC_BCLK1 = 1,
	ADAU1373_PLL_SRC_BCLK2 = 2,
	ADAU1373_PLL_SRC_BCLK3 = 3,
	ADAU1373_PLL_SRC_LRCLK1 = 4,
	ADAU1373_PLL_SRC_LRCLK2 = 5,
	ADAU1373_PLL_SRC_LRCLK3 = 6,
	ADAU1373_PLL_SRC_GPIO1 = 7,
	ADAU1373_PLL_SRC_GPIO2 = 8,
	ADAU1373_PLL_SRC_GPIO3 = 9,
	ADAU1373_PLL_SRC_GPIO4 = 10,
	ADAU1373_PLL_SRC_MCLK2 = 11,
};

enum adau1373_pll {
	ADAU1373_PLL1 = 0,
	ADAU1373_PLL2 = 1,
};

enum adau1373_clk_src {
	ADAU1373_CLK_SRC_PLL1 = 0,
	ADAU1373_CLK_SRC_PLL2 = 1,
};

#endif