diff options
author | Sakari Ailus <sakari.ailus@iki.fi> | 2011-10-10 13:13:26 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-05-14 07:50:23 -0400 |
commit | fe6adc1991b6ce0f6d1c4ca74ec9f02d2d8cb3b4 (patch) | |
tree | 8639dbb667311cfc2d8ccc132a16f927045c5ba1 /drivers/media/video/omap3isp | |
parent | da39257f0bc5a5780735abb8c8031e20a701d49a (diff) |
[media] omap3isp: Add lane configuration to platform data
Add lane configuration (order of clock and data lane) to platform data on
both CCP2 and CSI-2.
Signed-off-by: Sakari Ailus <sakari.ailus@iki.fi>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/omap3isp')
-rw-r--r-- | drivers/media/video/omap3isp/ispcsiphy.h | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/drivers/media/video/omap3isp/ispcsiphy.h b/drivers/media/video/omap3isp/ispcsiphy.h index 9596dc6830a6..e93a661e65d9 100644 --- a/drivers/media/video/omap3isp/ispcsiphy.h +++ b/drivers/media/video/omap3isp/ispcsiphy.h | |||
@@ -27,22 +27,11 @@ | |||
27 | #ifndef OMAP3_ISP_CSI_PHY_H | 27 | #ifndef OMAP3_ISP_CSI_PHY_H |
28 | #define OMAP3_ISP_CSI_PHY_H | 28 | #define OMAP3_ISP_CSI_PHY_H |
29 | 29 | ||
30 | #include <media/omap3isp.h> | ||
31 | |||
30 | struct isp_csi2_device; | 32 | struct isp_csi2_device; |
31 | struct regulator; | 33 | struct regulator; |
32 | 34 | ||
33 | struct csiphy_lane { | ||
34 | u8 pos; | ||
35 | u8 pol; | ||
36 | }; | ||
37 | |||
38 | #define ISP_CSIPHY2_NUM_DATA_LANES 2 | ||
39 | #define ISP_CSIPHY1_NUM_DATA_LANES 1 | ||
40 | |||
41 | struct isp_csiphy_lanes_cfg { | ||
42 | struct csiphy_lane data[ISP_CSIPHY2_NUM_DATA_LANES]; | ||
43 | struct csiphy_lane clk; | ||
44 | }; | ||
45 | |||
46 | struct isp_csiphy_dphy_cfg { | 35 | struct isp_csiphy_dphy_cfg { |
47 | u8 ths_term; | 36 | u8 ths_term; |
48 | u8 ths_settle; | 37 | u8 ths_settle; |