diff options
author | Pavel Machek <pavel@ucw.cz> | 2017-07-13 06:36:59 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2017-07-19 15:46:43 -0400 |
commit | a6b687df8a8742511ae46f4363ac6a0cba0d31b1 (patch) | |
tree | 9de4f5e6cee33e129410f1434e8185b4202c73e3 /drivers/media/platform/omap3isp/ispccp2.c | |
parent | 3a738c3fd8abc5927a9f98a913298c1e6f8a95fe (diff) | |
download | linux-a6b687df8a8742511ae46f4363ac6a0cba0d31b1.tar.bz2 |
media: omap3isp: add CSI1 support
CSI-2 PHY power management is only needed for major version 15 of the ISP.
Additionally, set the CCP2 PHY for previous ISP versions as well.
These changes are necessary for CCP2 support.
Signed-off-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/platform/omap3isp/ispccp2.c')
-rw-r--r-- | drivers/media/platform/omap3isp/ispccp2.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/platform/omap3isp/ispccp2.c b/drivers/media/platform/omap3isp/ispccp2.c index ca095238510d..588f67a89f79 100644 --- a/drivers/media/platform/omap3isp/ispccp2.c +++ b/drivers/media/platform/omap3isp/ispccp2.c @@ -1141,6 +1141,7 @@ int omap3isp_ccp2_init(struct isp_device *isp) "Could not get regulator vdds_csib\n"); ccp2->vdds_csib = NULL; } + ccp2->phy = &isp->isp_csiphy2; } else if (isp->revision == ISP_REVISION_15_0) { ccp2->phy = &isp->isp_csiphy1; } |