1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 /*
3     cs5345.h - definition for cs5345 inputs and outputs
4 
5     Copyright (C) 2007 Hans Verkuil (hverkuil@xs4all.nl)
6 
7 */
8 
9 #ifndef _CS5345_H_
10 #define _CS5345_H_
11 
12 /* CS5345 HW inputs */
13 #define CS5345_IN_MIC 0
14 #define CS5345_IN_1   1
15 #define CS5345_IN_2   2
16 #define CS5345_IN_3   3
17 #define CS5345_IN_4   4
18 #define CS5345_IN_5   5
19 #define CS5345_IN_6   6
20 
21 #define CS5345_MCLK_1   0x00
22 #define CS5345_MCLK_1_5 0x10
23 #define CS5345_MCLK_2   0x20
24 #define CS5345_MCLK_3   0x30
25 #define CS5345_MCLK_4   0x40
26 
27 #endif
28