xref: /openbmc/linux/drivers/media/i2c/tea6420.h (revision b2441318)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __INCLUDED_TEA6420__
3 #define __INCLUDED_TEA6420__
4 
5 /* input pins */
6 #define TEA6420_OUTPUT1 1
7 #define TEA6420_OUTPUT2 2
8 #define TEA6420_OUTPUT3 3
9 #define TEA6420_OUTPUT4 4
10 
11 /* output pins */
12 #define TEA6420_INPUT1 1
13 #define TEA6420_INPUT2 2
14 #define TEA6420_INPUT3 3
15 #define TEA6420_INPUT4 4
16 #define TEA6420_INPUT5 5
17 #define TEA6420_INPUT6 6
18 
19 /* gain on the output pins, ORed with the output pin */
20 #define TEA6420_GAIN0 0x00
21 #define TEA6420_GAIN2 0x20
22 #define TEA6420_GAIN4 0x40
23 #define TEA6420_GAIN6 0x60
24 
25 #endif
26