hc
2024-01-03 2f7c68cb55ecb7331f2381deb497c27155f32faf
kernel/drivers/phy/rockchip/phy-rockchip-csi2-dphy-common.h
....@@ -98,8 +98,9 @@
9898 const struct hsfreq_range *hsfreq_ranges_cphy;
9999 int num_hsfreq_ranges_cphy;
100100 const struct grf_reg *grf_regs;
101
- const struct txrx_reg *txrx_regs;
101
+ int num_grf_regs;
102102 const struct csi2dphy_reg *csi2dphy_regs;
103
+ int num_csi2dphy_regs;
103104 void (*individual_init)(struct csi2_dphy_hw *hw);
104105 int (*stream_on)(struct csi2_dphy *dphy, struct v4l2_subdev *sd);
105106 int (*stream_off)(struct csi2_dphy *dphy, struct v4l2_subdev *sd);
....@@ -111,7 +112,6 @@
111112 struct regmap *regmap_grf;
112113 struct regmap *regmap_sys_grf;
113114 const struct grf_reg *grf_regs;
114
- const struct txrx_reg *txrx_regs;
115115 const struct csi2dphy_reg *csi2dphy_regs;
116116 const struct dphy_hw_drv_data *drv_data;
117117 void __iomem *hw_base_addr;
....@@ -130,6 +130,8 @@
130130 int (*stream_off)(struct csi2_dphy *dphy, struct v4l2_subdev *sd);
131131 int (*ttl_mode_enable)(struct csi2_dphy_hw *hw);
132132 void (*ttl_mode_disable)(struct csi2_dphy_hw *hw);
133
+ int (*quick_stream_on)(struct csi2_dphy *dphy, struct v4l2_subdev *sd);
134
+ int (*quick_stream_off)(struct csi2_dphy *dphy, struct v4l2_subdev *sd);
133135 };
134136
135137 int rockchip_csi2_dphy_hw_init(void);