xref: /OK3568_Linux_fs/kernel/include/uapi/linux/smiapp.h (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2*4882a593Smuzhiyun /*
3*4882a593Smuzhiyun  * include/uapi/linux/smiapp.h
4*4882a593Smuzhiyun  *
5*4882a593Smuzhiyun  * Generic driver for SMIA/SMIA++ compliant camera modules
6*4882a593Smuzhiyun  *
7*4882a593Smuzhiyun  * Copyright (C) 2014 Intel Corporation
8*4882a593Smuzhiyun  * Contact: Sakari Ailus <sakari.ailus@iki.fi>
9*4882a593Smuzhiyun  *
10*4882a593Smuzhiyun  * This program is free software; you can redistribute it and/or
11*4882a593Smuzhiyun  * modify it under the terms of the GNU General Public License
12*4882a593Smuzhiyun  * version 2 as published by the Free Software Foundation.
13*4882a593Smuzhiyun  *
14*4882a593Smuzhiyun  * This program is distributed in the hope that it will be useful, but
15*4882a593Smuzhiyun  * WITHOUT ANY WARRANTY; without even the implied warranty of
16*4882a593Smuzhiyun  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
17*4882a593Smuzhiyun  * General Public License for more details.
18*4882a593Smuzhiyun  *
19*4882a593Smuzhiyun  */
20*4882a593Smuzhiyun 
21*4882a593Smuzhiyun #ifndef __UAPI_LINUX_SMIAPP_H_
22*4882a593Smuzhiyun #define __UAPI_LINUX_SMIAPP_H_
23*4882a593Smuzhiyun 
24*4882a593Smuzhiyun #define V4L2_SMIAPP_TEST_PATTERN_MODE_DISABLED			0
25*4882a593Smuzhiyun #define V4L2_SMIAPP_TEST_PATTERN_MODE_SOLID_COLOUR		1
26*4882a593Smuzhiyun #define V4L2_SMIAPP_TEST_PATTERN_MODE_COLOUR_BARS		2
27*4882a593Smuzhiyun #define V4L2_SMIAPP_TEST_PATTERN_MODE_COLOUR_BARS_GREY		3
28*4882a593Smuzhiyun #define V4L2_SMIAPP_TEST_PATTERN_MODE_PN9			4
29*4882a593Smuzhiyun 
30*4882a593Smuzhiyun #endif /* __UAPI_LINUX_SMIAPP_H_ */
31