18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */ 28c2ecf20Sopenharmony_ci#ifndef __INCLUDED_TEA6415C__ 38c2ecf20Sopenharmony_ci#define __INCLUDED_TEA6415C__ 48c2ecf20Sopenharmony_ci 58c2ecf20Sopenharmony_ci/* the tea6415c's design is quite brain-dead. although there are 68c2ecf20Sopenharmony_ci 8 inputs and 6 outputs, these aren't enumerated in any way. because 78c2ecf20Sopenharmony_ci I don't want to say "connect input pin 20 to output pin 17", I define 88c2ecf20Sopenharmony_ci a "virtual" pin-order. */ 98c2ecf20Sopenharmony_ci 108c2ecf20Sopenharmony_ci/* input pins */ 118c2ecf20Sopenharmony_ci#define TEA6415C_OUTPUT1 18 128c2ecf20Sopenharmony_ci#define TEA6415C_OUTPUT2 14 138c2ecf20Sopenharmony_ci#define TEA6415C_OUTPUT3 16 148c2ecf20Sopenharmony_ci#define TEA6415C_OUTPUT4 17 158c2ecf20Sopenharmony_ci#define TEA6415C_OUTPUT5 13 168c2ecf20Sopenharmony_ci#define TEA6415C_OUTPUT6 15 178c2ecf20Sopenharmony_ci 188c2ecf20Sopenharmony_ci/* output pins */ 198c2ecf20Sopenharmony_ci#define TEA6415C_INPUT1 5 208c2ecf20Sopenharmony_ci#define TEA6415C_INPUT2 8 218c2ecf20Sopenharmony_ci#define TEA6415C_INPUT3 3 228c2ecf20Sopenharmony_ci#define TEA6415C_INPUT4 20 238c2ecf20Sopenharmony_ci#define TEA6415C_INPUT5 6 248c2ecf20Sopenharmony_ci#define TEA6415C_INPUT6 10 258c2ecf20Sopenharmony_ci#define TEA6415C_INPUT7 1 268c2ecf20Sopenharmony_ci#define TEA6415C_INPUT8 11 278c2ecf20Sopenharmony_ci 288c2ecf20Sopenharmony_ci#endif 29