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/phy/rockchip/phy-rockchip-csi2-dphy-common.h |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/kernel/drivers/phy/rockchip/phy-rockchip-csi2-dphy-common.h b/kernel/drivers/phy/rockchip/phy-rockchip-csi2-dphy-common.h
index 3811d6f..7af000b 100644
--- a/kernel/drivers/phy/rockchip/phy-rockchip-csi2-dphy-common.h
+++ b/kernel/drivers/phy/rockchip/phy-rockchip-csi2-dphy-common.h
@@ -98,8 +98,9 @@
 	const struct hsfreq_range *hsfreq_ranges_cphy;
 	int num_hsfreq_ranges_cphy;
 	const struct grf_reg *grf_regs;
-	const struct txrx_reg *txrx_regs;
+	int num_grf_regs;
 	const struct csi2dphy_reg *csi2dphy_regs;
+	int num_csi2dphy_regs;
 	void (*individual_init)(struct csi2_dphy_hw *hw);
 	int (*stream_on)(struct csi2_dphy *dphy, struct v4l2_subdev *sd);
 	int (*stream_off)(struct csi2_dphy *dphy, struct v4l2_subdev *sd);
@@ -111,7 +112,6 @@
 	struct regmap *regmap_grf;
 	struct regmap *regmap_sys_grf;
 	const struct grf_reg *grf_regs;
-	const struct txrx_reg *txrx_regs;
 	const struct csi2dphy_reg *csi2dphy_regs;
 	const struct dphy_hw_drv_data *drv_data;
 	void __iomem *hw_base_addr;
@@ -130,6 +130,8 @@
 	int (*stream_off)(struct csi2_dphy *dphy, struct v4l2_subdev *sd);
 	int (*ttl_mode_enable)(struct csi2_dphy_hw *hw);
 	void (*ttl_mode_disable)(struct csi2_dphy_hw *hw);
+	int (*quick_stream_on)(struct csi2_dphy *dphy, struct v4l2_subdev *sd);
+	int (*quick_stream_off)(struct csi2_dphy *dphy, struct v4l2_subdev *sd);
 };
 
 int rockchip_csi2_dphy_hw_init(void);

--
Gitblit v1.6.2