blob: f4322820744506d659bde36d387d721f9ce0265d [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_TEA6415C__
3#define __INCLUDED_TEA6415C__
4
Linus Torvalds1da177e2005-04-16 15:20:36 -07005/* the tea6415c's design is quite brain-dead. although there are
6 8 inputs and 6 outputs, these aren't enumerated in any way. because
7 I don't want to say "connect input pin 20 to output pin 17", I define
8 a "virtual" pin-order. */
9
10/* input pins */
11#define TEA6415C_OUTPUT1 18
12#define TEA6415C_OUTPUT2 14
13#define TEA6415C_OUTPUT3 16
14#define TEA6415C_OUTPUT4 17
15#define TEA6415C_OUTPUT5 13
16#define TEA6415C_OUTPUT6 15
17
18/* output pins */
19#define TEA6415C_INPUT1 5
20#define TEA6415C_INPUT2 8
21#define TEA6415C_INPUT3 3
22#define TEA6415C_INPUT4 20
23#define TEA6415C_INPUT5 6
24#define TEA6415C_INPUT6 10
25#define TEA6415C_INPUT7 1
26#define TEA6415C_INPUT8 11
27
Linus Torvalds1da177e2005-04-16 15:20:36 -070028#endif