Patchwork [Lucid,GIT,PULL] Sync with Marvell Dove LSP 5.3.5

login
register
mail settings
Submitter Eric Miao
Date Sept. 21, 2010, 10:58 a.m.
Message ID <AANLkTinTf2hKrbpLMECBSiZ26k-a-+8tyH89KMVvbxxp@mail.gmail.com>
Download mbox | patch
Permalink /patch/65298/
State Accepted
Delegated to: Brad Figg
Headers show

Comments

Eric Miao - Sept. 21, 2010, 10:58 a.m.
Another 15 patches to sync with Marvell Dove LSP 5.3.5. I'm attaching the
patches for easy review.

Smoke tested on Dove-DB.

The following changes since commit 5b1310bb7b64297e14e134b45fd793126c1f7714:
  Eric Miao (1):
        UBUNTU: Sync config with LSP 5.3.4

are available in the git repository at:

  git://kernel.ubuntu.com/ycmiao/ubuntu-lucid.git mvl-dove

Chase Douglas (2):
      mvl-dove: statically generate mv_hal_drivers makefiles
      dove: fix mv hal pmu Makefile include paths

Eric Miao (2):
      dove: use '-1' as initial value for the previously used I2C port ID
      GC600: sync driver to commit 0badbab7e3f62df72a27bf8d8f1b04976ab1c299

Green Wan (2):
      dove-rd-avng: LCD0 should use extclk#1, and LCD1 uses internal refclk.
      dove-rd-avng: Add IDT support if chip is Dove A0 or above

Saeed Bishara (9):
      USB gadget: allow the USB_GADGET_VBUS_DRAW range to be 0
      dove: set the USB_GADGET_VBUS_DRAW to 0
      usb dove: update usb phy registers
      cmd line partitions: use 64 bit variables to detect
