mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
[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 <[email protected]> Acked-by: Tony Lindgren <[email protected]> Signed-off-by: Laurent Pinchart <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
This commit is contained in:
parent
d83501a041
commit
c19d19ebd2
3 changed files with 16 additions and 2 deletions
|
|
@ -102,7 +102,8 @@ static const struct isp_res_mapping isp_res_maps[] = {
|
|||
1 << OMAP3_ISP_IOMEM_RESZ |
|
||||
1 << OMAP3_ISP_IOMEM_SBL |
|
||||
1 << OMAP3_ISP_IOMEM_CSI2A_REGS1 |
|
||||
1 << OMAP3_ISP_IOMEM_CSIPHY2,
|
||||
1 << OMAP3_ISP_IOMEM_CSIPHY2 |
|
||||
1 << OMAP3_ISP_IOMEM_343X_CONTROL_CSIRXFE,
|
||||
},
|
||||
{
|
||||
.isp_rev = ISP_REVISION_15_0,
|
||||
|
|
@ -119,7 +120,8 @@ static const struct isp_res_mapping isp_res_maps[] = {
|
|||
1 << OMAP3_ISP_IOMEM_CSI2A_REGS2 |
|
||||
1 << OMAP3_ISP_IOMEM_CSI2C_REGS1 |
|
||||
1 << OMAP3_ISP_IOMEM_CSIPHY1 |
|
||||
1 << OMAP3_ISP_IOMEM_CSI2C_REGS2,
|
||||
1 << OMAP3_ISP_IOMEM_CSI2C_REGS2 |
|
||||
1 << OMAP3_ISP_IOMEM_3630_CONTROL_CAMERA_PHY_CTRL,
|
||||
},
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -72,6 +72,8 @@ enum isp_mem_resources {
|
|||
OMAP3_ISP_IOMEM_CSI2C_REGS1,
|
||||
OMAP3_ISP_IOMEM_CSIPHY1,
|
||||
OMAP3_ISP_IOMEM_CSI2C_REGS2,
|
||||
OMAP3_ISP_IOMEM_343X_CONTROL_CSIRXFE,
|
||||
OMAP3_ISP_IOMEM_3630_CONTROL_CAMERA_PHY_CTRL,
|
||||
OMAP3_ISP_IOMEM_LAST
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue