From: ts_songwei1113_tmp Date: Thu, 15 Nov 2018 06:25:43 +0000 (+0800) Subject: [COMMON] fimc-is2: update sensor 5e9 setting of setC. X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=1657992f6aea092e2ccdf49efd27c7d676058207;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git [COMMON] fimc-is2: update sensor 5e9 setting of setC. Change-Id: I6a2c768d79d8c92dfbde2bf3ace2f4fa98f0a891 Signed-off-by: Wooyeon Kim --- diff --git a/drivers/media/platform/exynos/fimc-is2/sensor/module_framework/modules/fimc-is-device-module-5e9.c b/drivers/media/platform/exynos/fimc-is2/sensor/module_framework/modules/fimc-is-device-module-5e9.c index 3663a248b52a..a23f0dc8021e 100644 --- a/drivers/media/platform/exynos/fimc-is2/sensor/module_framework/modules/fimc-is-device-module-5e9.c +++ b/drivers/media/platform/exynos/fimc-is2/sensor/module_framework/modules/fimc-is-device-module-5e9.c @@ -47,66 +47,6 @@ static struct fimc_is_sensor_cfg config_module_5e9[] = { VC_IN(1, HW_FORMAT_UNKNOWN, 0, 0), VC_OUT(HW_FORMAT_UNKNOWN, VC_NOTHING, 0, 0), VC_IN(2, HW_FORMAT_UNKNOWN, 0, 0), VC_OUT(HW_FORMAT_UNKNOWN, VC_NOTHING, 0, 0), VC_IN(3, HW_FORMAT_UNKNOWN, 0, 0), VC_OUT(HW_FORMAT_UNKNOWN, VC_NOTHING, 0, 0)), - /* 2592x1460@30fps */ - FIMC_IS_SENSOR_CFG(2592, 1460, 30, 0, 1, CSI_DATA_LANES_2, 874, CSI_MODE_VC_ONLY, PD_NONE, - VC_IN(0, HW_FORMAT_RAW10, 2592, 1460), VC_OUT(HW_FORMAT_RAW10, VC_NOTHING, 0, 0), - VC_IN(1, HW_FORMAT_UNKNOWN, 0, 0), VC_OUT(HW_FORMAT_UNKNOWN, VC_NOTHING, 0, 0), - VC_IN(2, HW_FORMAT_UNKNOWN, 0, 0), VC_OUT(HW_FORMAT_UNKNOWN, VC_NOTHING, 0, 0), - VC_IN(3, HW_FORMAT_UNKNOWN, 0, 0), VC_OUT(HW_FORMAT_UNKNOWN, VC_NOTHING, 0, 0)), - /* 2592x1458@30fps */ - FIMC_IS_SENSOR_CFG(2592, 1458, 30, 0, 2, CSI_DATA_LANES_2, 874, CSI_MODE_VC_ONLY, PD_NONE, - VC_IN(0, HW_FORMAT_RAW10, 2592, 1458), VC_OUT(HW_FORMAT_RAW10, VC_NOTHING, 0, 0), - VC_IN(1, HW_FORMAT_UNKNOWN, 0, 0), VC_OUT(HW_FORMAT_UNKNOWN, VC_NOTHING, 0, 0), - VC_IN(2, HW_FORMAT_UNKNOWN, 0, 0), VC_OUT(HW_FORMAT_UNKNOWN, VC_NOTHING, 0, 0), - VC_IN(3, HW_FORMAT_UNKNOWN, 0, 0), VC_OUT(HW_FORMAT_UNKNOWN, VC_NOTHING, 0, 0)), - /* 2592x1260@30fps */ - FIMC_IS_SENSOR_CFG(2592, 1260, 30, 0, 3, CSI_DATA_LANES_2, 874, CSI_MODE_VC_ONLY, PD_NONE, - VC_IN(0, HW_FORMAT_RAW10, 2592, 1260), VC_OUT(HW_FORMAT_RAW10, VC_NOTHING, 0, 0), - VC_IN(1, HW_FORMAT_UNKNOWN, 0, 0), VC_OUT(HW_FORMAT_UNKNOWN, VC_NOTHING, 0, 0), - VC_IN(2, HW_FORMAT_UNKNOWN, 0, 0), VC_OUT(HW_FORMAT_UNKNOWN, VC_NOTHING, 0, 0), - VC_IN(3, HW_FORMAT_UNKNOWN, 0, 0), VC_OUT(HW_FORMAT_UNKNOWN, VC_NOTHING, 0, 0)), - /* 1936x1936@30fps */ - FIMC_IS_SENSOR_CFG(1936, 1936, 30, 0, 4, CSI_DATA_LANES_2, 874, CSI_MODE_VC_ONLY, PD_NONE, - VC_IN(0, HW_FORMAT_RAW10, 1936, 1936), VC_OUT(HW_FORMAT_RAW10, VC_NOTHING, 0, 0), - VC_IN(1, HW_FORMAT_UNKNOWN, 0, 0), VC_OUT(HW_FORMAT_UNKNOWN, VC_NOTHING, 0, 0), - VC_IN(2, HW_FORMAT_UNKNOWN, 0, 0), VC_OUT(HW_FORMAT_UNKNOWN, VC_NOTHING, 0, 0), - VC_IN(3, HW_FORMAT_UNKNOWN, 0, 0), VC_OUT(HW_FORMAT_UNKNOWN, VC_NOTHING, 0, 0)), - /* 2592x1460@24fps */ - FIMC_IS_SENSOR_CFG(2592, 1460, 24, 0, 5, CSI_DATA_LANES_2, 874, CSI_MODE_VC_ONLY, PD_NONE, - VC_IN(0, HW_FORMAT_RAW10, 2592, 1460), VC_OUT(HW_FORMAT_RAW10, VC_NOTHING, 0, 0), - VC_IN(1, HW_FORMAT_UNKNOWN, 0, 0), VC_OUT(HW_FORMAT_UNKNOWN, VC_NOTHING, 0, 0), - VC_IN(2, HW_FORMAT_UNKNOWN, 0, 0), VC_OUT(HW_FORMAT_UNKNOWN, VC_NOTHING, 0, 0), - VC_IN(3, HW_FORMAT_UNKNOWN, 0, 0), VC_OUT(HW_FORMAT_UNKNOWN, VC_NOTHING, 0, 0)), - /* 2592x1458@24fps */ - FIMC_IS_SENSOR_CFG(2592, 1458, 24, 0, 6, CSI_DATA_LANES_2, 874, CSI_MODE_VC_ONLY, PD_NONE, - VC_IN(0, HW_FORMAT_RAW10, 2592, 1458), VC_OUT(HW_FORMAT_RAW10, VC_NOTHING, 0, 0), - VC_IN(1, HW_FORMAT_UNKNOWN, 0, 0), VC_OUT(HW_FORMAT_UNKNOWN, VC_NOTHING, 0, 0), - VC_IN(2, HW_FORMAT_UNKNOWN, 0, 0), VC_OUT(HW_FORMAT_UNKNOWN, VC_NOTHING, 0, 0), - VC_IN(3, HW_FORMAT_UNKNOWN, 0, 0), VC_OUT(HW_FORMAT_UNKNOWN, VC_NOTHING, 0, 0)), - /* 2592x1260@24fps */ - FIMC_IS_SENSOR_CFG(2592, 1260, 24, 0, 7, CSI_DATA_LANES_2, 874, CSI_MODE_VC_ONLY, PD_NONE, - VC_IN(0, HW_FORMAT_RAW10, 2592, 1260), VC_OUT(HW_FORMAT_RAW10, VC_NOTHING, 0, 0), - VC_IN(1, HW_FORMAT_UNKNOWN, 0, 0), VC_OUT(HW_FORMAT_UNKNOWN, VC_NOTHING, 0, 0), - VC_IN(2, HW_FORMAT_UNKNOWN, 0, 0), VC_OUT(HW_FORMAT_UNKNOWN, VC_NOTHING, 0, 0), - VC_IN(3, HW_FORMAT_UNKNOWN, 0, 0), VC_OUT(HW_FORMAT_UNKNOWN, VC_NOTHING, 0, 0)), - /* 1936x1936@24fps */ - FIMC_IS_SENSOR_CFG(1936, 1936, 24, 0, 8, CSI_DATA_LANES_2, 874, CSI_MODE_VC_ONLY, PD_NONE, - VC_IN(0, HW_FORMAT_RAW10, 1936, 1936), VC_OUT(HW_FORMAT_RAW10, VC_NOTHING, 0, 0), - VC_IN(1, HW_FORMAT_UNKNOWN, 0, 0), VC_OUT(HW_FORMAT_UNKNOWN, VC_NOTHING, 0, 0), - VC_IN(2, HW_FORMAT_UNKNOWN, 0, 0), VC_OUT(HW_FORMAT_UNKNOWN, VC_NOTHING, 0, 0), - VC_IN(3, HW_FORMAT_UNKNOWN, 0, 0), VC_OUT(HW_FORMAT_UNKNOWN, VC_NOTHING, 0, 0)), - /* 1296x972@58fps */ - FIMC_IS_SENSOR_CFG(1296, 972, 58, 0, 9, CSI_DATA_LANES_2, 874, CSI_MODE_VC_ONLY, PD_NONE, - VC_IN(0, HW_FORMAT_RAW10, 1296, 972), VC_OUT(HW_FORMAT_RAW10, VC_NOTHING, 0, 0), - VC_IN(1, HW_FORMAT_UNKNOWN, 0, 0), VC_OUT(HW_FORMAT_UNKNOWN, VC_NOTHING, 0, 0), - VC_IN(2, HW_FORMAT_UNKNOWN, 0, 0), VC_OUT(HW_FORMAT_UNKNOWN, VC_NOTHING, 0, 0), - VC_IN(3, HW_FORMAT_UNKNOWN, 0, 0), VC_OUT(HW_FORMAT_UNKNOWN, VC_NOTHING, 0, 0)), - /* 640x480@120fps */ - FIMC_IS_SENSOR_CFG(640, 480, 120, 0, 10, CSI_DATA_LANES_2, 874, CSI_MODE_VC_ONLY, PD_NONE, - VC_IN(0, HW_FORMAT_RAW10, 640, 480), VC_OUT(HW_FORMAT_RAW10, VC_NOTHING, 0, 0), - VC_IN(1, HW_FORMAT_UNKNOWN, 0, 0), VC_OUT(HW_FORMAT_UNKNOWN, VC_NOTHING, 0, 0), - VC_IN(2, HW_FORMAT_UNKNOWN, 0, 0), VC_OUT(HW_FORMAT_UNKNOWN, VC_NOTHING, 0, 0), - VC_IN(3, HW_FORMAT_UNKNOWN, 0, 0), VC_OUT(HW_FORMAT_UNKNOWN, VC_NOTHING, 0, 0)), }; static const struct v4l2_subdev_core_ops core_ops = {