xref: /OK3568_Linux_fs/kernel/include/media/i2c/cs53l32a.h (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun /* SPDX-License-Identifier: GPL-2.0-or-later */
2*4882a593Smuzhiyun /*
3*4882a593Smuzhiyun     cs53l32a.h - definition for cs53l32a inputs and outputs
4*4882a593Smuzhiyun 
5*4882a593Smuzhiyun     Copyright (C) 2006 Hans Verkuil (hverkuil@xs4all.nl)
6*4882a593Smuzhiyun 
7*4882a593Smuzhiyun */
8*4882a593Smuzhiyun 
9*4882a593Smuzhiyun #ifndef _CS53L32A_H_
10*4882a593Smuzhiyun #define _CS53L32A_H_
11*4882a593Smuzhiyun 
12*4882a593Smuzhiyun /* There are 2 physical inputs, but the second input can be
13*4882a593Smuzhiyun    placed in two modes, the first mode bypasses the PGA (gain),
14*4882a593Smuzhiyun    the second goes through the PGA. Hence there are three
15*4882a593Smuzhiyun    possible inputs to choose from. */
16*4882a593Smuzhiyun 
17*4882a593Smuzhiyun /* CS53L32A HW inputs */
18*4882a593Smuzhiyun #define CS53L32A_IN0 0
19*4882a593Smuzhiyun #define CS53L32A_IN1 1
20*4882a593Smuzhiyun #define CS53L32A_IN2 2
21*4882a593Smuzhiyun 
22*4882a593Smuzhiyun #endif
23