From 151fecfb72a0d602dfe79790602ef64b4e241574 Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Mon, 19 Feb 2024 01:51:07 +0000
Subject: [PATCH] export RK_PA3
---
kernel/include/uapi/linux/rkcif-config.h | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/kernel/include/uapi/linux/rkcif-config.h b/kernel/include/uapi/linux/rkcif-config.h
index a65b5b1..c9b9bbf 100644
--- a/kernel/include/uapi/linux/rkcif-config.h
+++ b/kernel/include/uapi/linux/rkcif-config.h
@@ -36,6 +36,9 @@
#define RKCIF_CMD_SET_CSI_IDX \
_IOW('V', BASE_VIDIOC_PRIVATE + 7, struct rkcif_csi_info)
+#define RKCIF_CMD_SET_QUICK_STREAM \
+ _IOWR('V', BASE_VIDIOC_PRIVATE + 8, struct rkcif_quick_stream_param)
+
/* cif memory mode
* 0: raw12/raw10/raw8 8bit memory compact
* 1: raw12/raw10 16bit memory one pixel
@@ -79,4 +82,10 @@
int dphy_vendor[RKCIF_MAX_CSI_NUM];
};
+struct rkcif_quick_stream_param {
+ int on;
+ __u32 frame_num;
+ int resume_mode;
+};
+
#endif
--
Gitblit v1.6.2