1
2
3
4
5
6
7
8
9
10
11
12
13
14 #ifndef OMAP3_ISP_CSI_PHY_H
15 #define OMAP3_ISP_CSI_PHY_H
16
17 #include "omap3isp.h"
18
19 struct isp_csi2_device;
20 struct regulator;
21
22 struct isp_csiphy {
23 struct isp_device *isp;
24 struct mutex mutex;
25 struct isp_csi2_device *csi2;
26 struct regulator *vdd;
27
28 struct media_entity *entity;
29
30
31 unsigned int cfg_regs;
32 unsigned int phy_regs;
33
34 u8 num_data_lanes;
35 };
36
37 int omap3isp_csiphy_acquire(struct isp_csiphy *phy,
38 struct media_entity *entity);
39 void omap3isp_csiphy_release(struct isp_csiphy *phy);
40 int omap3isp_csiphy_init(struct isp_device *isp);
41 void omap3isp_csiphy_cleanup(struct isp_device *isp);
42
43 #endif