添加一款新摄像头流程
1添加sensor kernel driver, 主要实现上电、rst、pwd、mclk等power setting,sensor prob & sensor i2c driver prob 和 v4l2_subdev 注册
\kernel\drivers\media\platform\msm\camera_v2\sensor\ov5648.c
2 添加编译选项
obj-$(CONFIG_OV5648)+= ov5648.o
kernel\drivers\media\platform\msm\camera_v2\sensor\Makefile
3 添加编译开关
CONFIG_OV5648=y
kernel/arch/arm/configs/msm8974_defconfig
kernel/arch/arm/configs/msm8974-perf_defconfig
config OV5648
bool "Sensor OV5648 (BAYER 5M)"
depends on MSMB_CAMERA
---help---
OmniVision 5 MP Bayer Sensor,supports 2 mipi lanes,
preview and snapshot config at1932 * 1092 at 30 fps,
hfr video at 60, 90 and 120 fps.This sensor driver does
not support auto focus.
kernel/drivers/media/platfo