diff options
author | Sakari Ailus <sakari.ailus@iki.fi> | 2012-10-14 06:31:48 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-11-28 07:38:55 -0500 |
commit | c19d19ebd200ad1f982159519017129a5ed6515e (patch) | |
tree | 6cc5f7962832354502f1429bf909435fd8e28767 /drivers/media | |
parent | d83501a0416160cc45e84b6719f7a2784013cf16 (diff) |
[media] omap3isp: Add CSI configuration registers from control block to ISP resources
Add the registers used to configure the CSI-2 receiver PHY on OMAP3430 and
3630 and map them in the ISP driver. The register is part of the control
block but it only is needed by the ISP driver.
Signed-off-by: Sakari Ailus <sakari.ailus@iki.fi>
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media')
-rw-r--r-- | drivers/media/platform/omap3isp/isp.c | 6 | ||||
-rw-r--r-- | drivers/media/platform/omap3isp/isp.h | 2 |
2 files changed, 6 insertions, 2 deletions
diff --git a/drivers/media/platform/omap3isp/isp.c b/drivers/media/platform/omap3isp/isp.c index 99640d8c1db0..5ea5520ff467 100644 --- a/drivers/media/platform/omap3isp/isp.c +++ b/drivers/media/platform/omap3isp/isp.c | |||
@@ -102,7 +102,8 @@ static const struct isp_res_mapping isp_res_maps[] = { | |||
102 | 1 << OMAP3_ISP_IOMEM_RESZ | | 102 | 1 << OMAP3_ISP_IOMEM_RESZ | |
103 | 1 << OMAP3_ISP_IOMEM_SBL | | 103 | 1 << OMAP3_ISP_IOMEM_SBL | |
104 | 1 << OMAP3_ISP_IOMEM_CSI2A_REGS1 | | 104 | 1 << OMAP3_ISP_IOMEM_CSI2A_REGS1 | |
105 | 1 << OMAP3_ISP_IOMEM_CSIPHY2, | 105 | 1 << OMAP3_ISP_IOMEM_CSIPHY2 | |
106 | 1 << OMAP3_ISP_IOMEM_343X_CONTROL_CSIRXFE, | ||
106 | }, | 107 | }, |
107 | { | 108 | { |
108 | .isp_rev = ISP_REVISION_15_0, | 109 | .isp_rev = ISP_REVISION_15_0, |
@@ -119,7 +120,8 @@ static const struct isp_res_mapping isp_res_maps[] = { | |||
119 | 1 << OMAP3_ISP_IOMEM_CSI2A_REGS2 | | 120 | 1 << OMAP3_ISP_IOMEM_CSI2A_REGS2 | |
120 | 1 << OMAP3_ISP_IOMEM_CSI2C_REGS1 | | 121 | 1 << OMAP3_ISP_IOMEM_CSI2C_REGS1 | |
121 | 1 << OMAP3_ISP_IOMEM_CSIPHY1 | | 122 | 1 << OMAP3_ISP_IOMEM_CSIPHY1 | |
122 | 1 << OMAP3_ISP_IOMEM_CSI2C_REGS2, | 123 | 1 << OMAP3_ISP_IOMEM_CSI2C_REGS2 | |
124 | 1 << OMAP3_ISP_IOMEM_3630_CONTROL_CAMERA_PHY_CTRL, | ||
123 | }, | 125 | }, |
124 | }; | 126 | }; |
125 | 127 | ||
diff --git a/drivers/media/platform/omap3isp/isp.h b/drivers/media/platform/omap3isp/isp.h index 8be7487c326f..6fed2228e780 100644 --- a/drivers/media/platform/omap3isp/isp.h +++ b/drivers/media/platform/omap3isp/isp.h | |||
@@ -72,6 +72,8 @@ enum isp_mem_resources { | |||
72 | OMAP3_ISP_IOMEM_CSI2C_REGS1, | 72 | OMAP3_ISP_IOMEM_CSI2C_REGS1, |
73 | OMAP3_ISP_IOMEM_CSIPHY1, | 73 | OMAP3_ISP_IOMEM_CSIPHY1, |
74 | OMAP3_ISP_IOMEM_CSI2C_REGS2, | 74 | OMAP3_ISP_IOMEM_CSI2C_REGS2, |
75 | OMAP3_ISP_IOMEM_343X_CONTROL_CSIRXFE, | ||
76 | OMAP3_ISP_IOMEM_3630_CONTROL_CAMERA_PHY_CTRL, | ||
75 | OMAP3_ISP_IOMEM_LAST | 77 | OMAP3_ISP_IOMEM_LAST |
76 | }; | 78 | }; |
77 | 79 | ||