media: soc_camera: add nt99230 and change parameter of soc_cfg->soc_cfg

Change-Id: Ie82c80483e918dafb3fe5237d20813a514374798
Signed-off-by: Hu Kejun <william.hu@rock-chips.com>
This commit is contained in:
Hu Kejun
2017-10-10 14:29:11 +08:00
committed by Tao Huang
parent a42f179e65
commit 2f261ad2a4
4 changed files with 1088 additions and 0 deletions

View File

@@ -53,3 +53,11 @@ config VIDEO_OV7675
default n
---help---
This is ov7675 camera driver adapt to rockchip cif isp platform.
config VIDEO_NT99230
tristate "nt99230 driver adapt to rockchip cif isp platform"
depends on VIDEO_V4L2 && VIDEO_RK_CIF_ISP10 && I2C
default n
---help---
This is nt99230 hdmi video driver adapt to rockchip cif isp platform.

View File

@@ -6,3 +6,4 @@ obj-$(CONFIG_VIDEO_OV7750) += ov_camera_module.o rk_camera_module.o ov7750_v4l2-
obj-$(CONFIG_VIDEO_TC358749XBG) += tc_camera_module.o rk_camera_module.o tc358749xbg_v4l2-i2c-subdev.o
obj-$(CONFIG_VIDEO_ADV7181) += adv_camera_module.o rk_camera_module.o adv7181_v4l2-i2c-subdev.o
obj-$(CONFIG_VIDEO_OV7675) += ov_camera_module.o rk_camera_module.o ov7675_v4l2-i2c-subdev.o
obj-$(CONFIG_VIDEO_NT99230) += ov_camera_module.o rk_camera_module.o nt99230_v4l2-i2c-subdev.o

File diff suppressed because it is too large Load Diff

View File

@@ -1422,6 +1422,7 @@ int pltfrm_camera_module_set_pm_state(
mclk_para.drv_strength = PLTFRM_DRV_STRENGTH_2;
cfg_para.cmd = PLTFRM_MCLK_CFG;
cfg_para.cfg_para = (void *)&mclk_para;
cfg_para.isp_config = &(soc_cfg->isp_config);
soc_cfg->soc_cfg(&cfg_para);
if (v4l2_subdev_call(sd,