video/rockchip: rga2: enable rga power when read rga version
[firefly-linux-kernel-4.4.55.git] / include / media / v4l2-controls_rockchip.h
1 /*
2  *************************************************************************
3  * Rockchip driver for CIF ISP 1.0
4  * (Based on Intel driver for sofiaxxx)
5  *
6  * Copyright (C) 2015 Intel Mobile Communications GmbH
7  * Copyright (C) 2016 Fuzhou Rockchip Electronics Co., Ltd.
8  *
9  *
10  * This program is free software; you can redistribute it and/or modify
11  * it under the terms of the GNU General Public License as published by
12  * the Free Software Foundation; either version 2 of the License, or
13  * (at your option) any later version.
14  *************************************************************************
15  */
16
17 #ifndef _V4L2_CONTROLS_ROCKCHIP_H
18 #define _V4L2_CONTROLS_ROCKCHIP_H
19
20 #include <linux/videodev2.h>
21 #include <media/v4l2-config_rockchip.h>
22
23 #define RK_VIDIOC_CAMERA_MODULEINFO \
24         _IOWR('v', BASE_VIDIOC_PRIVATE + 10, struct camera_module_info_s)
25 #define RK_VIDIOC_SENSOR_MODE_DATA \
26         _IOR('v', BASE_VIDIOC_PRIVATE, struct isp_supplemental_sensor_mode_data)
27
28 #define V4L2_CID_USER_RK_BASE (V4L2_CID_USER_BASE + 0x1080)
29 #define RK_V4L2_CID_VBLANKING (V4L2_CID_USER_RK_BASE + 1)
30 #define RK_V4L2_CID_GAIN_PERCENT (V4L2_CID_USER_RK_BASE + 2)
31 #define RK_V4L2_CID_AUTO_FPS (V4L2_CID_USER_RK_BASE + 3)
32 #endif