camera: rockchip: camsys driver 0.0x21.d
authordalong.zhang <dalon.zhang@rock-chips.com>
Tue, 2 May 2017 08:44:24 +0000 (16:44 +0800)
committerHuang, Tao <huangtao@rock-chips.com>
Tue, 2 May 2017 11:58:01 +0000 (19:58 +0800)
modify mipiphy_hsfreqrange for 3368

Change-Id: I4a9d2d6a28202e734e900f3bb761190842c2948e
Signed-off-by: dalong.zhang <dalon.zhang@rock-chips.com>
drivers/media/video/rk_camsys/camsys_internal.h
drivers/media/video/rk_camsys/camsys_soc_rk3368.c

index 3ae14642f285d3e64c6962cdec28defa2e723221..17068f639fc64461a4430b969383b05612c4e3fd 100644 (file)
        1) some log is boring, so set print level more high.
 *v0.0x21.0xc:
        1) support rk3288.
+*v0.0x21.0xd:
+       1) modify mipiphy_hsfreqrange for 3368.
 */
-#define CAMSYS_DRIVER_VERSION                   KERNEL_VERSION(0, 0x21, 0xc)
+#define CAMSYS_DRIVER_VERSION                   KERNEL_VERSION(0, 0x21, 0xd)
 
 #define CAMSYS_PLATFORM_DRV_NAME                "RockChip-CamSys"
 #define CAMSYS_PLATFORM_MARVIN_NAME             "Platform_MarvinDev"
index a8e47a250a5887ac0b47342654f8f965634b0dd6..2afac1e90386a1dbedc66962cd7e5d7c0a78e119 100644 (file)
@@ -10,45 +10,21 @@ struct mipiphy_hsfreqrange_s {
 };
 
 static struct mipiphy_hsfreqrange_s mipiphy_hsfreqrange[] = {
-       {80, 90, 0x00},
-       {90, 100, 0x10},
-       {100, 110, 0x20},
-       {110, 130, 0x01},
-       {130, 140, 0x11},
-       {140, 150, 0x21},
-       {150, 170, 0x02},
-       {170, 180, 0x12},
-       {180, 200, 0x22},
-       {200, 220, 0x03},
-       {220, 240, 0x13},
-       {240, 250, 0x23},
-       {250, 270, 0x04},
-       {270, 300, 0x14},
-       {300, 330, 0x05},
-       {330, 360, 0x15},
-       {360, 400, 0x25},
-       {400, 450, 0x06},
-       {450, 500, 0x16},
-       {500, 550, 0x07},
-       {550, 600, 0x17},
-       {600, 650, 0x08},
-       {650, 700, 0x18},
-       {700, 750, 0x09},
-       {750, 800, 0x19},
-       {800, 850, 0x29},
-       {850, 900, 0x39},
-       {900, 950, 0x0a},
-       {950, 1000, 0x1a},
-       {1000, 1050, 0x2a},
-       {1100, 1150, 0x3a},
-       {1150, 1200, 0x0b},
-       {1200, 1250, 0x1b},
-       {1250, 1300, 0x2b},
-       {1300, 1350, 0x0c},
-       {1350, 1400, 0x1c},
-       {1400, 1450, 0x2c},
-       {1450, 1500, 0x3c}
-
+       {80, 110, 0x00},
+       {110, 150, 0x01},
+       {150, 200, 0x02},
+       {200, 250, 0x03},
+       {250, 300, 0x04},
+       {300, 400, 0x05},
+       {400, 500, 0x06},
+       {500, 600, 0x07},
+       {600, 700, 0x08},
+       {700, 800, 0x09},
+       {800, 1000, 0x10},
+       {1000, 1200, 0x11},
+       {1200, 1400, 0x12},
+       {1400, 1600, 0x13},
+       {1600, 1800, 0x14}
 };
 
 #if 0