blob: 07f9d72a86bb832262aedfaadb833cb9ec264229 [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001/* SPDX-License-Identifier: GPL-2.0 */
Linus Torvalds1da177e2005-04-16 15:20:36 -07002#ifndef __INCLUDED_TEA6420__
3#define __INCLUDED_TEA6420__
4
Hans Verkuil1b8dac12009-02-07 11:18:05 -03005/* input pins */
6#define TEA6420_OUTPUT1 1
7#define TEA6420_OUTPUT2 2
8#define TEA6420_OUTPUT3 3
9#define TEA6420_OUTPUT4 4
Linus Torvalds1da177e2005-04-16 15:20:36 -070010
Hans Verkuil1b8dac12009-02-07 11:18:05 -030011/* 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 Torvalds1da177e2005-04-16 15:20:36 -070018
Hans Verkuil1b8dac12009-02-07 11:18:05 -030019/* 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 Torvalds1da177e2005-04-16 15:20:36 -070024
25#endif