xref: /kernel/linux/linux-5.10/drivers/media/i2c/tea6420.h (revision 8c2ecf20)
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /kernel/linux/linux-5.10/drivers/media/i2c/
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

Indexes created Thu Nov 07 10:32:03 CST 2024