partitions/offsets larger than 4G.
      USB dove: enable USB voltage fix in device mode
      v4l cafe_ccic: configure the sensor on resume when doing steaming
      cafe camera: fix data type of saturation field in the ov7670 sensor driver
      ov7670: fix bug in resolving brightness value
      ov7670: tune QVGA paramters to eliminate green line on left side

 arch/arm/configs/dove_defconfig                    |    6 +-
 arch/arm/mach-dove/dove-rd-avng-setup.c            |   32 +-
 .../galcore_ko_src/Android.mk.def                  |   92 +
 .../gc600_driver_dove/galcore_ko_src/Makefile      |  102 +-
 .../unified/hal/kernel/gc_hal_kernel_hardware.c    | 3559 ++++++++++++
 .../unified/hal/kernel/gc_hal_kernel_hardware.h    |   90 +
 .../arch/unified/hal/kernel/makefile.linux         |   55 +
 .../gc600_driver_dove/galcore_ko_src/common.node   |    9 +-
 .../gc600_driver_dove/galcore_ko_src/common.target |   47 +-
 .../gc600_driver_dove/galcore_ko_src/config        |   12 +-
 .../galcore_ko_src/hal/inc/gc_hal.h                | 1642 ++++++
 .../galcore_ko_src/hal/inc/gc_hal_base.h           | 2630 +++++++++
 .../galcore_ko_src/hal/inc/gc_hal_compiler.h       | 1841 +++++++
 .../galcore_ko_src/hal/inc/gc_hal_driver.h         |  634 +++
 .../galcore_ko_src/hal/inc/gc_hal_dump.h           |   90 +
 .../galcore_ko_src/hal/inc/gc_hal_engine.h         | 1593 ++++++
 .../galcore_ko_src/hal/inc/gc_hal_enum.h           |  534 ++
 .../galcore_ko_src/hal/inc/gc_hal_mem.h            |  472 ++
 .../galcore_ko_src/hal/inc/gc_hal_options.h        |  326 ++
 .../galcore_ko_src/hal/inc/gc_hal_profiler.h       |  232 +
 .../galcore_ko_src/hal/inc/gc_hal_raster.h         |  792 +++
 .../galcore_ko_src/hal/inc/gc_hal_types.h          |  543 ++
 .../galcore_ko_src/hal/kernel/gc_hal_kernel.c      | 1162 ++++
 .../galcore_ko_src/hal/kernel/gc_hal_kernel.h      |  411 ++
 .../hal/kernel/gc_hal_kernel_command.c             | 2045 +++++++
 .../hal/kernel/gc_hal_kernel_event.c               | 1545 ++++++
 .../galcore_ko_src/hal/kernel/gc_hal_kernel_heap.c | 1056 ++++
 .../galcore_ko_src/hal/kernel/gc_hal_kernel_mmu.c  |  928 ++++
 .../hal/kernel/gc_hal_kernel_precomp.h             |   32 +
 .../hal/kernel/gc_hal_kernel_video_memory.c        | 1745 ++++++
 .../galcore_ko_src/hal/kernel/makefile.linux       |   59 +
 .../galcore_ko_src/hal/makefile.linux              |   46 +
 .../hal/os/linux/kernel/gc_hal_kernel_debug.c      |  449 ++
 .../hal/os/linux/kernel/gc_hal_kernel_device.c     |  919 ++++
 .../hal/os/linux/kernel/gc_hal_kernel_device.h     |  209 +
 .../hal/os/linux/kernel/gc_hal_kernel_driver.c     | 1752 ++++++
 .../hal/os/linux/kernel/gc_hal_kernel_linux.c      |  411 ++
 .../hal/os/linux/kernel/gc_hal_kernel_linux.h      |   90 +
 .../hal/os/linux/kernel/gc_hal_kernel_os.c         | 5722 ++++++++++++++++++++
 .../hal/os/linux/kernel/gc_hal_kernel_os.h         |  106 +
 .../galcore_ko_src/hal/user/gc_hal_user.h          | 2312 ++++++++
 .../galcore_ko_src/hal/user/gc_hal_user_brush.h    |  139 +
 .../galcore_ko_src/hal/user/gc_hal_user_compiler.h |  661 +++
 .../galcore_ko_src/hal/user/gc_hal_user_context.h  |  165 +
 .../galcore_ko_src/hal/user/gc_hal_user_precomp.h  |   36 +
 .../galcore_ko_src/hal/user/gc_hal_user_queue.h    |    1 +
 .../gc600_driver_dove/galcore_ko_src/makefile      |   35 +
 .../galcore_ko_src/makefile.linux.def              |  347 ++
 .../mv_hal_support/config/mvSysHwConfig.h          |    2 +-
 arch/arm/mach-dove/mv_hal_support/mvKW_HAL_glue.c  |   42 +
 arch/arm/mach-dove/mv_hal_support/mvKW_HAL_glue.h  |    3 +-
 arch/arm/mach-dove/twsi.c                          |    5 +-
 arch/arm/plat-orion/mv_hal_drivers/Makefile        |    5 +-
 arch/arm/plat-orion/mv_hal_drivers/common/Makefile |    6 +
 .../plat-orion/mv_hal_drivers/common/mvDeviceId.h  |   33 +-
 .../plat-orion/mv_hal_drivers/linux_oss/Makefile   |    4 +
 .../mv_drivers_lsp/mv_udc/mv_udc_main.c            |   18 +-
 .../mv_hal_drivers/mv_hal/audio/Makefile           |    4 +
 .../mv_hal_drivers/mv_hal/cesa/AES/Makefile        |    5 +
 .../plat-orion/mv_hal_drivers/mv_hal/cesa/Makefile |    8 +
 .../mv_hal_drivers/mv_hal/ddr/ddrmc/Makefile       |    4 +
 .../mv_hal_drivers/mv_hal/eth-phy/Makefile         |    4 +
 .../mv_hal_drivers/mv_hal/eth/gbe/Makefile         |    5 +
 .../plat-orion/mv_hal_drivers/mv_hal/nfc/Makefile  |    4 +
 .../plat-orion/mv_hal_drivers/mv_hal/pdma/Makefile |    4 +
 .../plat-orion/mv_hal_drivers/mv_hal/pmu/Makefile  |    7 +
 .../mv_hal_drivers/mv_hal/sata/CoreDriver/Makefile |    6 +
 .../plat-orion/mv_hal_drivers/mv_hal/usb/Makefile  |    4 +
 .../plat-orion/mv_hal_drivers/mv_hal/usb/mvUsb.c   |  187 +-
 drivers/media/video/cafe_ccic.c                    |    3 +-
 drivers/media/video/ov7670.c                       |   10 +-
 drivers/mtd/cmdlinepart.c                          |   12 +-
 drivers/usb/gadget/Kconfig                         |    3 +-
 73 files changed, 37936 insertions(+), 168 deletions(-)
 create mode 100644
arch/arm/mach-dove/gc600_driver_dove/galcore_ko_src/Android.mk.def
 create mode 100644
arch/arm/mach-dove/gc600_driver_dove/galcore_ko_src/arch/unified/hal/kernel/gc_hal_kernel_hardware.c
 create mode 100644
