aboutsummaryrefslogtreecommitdiff
path: root/drivers/media/platform/hisi/isp/isp-csiphy.h
diff options
context:
space:
mode:
authorManivannan Sadhasivam <manivannan.sadhasivam@linaro.org>2018-11-23 21:22:37 +0530
committerManivannan Sadhasivam <manivannan.sadhasivam@linaro.org>2018-11-23 21:22:37 +0530
commite89b90550f3bfdf483d472e0723bcb8b57ecdd34 (patch)
tree640081094a96332d3a4b94732e881ed23e2c1a4c /drivers/media/platform/hisi/isp/isp-csiphy.h
parentd68335c072a803e002b21519e5ca27269e8a0bfe (diff)
download96b-common-e89b90550f3bfdf483d472e0723bcb8b57ecdd34.tar.gz
media: hisi: ISP: Add video device and some cleanupshikey_v4l2_4.15
Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Diffstat (limited to 'drivers/media/platform/hisi/isp/isp-csiphy.h')
-rw-r--r--drivers/media/platform/hisi/isp/isp-csiphy.h19
1 files changed, 2 insertions, 17 deletions
diff --git a/drivers/media/platform/hisi/isp/isp-csiphy.h b/drivers/media/platform/hisi/isp/isp-csiphy.h
index 2382ca2de585..77941bbf6fcd 100644
--- a/drivers/media/platform/hisi/isp/isp-csiphy.h
+++ b/drivers/media/platform/hisi/isp/isp-csiphy.h
@@ -88,25 +88,9 @@
#define LANE3_DESKEW_2 (0x6B)
#define LANE3_DESKEW_3 (0x6C)
-struct csiphy_lane {
- u8 pos;
- u8 pol;
-};
-
-struct csiphy_lanes_cfg {
- int num_data;
- struct csiphy_lane *data;
- struct csiphy_lane clk;
-};
-
-struct csiphy_csi2_cfg {
- struct csiphy_lanes_cfg lane_cfg;
-};
-
struct csiphy_config {
- u8 combo_mode;
u8 csid_id;
- struct csiphy_csi2_cfg *csi2;
+ int num_data;
};
struct csiphy_device;
@@ -146,4 +130,5 @@ int isp_csiphy_register_entity(struct csiphy_device *csiphy,
void isp_csiphy_unregister_entity(struct csiphy_device *csiphy);
+void isp_ispss_clk_enable(struct isp *isp);
#endif /* HISI_ISP_CSIPHY_H */