mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-16 05:07:59 +07:00
1b8dac150a
Modified mxb to load the i2c modules through v4l2_subdev. So no more probing. Modified tea6415c and tea6420 to use the standard routing ops to do the routing, rather than using private commands. Dropped the private commands from tda9840 (they were never used except during initialization of the module). Added saa7146 support for VIDIOC_DBG_G_CHIP_IDENT. Converted saa5246a and saa5249 to v4l2_subdev. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
25 lines
522 B
C
25 lines
522 B
C
#ifndef __INCLUDED_TEA6420__
|
|
#define __INCLUDED_TEA6420__
|
|
|
|
/* input pins */
|
|
#define TEA6420_OUTPUT1 1
|
|
#define TEA6420_OUTPUT2 2
|
|
#define TEA6420_OUTPUT3 3
|
|
#define TEA6420_OUTPUT4 4
|
|
|
|
/* output pins */
|
|
#define TEA6420_INPUT1 1
|
|
#define TEA6420_INPUT2 2
|
|
#define TEA6420_INPUT3 3
|
|
#define TEA6420_INPUT4 4
|
|
#define TEA6420_INPUT5 5
|
|
#define TEA6420_INPUT6 6
|
|
|
|
/* gain on the output pins, ORed with the output pin */
|
|
#define TEA6420_GAIN0 0x00
|
|
#define TEA6420_GAIN2 0x20
|
|
#define TEA6420_GAIN4 0x40
|
|
#define TEA6420_GAIN6 0x60
|
|
|
|
#endif
|