arch/arm/mach-dove/gc600_driver_dove/galcore_ko_src/arch/unified/hal/kernel/gc_hal_kernel_hardware.h
 create mode 100644
arch/arm/mach-dove/gc600_driver_dove/galcore_ko_src/arch/unified/hal/kernel/makefile.linux
 mode change 100644 => 100755
arch/arm/mach-dove/gc600_driver_dove/galcore_ko_src/common.node
 mode change 100644 => 100755
arch/arm/mach-dove/gc600_driver_dove/galcore_ko_src/common.target
 mode change 100644 => 100755
arch/arm/mach-dove/gc600_driver_dove/galcore_ko_src/config
 create mode 100644
arch/arm/mach-dove/gc600_driver_dove/galcore_ko_src/hal/inc/gc_hal.h
 create mode 100644
arch/arm/mach-dove/gc600_driver_dove/galcore_ko_src/hal/inc/gc_hal_base.h
 create mode 100644
arch/arm/mach-dove/gc600_driver_dove/galcore_ko_src/hal/inc/gc_hal_compiler.h
 create mode 100644
arch/arm/mach-dove/gc600_driver_dove/galcore_ko_src/hal/inc/gc_hal_driver.h
 create mode 100644
arch/arm/mach-dove/gc600_driver_dove/galcore_ko_src/hal/inc/gc_hal_dump.h
 create mode 100644
arch/arm/mach-dove/gc600_driver_dove/galcore_ko_src/hal/inc/gc_hal_engine.h
 create mode 100644
arch/arm/mach-dove/gc600_driver_dove/galcore_ko_src/hal/inc/gc_hal_enum.h
 create mode 100644
arch/arm/mach-dove/gc600_driver_dove/galcore_ko_src/hal/inc/gc_hal_mem.h
 create mode 100644
arch/arm/mach-dove/gc600_driver_dove/galcore_ko_src/hal/inc/gc_hal_options.h
 create mode 100644
arch/arm/mach-dove/gc600_driver_dove/galcore_ko_src/hal/inc/gc_hal_profiler.h
 create mode 100644
arch/arm/mach-dove/gc600_driver_dove/galcore_ko_src/hal/inc/gc_hal_raster.h
 create mode 100644
arch/arm/mach-dove/gc600_driver_dove/galcore_ko_src/hal/inc/gc_hal_types.h
 create mode 100644
arch/arm/mach-dove/gc600_driver_dove/galcore_ko_src/hal/kernel/gc_hal_kernel.c
 create mode 100644
arch/arm/mach-dove/gc600_driver_dove/galcore_ko_src/hal/kernel/gc_hal_kernel.h
 create mode 100644
arch/arm/mach-dove/gc600_driver_dove/galcore_ko_src/hal/kernel/gc_hal_kernel_command.c
 create mode 100644
arch/arm/mach-dove/gc600_driver_dove/galcore_ko_src/hal/kernel/gc_hal_kernel_event.c
 create mode 100644
arch/arm/mach-dove/gc600_driver_dove/galcore_ko_src/hal/kernel/gc_hal_kernel_heap.c
 create mode 100644
arch/arm/mach-dove/gc600_driver_dove/galcore_ko_src/hal/kernel/gc_hal_kernel_mmu.c
 create mode 100644
arch/arm/mach-dove/gc600_driver_dove/galcore_ko_src/hal/kernel/gc_hal_kernel_precomp.h
 create mode 100644
arch/arm/mach-dove/gc600_driver_dove/galcore_ko_src/hal/kernel/gc_hal_kernel_video_memory.c
 create mode 100644
arch/arm/mach-dove/gc600_driver_dove/galcore_ko_src/hal/kernel/makefile.linux
 create mode 100644
arch/arm/mach-dove/gc600_driver_dove/galcore_ko_src/hal/makefile.linux
 create mode 100644
arch/arm/mach-dove/gc600_driver_dove/galcore_ko_src/hal/os/linux/kernel/gc_hal_kernel_debug.c
 create mode 100644
arch/arm/mach-dove/gc600_driver_dove/galcore_ko_src/hal/os/linux/kernel/gc_hal_kernel_device.c
 create mode 100644
arch/arm/mach-dove/gc600_driver_dove/galcore_ko_src/hal/os/linux/kernel/gc_hal_kernel_device.h
 create mode 100644
arch/arm/mach-dove/gc600_driver_dove/galcore_ko_src/hal/os/linux/kernel/gc_hal_kernel_driver.c
 create mode 100644
