Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2 | #ifndef __INCLUDED_TEA6420__ |
| 3 | #define __INCLUDED_TEA6420__ |
| 4 | |
Hans Verkuil | 1b8dac1 | 2009-02-07 11:18:05 -0300 | [diff] [blame] | 5 | /* input pins */ |
| 6 | #define TEA6420_OUTPUT1 1 |
| 7 | #define TEA6420_OUTPUT2 2 |
| 8 | #define TEA6420_OUTPUT3 3 |
| 9 | #define TEA6420_OUTPUT4 4 |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 10 | |
Hans Verkuil | 1b8dac1 | 2009-02-07 11:18:05 -0300 | [diff] [blame] | 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 |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 18 | |
Hans Verkuil | 1b8dac1 | 2009-02-07 11:18:05 -0300 | [diff] [blame] | 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 |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 24 | |
| 25 | #endif |