xref: /openbmc/linux/include/media/i2c/cs53l32a.h (revision 791d3ef2)
1 /*
2     cs53l32a.h - definition for cs53l32a inputs and outputs
3 
4     Copyright (C) 2006 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 _CS53L32A_H_
22 #define _CS53L32A_H_
23 
24 /* There are 2 physical inputs, but the second input can be
25    placed in two modes, the first mode bypasses the PGA (gain),
26    the second goes through the PGA. Hence there are three
27    possible inputs to choose from. */
28 
29 /* CS53L32A HW inputs */
30 #define CS53L32A_IN0 0
31 #define CS53L32A_IN1 1
32 #define CS53L32A_IN2 2
33 
34 #endif
35