Merge branch 'docs-next' of git://git.lwn.net/linux-2.6
[linux-2.6/next.git] / include / media / cs5345.h
blob6ccae24e65edea6beb7b06dfbca20f8f8d21f9d8
1 /*
2 cs5345.h - definition for cs5345 inputs and outputs
4 Copyright (C) 2007 Hans Verkuil (hverkuil@xs4all.nl)
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.
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.
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.
21 #ifndef _CS5345_H_
22 #define _CS5345_H_
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
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
39 #endif