Commit | Line | Data |
---|---|---|
b2441318 | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
1da177e4 LT |
2 | #ifndef __INCLUDED_TEA6420__ |
3 | #define __INCLUDED_TEA6420__ | |
4 | ||
1b8dac15 HV |
5 | /* input pins */ |
6 | #define TEA6420_OUTPUT1 1 | |
7 | #define TEA6420_OUTPUT2 2 | |
8 | #define TEA6420_OUTPUT3 3 | |
9 | #define TEA6420_OUTPUT4 4 | |
1da177e4 | 10 | |
1b8dac15 HV |
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 | |
1da177e4 | 18 | |
1b8dac15 HV |
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 | |
1da177e4 LT |
24 | |
25 | #endif |