xref: /linux/include/uapi/linux/aspeed-video.h (revision f79e772258df311c2cb21594ca0996318e720d28)
1 /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
2 /*
3  * Copyright (C) 2021 ASPEED Technology Inc.
4  */
5 
6 #ifndef _UAPI_LINUX_ASPEED_VIDEO_H
7 #define _UAPI_LINUX_ASPEED_VIDEO_H
8 
9 #include <linux/v4l2-controls.h>
10 
11 /* aspeed video's input types */
12 enum aspeed_video_input {
13 	VIDEO_INPUT_VGA = 0,
14 	VIDEO_INPUT_GFX,
15 	VIDEO_INPUT_MAX
16 };
17 
18 #define V4L2_CID_ASPEED_HQ_MODE			(V4L2_CID_USER_ASPEED_BASE  + 1)
19 #define V4L2_CID_ASPEED_HQ_JPEG_QUALITY		(V4L2_CID_USER_ASPEED_BASE  + 2)
20 
21 #endif /* _UAPI_LINUX_ASPEED_VIDEO_H */
22