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/i2c/maxim4c/maxim4c_mipi_txphy.h | 35 +++++++++++++++++++++++++++++++++++
1 files changed, 35 insertions(+), 0 deletions(-)
diff --git a/kernel/drivers/media/i2c/maxim4c/maxim4c_mipi_txphy.h b/kernel/drivers/media/i2c/maxim4c/maxim4c_mipi_txphy.h
index 759488d..29416be 100644
--- a/kernel/drivers/media/i2c/maxim4c/maxim4c_mipi_txphy.h
+++ b/kernel/drivers/media/i2c/maxim4c/maxim4c_mipi_txphy.h
@@ -53,6 +53,38 @@
u8 vc_ext_en;
u8 clock_master;
u8 clock_mode;
+ u8 ssc_ratio;
+};
+
+struct maxim4c_txphy_timing {
+ /* 0x8A1 */
+ u8 t_hs_przero;
+ u8 t_hs_prep;
+ u8 t_clk_trail;
+ u8 t_clk_przero;
+
+ /* 0x8A2 */
+ u8 t_lpx;
+ u8 t_hs_trail;
+
+ /* 0x8A5 */
+ u8 t_clk_prep;
+
+ /* 0x8A8 */
+ u8 t_lpxesc;
+
+ /* 0x8AE */
+ u8 t_t3_post;
+ u8 t_t3_prep;
+
+ /* 0x905 */
+ u8 csi2_t_pre;
+ /* 0x906 */
+ u8 csi2_t_post;
+ /* 0x907 */
+ u8 csi2_tx_gap;
+ /* 0x908,0x909,0x90A */
+ u32 csi2_twakeup;
};
typedef struct maxim4c_mipi_txphy {
@@ -61,6 +93,9 @@
u8 force_clk0_en; /* DPHY0 enabled as clock */
u8 force_clk3_en; /* DPHY3 enabled as clock */
+ u8 timing_override_en;
+ struct maxim4c_txphy_timing timing;
+
struct maxim4c_txphy_cfg phy_cfg[MAXIM4C_TXPHY_ID_MAX];
} maxim4c_mipi_txphy_t;
--
Gitblit v1.6.2