rk2928: a720: camera(gc0308) support
authorkfx <kfx@rock-chips.com>
Wed, 22 Aug 2012 04:36:23 +0000 (12:36 +0800)
committerkfx <kfx@rock-chips.com>
Wed, 22 Aug 2012 04:36:23 +0000 (12:36 +0800)
arch/arm/configs/rk2928_a720_defconfig
arch/arm/mach-rk2928/board-rk2928-a720-camera.c

index 770605c46600aa49a02df513bcbf3a55ece082cc..02cf8a6790451eff027e55741a29fc5256533373 100644 (file)
@@ -226,7 +226,6 @@ CONFIG_INPUT_KEYRESET=y
 CONFIG_INPUT_JOYSTICK=y
 CONFIG_JOYSTICK_XPAD=y
 CONFIG_JOYSTICK_XPAD_FF=y
-CONFIG_JOYSTICK_XPAD_LEDS=y
 CONFIG_INPUT_TABLET=y
 CONFIG_TABLET_USB_ACECAD=y
 CONFIG_TABLET_USB_AIPTEK=y
@@ -268,7 +267,7 @@ CONFIG_RK30_PWM_REGULATOR=y
 CONFIG_MEDIA_SUPPORT=y
 CONFIG_VIDEO_DEV=y
 CONFIG_SOC_CAMERA=y
-CONFIG_SOC_CAMERA_OV2659=y
+CONFIG_SOC_CAMERA_GC0308=y
 CONFIG_VIDEO_RK29=y
 CONFIG_VIDEO_RK29_CAMMEM_ION=y
 CONFIG_ION=y
@@ -288,7 +287,6 @@ CONFIG_RK_LVDS=y
 CONFIG_LOGO=y
 # CONFIG_LOGO_LINUX_MONO is not set
 # CONFIG_LOGO_LINUX_VGA16 is not set
-# CONFIG_LOGO_LINUX_BMP is not set
 CONFIG_SOUND=y
 CONFIG_SND=y
 # CONFIG_SND_SUPPORT_OLD_API is not set
index b92e6b28428ea443b8920cb1b79f88a1d1fbc773..ccb65c2195c55b7ae59e059691b7b01bad37b0dd 100644 (file)
@@ -70,8 +70,8 @@
 #define CONFIG_SENSOR_SVGA_FPS_FIXED_02      15000
 #define CONFIG_SENSOR_720P_FPS_FIXED_02      30000
 
-#define CONFIG_SENSOR_1 RK29_CAM_SENSOR_OV2659                      /* front camera sensor 0 */
-#define CONFIG_SENSOR_IIC_ADDR_1          0x60
+#define CONFIG_SENSOR_1 RK29_CAM_SENSOR_GC0308                      /* front camera sensor 0 */
+#define CONFIG_SENSOR_IIC_ADDR_1          0x42
 #define CONFIG_SENSOR_IIC_ADAPTER_ID_1   1
 #define CONFIG_SENSOR_CIF_INDEX_1                                0
 #define CONFIG_SENSOR_ORIENTATION_1       270