arch/arm/mach-dove/gc600_driver_dove/galcore_ko_src/hal/os/linux/kernel/gc_hal_kernel_linux.c
 create mode 100644
arch/arm/mach-dove/gc600_driver_dove/galcore_ko_src/hal/os/linux/kernel/gc_hal_kernel_linux.h
 create mode 100644
arch/arm/mach-dove/gc600_driver_dove/galcore_ko_src/hal/os/linux/kernel/gc_hal_kernel_os.c
 create mode 100644
arch/arm/mach-dove/gc600_driver_dove/galcore_ko_src/hal/os/linux/kernel/gc_hal_kernel_os.h
 create mode 100644
arch/arm/mach-dove/gc600_driver_dove/galcore_ko_src/hal/user/gc_hal_user.h
 create mode 100644
arch/arm/mach-dove/gc600_driver_dove/galcore_ko_src/hal/user/gc_hal_user_brush.h
 create mode 100644
arch/arm/mach-dove/gc600_driver_dove/galcore_ko_src/hal/user/gc_hal_user_compiler.h
 create mode 100644
arch/arm/mach-dove/gc600_driver_dove/galcore_ko_src/hal/user/gc_hal_user_context.h
 create mode 100644
arch/arm/mach-dove/gc600_driver_dove/galcore_ko_src/hal/user/gc_hal_user_precomp.h
 create mode 100644
arch/arm/mach-dove/gc600_driver_dove/galcore_ko_src/hal/user/gc_hal_user_queue.h
 create mode 100644 arch/arm/mach-dove/gc600_driver_dove/galcore_ko_src/makefile
 create mode 100644
arch/arm/mach-dove/gc600_driver_dove/galcore_ko_src/makefile.linux.def
 create mode 100644 arch/arm/plat-orion/mv_hal_drivers/common/Makefile
 create mode 100644 arch/arm/plat-orion/mv_hal_drivers/linux_oss/Makefile
 create mode 100644 arch/arm/plat-orion/mv_hal_drivers/mv_hal/audio/Makefile
 create mode 100644 arch/arm/plat-orion/mv_hal_drivers/mv_hal/cesa/AES/Makefile
 create mode 100644 arch/arm/plat-orion/mv_hal_drivers/mv_hal/cesa/Makefile
 create mode 100644 arch/arm/plat-orion/mv_hal_drivers/mv_hal/ddr/ddrmc/Makefile
 create mode 100644 arch/arm/plat-orion/mv_hal_drivers/mv_hal/eth-phy/Makefile
 create mode 100644 arch/arm/plat-orion/mv_hal_drivers/mv_hal/eth/gbe/Makefile
 create mode 100644 arch/arm/plat-orion/mv_hal_drivers/mv_hal/nfc/Makefile
 create mode 100644 arch/arm/plat-orion/mv_hal_drivers/mv_hal/pdma/Makefile
 create mode 100644 arch/arm/plat-orion/mv_hal_drivers/mv_hal/pmu/Makefile
 create mode 100644
arch/arm/plat-orion/mv_hal_drivers/mv_hal/sata/CoreDriver/Makefile
 create mode 100644 arch/arm/plat-orion/mv_hal_drivers/mv_hal/usb/Makefile

Patch

From d6d42a5455a938c6be9015974d4f6f9ca4b77e95 Mon Sep 17 00:00:00 2001
From: Saeed Bishara <saeed@marvell.com>
Date: Mon, 13 Sep 2010 10:44:20 +0200
Subject: [PATCH 15/15] ov7670: tune QVGA paramters to eliminate green line on left side

http://bugs.launchpad.net/bugs/643505

Signed-off-by: Saeed Bishara <saeed@marvell.com>
Signed-off-by: Eric Miao <eric.miao@canonical.com>
---
 drivers/media/video/ov7670.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/media/video/ov7670.c b/drivers/media/video/ov7670.c
index d5c8b4d..0710720 100755
--- a/drivers/media/video/ov7670.c
+++ b/drivers/media/video/ov7670.c
@@ -644,9 +644,9 @@  static struct ov7670_win_size {
 		.width		= QVGA_WIDTH,
 		.height		= QVGA_HEIGHT,
 		.com7_bit	= COM7_FMT_QVGA,
-		.hstart		= 164,		/* Empirically determined */
-		.hstop		=  20,
-		.vstart		=  14,
+		.hstart		= 172,		/* Empirically determined */
+		.hstop		=  32,
+		.vstart		=  13,
 		.vstop		= 494,
 		.regs 		= NULL,
 	},
-- 
1.7.0.4