android9适配camera gc02m1
目录
一、kernel驱动
二、效果文件
一、kernel驱动
diff --git a/arch/arm64/configs/rockchip_defconfig b/arch/arm64/configs/rockchip_defconfig
index 0b986002dc83..7977e42014ba 100644
--- a/arch/arm64/configs/rockchip_defconfig
+++ b/arch/arm64/configs/rockchip_defconfig
@@ -963,4 +963,4 @@ CONFIG_ENABLE_DEFAULT_TRACERS=yCONFIG_BUG_ON_DATA_CORRUPTION=yCONFIG_MAXIO_PHY=y
-
+CONFIG_VIDEO_GC02M1=y
diff --git a/drivers/media/i2c/Kconfig b/drivers/media/i2c/Kconfig
index 3d302c3c7287..7859c6944065 100644
--- a/drivers/media/i2c/Kconfig
+++ b/drivers/media/i2c/Kconfig
@@ -1548,6 +1548,17 @@ config VIDEO_GC02M2To compile this driver as a module, choose M here: themodule will be called gc02m2.+config VIDEO_GC02M1
+ tristate "GalaxyCore GC02M1 sensor support"
+ depends on I2C && VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API
+ depends on MEDIA_CAMERA_SUPPORT
+ select V4L2_FWNODE
+ help
+ Support for the GalaxyCore GC02M1 sensor.
+
+ To compile this driver as a module, choose M here: the
+ module will be called gc02m1.
+config VIDEO_GC030Atristate "GalaxyCore GC030A sensor support"depends on I2C && VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API
驱动文件:
driver_media_i2c:gc02m1.c
二、效果文件
1、device_rockchip_rk356x_etc
media_profiles_default.xml
2、device_rockchip_rk356x_etc_camera_hardware_rockchip_camera_etc_camera
camera3_profiles_rk356x.xml
3、external_camera_engine_rkaiq_iqfiles_isp21
gc02m1_default_M216A.json
注:以上文件,请详见我的资源。