diff options
Diffstat (limited to 'include/media')
-rw-r--r-- | include/media/cs5345.h | 39 | ||||
-rw-r--r-- | include/media/v4l2-chip-ident.h | 3 |
2 files changed, 42 insertions, 0 deletions
diff --git a/include/media/cs5345.h b/include/media/cs5345.h new file mode 100644 index 000000000000..6ccae24e65ed --- /dev/null +++ b/include/media/cs5345.h | |||
@@ -0,0 +1,39 @@ | |||
1 | /* | ||
2 | cs5345.h - definition for cs5345 inputs and outputs | ||
3 | |||
4 | Copyright (C) 2007 Hans Verkuil (hverkuil@xs4all.nl) | ||
5 | |||
6 | This program is free software; you can redistribute it and/or modify | ||
7 | it under the terms of the GNU General Public License as published by | ||
8 | the Free Software Foundation; either version 2 of the License, or | ||
9 | (at your option) any later version. | ||
10 | |||
11 | This program is distributed in the hope that it will be useful, | ||
12 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
13 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
14 | GNU General Public License for more details. | ||
15 | |||
16 | You should have received a copy of the GNU General Public License | ||
17 | along with this program; if not, write to the Free Software | ||
18 | Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | ||
19 | */ | ||
20 | |||
21 | #ifndef _CS5345_H_ | ||
22 | #define _CS5345_H_ | ||
23 | |||
24 | /* CS5345 HW inputs */ | ||
25 | #define CS5345_IN_MIC 0 | ||
26 | #define CS5345_IN_1 1 | ||
27 | #define CS5345_IN_2 2 | ||
28 | #define CS5345_IN_3 3 | ||
29 | #define CS5345_IN_4 4 | ||
30 | #define CS5345_IN_5 5 | ||
31 | #define CS5345_IN_6 6 | ||
32 | |||
33 | #define CS5345_MCLK_1 0x00 | ||
34 | #define CS5345_MCLK_1_5 0x10 | ||
35 | #define CS5345_MCLK_2 0x20 | ||
36 | #define CS5345_MCLK_3 0x30 | ||
37 | #define CS5345_MCLK_4 0x40 | ||
38 | |||
39 | #endif | ||
diff --git a/include/media/v4l2-chip-ident.h b/include/media/v4l2-chip-ident.h index 2442c281e4fe..032bb75f69c2 100644 --- a/include/media/v4l2-chip-ident.h +++ b/include/media/v4l2-chip-ident.h | |||
@@ -68,6 +68,9 @@ enum { | |||
68 | /* module vp27smpx: just ident 2700 */ | 68 | /* module vp27smpx: just ident 2700 */ |
69 | V4L2_IDENT_VP27SMPX = 2700, | 69 | V4L2_IDENT_VP27SMPX = 2700, |
70 | 70 | ||
71 | /* module cs5345: just ident 5345 */ | ||
72 | V4L2_IDENT_CS5345 = 5345, | ||
73 | |||
71 | /* module wm8739: just ident 8739 */ | 74 | /* module wm8739: just ident 8739 */ |
72 | V4L2_IDENT_WM8739 = 8739, | 75 | V4L2_IDENT_WM8739 = 8739, |
73 | 76 | ||