From 1543e317f1da31b75942316931e8f491a8920811 Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Thu, 04 Jan 2024 10:08:02 +0000
Subject: [PATCH] disable FB
---
kernel/drivers/media/spi/rk1608_dphy.h | 15 +++++++++++++++
1 files changed, 15 insertions(+), 0 deletions(-)
diff --git a/kernel/drivers/media/spi/rk1608_dphy.h b/kernel/drivers/media/spi/rk1608_dphy.h
index 00af9b1..711b62b 100644
--- a/kernel/drivers/media/spi/rk1608_dphy.h
+++ b/kernel/drivers/media/spi/rk1608_dphy.h
@@ -16,6 +16,7 @@
struct rk1608_fmt_inf {
u32 data_type;
u32 mipi_lane;
+ u32 mipi_lane_out;
u32 hactive;
u32 vactive;
u32 htotal;
@@ -23,6 +24,15 @@
struct v4l2_mbus_framefmt mf;
struct rk1608_chinf in_ch[4];
struct rk1608_chinf out_ch[4];
+ u32 hcrop;
+ u32 vcrop;
+};
+
+struct rk1608_sub_sensor_cfg {
+ u32 id;
+ u32 in_mipi;
+ u32 out_mipi;
+ u32 reserved;
};
struct rk1608_dphy {
@@ -60,6 +70,11 @@
struct rk1608_fmt_inf fmt_inf[RK1608_MAX_FMTINF];
bool first_stream;
+
+ /* for virtual sub sensor */
+ u32 sub_sensor_num;
+ struct rk1608_sub_sensor_cfg sub_sensor[4];
+ struct i2c_client *link_sensor_client;
};
#endif
--
Gitblit v1.6.2