1*4882a593Smuzhiyun /* SPDX-License-Identifier: GPL-2.0 */ 2*4882a593Smuzhiyun /* Copyright (c) 2019 Fuzhou Rockchip Electronics Co., Ltd. */ 3*4882a593Smuzhiyun 4*4882a593Smuzhiyun #ifndef _RKCIF_VERSION_H 5*4882a593Smuzhiyun #define _RKCIF_VERSION_H 6*4882a593Smuzhiyun #include <linux/version.h> 7*4882a593Smuzhiyun #include <linux/rkcif-config.h> 8*4882a593Smuzhiyun 9*4882a593Smuzhiyun /* 10*4882a593Smuzhiyun *RKCIF DRIVER VERSION NOTE 11*4882a593Smuzhiyun * 12*4882a593Smuzhiyun *v0.1.0: 13*4882a593Smuzhiyun *1. First version; 14*4882a593Smuzhiyun *v0.1.1 15*4882a593Smuzhiyun *1. Support the mipi vc multi-channel input in cif driver for rk1808 16*4882a593Smuzhiyun *v0.1.2 17*4882a593Smuzhiyun *1. support output yuyv fmt by setting the input mode to raw8 18*4882a593Smuzhiyun *2. Compatible with cif only have single dma mode in driver 19*4882a593Smuzhiyun *3. Support cif works with mipi channel for rk3288 20*4882a593Smuzhiyun *4. Support switching between oneframe and pingpong for cif 21*4882a593Smuzhiyun *5. Support sampling raw data for cif 22*4882a593Smuzhiyun *6. fix the bug that dummpy buffer size is error 23*4882a593Smuzhiyun *7. Add framesizes and frmintervals callback 24*4882a593Smuzhiyun *8. fix dvp camera fails to link with cif on rk1808 25*4882a593Smuzhiyun *9. add camera support hotplug for n4 26*4882a593Smuzhiyun *10. reconstruct register's reading and writing 27*4882a593Smuzhiyun *v0.1.3 28*4882a593Smuzhiyun *1. support kernel-4.19 and support vicap single dvp for rv1126 29*4882a593Smuzhiyun *2. support vicap + mipi(single) for rv1126 30*4882a593Smuzhiyun *3. support vicap + mipi hdr for rv1126 31*4882a593Smuzhiyun *4. add luma device node for rv1126 vicap 32*4882a593Smuzhiyun *v0.1.4 33*4882a593Smuzhiyun *1. support vicap-full lvds interface to work in linear and hdr mode for rv1126 34*4882a593Smuzhiyun *2. add vicap-lite device for rv1126 35*4882a593Smuzhiyun *v0.1.5 36*4882a593Smuzhiyun *1. support crop function 37*4882a593Smuzhiyun *2. fix compile error when config with module 38*4882a593Smuzhiyun *3. support mipi yuv 39*4882a593Smuzhiyun *4. support selection ioctl for cropping 40*4882a593Smuzhiyun *5. support cif compact mode(lvds & mipi) can be set from user space 41*4882a593Smuzhiyun *v0.1.6 42*4882a593Smuzhiyun *1. add cif self-defined ioctrl cmd:V4L2_CID_CIF_DATA_COMPACT 43*4882a593Smuzhiyun *v0.1.7 44*4882a593Smuzhiyun *1. support dvp and mipi/lvds run simultaneously 45*4882a593Smuzhiyun *2. add subdev as interface for isp 46*4882a593Smuzhiyun *3. support hdr_x3 mode 47*4882a593Smuzhiyun *4. support rk1808 mipi interface in kernel-4.19 48*4882a593Smuzhiyun *v0.1.8 49*4882a593Smuzhiyun *1. add proc interface 50*4882a593Smuzhiyun *2. add reset mechanism to resume when csi crc err 51*4882a593Smuzhiyun *3. support bt1120 single path 52*4882a593Smuzhiyun *v0.1.9 53*4882a593Smuzhiyun *1. support rk3568 cif 54*4882a593Smuzhiyun *2. support rk3568 csi-host 55*4882a593Smuzhiyun *3. add dvp sof 56*4882a593Smuzhiyun *4. add extended lines to out image for normal & hdr short frame 57*4882a593Smuzhiyun *5. modify reset mechanism drivered by real-time frame rate 58*4882a593Smuzhiyun *6. support rk356x iommu uses vb2 sg type 59*4882a593Smuzhiyun *7. register cif sd itf when pipeline completed 60*4882a593Smuzhiyun *v0.1.10 61*4882a593Smuzhiyun *1. rv1126/rk356x support bt656/bt1120 multi channels function 62*4882a593Smuzhiyun *2. add dynamic cropping function 63*4882a593Smuzhiyun *3. optimize dts config of cif's pipeline 64*4882a593Smuzhiyun *4. register cif itf dev when clear unready subdev 65*4882a593Smuzhiyun *5. mipi csi host add cru rst 66*4882a593Smuzhiyun *6. support wake up mode with mipi 67*4882a593Smuzhiyun *7. add keepint time to csi2 err for resetting 68*4882a593Smuzhiyun *8. mipi supports pdaf/embedded data 69*4882a593Smuzhiyun *9. mipi supports interlaced capture 70*4882a593Smuzhiyun *v0.2.0 71*4882a593Smuzhiyun *1. vicap support combine multi mipi dev to one dev, this function is mainly used for rk3588 72*4882a593Smuzhiyun */ 73*4882a593Smuzhiyun 74*4882a593Smuzhiyun #define RKCIF_DRIVER_VERSION RKCIF_API_VERSION 75*4882a593Smuzhiyun 76*4882a593Smuzhiyun #endif 77