Other Parts Discussed in Thread: TVP7002
I would like to set VGA to my CMOS sensor. so have made a device driver for my CMOS sensor which was modified a sample device driver in DVSDK 4.02.
I don't know how to set v4l2_input.std value in board-dm365-evm.c, because there isn't V4L2_STD_VGA in davincihd.h
Could you know me how to find it or solve it ?
------ board-dm365-evm.c ------------------
/* Inputs available at the TVP7002 */
static struct v4l2_input tvp7002_inputs[] = {
{
.index = 0,
.name = "Component",
.type = V4L2_INPUT_TYPE_CAMERA,
.std = TVP7002_STD_ALL,
},
};
#define TVP7002_STD_ALL (V4L2_STD_525P_60 | V4L2_STD_625P_50 |\
V4L2_STD_NTSC | V4L2_STD_PAL |\
V4L2_STD_720P_50 | V4L2_STD_720P_60 |\
V4L2_STD_1080I_50 | V4L2_STD_1080I_60 |\
V4L2_STD_1080P_50 | V4L2_STD_1080P_60)
------ davincihd.h ------------------
#define V4L2_STD_525P_60 ((v4l2_std_id)(0x0001000000000000ULL))
#define V4L2_STD_625P_50 ((v4l2_std_id)(0x0002000000000000ULL))
#define V4L2_STD_720P_60 ((v4l2_std_id)(0x0004000000000000ULL))
#define V4L2_STD_720P_50 ((v4l2_std_id)(0x0008000000000000ULL))
#define V4L2_STD_1080I_60 ((v4l2_std_id)(0x0010000000000000ULL))
#define V4L2_STD_1080I_50 ((v4l2_std_id)(0x0020000000000000ULL))
#define V4L2_STD_1080P_60 ((v4l2_std_id)(0x0040000000000000ULL))
#define V4L2_STD_1080P_50 ((v4l2_std_id)(0x0080000000000000ULL))
#define V4L2_STD_720P_30 ((v4l2_std_id)(0x0100000000000000ULL))
#define V4L2_STD_1080I_30 ((v4l2_std_id)(0x0200000000000000ULL))
#define V4L2_STD_1080P_30 ((v4l2_std_id)(0x0400000000000000ULL))