18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */ 28c2ecf20Sopenharmony_ci#ifndef __INCLUDED_TEA6420__ 38c2ecf20Sopenharmony_ci#define __INCLUDED_TEA6420__ 48c2ecf20Sopenharmony_ci 58c2ecf20Sopenharmony_ci/* input pins */ 68c2ecf20Sopenharmony_ci#define TEA6420_OUTPUT1 1 78c2ecf20Sopenharmony_ci#define TEA6420_OUTPUT2 2 88c2ecf20Sopenharmony_ci#define TEA6420_OUTPUT3 3 98c2ecf20Sopenharmony_ci#define TEA6420_OUTPUT4 4 108c2ecf20Sopenharmony_ci 118c2ecf20Sopenharmony_ci/* output pins */ 128c2ecf20Sopenharmony_ci#define TEA6420_INPUT1 1 138c2ecf20Sopenharmony_ci#define TEA6420_INPUT2 2 148c2ecf20Sopenharmony_ci#define TEA6420_INPUT3 3 158c2ecf20Sopenharmony_ci#define TEA6420_INPUT4 4 168c2ecf20Sopenharmony_ci#define TEA6420_INPUT5 5 178c2ecf20Sopenharmony_ci#define TEA6420_INPUT6 6 188c2ecf20Sopenharmony_ci 198c2ecf20Sopenharmony_ci/* gain on the output pins, ORed with the output pin */ 208c2ecf20Sopenharmony_ci#define TEA6420_GAIN0 0x00 218c2ecf20Sopenharmony_ci#define TEA6420_GAIN2 0x20 228c2ecf20Sopenharmony_ci#define TEA6420_GAIN4 0x40 238c2ecf20Sopenharmony_ci#define TEA6420_GAIN6 0x60 248c2ecf20Sopenharmony_ci 258c2ecf20Sopenharmony_ci#endif 26