media: rockchip: isp/ispp/cif/camera: add api version in common header
Signed-off-by: Hu Kejun <william.hu@rock-chips.com> Change-Id: I59a68acb068131483c80da5865cdbe4800b59975
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
#ifndef _RKCIF_VERSION_H
|
||||
#define _RKCIF_VERSION_H
|
||||
#include <linux/version.h>
|
||||
#include <linux/rkcif-config.h>
|
||||
|
||||
/*
|
||||
*RKCIF DRIVER VERSION NOTE
|
||||
@@ -31,8 +32,12 @@
|
||||
*v0.1.4
|
||||
*1. support vicap-full lvds interface to work in linear and hdr mode for rv1126
|
||||
*2. add vicap-lite device for rv1126
|
||||
*v0.1.5
|
||||
*1. support crop function
|
||||
*2. fix compile error when config with module
|
||||
*3. support mipi yuv
|
||||
*/
|
||||
|
||||
#define RKCIF_DRIVER_VERSION KERNEL_VERSION(0, 1, 0x4)
|
||||
#define RKCIF_DRIVER_VERSION RKCIF_API_VERSION
|
||||
|
||||
#endif
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
#ifndef _RKISP_VERSION_H
|
||||
#define _RKISP_VERSION_H
|
||||
#include <linux/version.h>
|
||||
#include <linux/rkisp2-config.h>
|
||||
|
||||
/*
|
||||
*RKISP DRIVER VERSION NOTE
|
||||
@@ -13,8 +14,12 @@
|
||||
*
|
||||
*v0.1.1:
|
||||
*1. support lvds interface
|
||||
*
|
||||
* v0.1.2:
|
||||
* support multi virtual device;
|
||||
*
|
||||
*/
|
||||
|
||||
#define RKISP_DRIVER_VERSION KERNEL_VERSION(0, 1, 0x1)
|
||||
#define RKISP_DRIVER_VERSION RKISP_API_VERSION
|
||||
|
||||
#endif
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
#ifndef _RKISPP_VERSION_H
|
||||
#define _RKISPP_VERSION_H
|
||||
#include <linux/version.h>
|
||||
#include <linux/rkispp-config.h>
|
||||
|
||||
/*
|
||||
* RKISPP DRIVER VERSION NOTE
|
||||
@@ -15,8 +16,12 @@
|
||||
* support fbc output format
|
||||
* support fec function
|
||||
* support oneframe mode
|
||||
*
|
||||
* v0.1.2:
|
||||
* support multi virtual device;
|
||||
*
|
||||
*/
|
||||
|
||||
#define RKISPP_DRIVER_VERSION KERNEL_VERSION(0, 1, 0x1)
|
||||
#define RKISPP_DRIVER_VERSION ISPP_API_VERSION
|
||||
|
||||
#endif
|
||||
|
||||
@@ -9,6 +9,8 @@
|
||||
|
||||
#include <linux/types.h>
|
||||
|
||||
#define RKMODULE_API_VERSION KERNEL_VERSION(0, 1, 0x1)
|
||||
|
||||
#define RKMODULE_NAME_LEN 32
|
||||
#define RKMODULE_LSCDATA_LEN 441
|
||||
|
||||
|
||||
@@ -0,0 +1,14 @@
|
||||
/* SPDX-License-Identifier: (GPL-2.0+ OR MIT)
|
||||
*
|
||||
* Copyright (C) 2019 Rockchip Electronics Co., Ltd.
|
||||
*/
|
||||
|
||||
#ifndef _UAPI_RKCIF_CONFIG_H
|
||||
#define _UAPI_RKCIF_CONFIG_H
|
||||
|
||||
#include <linux/types.h>
|
||||
#include <linux/v4l2-controls.h>
|
||||
|
||||
#define RKCIF_API_VERSION KERNEL_VERSION(0, 1, 0x5)
|
||||
|
||||
#endif
|
||||
@@ -10,6 +10,8 @@
|
||||
#include <linux/types.h>
|
||||
#include <linux/v4l2-controls.h>
|
||||
|
||||
#define RKISP_API_VERSION KERNEL_VERSION(0, 1, 0x2)
|
||||
|
||||
#define RKISP_CMD_TRIGGER_READ_BACK \
|
||||
_IOW('V', BASE_VIDIOC_PRIVATE + 0, struct isp2x_csi_trigger)
|
||||
|
||||
|
||||
@@ -9,6 +9,8 @@
|
||||
#include <linux/types.h>
|
||||
#include <linux/v4l2-controls.h>
|
||||
|
||||
#define ISPP_API_VERSION KERNEL_VERSION(0, 1, 0x2)
|
||||
|
||||
#define ISPP_MODULE_TNR BIT(0)//2TO1
|
||||
#define ISPP_MODULE_NR BIT(1)
|
||||
#define ISPP_MODULE_SHP BIT(2)
|
||||
|
||||
Reference in New Issue
Block a user