diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2007-12-18 17:40:44 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-01-25 16:04:08 -0500 |
commit | 6fb377f85cb8c2c1580ce8b134c887a7b53c7aa9 (patch) | |
tree | b3f840769f841790797d918a36154ec8cda20113 /include/media/cs5345.h | |
parent | 0b394def21e7d3bd02aeee5570473582ce7984ec (diff) |
V4L/DVB (6869): cs5345: new i2c driver
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'include/media/cs5345.h')
-rw-r--r-- | include/media/cs5345.h | 39 |
1 files changed, 39 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 | ||