Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit fed4029d authored by Stephen Boyd's avatar Stephen Boyd
Browse files

msm: camera: Add msm camera support



Contains the following:

commit 85a28502e0308cdd8994c654f3166b6edd314322
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Tue Dec 18 10:49:54 2012 -0800

    camera: Flush event queue for config node before unsubscribe.

    A msm_isp_event_ctrl structure may be attached to a v4l2_event
    entry. Before unsubscribing from the event queue, we need to
    go through the queue and flush all the entries.

    If we leave it to v4l2_event_unsubscribe, msm_isp_event_ctrl
    will be leaked.

    CRs-Fixed: 433808
    Change-Id: I4e7187093c6aa11c64d83a00c310f773a6067f14
Signed-off-by: default avatarShuzhen Wang <shuzhenw@codeaurora.org>

commit 486846820740c2cafea0c06442a3440ecb70b4d3
Author: Pawan Kumar <pavaku@codeaurora.org>
Date:   Fri Dec 21 16:55:24 2012 +0530

    msm-fb: v4l2: Add user pointer support using ION for mdp3 target

    -Add multi-planar user pointer support in msm v4l2 display driver
    using multiple ION fd's (2 fd's in case of mdp3).
    -Handle multi-buffer use case using memory offset along with ION
    fd to calculate physical address.

    Change-Id: I1352512cbdfb9cf2c9fc20968416d369337e433b
Signed-off-by: default avatarPawan Kumar <pavaku@codeaurora.org>

commit 3333c85b7dfc7d1b57426ab331461942600d1c28
Author: Punit Soni <punits@codeaurora.org>
Date:   Wed Oct 10 16:51:52 2012 -0700

    msm: camera: Support imx135 bayer version

    IMX135 sensor driver to support the bayer module.
    DW9714 autofocus actuator is enabled

    Change-Id: Ifca80b0da07e15e29927e7165370238dfd05c0b0
Signed-off-by: default avatarPunit Soni <punits@codeaurora.org>

commit c258cd8dae56a95e2bc3a299501f1e988bfac113
Author: Kiran Kumar H N <hurlisal@codeaurora.org>
Date:   Tue Dec 11 12:42:22 2012 -0800

    msm: camera: Check for valid mctl handle before using it.

    Everytime we get the mctl handle, check if its valid or not
    to avoid null ptr dereferences.

    Change-Id: I94f63edb90765387c719f4355a5c6ddd2c19bee6
Signed-off-by: default avatarKiran Kumar H N <hurlisal@codeaurora.org>

commit c0822cd055ac8c09f28747aac2dd4853c58266bd
Author: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>
Date:   Wed Nov 14 14:25:57 2012 -0800

    msm: camera: Add LED trigger flash driver for 8974

    Add LED trigger flash driver for back camera on 8974. Create
    LED trigger client, read hardware parameters from device tree,
    use it to configure LED flash using LED trigger event API.

    Change-Id: I8c8b7bd5a07b2d37dfe5365a0e83b9162c284c6c
Signed-off-by: default avatarSreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>

commit cef6e5ca81da938b0920865f6ed871b67851063d
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Thu Nov 8 16:45:35 2012 -0800

    msm: camera: Update VFE 4.0 VBIF settings

    Fix VBIF settings mismatch to improve bus efficiency.

    Change-Id: Iab7b61549f69168bb18df9da7c1525a8b9f881f1
Signed-off-by: default avatarKevin Chan <ktchan@codeaurora.org>

commit e3ee3a3aafae950b329970b8d0f104bee09025fd
Author: Ashwini Rao <ashwinik@codeaurora.org>
Date:   Thu Nov 8 16:59:26 2012 -0800

    msm: camera: Update VBIF register settings in JPEG driver

    Fix VBIF settings mismatch with configMon in the JPEG
    encoder/decoder driver

    Change-Id: I88053cf1b7b6acbc8a8226c369d63a56bd9e0840
Signed-off-by: default avatarAshwini Rao <ashwinik@codeaurora.org>

commit dee14bc0c950a18e8fcf305e6072ff43f7ebf83d
Author: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>
Date:   Wed Nov 14 14:24:19 2012 -0800

    arm/dt: camera: Add LED flash support for camera

    For 8974 fluid, pm8941 2A flash is attached to S5K3L1YX sensor.
    Add LED flash device node in sensor device nodes and parse its properties
    in sensor driver.

    Change-Id: Iaefd5c3f1ccdaa81ebd85ae173b33b10a83827f3
Signed-off-by: default avatarSreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>

commit 24b4787b8657080339265468fd8191a2baa4f80f
Author: Kiran Kumar H N <hurlisal@codeaurora.org>
Date:   Mon Nov 19 19:06:02 2012 -0800

    msm: camera: Update the status of the ctrlcmd to userspace

    When the cmd sent by HAL is notified to the daemon, copy the
    result of the processing of that ctrl command like status, back
    to the userspace.

    Change-Id: I6209981fb18abd7d4bd55e1f6525998f7fa14ddf
    CRs-Fixed: 411688
Signed-off-by: default avatarKiran Kumar H N <hurlisal@codeaurora.org>

commit c0b42559aa2d1543435b7fee500887cc86c71f3f
Author: Kiran Kumar H N <hurlisal@codeaurora.org>
Date:   Sat Nov 17 13:02:08 2012 -0800

    msm: camera: Add missing unsubscribe function in server ops.

    The entry for unsubsribe_event function is missing from the server ops
    table. Add this entry and point to the correct implementation of the
    function.

    Change-Id: I083213f546556723167a088e0c64c5a20f3295c0
    CRs-Fixed: 399710
Signed-off-by: default avatarKiran Kumar H N <hurlisal@codeaurora.org>

commit 22370438df34a0bd0039a565d47925bc47bfa133
Author: Kiran Kumar H N <hurlisal@codeaurora.org>
Date:   Mon Nov 5 20:08:10 2012 -0800

    msm: camera: Update bandwidth requirement for 8x30.

    8x30 hardware configuration is slightly lower compared
    to 8960/8064. So the bus bandwidth figures need to be
    adjusted to avoid bus overflow issues seen in different
    camera usecases.

    Change-Id: I385b1132130affb676ca8199d4b887b7ecafaae3
Signed-off-by: default avatarKiran Kumar H N <hurlisal@codeaurora.org>

commit 7f723dc68499812c492de39ca0577c1986dbd790
Author: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>
Date:   Fri Oct 12 22:58:13 2012 -0700

    msm: camera: Create v4l2 subdevice for flash modules

    All hardware module drivers except flash are created as v4l2
    subdevices in msm camera architecture. This creates
    inconsistencies in treating hardware drivers at msm media
    controller layer. To have transparent framework and call flow,
    Create v4l2 sudevice for flash modules and register with
    msm mctl. Create drivers for individual flash modules and
    trigger flash functionalities based on wrapper functions
    initialized in function table. Create i2c driver for flash
    modules driven by i2c and platform driver otherwise.

    Change-Id: I15cf00f3f443edb2aeb8cf21ba41ce977c3d4c86
Signed-off-by: default avatarSreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>

commit f597dacd601bb897911272c0d5f5b3c6ae2e00b6
Author: Ryan Chan <clchan@codeaurora.org>
Date:   Mon Oct 15 16:58:36 2012 -0700

    msm:camera: Fix liveshot stop logic

    Injected register-update when liveshot is completed to turn off AXI.
    Ensure register-update is independently set instead of
    waiting for other event to set the register-update bit

    Change-Id: I2484701e2b2bc0d8ad4d8a22e9b45b1e643a587b
Signed-off-by: default avatarRyan Chan <clchan@codeaurora.org>

commit efc1225298ab93d5bb5c9894324804d6c6a6a0a3
Author: Peter Liu <pingchie@codeaurora.org>
Date:   Thu Sep 13 12:19:13 2012 -0700

    msm: camera: add BE stats support for vfe40

    1.Configure VFE Bayer Exposure(BE) stats registers to collect BE
      stats for 3A to decide total gain to apply on camera.
    2.Add buffer support to collect Bayer Exposure stats for 3A to use.
    3.Allocate and release buffer properly for BE stats.

    Change-Id: Ib857173aa195b9ff1d8b44cf7ba5f9a4a0d30621
Signed-off-by: default avatarPeter Liu <pingchie@codeaurora.org>

commit 75bb69c84245eba8653de4e156557aa3fa12c8e1
Author: Peter Liu <pingchie@codeaurora.org>
Date:   Fri Sep 14 17:17:22 2012 -0700

    msm: camera: Add Bayer stats support for vfe40

    1.Implement correct stats logic for 8974 bayer stats support.
    2.Modify UB buffer config for 8974.
    3.Add frame subsample and irq subsample support for 8974 bayer stats.

    Change-Id: I1ade40e5781868171d138b4ba79afc9b9ef61a9d
Signed-off-by: default avatarPeter Liu <pingchie@codeaurora.org>

commit 6fa6ceffd3356a10339cbf125c1d17a854a369fb
Author: Kiran Kumar H N <hurlisal@codeaurora.org>
Date:   Fri Oct 12 17:45:12 2012 -0700

    msm: camera: Update mctl_handle only if notification is needed.

    In concurrent camera usecase, a YUV camera could still use the
    preview/video image modes just to queue the buffers. These
    buffers will not be used to configure AXI, but will only be used
    for the postprocessing pipleine. Since hardware is not 'aware'
    of these buffers, there is no need to send any kind of notification
    from the hardware directly. So detect this case, and avoid updating
    the interface map table, which is used to lookup the mctl handle in
    case of hardware notification. Otherwise, the valid mctl handle will
    get overwritten which will impact camera functionality.

    Change-Id: Ie78f606b15bc2b1c502ce2b259a137561df9ce68
Signed-off-by: default avatarKiran Kumar H N <hurlisal@codeaurora.org>

commit 420381eb5f693fad99ca7f7485a9075c537e6996
Author: Peter Liu <pingchie@codeaurora.org>
Date:   Tue Oct 9 18:18:31 2012 -0700

    msm: camera: enable YUV sensor

    fix sync timer irq by switching from status 0 to status 1

    Change-Id: I7b7944bf5fd373fc2b77c4816074460dd879c899
Signed-off-by: default avatarPeter Liu <pingchie@codeaurora.org>

commit 83efd295891d98ae8a85731e2ab00e565293904b
Author: Ashwini Rao <ashwinik@codeaurora.org>
Date:   Fri Sep 28 18:26:46 2012 -0700

    msm: camera: Support for three planar images in the JPEG Encoder/Driver

    The JPEG 1.0 encoder/decoder hardware supports three planar input
    and output to handle images in IYUV and YV12 memory formats.

    Change-Id: Ie7539be3f13f9b0c57b3c7adc0a92912e58af4f4
Signed-off-by: default avatarAshwini Rao <ashwinik@codeaurora.org>

commit 5785010ab97982528f02aa3b0bb5e9c2aad5438d
Author: Punit Soni <punits@codeaurora.org>
Date:   Wed Sep 26 11:31:27 2012 -0700

    msm: camera: kernel driver for sensor imx135

    Support for 13MP Sony image sensor IMX135.

    Change-Id: If25d8ad0bfdfe9ab4118efb9b54a609df2c16f24
Signed-off-by: default avatarPunit Soni <punits@codeaurora.org>

commit 5c5da4fda9b1d78946c057ea554f65b6bf82c71e
Author: Kiran Kumar H N <hurlisal@codeaurora.org>
Date:   Fri Oct 5 14:14:29 2012 -0700

    msm: camera: Add missing frame_id copy from diverted frame.

    When a frame diverted to daemon for postprocessing is being
    sent to user, copy the frame_id from the diverted frame along
    with the timestamp information.

    Change-Id: I268148e28f8b055fceb13acf57336ce671c0c3d0
Signed-off-by: default avatarKiran Kumar H N <hurlisal@codeaurora.org>

commit d718c5cba80b0eb80e03c74353302e87e27704b0
Author: Lakshmi Narayana Kalavala <lkalaval@codeaurora.org>
Date:   Fri Sep 28 12:51:33 2012 -0700

    msm: camera: Add null check for VFE subdev

    If vfe configuration is called after vfe subdev is
    released, kernel crash happens, hence add null check
    for vfe subdev.

    Change-Id: Ib38ed90f4d756278a7a0a3a24712ee601b32e403
Signed-off-by: default avatarLakshmi Narayana Kalavala <lkalaval@codeaurora.org>
Signed-off-by: default avatarMingcheng Zhu <mingchen@codeaurora.org>

commit 0665b5ae940c29da0395a1f1e0a02060209c76d2
Author: Kiran Kumar H N <hurlisal@codeaurora.org>
Date:   Thu Oct 4 09:49:05 2012 -0700

    msm: camera: Clear pending interrupts during AXI subdev release.

    Currently all the pending interrupts are being cleared from
    axi_disable_irq. There can be a race condition where this goes
    ahead and clears all pending interrupts before all the RDI/PIX
    interfaces have stopped completely. This causes undefined
    behaviour during stopping the camera application especially in
    case of RDI only cameras. Move this to AXI subdev release after
    all the AXI subdevs(in case of concurrent camera) are released.

    Change-Id: I35d2db0fd11d4f44b7638d680351ccdcd3715487
Signed-off-by: default avatarKiran Kumar H N <hurlisal@codeaurora.org>

commit ec4450439f0a6668a5c2a71398a0713a17fc1b23
Author: Kiran Kumar H N <hurlisal@codeaurora.org>
Date:   Thu Oct 4 09:58:54 2012 -0700

    msm: camera: Copy the frame_id from the diverted frame.

    When a frame diverted to daemon for postprocessing is being
    sent to user, copy the frame_id from the diverted frame along
    with the timestamp information. Otherwise user will not be able
    to match this frame with other frames based on its frame_id.

    Change-Id: I1d2ed83361ca90e89d27925830cae08226d05483
Signed-off-by: default avatarKiran Kumar H N <hurlisal@codeaurora.org>

commit 06079c8bfe77e8f2952396de1bfcd4711494a1de
Author: Ankit Premrajka <ankitp@codeaurora.org>
Date:   Wed Aug 22 14:10:27 2012 -0700

    msm: camera: remove 512 bytes limitation from ctrlcmd payload.

    This change removes the 512 bytes length limitation from the
    payload data passed to the server thread, as part of the control
    commands

    Change-Id: I871b6a6d467f86431bb5d701784231d7142d60d2
Signed-off-by: default avatarAnkit Premrajka <ankitp@codeaurora.org>

commit 7ea965018a5c758048f3e96d2ec50366def69997
Author: Aditya Jonnalagadda <ajonnala@codeaurora.org>
Date:   Wed Sep 12 12:45:18 2012 +0530

    msm : camera : Fix Livesnapshot issue

    Create a seperate image mode for vfe2x liveshot to select
    buffer from the proper queue based on proper image mode

    Change-Id: If98ba5ff200f8527bb2cb327f4693e54cd865dd3
Signed-off-by: default avatarAditya Jonnalagadda <ajonnala@codeaurora.org>

commit 76b9b4d881b32c13356c736a07b2ee363d5ddd9b
Author: Mitchel Humpherys <mitchelh@codeaurora.org>
Date:   Mon Sep 17 14:33:22 2012 -0700

    ion: remove obsolete ion flags

    The symbols CACHED and UNCACHED have been replaced by ION_FLAG_CACHED
    upstream. This removes them from the kernel.

    Change-Id: I565dcc4595298ce6a0e81dd8cb98b86a1b38fdb2
Signed-off-by: default avatarMitchel Humpherys <mitchelh@codeaurora.org>

commit e8d5a24b1afc3456072dc336de925793f06b5e23
Author: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>
Date:   Mon Sep 24 22:19:57 2012 -0700

    msm: camera: Remove is-vpe property from device tree

    is-vpe property is obsolete. Remove it from device tree and
    associated code in msm_sensor to read and interpret its value

    Change-Id: I2428bbd34c784ef23aed2c0051dcaf511d3f3c3b
Signed-off-by: default avatarSreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>

commit fffd22de3ad8503a0a2c6fc3aa33926e550bd0c7
Author: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>
Date:   Fri Sep 21 16:25:26 2012 -0700

    msm: camera: Change I2C write table logic

    Remove call to pass I2C array for I2C write table since CCI driver
    does not handle I2C polling, I2C mask and unmask yet, handle those
    operations in I2C utility functions.

    Change-Id: Icfc95a950d072b40bb2cb6be9557fa88d184581d
Signed-off-by: default avatarSreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>

commit 6be2781bbcf6e7acd7e7362f2b966e7419f84d70
Author: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>
Date:   Wed Sep 19 16:42:06 2012 -0700

    msm: camera: Add MT9M114 support on 8974

    Add device tree node with sensor properties and clock settings.
    Perform platform_driver_probe() since camera sensor is represented
    as platform device on 8974 and create platform driver to drive the
    sensor

    Change-Id: I1e51c09990a0ba745251a345627d288aafb188a0
Signed-off-by: default avatarSreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>

commit 7984d220bbcf31a50e41fa004424e166ec109241
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Mon Sep 24 05:25:23 2012 -0700

    msm: camera: Add sensor settings for s5k3l1yx

    Add settings to support 19.2mhz input clock to s5k3l1yx sensor

    Change-Id: I309303f20b1e40d8c086b9ce9f4ae403eb285515
Signed-off-by: default avatarKevin Chan <ktchan@codeaurora.org>

commit 09dbf59ec1027f63b47fff31135bbd8d0b1fa2ad
Author: Jack Wang <jackwang@codeaurora.org>
Date:   Tue Sep 4 16:50:46 2012 -0700

    msm: camera: Bug fixes for new architecture

    Fix bugs so user side can invoke a kernel side eeprom read
    through MSM_CAM_IOCTL_OEM

    1. Handel MSM_CAM_IOCTL_OEM in msm_mctl
    2. Fix handling of CFG_GET_EEPROM_DATA in msm_sensor_bayer
    3. Add a function table entry for eeprom read function in sensor_ctrl_t.

    Change-Id: I1f503f7054a17e34ceb4596910b494b2151470ed
Signed-off-by: default avatarJack Wang <jackwang@codeaurora.org>

commit 9fc5a6b3acefe112c9083e215c347957de709d70
Author: Katta Santhisindhu <kattas@codeaurora.org>
Date:   Mon Sep 24 14:32:21 2012 +0530

    msm-camera: Remove AXI Reallocation

    During Initialisation Axi is allocated with max frequencies,
    so no need of rellaocating again while taking snapshot or recording.

    Change-Id: I511e97ac200ca4e755c2f649d17dc754448852a7
Signed-off-by: default avatarKatta Santhisindhu <kattas@codeaurora.org>

commit 5ad18cdb0dece4fa320df95ce25287e94cc2f61d
Author: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>
Date:   Fri Sep 7 23:22:34 2012 -0700

    msm: camera: Add CSIPHY core select in camera info for 8974

    Until 8960, CSID cores are physically connected to its corresponding
    CSIPHY cores. Hence CSID core can receive data only from its CSIPHY
    core. On 8974, CSID core can receive data from any CSIPHY core. Add
    support for CSIPHY core select in camera sensor platform data and use
    the CSIPHY core value to select the subdev during msm open. For 8974,
    initialize wait_num_frames during sensor probe if its not initialized
    in sensor driver.

    Change-Id: I46e4be6425c631f0675a547faf46efd746401fe6
Signed-off-by: default avatarSreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>

commit 43211cf36f0094074b0a3cf4c77e42fe250c1954
Author: Sunid Wilson <sunidw@codeaurora.org>
Date:   Thu Sep 13 00:18:43 2012 -0700

    msm: jpeg: Support for decoder 1.0 driver

    Add support for decoder in jpeg 1.0 common driver.

    Change-Id: Ia4167ea7532bb6a4b5f8a8bc9ae4e638f2be5914
Signed-off-by: default avatarSunid Wilson <sunidw@codeaurora.org>

commit 5610bab350587a2ba1c87043f19d2f2a4f9ec34a
Author: Suresh Vankadara <svankada@codeaurora.org>
Date:   Sun Sep 16 05:13:02 2012 +0530

    msm: camera: Fix for camera crash

    while getting interface handle there is no check to
    verify frame_info. Update camera driver to check
    frame_info before accessing this to avoid crash
    in camera.

    Change-Id: Ia2eabe411466da218e3c3de1c79b6a0fd26cb3ce
Signed-off-by: default avatarSuresh Vankadara <svankada@codeaurora.org>

commit 1400e0308463ea8500d9f9fb88c7842ea15cdd05
Author: Mingcheng Zhu <mingchen@codeaurora.org>
Date:   Wed Sep 5 00:07:31 2012 -0700

    msm: camera: bug fixes in sensor start and wait error handling

    - If the wait_event_interruptible_timeout() returns with
      error code ERESTARTSYS retry the wait action
    - If the queried FPS is zero the delay needs to be
      set to the minimum delay

    Change-Id: I4b091d0926a3d0d04a3c63190c86aca24e553b70
Signed-off-by: default avatarMingcheng Zhu <mingchen@codeaurora.org>

commit 252fa6a4149870642b66a6b858754e280b01612d
Author: Mitchel Humpherys <mitchelh@codeaurora.org>
Date:   Thu Sep 6 10:28:47 2012 -0700

    msm: camera: include msm-specific ion header

    All msm_ion clients need to use <linux/msm_ion.h> instead of
    <linux/ion.h>

    Change-Id: I38fb66bb9d0cf4d279fc4536c4d165d798076968
Signed-off-by: default avatarMitchel Humpherys <mitchelh@codeaurora.org>

commit 221a948caac6f9e4132e0fd35c439b78aaa123f1
Author: Nishant Pandit <npandit@codeaurora.org>
Date:   Mon Sep 3 05:36:04 2012 +0530

    msm: camera: Enable RDI snapshot.

    Add support for snapshot through raw dump interface which bypasses
    image processing pipeline. This will be used in case of concurrent
    camera when PIX interface is used by one camera. Do a bus reload
    for ping pong buffers individually for each write master for every
    mode that it is started with, as a global reset command may not have
    been issued. Add separate bus scale parameter and keep the crystal
    clock unmodified in case of RDI camera snapshot operation in
    parallel with PIX camera.

    Change-Id: I8b1eb70e623ecd9cc8fe02b5a58e496aa2c016c4
Signed-off-by: default avatarNishant Pandit <npandit@codeaurora.org>
Signed-off-by: default avatarKiran Kumar H N <hurlisal@codeaurora.org>

commit 6d9dacd5b8c5b2d264c8b6fe0de04d16860ed64f
Author: Aditya Jonnalagadda <ajonnala@codeaurora.org>
Date:   Thu Sep 6 18:35:58 2012 +0530

    msm : camera : Change register value to get 15fps in ZSL mode

    Update ZSL (Zero Shutter Lag) fps to 15fps, VFE gets
    sufficient AXI bandwidth to support this frame rate

    Change-Id: Ied6c0185c0b45c2b7a0bf9b239b62fd1b2e12471
Signed-off-by: default avatarAditya Jonnalagadda <ajonnala@codeaurora.org>

commit 86ec84fd00c8d6d51ddf0acc2e03cb0f29d15e91
Author: Mingcheng Zhu <mingchen@codeaurora.org>
Date:   Sat Sep 8 21:20:51 2012 -0700

    msm: camera: enhance global media controller lookup table

    The existing global lookup table cannot handle the use case that
    two camera devices uses the same image mode. Actually,
    for the SoC camera its pixel image mode are only used for post
    processing. Protection is added to enable this use case.

    Change-Id: I2b560bdc32417a22f0198c948e9734381c2e8f70
Signed-off-by: default avatarMingcheng Zhu <mingchen@codeaurora.org>
Signed-off-by: default avatarKiran Kumar H N <hurlisal@codeaurora.org>

commit b2f4f8d5313b4a562fd6890dc37962c7fadcf404
Author: Kiran Kumar H N <hurlisal@codeaurora.org>
Date:   Fri Aug 24 18:24:51 2012 -0700

    msm: camera: Enable divert of RDI frames to userspace.

    RDI frames from sensor may have to be processed depending
    on the usecase. For eg: For a sensor capable of outputting
    only YUV 422 data, the frame may have to be processed in the
    post processing pipeline to convert it to the standard
    YUV 420 format. Add support to divert these frames.

    Change-Id: I5a0df274348ccf6cc2818eac7652ef83771d011b
Signed-off-by: default avatarKiran Kumar H N <hurlisal@codeaurora.org>

commit 5c36fd3c94232d681053e9bcd36fc8a8ba238e2c
Author: Kiran Kumar H N <hurlisal@codeaurora.org>
Date:   Thu Aug 23 20:22:48 2012 -0700

    msm: camera: Update the missing information for mctl pp node buffers.

    When a buffer is dequeued from mctl pp node, the offset information is
    not copied over to the userspace. This will result in garbage offsets
    received by the user when he tries to dequeue a buffer on the mctl pp
    node. Update these information when the buffer is being dequeued.

    Change-Id: I93212ce784e5cc2cb062f57873c28fb2e0cf6ed5
Signed-off-by: default avatarKiran Kumar H N <hurlisal@codeaurora.org>

commit 17b3d50da2917f87bfb450b70597162068334d80
Author: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>
Date:   Thu Sep 6 15:30:34 2012 -0700

    msm: camera: Front camera fixes for 8974

    Change clock array size to accomodate 8974 clocks and change
    OV2720 (front camera) I2C write sequential to I2C write since
    CCI has issues with I2C write sequential.

    Change-Id: Ic73e3fc7005d54b924b6db107a9a46199c2bf54a
Signed-off-by: default avatarSreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>

commit bd910c85599300ab2f2277c79b75a329a35725c9
Author: Ashwini Rao <ashwinik@codeaurora.org>
Date:   Thu Sep 6 18:24:33 2012 -0700

    msm: camera: Add padding support for the JPEG encoder buffers

    Add support to handle padding added to the input buffer.
    Padding maybe added to prevent edge corruption for certain
    resolutions.

    Change-Id: I6c3525243b388359b7f6ee5c2fb2811833817628
Signed-off-by: default avatarAshwini Rao <ashwinik@codeaurora.org>

commit e581bd66e42ab97c17f434d9f9a25afa464448f6
Author: Ashwini Rao <ashwinik@codeaurora.org>
Date:   Thu Sep 6 17:02:34 2012 -0700

    msm: camera: Disable logs in JPEG Encoder

    Disable logs in the JPEG Encoder driver

    Change-Id: I0234d4cf41954ebc01d3ac30b0053bf37c2df875
Signed-off-by: default avatarAshwini Rao <ashwinik@codeaurora.org>

commit 4f9d27fa52364737a97f16f9379da3c515b49fd2
Author: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>
Date:   Tue Aug 28 23:51:38 2012 -0700

    msm: camera: Enable front camera or cam1 for 8974

    Add support for CSID cores to enable CSID0 clocks by default since
    CSID1, CSID2 and CSID3 cores requires CSID0 clocks. Add support to
    extract phy-sel value from device tree node and pass it to CSID core.
    With phy-sel value in device tree node, sensor can choose CSIPHY core
    and CSID core to use for streaming. Reading buffer if probe fails causes
    CCI to enter into bad state and future I2C call fails. Avoid CCI from
    reading buffer if probe fails.

    Change-Id: I18334db0526c1b86f3f2713b63cd7e7c0d1ddb84
Signed-off-by: default avatarSreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>

commit 5eb01218ae7d64c1b2e3dc9368868197a8c6f731
Author: Ashwini Rao <ashwinik@codeaurora.org>
Date:   Wed Aug 29 17:12:19 2012 -0700

    msm: camera: JPEG Encoder driver

    Add support for the new JPEG 1.0 encoder hardware.This
    is the kernel driver and takes input from the corresponding
    userspace driver.The new encoder hardware supports
    formats H2V2, H2V1, H1V2 and H1V1. It also has support for
    upscaling and downscaling.

    Change-Id: Ib8d7929d7c384b68f87e7f28db335fdca605e15b
Signed-off-by: default avatarAshwini Rao <ashwinik@codeaurora.org>

commit c19653f38023da9775479b289fc53845f8a1efb3
Author: Peter Liu <pingchie@codeaurora.org>
Date:   Tue Sep 4 23:29:18 2012 -0700

    msm: camera: raw snapshot kernel fix for vfe40

    --configure AXI  for raw snapshot correctly
    only one channel for the RAW snapshot.
    --configure BUS command according to HW team
    --update VFE_CGC_OVERRIDE  for vfe40

    Change-Id: I2b38ef51e7bb6b2a9e8ae17f7d4a34c9a632bcbf
Signed-off-by: default avatarPeter Liu <pingchie@codeaurora.org>

commit 43f3afdb2599abe6251979cdbc8e295378f8b437
Author: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>
Date:   Mon Jul 30 15:25:52 2012 -0700

    msm: camera: Change S5K3L1YX clk setting

    Currently output pixel clk is set at turbo mode (320 MHz). This
    causes power drain for S5K3L1YX preview and snapshot. Reduce it
    to proper value for preview, snapshot and HFR mode.

    Change-Id: I94071f9ce48f04f2b049b6fe94f03e91927cd292
Signed-off-by: default avatarSreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>

commit 1854892d7da29ca259c44d693f21980c5601a3db
Author: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>
Date:   Mon Aug 27 11:11:20 2012 -0700

    msm: camera: ISPIF fixes for uinitialized variables

    Initialize local variables in ISPIF driver. This is to ensure
    that the values are not referenced before getting assigned.

    Change-Id: I2cdd4bb93ea024a0d0f8c362fdf125a85e5be834
Signed-off-by: default avatarSreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>

commit 9f2ea270bb6d5a720be9626443582c462dce06f5
Author: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>
Date:   Tue Aug 28 18:31:25 2012 -0700

    msm: camera: Sensor changes for 8974

    Populate child nodes during CCI probe. This is to ensure that
    platform devices for camera is created after CCI is probed
    successfully. Change camera sensor name in clock lookup table
    to ensure that proper clocks are picked up.

    Change-Id: I189372abac22bab08f9600d004c6af045881240b
Signed-off-by: default avatarSreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>

commit 050abf4c0290b9b70e845b61c81f11613db3e048
Author: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>
Date:   Fri Aug 31 13:14:38 2012 -0700

    msm: camera: Add I2C mux config for IMX091 sensor

    I2C mux config is required for IMX091 sensor to successfully probe
    on 8064 target. Add it in power up sequence table.

    Change-Id: I5cad78944723fd7fe87ffe7d209173babbf9d4f3
Signed-off-by: default avatarSreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>

commit 7477130ff2be46ac3ec55bb6b812be477c007e2e
Author: Azam Sadiq Pasha Kapatrala Syed <akapatra@codeaurora.org>
Date:   Mon Aug 27 18:46:47 2012 -0700

    msm: camera: Fix raw snapshot issue.

    Add back raw snapshot support on tip.

    Change-Id: I271e8fb8055660fe69abe6dea4ec69ede6e8b596
Signed-off-by: default avatarAzam Sadiq Pasha Kapatrala Syed <akapatra@codeaurora.org>
Signed-off-by: default avatarMingcheng Zhu <mingchen@codeaurora.org>

commit 184c5a58064436a5bb52371f2a48724334dabc80
Author: Kiran Kumar H N <hurlisal@codeaurora.org>
Date:   Thu Aug 23 20:12:33 2012 -0700

    msm: camera: Remove usage of redundant variable.

    When a diverted frame is returned from userspace, use the instance
    handle present in the frame, if availabe. Otherwise fall back to
    the image mode. We dont need to use the field 'path' since it shall
    be deprecated soon.

    Change-Id: I65d9edd9456d06fe2cc0d02e7c389efe6157447c
Signed-off-by: default avatarKiran Kumar H N <hurlisal@codeaurora.org>

commit fd74078153fc7f7a0b58fbe9bc5317a1ae0acbf2
Author: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>
Date:   Wed Aug 29 15:48:56 2012 -0700

    msm: camera: Add state machine for CSI modules

    Add state machine for CSI modules (CSIPHY, CSID and ISPIF) to ensure
    that release is done only if init succeeded.

    Change-Id: I775d2e40ae933da6c61f7882859d61e83c266108
Signed-off-by: default avatarSreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>

commit 7303f594d633006c143b4219ef555c9d33cb2389
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Thu Aug 23 23:36:53 2012 -0700

    msm: camera: VFE 4.0 bring up changes

    Add IOMMU changes to register device context with camera domain.
    Update register address and bit fields for VFE 4.0 for
    bayer stats modules and some status registers.
    Update driver to support concurrent camera feature, the changes are
    mainly to separate the controls of VFE pixel path and RDI path.
    AXI write masters are also control separately to start/stop
    pixel and RDI paths.

    Change-Id: I292efe95ce4ed4b193de95a0f836681ed4d34a14
Signed-off-by: default avatarKevin Chan <ktchan@codeaurora.org>

commit 51dbdc50dfb565d9ec15a1b3299fda3d928f83a5
Author: Mingcheng Zhu <mingchen@codeaurora.org>
Date:   Sun Aug 19 22:01:09 2012 -0700

    msm-camera: adding new image mode for VFE streaming

    Added two more VFE stand along streaming modes.

    Change-Id: Ifd4c9647c66bcba41438ea11636f030519ed6511
Signed-off-by: default avatarMingcheng Zhu <mingchen@codeaurora.org>

commit 2660bd83cbedfcdb871d625c6205d1f9265e313b
Author: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>
Date:   Fri Aug 24 21:07:17 2012 -0700

    msm: camera: Device tree changes in msm sensor

    Append "qcom," to all properties (other than standard properties)
    in msm sensor node in device tree.

    Change-Id: I54eaa350d1190bb9f7c68e67f81521b3fab1829f
Signed-off-by: default avatarSreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>

commit bdcf7ef9f4c83f138fe4f4d4e147a28bbe4463a0
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Fri Aug 24 08:33:33 2012 -0700

    msm: camera: Sensors changes for 8974

    Enable camera sensors for 8974 by changing clocks, regulator
    and gpio configuration in msm sensor modules.

    Change-Id: Ieed5e44e072fd4fb33c1b15b8d0ab0337c6fa865
Signed-off-by: default avatarKevin Chan <ktchan@codeaurora.org>

commit 6e85d932ff968578bc86db310f106537ca730e92
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Fri Aug 24 00:41:00 2012 -0700

    msm: camera: Add 8974 support for camera server device

    Add device tree support to allow probing of camera server device.
    Fix incorrect max number of AXI v4l2 sub device, in order to
    support multiple VFE/AXI sub devices.

    Change-Id: Ie6d169df403f8178edc76fb2bab5e78807506a10
Signed-off-by: default avatarKevin Chan <ktchan@codeaurora.org>

commit 91a958a450a7dca24ec8170989d3a4242650b5a2
Author: Lakshmi Narayana Kalavala <lkalaval@codeaurora.org>
Date:   Wed Aug 22 17:33:59 2012 -0700

    msm: camera: Disable stats logs by default

    if userspace thread is busy, vfe stats will be dropped.
    But this is not fatal. Hence disable the logs
    which indicate unavailability of free stats buffers by default.
    Otherwise, these logs printed continuously result in
    issues like watch dog bark.

    Change-Id: I37ae2f646726f8c71fdbc98c5c12fdeac031f65e
Signed-off-by: default avatarLakshmi Narayana Kalavala <lkalaval@codeaurora.org>

commit 79b9f2233530ce7f3af51a64d257dd4f7f5a0974
Author: Ankit Premrajka <ankitp@codeaurora.org>
Date:   Mon Jul 2 12:38:34 2012 -0700

    msm: camera: Dynamically register domain and attach to device.

    Starting with B family chips, the IOMMU client is responsible
    for registering a domain (page table) and attaching it with
    the corresponding device context when required.

    Change-Id: I3b17ce6e27c74516325198f89d88d3635bdbff50
Signed-off-by: default avatarAnkit Premrajka <ankitp@codeaurora.org>

commit 5178451deeb68e3abd92532ec79d6eee85bf92d6
Author: Lokesh Kumar Aakulu <lkumar@codeaurora.org>
Date:   Tue Aug 14 18:36:14 2012 +0530

    msm: camera: Preserve fixed frame length lines for HFR mode

    When OV5647 is operated under HFR then frame length lines
    are kept unaltered by line count

    Change-Id: I98fe8a4d4af66723e1bd574ead0fe2cc87ca12ba
Signed-off-by: default avatarLokesh Kumar Aakulu <lkumar@codeaurora.org>

commit 2e68e3394a7f2f7ca9124d56c67252a9035d7cd7
Author: Kiran Kumar H N <hurlisal@codeaurora.org>
Date:   Tue Aug 7 21:07:30 2012 -0700

    msm: camera: Map/Unmap the VPE I/O buffers.

    Currently the input buffers and the output buffers configured to VPE
    are directly picked up from the v4l2 buffer queue, when a particular
    frame is sent to VPE for processing. This adds a condition that the
    input/output buffer should be present in the v4l2 buffer queue at all
    times. If the user wants to do some processing (for eg: Image
    stabilization) on the frame and then send it for VPE processing, this
    can not be achieved, since the frame would be dequeued by the user for
    processing. Add support to map these buffers when they are sent for
    processing and unmap them, when the user is receiving the processed
    buffer. Add two generic APIs msm_mctl_map_user_frame and
    msm_mctl_unmap_user_frame to perform the necessary map/unmap
    functionality.

    Change-Id: I5f1489b38844b5d2bcacb67a17f6d63e1aced342
Signed-off-by: default avatarKiran Kumar H N <hurlisal@codeaurora.org>

commit b88c8c2de9479a9448325fc3887e47231577eefe
Author: Jack Wang <jackwang@codeaurora.org>
Date:   Thu Jul 26 11:33:36 2012 -0700

    msm: camera: Sensor kernel restructure

    Add new sensor utility functions for I2C write,
    I2C read, EEPROM read and gpio operation. This is
    to provide better control and flexibility for user
    space sensor module.

    Change-Id: I534c9c51768fcd8d00713bdcf87b63083a606ced
Signed-off-by: default avatarJack Wang <jackwang@codeaurora.org>

commit 923fbad109f4703c72369d4fe8ecf61f6bdf56c3
Author: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>
Date:   Thu Jul 26 17:31:42 2012 -0700

    msm: camera: Sensor regulator sequence restructure

    Move senser regulator sequence from board file to sensor
    driver. In future, this sequence shall be passed from user
    space for initial development.

    Change-Id: Ie1c65f66da077529b9952f3edaa95ac07dc119bd
Signed-off-by: default avatarSreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>

commit 254f7e728d4ed366d1d783f23b75cf29b92c3f34
Author: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>
Date:   Sat Mar 17 17:27:34 2012 -0700

    msm: camera: Restructure CSI components

    Instead of sensor controlling CSI modules, move it user space
    and configure it through media controller. This is to make
    all v4l2 sub devs to function independently without the knowledge
    of other sub devs.

    Change-Id: Ie37dad8cb393f0b8deb65f330469e38eb374ba40
Signed-off-by: default avatarSreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>

commit 47e5657507e793ea00c3938c14edfb662af9ef93
Author: Lakshmi Narayana Kalavala <lkalaval@codeaurora.org>
Date:   Fri Aug 10 20:05:55 2012 -0700

    msm: camera: Add vb2 buffer support for parsed stats

    Add video buffer support for parsed vfe stats

    Change-Id: I14f1814a57187a0d80f0aa1b781762058bb62ad5
Signed-off-by: default avatarLakshmi Narayana Kalavala <lkalaval@codeaurora.org>

commit 8c9bf5dcd7c1fdaa32a0855f3aa76ef45a8cc7c6
Author: Ankit Premrajka <ankitp@codeaurora.org>
Date:   Tue Aug 7 15:45:31 2012 -0700

    msm: camera: add support for private general ioctl and event

    This change adds support for private commands going to the plugin
    and private events with payload going to HAL.

    Change-Id: Iceb3c3ad1fdc5f45f3bd552b727456ccf54bc006
Signed-off-by: default avatarAnkit Premrajka <ankitp@codeaurora.org>
Signed-off-by: default avatarMingcheng Zhu <mingchen@codeaurora.org>

commit 5c6060cc62c33f1db5abf44e33c98e30f9afa4d2
Author: Nishant Pandit <npandit@codeaurora.org>
Date:   Sat Aug 11 03:06:17 2012 +0530

    msm: camera: Fix the camera init sequence for dual camera

     - Initialize the camera subsystem cleanly for two concurrent
    camera sessions without overwriting the data structures for the
    older session.
     - Move the initialization of vfe default variables to vfe reset
    as vfe reset is called only for the camera running on PIX interface
     - Add a global holder for the axi output mode to be shared
    for multiple config commands.
     - Initialize shared gpios for dual session only once.

    Change-Id: I80a42f84de800293ae0c620f7299297467e4ce19
Signed-off-by: default avatarNishant Pandit <npandit@codeaurora.org>

commit 5d00d6665dfe96e5b9c0da7a37ab6f8414a5cd0b
Author: Ankit Premrajka <ankitp@codeaurora.org>
Date:   Mon Jul 30 09:42:26 2012 -0700

    msm: camera: update rdi frame count from ISPIF SOF.

    The RDI frame id count needs to be updated based on SOF
    interrupts from ISPIF. This is unlike the PIX count
    which can(possibly) depend on SOF interrupts from CAMIF.

    Change-Id: I5a69f1d4dcc8aadc6defe896835c59415b84a445
Signed-off-by: default avatarAnkit Premrajka <ankitp@codeaurora.org>

commit c4a19d6c421fc192a8b0afad0a604327f36b5c5f
Author: Nishant Pandit <npandit@codeaurora.org>
Date:   Fri Aug 3 08:40:54 2012 +0530

    msm: camera: Move operation config from vfe to axi and split irq handling

    - Move the operation config registers for rdi to axi for concurrent camera
    - Split irq as shared and interface specific
    - Move AXI related irq handling to AXI subdev.

    Change-Id: I108dddadf96b3e987d0a91d0793dc89e815c380f
Signed-off-by: default avatarNishant Pandit <npandit@codeaurora.org>

commit b6539e0e2e190568f63daf82f23de8fcf3beabe3
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Thu Aug 2 23:23:02 2012 -0700

    camera: vfe32: Init vfe subdev during axi subdev init.

    This makes sure vfe subdev is initialized even when
    user space doesn't call ioctl to initialize it in RDI
    use case.

    This is necessary because vfe subdev is used in axi
    only case.

    Change-Id: I1d8179b28b8cf065b50ae8dabbd14df6cd9a2fef
Signed-off-by: default avatarShuzhen Wang <shuzhenw@codeaurora.org>

commit 6735126e59848404e31b176e696b435a7902d4ee
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Wed Aug 1 17:09:42 2012 -0700

    camera: Remove isp_sdev for concurrent use case.

    For concurrent use case, isp_config & isp_notify
    should be specific to each use case, not to each
    vfe subdev.

    Change-Id: I1d82a37f19e2d824f2971ebf6810f62b816f5712
Signed-off-by: default avatarShuzhen Wang <shuzhenw@codeaurora.org>

commit d778571b17baf792ef63f31cf9539722361818fc
Author: Nishant Pandit <npandit@codeaurora.org>
Date:   Tue Jul 31 19:09:11 2012 +0530

    msm: camera: Enhance start stop logic in axi

    - Handle RDI start stop separately from PIX
    - Add separate call for axi halt
    - START_ACK is now redundant because PIX0_REG_UPDATE_ACK
      implies START_ACK.

    Change-Id: I84fa25310c4eb27feda65a224bea5bb3f7e32945
Signed-off-by: default avatarNishant Pandit <npandit@codeaurora.org>

commit 526df7fad91516d3e4ff0713c5dc389bdb87df5f
Author: Rajakumar Govindaram <rajakuma@codeaurora.org>
Date:   Wed Jun 27 19:43:27 2012 -0700

    msm: camera: Fix lens lock issue in actuator.

    The actuator is not able to move beyond one region boundary.
    This is because when there is region boundary between current
    lens position and destination lens position, the lens is first moved
    to region boundary and then moved to the destination target position.
    Once region boundary(target lens position in this case) is reached
    we should not assume it is the end of total lens movement. So
    condition check (curr_lens_pos == target_lens_pos) is wrong. Hence
    removing the inaccurate condition check.

    Change-Id: I0346277b4e9a3f1e0e4ce7bd11c8dbaacfc288f7
Signed-off-by: default avatarRajakumar Govindaram <rajakuma@codeaurora.org>

commit 8047d09e74ba449fd1fbd05cfdf196bb77f47292
Author: Suresh Vankadara <svankada@codeaurora.org>
Date:   Mon Aug 13 19:14:23 2012 +0530

    msm: camera: Add AXI arbitration logic for VFE

    Camera is facing axi overflow issues for full size
    modes due to unavailability of AXI bus for VFE. Update
    camera driver to send AXI allocate request before starting
    the camera.

    Change-Id: I2b3249cd85ecf552a042cd690853eb6f4d4b346d
    CRs-Fixed: 383532
Signed-off-by: default avatarSuresh Vankadara <svankada@codeaurora.org>

commit ae5f5e800c0db491f7e96ba1f8de42a206c4dc29
Author: Jeyaprakash Soundrapandian <jsoundra@codeaurora.org>
Date:   Wed Jul 25 20:52:49 2012 -0700

    msm: camera: eeprom support flag moved to right place

    The eeprom support is set to true and should be populated
    and passed in the eprom getinfo

    CRs-Fixed: 383179
    Change-Id: I2b67247b6175978eef6effec42b6995e1a2458d6
Signed-off-by: default avatarJeyaprakash Soundrapandian <jsoundra@codeaurora.org>

commit 0aab6ac98d61244dd2af358b8450947fd611ef98
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Tue Jul 31 18:31:32 2012 -0700

    camera: vfe32: Use vfe subdev for NOTIFY_VFE_IRQ notification.

    By doing this we don't need to look up mctl instance, which is
    not necessary because NOTIFY_VFE_IRQ does nothing more than
    routing IRQ to VFE subdev.

    If we were to look up mctl instance, for IRQs like RESET_ACK,
    we won't know whether we should use PIX or RDI instance.

    Change-Id: Idbecc47d7e031302cc4c03aa9936584ea10225d3
Signed-off-by: default avatarShuzhen Wang <shuzhenw@codeaurora.org>

commit 842f3fbfe52ea24fb2e11c3f1826c190209e3368
Author: Rajakumar Govindaram <rajakuma@codeaurora.org>
Date:   Fri Aug 10 02:32:20 2012 -0700

    msm: camera: Add state for sensor power up

    The sensor and flash triggers I2C transactions during close.
    These transactions should be done only if the sensor is in
    power up state. Add necessary state variables to check
    the state of sensor.

    Change-Id: Id41a39b12e2d368899c308e24a02eb357db78e64
Signed-off-by: default avatarRajakumar Govindaram <rajakuma@codeaurora.org>

commit b07deddc7706aa86964ef5c273d543a82d788469
Author: Deva Ramasubramanian <dramasub@codeaurora.org>
Date:   Mon Jul 2 17:30:44 2012 -0700

    msm: video: wfd: Move WFD related files out of camera directory

    The msm/ directory is intended for camera. Hence moving up the wfd/
    directory one level higher and renaming it as msm_wfd/.

    Change-Id: I9309ccfee91a04b6d55cf3be7ed88da15364b475
Signed-off-by: default avatarDeva Ramasubramanian <dramasub@codeaurora.org>

commit 70509435d4dcc218be0b4b17ebffe09a9c0aaa42
Author: Kiran Kumar H N <hurlisal@codeaurora.org>
Date:   Tue Jul 31 11:04:36 2012 -0700

    msm: camera: Fix couple of potential race conditions.

    When the camera daemon dies(either killed manually or
    some crash), all the open fds(server node, mctl pp node,
    config node) will be closed. However the order in which
    these are closed is not predictable. Hence there might
    be a couple of potential race conditions triggering
    kernel panics. Fix those potential race conditions.

    Change-Id: I2ceb608ba99cbc698832a8dcf1ddfcaa7a0a0675
Signed-off-by: default avatarKiran Kumar H N <hurlisal@codeaurora.org>

commit 7479183e6a2091f7a695852f669fad5aba25b255
Author: Kiran Kumar H N <hurlisal@codeaurora.org>
Date:   Mon Jul 30 13:53:43 2012 -0700

    msm: camera: Initialize the vb2 queue during buffer registration.

    Move the vb2 queue initialization from set_format to
    reqbuf(buffer registration). This is to ensure that the
    user does not have to set the format again, if he is trying
    to stop and start a stream.

    Change-Id: I902072a33fcf43ed882759c14d327667c42a88bd
Signed-off-by: default avatarKiran Kumar H N <hurlisal@codeaurora.org>

commit 853d2c8ad8313d2788eabbdab90464da6b3cd835
Author: Sunid Wilson <sunidw@codeaurora.org>
Date:   Thu Aug 2 11:59:39 2012 -0700

    msm: camera: Fix gestures start issue

    Gesture control framework doesnt use MCTL. Hence prevented
    MCTL valid check for gesture subdev notifications.

    Change-Id: I862a7514e7ab3d6801399a9c4c288ae1afa8c465
Signed-off-by: default avatarSunid Wilson <sunidw@codeaurora.org>

commit 4538be463ef2293c2b825879e1ca29ea63836570
Author: Rajakumar Govindaram <rajakuma@codeaurora.org>
Date:   Tue Jul 24 22:20:11 2012 -0700

    msm: camera: Fix RAW snapshot pipeline for YUV camera

    The pixel format for YUV sensor output is added to the
    list of supported RAW output formats.

    Change-Id: If9c5df2c33b2ca3d5555ea54cd09095a0031fd12
Signed-off-by: default avatarRajakumar Govindaram <rajakuma@codeaurora.org>

commit 3e8a1d1c69b56198e946e2fc45d054912965178f
Author: Lakshmi Narayana Kalavala <lkalaval@codeaurora.org>
Date:   Tue Jul 31 15:00:09 2012 -0700

    msm: camera: Move ping pong buffer and bus scale logic from vfe to axi

    Move the ping pong buffer configuration and bus scaling
    logic from vfe to axi as for concurrent camera case,
    vfe component will be turned off

    Change-Id: I39b465dcc121b83f960370b25349dc941ac8c34b
Signed-off-by: default avatarNishant Pandit <npandit@codeaurora.org>
Signed-off-by: default avatarLakshmi Narayana Kalavala <lkalaval@codeaurora.org>

commit 99430570f350a50f27b2722910e0de636ab9b8ea
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Sun Jul 22 02:23:43 2012 -0700

    msm: camera: Initial commit for VFE 4.0

    Add Image Signal Processor support for 8974 chipset.

    Change-Id: Id1f425e59d48e490d5e426f5d056bca7c54b54a2
Signed-off-by: default avatarKevin Chan <ktchan@codeaurora.org>

commit e50fd27b416768fd6b1edbbad2b7667abbee6f7d
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Thu Jul 26 11:41:00 2012 -0700

    camera: Pass the isp notification to correct mctl/config.

    In concurrent camera use case, multiple mctl instances
    coexist at the same time. isp notification needs
    to be sent to proper mctl instances. The decision is
    based on the interface from which the notification comes
    from: PIX, RDI0, or RDI1.

    Change-Id: Ieb3cdcc26c595871e1b9ffcc04c8d5c0ab4f210f
Signed-off-by: default avatarShuzhen Wang <shuzhenw@codeaurora.org>

commit 196a27c6b390003912cae287c8fa84396fa601d7
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Mon Jul 23 23:01:52 2012 -0700

    camera: vfe32: Add RDI reg update ack notification.

    RDI and PIX have different timing characteristics.
    They should not share the same START_ACK notification.
    Add rdi0, rdi1, rdi2 reg update ack notifications.

    Change-Id: Id36b52ae5cf98f5f9f86e92028ec7ab0e7427a23
Signed-off-by: default avatarShuzhen Wang <shuzhenw@codeaurora.org>

commit 109c211daa5771cededece028ee2026fb3d22934
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Mon Jul 23 17:28:11 2012 -0700

    vfe32: Separate AXI reset with VFE reset.

    Refactor reset to axi_reset and vfe_reset. axi_reset
    initializes stream off/on, irq related registers.
    vfe_reset only handles stuff related to VFE components.

    VFE_RESET_2 is removed. Both axi_reset and vfe_reset
    are synchronous calls.

    Change-Id: I274c17defbfbc56056b020c48239696b0f579b0e
Signed-off-by: default avatarShuzhen Wang <shuzhenw@codeaurora.org>

commit 42eedc90fd7ec892da8dd25608b6ee6c65fba377
Author: Nishant Pandit <npandit@codeaurora.org>
Date:   Fri Jul 27 04:28:11 2012 +0530

    msm: camera: Add api for axi halt and axi stop

     - Add api for axi halt and axi stop. Axi stop disables the write masters
    based on port information and calls axi halt if not in concurrent
    use case.
     - Add support to disable axi halt for snapshot to preview transition

    Change-Id: I5d0b7436d1f1a67e1c25e902c244bdb8bca1a466
Signed-off-by: default avatarNishant Pandit <npandit@codeaurora.org>

commit d34791bd9bf218e636d4cb7f5b8b2956d38b27b1
Author: Peter Liu <pingchie@codeaurora.org>
Date:   Mon Jun 11 18:47:36 2012 -0700

    msm: camera: calculate sof_count in ISPIF instead of VFE

    Instead of counting the frame id inside VFE camif,
    obtain the sof count in ispif and then pass the count into VFE
    also add the capability to enable the sof count in VFE

    Change-Id: I90c0178d933cb4c80627eb9a5f22b4bb13b10b27
Signed-off-by: default avatarPeter Liu <pingchie@codeaurora.org>

commit cd3d81ef876be616e94c423a2a6b0395ff687b96
Author: Lakshmi Narayana Kalavala <lkalaval@codeaurora.org>
Date:   Tue Jul 31 13:04:03 2012 -0700

    msm: Decouple VFE component from AXI

     1. Move the logic to enable write masters from vfe
    to axi as vfe component may not be enabled for concurrent camera
     2. Pass the vfe operation mode and port info from user space
    instead of storing in the global shared variable

    Change-Id: Ibe01bbe6a449afc3e4116c0a1c5f0d68662c5ee6
Signed-off-by: default avatarNishant Pandit <npandit@codeaurora.org>
Signed-off-by: default avatarLakshmi Narayana Kalavala <lkalaval@codeaurora.org>

commit 52c886e197706191393c06777145783b9006f700
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Fri Jul 20 16:15:06 2012 -0700

    camera: vfe: Refactor axi configuration for concurrent case

    1. Ping pong buffer configuration is not done during axi
    configuration. Rather, they are programmed by enqueuing/
    dequeuing of buffers. Ignore ping pong buffer from axi
    configuration structure.
    2. BUS_CMD register should be updated when all UB offsets/
    depths are configured.

    Change-Id: I1de1f5a5b43f964cfd3d1d86f91e2e91e58e9939
Signed-off-by: default avatarShuzhen Wang <shuzhenw@codeaurora.org>

commit 1121b64304fb5747d5fb90ee1bf437d870bc5644
Author: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>
Date:   Thu Jun 28 15:22:04 2012 -0700

    msm: camera: Add DT support in msm sensor for 8974

    On 8974, camera sensor is created as a platform device.
    platform data is specified in device tree node. Add
    support in sensor driver to parse sensor information
    from device tree node. Create sensor drivers as platform
    driver since CCI hardware controls i2c bus. Also, use
    Camera Control Interface (CCI) util functions for I2C
    communication.

    Change-Id: I5dc954c5b83eacbdaf486a4c8241644568f167fe
Signed-off-by: default avatarSreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>

commit 920b8e0d8421e547f5739830b1eebf211873d400
Author: Raju P.L.S.S.S.N <rplsssn@codeaurora.org>
Date:   Thu Jul 12 00:03:22 2012 +0530

    msm: camera: Live snap shot changes for VFE 2x

    VFE needs special handling for live snapshot case. A flag is
    used to check the livesnap shot state

    Change-Id: I48295624f77d49f355b881f66520c0310dc1d68a
Signed-off-by: default avatarRaju P.L.S.S.S.N <rplsssn@codeaurora.org>

commit 08413fc60b221e8ed9305f68904b1537e7fe878f
Author: Deva Ramasubramanian <dramasub@codeaurora.org>
Date:   Mon Jul 16 17:27:02 2012 -0700

    video: msm: wfd: Delay fill_buffer until START_DONE

    VCD requires we do not give any output buffers to be given until
    START_DONE is received. In the case that buffers are given, it
    introduces race conditions in the vidc with respect to the SPS/PPS
    buffer, which vidc assumes to be present on the first fill_buffer but
    actually isn't present until START_DONE.

    Change-Id: Ie4dec3ed41e0f248175fb7d9719b458d3b699539
Signed-off-by: default avatarDeva Ramasubramanian <dramasub@codeaurora.org>

commit 5bfc57822c91d3922bc422b895155fec239592ee
Author: Srinu Gorle <sgorle@codeaurora.org>
Date:   Fri Jul 13 07:32:18 2012 +0530

    video: msm: wfd: Send signal HDMI observer to mirror on  FB2.

     - Send KOBJ_ONLINE, KOBJ_OFFLINE events to HDMI observer
       to mirror on  FB2.

    This reverts commit 4102d704243cf0ff297cdbe8d5b731da4c0bb9d5.

    Change-Id: Ie5f0c4528ee43edf5ff8145520723a8095c0f542
Signed-off-by: default avatarSrinu Gorle <sgorle@codeaurora.org>

commit 5c190ad7f53aa2890ca0d466d933e99daa04019d
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Mon Jul 9 16:30:51 2012 -0700

    camera: vfe32: Create synchronous version of VFE reset cmd.

    Logically from RESET to RESET_ACK, no interrupt should be
    generated from hardware. Synchronous RESET call makes
    code flow simpler.

    Create a new ISP command VFE_CMD_RESET_2 which blocks
    until RESET_ACK irq fires.

    Change-Id: I1c1974c01d7037f457ab767a83f5cece3fe23705
Signed-off-by: default avatarShuzhen Wang <shuzhenw@codeaurora.org>

commit c842b613e6e090c06574b7b3c0d0166c4dfe6fb1
Author: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>
Date:   Mon May 21 17:23:24 2012 -0700

    msm: camera: CCI driver for 8974

    Add Camera Control Interface (CCI) driver based on V4L2
    architecture. Add probe sequence, subdevice creation,
    hardware registers and configuration through V4L2
    subdev call mechanism. This driver is responsible for
    communicating with sensors, actuators and EEPROM
    connected on I2C bus.

    Change-Id: I2f135798e26348740f58da223caafdd8dfbbd098
Signed-off-by: default avatarHody Hung <hhung@codeaurora.org>
Signed-off-by: default avatarSreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>

commit d812321dcb7fe15d0c62af549f18946320380129
Author: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>
Date:   Sat Jun 30 13:15:27 2012 -0700

    msm: camera: ISPIF changes for 8974.

    ISPIF changes on 8974 to include VFE interface. Pass VFE interface
    from user space ISPIF module and configure accordingly. Add support
    to configure extra PIX and RDI interfaces.

    Change-Id: Idb840fa3d1ef2d1a7242fc2175b8fa64f75aa14b
Signed-off-by: default avatarSreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>

commit 6267cb6a50991110dd7409c90f65c29084033134
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Mon Jun 18 23:34:24 2012 -0700

    msm: camera: Remove VFE version specific enum

    Remove duplicated enum for different VFE version

    Change-Id: I386ef874731442ac3deb4ccec36f353f30671f9f
Signed-off-by: default avatarKevin Chan <ktchan@codeaurora.org>

commit 4698a5b0299a5222c0e9f06978e7e2eb1bc80c9c
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Tue Jun 5 22:44:14 2012 -0700

    camera: Reorganize vfe files into vfe folder.

    The number of files in msm/ folder is increasing and shared by other teams.
    This helps improve the organization of the msm folder.

    Change-Id: I25f73e467b9d0390850f587363ddc3ff9e44b1e4
Signed-off-by: default avatarShuzhen Wang <shuzhenw@codeaurora.org>

commit 6a08cbb7863ee238ba0812a9d344c3257b2bde82
Author: Yonggui Mao <yongguim@codeaurora.org>
Date:   Mon May 21 10:39:23 2012 -0700

    Camera: Enable AE bracketing on VFE 2.0

    Add support for burst mode for VFE 2.X.

    Change-Id: I276e380038ec61be05b2a5ba8fd340533fb15e81
Signed-off-by: default avatarKatta Santhisindhu <kattas@codeaurora.org>

commit 1df2e2576f90c5a441e2cd584c6561ac2b6c1033
Author: Kiran Kumar H N <hurlisal@codeaurora.org>
Date:   Tue Jul 24 13:41:56 2012 -0700

    msm: camera: Correct the usage of return free buffer API.

    When a free buffer is released/returned back from userspace,
    mark it as QUEUED instead of UNUSED. This will ensure that the
    buffer is put back into circulation.

    Change-Id: Ib6fc058ee2f34044446e777a525f81b2ee971c9c
Signed-off-by: default avatarKiran Kumar H N <hurlisal@codeaurora.org>

commit bc315ea3c81c545f273492d5532d62d109a3c4c7
Author: Lakshmi Narayana Kalavala <lkalaval@codeaurora.org>
Date:   Tue Jul 24 09:55:48 2012 -0700

    msm: camera: Add support for Bayer stats

    Add support for Bayer stats

    Change-Id: I69b408af91565581c925540bccb04708278bda05
Signed-off-by: default avatarLakshmi Narayana Kalavala <lkalaval@codeaurora.org>

commit 58243db25ebb92f6ae812886a9b5c15106bd432b
Author: Lakshmi Narayana Kalavala <lkalaval@codeaurora.org>
Date:   Tue Jul 24 00:06:27 2012 -0700

    msm: camera: Fix memory leak with stats buffers

    Buffer unprepare is not done while releasing stats buffers,
    hence add support for buf unprepare ioctl

    Change-Id: If4fa95c270363d1948b5924c2365785d1427e2f4
Signed-off-by: default avatarLakshmi Narayana Kalavala <lkalaval@codeaurora.org>

commit 97e2e6125a2d5b4cb00b27652e8355f4854d8c94
Author: Kiran Kumar H N <hurlisal@codeaurora.org>
Date:   Thu Jul 12 13:51:17 2012 -0700

    msm: camera: Add some minor code fixes.

    Add couple of valid ptr checks and zero out
    variables after allocation.

    Change-Id: Ib0e80eab9ac41cec192d1c4a04f8aeafd77729a3
Signed-off-by: default avatarKiran Kumar H N <hurlisal@codeaurora.org>

commit 318134d515525e73a5c57775ab692107b140c92b
Author: Kiran Kumar H N <hurlisal@codeaurora.org>
Date:   Thu Jul 12 12:33:34 2012 -0700

    msm: camera: Remove duplicate video device list initialization.

    When a video device is registered through video_register_device,
    the fh_lock and fh_list variables are already initialized. So we
    dont need to explicitly initialize them during v4l2 event queue
    setup. Doing this overwrites the fh_list in some cases like
    mctl pp node, where each instance can have its own eventHandle but
    linked to the mctl pp video node. This can cause video device list
    corruption in some usecases like HDR. Remove this extra
    initialization for v4l2 nodes which register their video devices.
    For native nodes using v4l2 event handles, add the initialization
    before setting up the v4l2 event queue.
    Move the function setup_v4l2_event_queue and
    destroy_v4l2_event_queue into msm_cam_server.c for better code
    organization.

    Change-Id: Ifcd148d5d0187cf33a6ea49977010e88d6043698
Signed-off-by: default avatarKiran Kumar H N <hurlisal@codeaurora.org>

commit 907859007ebd854b7afcfa3c14edda8efadd2e55
Author: Kiran Kumar H N <hurlisal@codeaurora.org>
Date:   Thu Jul 5 13:59:38 2012 -0700

    msm: camera: Add support for instance handle based buffer lookup.

    Currently when VFE requests for a free buffer, we search based
    on the image mode sent from VFE. In some cases, there can be
    multiple instances with the same image mode. This means the
    buffer lookup logic has to take into consideration other
    parameters like current usecase, vfe operation mode etc.
    To ease this, add support for buffer lookup based on
    the instance handle. The instance handle contains information
    about where to get the buffer from. So the buffer lookup
    logic does not have to know about other details. The instance
    handle is decided when the user sets the format for a particular
    instance. It is passed on to the VFE during AXI configuration.
    VFE stores this and sends it whenever it requests for a free
    buffer for a particular output.
    Keep the current image_mode based buffer lookup logic for
    legacy targets.

    Change-Id: I78c3db77ac4014365c9866ff780ec71ac4c7ff87
Signed-off-by: default avatarKiran Kumar H N <hurlisal@codeaurora.org>

commit 4b3443f0882826f3f0de468c799e77c6477380d0
Author: Ankit Premrajka <ankitp@codeaurora.org>
Date:   Mon Jun 11 14:06:31 2012 -0700

    msm: camera: resource manager related changes.

    Make changes to support dynamic selection
    of subdevs through the resource manager. Instead of
    choosing the subdevs to be used by the current mctl
    session statically during open, the VFE, AXI and VPE
    subdevs are now selected and initialized later as per
    session requirements.

    Change-Id: I8df951b81f0ccc77e5b4f64bf5cf620822cf0175
Signed-off-by: default avatarAnkit Premrajka <ankitp@codeaurora.org>

commit 1d1d3075e4f5be4d63c2f0271bc9a99d82804a7b
Author: Kiran Kumar H N <hurlisal@codeaurora.org>
Date:   Thu Jul 5 13:40:13 2012 -0700

    msm: camera: Add live snapshot entry to bus vector table.

    The current camera bus vector table does not have an entry
    for Live snapshot usecase. Add this entry into the bus vector
    table. When user takes a live snapshot during video recording,
    just switch to this new entry and when its done, switch back
    to video entry. Also, correct the .ab value for video usecase
    since the current value is not sufficient for all the usecases.

    Change-Id: I9c8c9ede2cf22cf8a21383e3d7868c75f21eba12
Signed-off-by: default avatarKiran Kumar H N <hurlisal@codeaurora.org>

commit 31ed0277b503adc7ca9a106cd1b2f844838858a5
Author: Hody Hung <hhung@codeaurora.org>
Date:   Mon Jun 11 10:22:20 2012 -0700

    msm: camera: CSI changes for 8974

    This request has changes in CSI drivers to address hardware
    changes between old platform and 8974. Add combo PHY
    support in CSIPHY and CSID driver. In CSID, select
    input from any CSIPHY core and add support for matching
    platform device in device tree convention

    Change-Id: I3d1d8eed56f0440db7a8a4864f1c63f098f4caa7
Signed-off-by: default avatarHody Hung <hhung@codeaurora.org>

commit 353d7b3ebcfd1390b0d2e85358dbb16caf0380f9
Author: Ashwini Rao <ashwinik@codeaurora.org>
Date:   Mon Jun 11 00:20:30 2012 -0700

    msm-camera: Add Double Padding support in Gemini.

    Add support to handle the padding on both sides of the input
    buffers to the Gemini driver to support rotation in ZSL mode

    Change-Id: I4bc0ef5a3d0f551021afbb93fd57acdcc83875b4
Signed-off-by: default avatarAshwini Rao <ashwinik@codeaurora.org>

commit e80fb9b2df87991010e603150c064e0248f8707d
Author: Nishant Pandit <npandit@codeaurora.org>
Date:   Tue Jul 10 03:30:47 2012 +0530

    msm: camera: Add proper axi channel width in kernel header

    Pass the right axi channel width as corresponding data
    structure has changed in user space

    Change-Id: I4df5407cee79f07707048dbce5b28cfd1f925306
Signed-off-by: default avatarNishant Pandit <npandit@codeaurora.org>

commit 90e6438d9a13ebd2c0a5d807b1b37ab08bb22e99
Author: Ankit Premrajka <ankitp@codeaurora.org>
Date:   Mon Jul 2 17:36:56 2012 -0700

    msm: camera: handle simultaneous SOF and stat interrupts.

    Sometimes a stat interrupt arrives just before the next SOF,
    such that the VFE bundles the two interrupts together into one.
    In such a scenario, the frame id sent along with the stat interrupt
    message will incorrectly carry the farme number for the next frame.
    This change checks for such occurences and adjusts the frame
    id accordingly.

    Change-Id: I9914c428baf74cab81aade62843b9043f20108f9
Signed-off-by: default avatarAnkit Premrajka <ankitp@codeaurora.org>

commit 780f6db0c0e5a9174d2cd7d9ea203a2b49039c77
Author: Rajakumar Govindaram <rajakuma@codeaurora.org>
Date:   Tue Jul 10 11:30:23 2012 -0700

    msm: camera: Fix flicker issue for S5K3L1 camera sensor

    The S5K3L1 sensor has a flicker issue when the exposure
    settings are changed. This is resolved by using FAST
    UPDATE MODE.

    CRs-Fixed: 365712
    Change-Id: I297c2dcfb6750f01fe9947cf42be9b34386be5cc
Signed-off-by: default avatarRajakumar Govindaram <rajakuma@codeaurora.org>

commit eebdb24da356264dbc08ee604e947d9130daa6eb
Author: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>
Date:   Fri Jul 6 12:28:28 2012 -0700

    msm: camera: Camera IRQ router changes

    Camera IRQ router changes for 8974
    1) Add device tree match struct for camirq_router driver.
    This is required for 8974 since platform device node is
    added in device tree.
    2) Probe camera IRQ router before other modules by
    changing probe order. This is required since irq router
    needs to register irq information with cam server before
    other modules update its irq information
    3) Assign proper cam_irq_hw for ISPIF during register
    subdev. Otherwise, cam_irq_hw will be used uninitialised.

    Change-Id: Ida29abb91264a178d45d000fe78c9555b55c0fe3
Signed-off-by: default avatarSreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>

commit 717b9e38da7069e46346bc67eb938c90096fabeb
Author: Katta Santhisindhu <kattas@codeaurora.org>
Date:   Wed Jul 4 17:06:22 2012 +0530

    msm-camera: Fix the Mask Parameter

    "mask" is a new variable added in the I2C register config
    structure. It is introduced in the middle of the structure.
    This creates issues with MT9M114 camera YUV sensor
    using the structure.

    Change-Id: I29f6e175f1e1a7a5275ac3dd7c2e9deb7cfa3a49
Signed-off-by: default avatarKatta Santhisindhu <kattas@codeaurora.org>

commit becf41c5f741586eb5446879100f063549786ce0
Author: Lakshmi Narayana Kalavala <lkalaval@codeaurora.org>
Date:   Sun Jul 15 12:53:55 2012 -0700

    msm: camera: Fix crash in camera on 8660

    The ackpending flag check is not valid while processing cs
    stats irq which is causing an additional read to the ping pong
    status register and resulting in crash of the device.

    Change-Id: I8dab122ab2cd93718f2a90f493822bddd299b457
Signed-off-by: default avatarLakshmi Narayana Kalavala <lkalaval@codeaurora.org>

commit c13372eaf3ef8446216c2420a65683a49b02f712
Author: Kiran Kumar H N <hurlisal@codeaurora.org>
Date:   Wed Jul 11 20:08:07 2012 -0700

    msm: camera: Initialize the vfe stats structures.

    The vfe stats ctrl and ops structures are being used
    uninitialized. Zero them out during vfe subdevice
    initialization.

    Change-Id: I1c20dd54f98a778060953d25449114cdafcf52e7
Signed-off-by: default avatarKiran Kumar H N <hurlisal@codeaurora.org>

commit ef95ae33a328426b45f502eeb86f2edc120faf30
Author: Olav Haugan <ohaugan@codeaurora.org>
Date:   Tue May 15 09:50:30 2012 -0700

    msm: iommu: Split rotator/mdp iommu domains

    Finer granularity is needed when mapping into the IOMMU's for
    rotator and mdp for secure playback. During secure playback
    HLOS will only have access to map into one context bank. The
    other context bank is secured and programmed by TrustZone.

    Divide DISPLAY_DOMAIN into DISPLAY_WRITE_DOMAIN and
    DISPLAY_READ_DOMAIN. Divide ROTATOR_DOMAIN into ROTATOR_SRC_DOMAIN
    and ROTATOR_DST_DOMAIN.

    Change-Id: I2d67525d6026b8a1fb2f2cb00e4bb118c8eb6f27
Signed-off-by: default avatarOlav Haugan <ohaugan@codeaurora.org>

commit 2db3384fa38336391ea177d7475eb7bc00627f7f
Author: Lakshmi Narayana Kalavala <lkalaval@codeaurora.org>
Date:   Tue Jun 26 22:41:32 2012 -0700

    msm: camera: Add free status buffer queue

    Add support for free buffer queues for vfe
    statistics

    Change-Id: I9a791d5869aa090f661904b41b210cea51f67aa4
Signed-off-by: default avatarMingcheng Zhu <mingchen@codeaurora.org>
Signed-off-by: default avatarLakshmi Narayana Kalavala <lkalaval@codeaurora.org>

commit 54bf3abc0d7e96b55874cf1ff64a1d92f2ff3987
Author: Kiran Kumar H N <hurlisal@codeaurora.org>
Date:   Mon Jul 2 09:57:59 2012 -0700

    msm: camera: Send camif error notification to user.

    In case of CAMIF errors, notify the user so that it
    can cleanup resources and exit gracefully.

    Change-Id: Id6cea63ef47e1bd3881db7f61c6cc3cc3c9343b3
    CRs-Fixed: 371688
Signed-off-by: default avatarKiran Kumar H N <hurlisal@codeaurora.org>

commit fa18a0377950bd3836a6c6a9828b1c684f42f78f
Author: Kiran Kumar H N <hurlisal@codeaurora.org>
Date:   Mon Jun 25 14:34:18 2012 -0700

    msm: camera: Pass device pointer to regulator_get()

    During VPE/VFE initialization, pass the device pointer to
    regulator_get() as per the expected usage of the API.

    Change-Id: Ide33ff05814e11d5955a8ec7916ef595dceb0f84
Signed-off-by: default avatarKiran Kumar H N <hurlisal@codeaurora.org>

commit b14ed96f74b1258b1f102831a2b0ccd56f991132
Author: Laura Abbott <lauraa@codeaurora.org>
Date:   Mon Jan 30 14:18:08 2012 -0800

    gpu: ion: Pull in patches for 3.4

    Pull in Ion patches for 3.4 upgrade. Inclues the following
    patches from google:

     commit 7191e9ba2508ca6f1eaab251cf3f0a2318eebe26
     Author: Rebecca Schultz Zavin <rebecca@android.com>
     Date:   Mon Jan 30 14:18:08 2012 -0800

         ion: Switch map/unmap dma api to sg_tables

         Switch these api's from scatterlists to sg_tables

Signed-off-by: default avatarRebecca Schultz Zavin <rebecca@android.com>

     commit 6f9e56945d4ee3a2621968caa72b135cb07e49c4
     Author: Rebecca Schultz Zavin <rebecca@android.com>
     Date:   Tue Jan 31 09:40:30 2012 -0800

         ion: Add reserve function to ion

         Rather than requiring each platform call memblock_remove or reserve
         from the board file, add this to ion

Signed-off-by: default avatarRebecca Schultz Zavin <rebecca@android.com>

     commit 9ae7e01de1cf03c77054da44d135a7e85863fcb0
     Author: KyongHo Cho <pullip.cho@samsung.com>
     Date:   Wed Sep 7 11:27:07 2011 +0900

         gpu: ion: several bugfixes and enhancements of ION

         1. Verifying if the size of memory allocation in ion_alloc() is aligned
         by PAGE_SIZE at least. If it is not, this change makes the size to be
         aligned by PAGE_SIZE.

         2. Unmaps all mappings to the kernel and DMA address spaces when
         destroying ion_buffer in ion_buffer_destroy(). This prevents leaks in
         those virtual address spaces.

         3. Makes the return value of ion_alloc() to be explicit Linux error code
         when it fails to allocate a buffer.

         4. Makes ion_alloc() implementation simpler. Removes 'goto' statement and
         relavant call to ion_buffer_put().

         5. Checks if the task is valid before calling put_task_struct() due
         to failure on creating a ion client in ion_client_create().

         6. Returns error when buffer allocation requested by userspace is failed.

Signed-off-by: default avatarKyongHo Cho <pullip.cho@samsung.com>

     commit 043a61468f395dd6d4fc518299726955e9999c59
     Author: Rebecca Schultz Zavin <rebecca@android.com>
     Date:   Wed Feb 1 11:09:46 2012 -0800

         ion: Switch ion to use dma-buf

         Ion now uses dma-buf file descriptors to share
         buffers with userspace.  Ion becomes a dma-buf
         exporter and any driver that can import dma-bufs
         can now import ion file descriptors.

Signed-off-by: default avatarRebecca Schultz Zavin <rebecca@android.com>

     commit 0d1259b5f84969bd00811ff9faa1c44cdb9fdbb5
     Author: Rebecca Schultz Zavin <rebecca@android.com>
     Date:   Mon Apr 30 16:45:38 2012 -0700

         gpu: ion: Use alloc_pages instead of vmalloc from the system heap

         With this change the ion_system_heap will only use kernel address
         space when the memory is mapped into the kernel (rare case).

Signed-off-by: default avatarRebecca Schultz Zavin <rebecca@android.com>

     commit be4a1ee79a89da3ca705aecc2ac92cbeedd032bd
     Author: Rebecca Schultz Zavin <rebecca@android.com>
     Date:   Thu Apr 26 20:44:10 2012 -0700

         gpu: ion: support begin/end and kmap/kunmap dma_buf ops

         These ops were added in the 3.4 kernel.  This patch adds support
         for them to ion.  Previous ion_map/unmap_kernel api is also
         retained in addition to this new api.

Signed-off-by: default avatarRebecca Schultz Zavin <rebecca@android.com>

     commit 46d71337f9aa84694e4e6cca7f3beb6b033bbf76
     Author: Rebecca Schultz Zavin <rebecca@android.com>
     Date:   Mon May 7 16:06:32 2012 -0700

         gpu: ion: Allocate the sg_table at creation time rather than dynamically

         Rather than calling map_dma on the allocations dynamically, this patch
         switches to creating the sg_table at the time the buffer is created.
         This is necessary because in future updates the sg_table will be used
         for cache maintenance.

Signed-off-by: default avatarRebecca Schultz Zavin <rebecca@android.com>

     commit 903f6c716db3d4e26952aae9717f81dd5bc9e4ba
     Author: Rebecca Schultz Zavin <rebecca@android.com>
     Date:   Wed May 23 12:55:55 2012 -0700

         gpu: ion: Get an sg_table from an ion handle

         This patch adds an interface to return and sg_table given a
         valid ion handle.

Signed-off-by: default avatarRebecca Schultz Zavin <rebecca@android.com>

    The commit also includes fixups needed for MSM specific code.

    Change-Id: Idbcfa9d6af0febf06f56daaa6beaa59cc08e4351
Signed-off-by: default avatarLaura Abbott <lauraa@codeaurora.org>

commit 3fee9743f3a5635370c7558c0f9599966790ef72
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Mon Jul 2 13:20:11 2012 -0700

    camera: Add missing mutex initialization.

    inst_lock of pcam_inst needs to be initialized and destroyed
    properly.

    Change-Id: Ie041fc429cdf122c01b93393bb4a6c20a08e4267
Signed-off-by: default avatarShuzhen Wang <shuzhenw@codeaurora.org>

commit 5dd5442cd6e726430ab5294149f1cff0a33ce6a2
Author: Nishant Pandit <npandit@codeaurora.org>
Date:   Tue Jun 26 22:52:44 2012 +0530

    msm: camera: Add support for concurrent Ispif interface streaming

    Add support for multiple ispif interfaces streaming concurrently.
    PIX abd RDI interface can stream at same time or two RDI interfaces
    may stream at one time depending on usecase

    Change-Id: Ib3cef418cd2816bc19891c1855e1dcae5a2a55a1
Signed-off-by: default avatarNishant Pandit <npandit@codeaurora.org>

commit 1bc7b22825ee72017f7519215f0aa5144d75a9c7
Author: Kiran Kumar H N <hurlisal@codeaurora.org>
Date:   Sat Jun 23 16:28:11 2012 -0700

    msm: camera: Allow user to abort live snapshot.

    Due to some reason, user can decide to abort a live
    snapshot while it is in progress. Add support to stop
    the VFE write masters right away so that the VFE
    stops writing on the buffers allocated by the user.
    Also send an ACK message to userspace once we get
    confirmation from VFE that it has stopped using
    the buffers.

    CRs-Fixed: 373080
    Change-Id: Ia4d9134298dd3a1a51f5829f9bcc2b80d6f21d0f
Signed-off-by: default avatarKiran Kumar H N <hurlisal@codeaurora.org>

commit a2e0c10e4b6bb438300618d6757e9172b4f14f81
Author: Peter Liu <pingchie@codeaurora.org>
Date:   Fri Jun 8 17:06:53 2012 -0700

    msm: camera: Add per instance lock in to serialize

    Add per instance lock to serialize stream operation.
    Protect unpredicted crash on video recording by serializing ops.
    Instead of only using the vid_lock to protect the video node,
    we need inst lock to serialize the stream operation, too.
    This commit increases the stability during recording.

    Change-Id: I4f6dcb6637eb700df04f30a102aada4fdec9f2d1
    CRs-Fixed: 363221
Signed-off-by: default avatarPeter Liu <pingchie@codeaurora.org>

commit ef37a64b411d7d482b71fccc979f2e232e61afd3
Author: Rajakumar Govindaram <rajakuma@codeaurora.org>
Date:   Wed Jun 27 19:05:09 2012 -0700

    msm: camera: Add support for autofocus driver for ov8825

    The sensor OV8825 supports internal actuator driver
    for autofocus operation. Adding necessary board information
    to enable the autofocus driver support

    Change-Id: I8d9a19b31d9fec7dafc6e6b9aabb4c930d0b9ac0
Signed-off-by: default avatarRajakumar Govindaram <rajakuma@codeaurora.org>

commit 73ec728288b1d30c3b967a378d0f2893d254bd67
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Thu Jun 7 01:32:00 2012 -0700

    msm: camera: CPP driver Framework

    Initial commit for Camera Post Processor Driver.
    The driver contains frame queuing and process logic
    using v4l2 framework.

    Change-Id: I283c11c3de3bd121b9c3ea5af1446c13e188d329
Signed-off-by: default avatarKevin Chan <ktchan@codeaurora.org>

commit ff5c9a6edd03766a5f57a51b36b2071053805e65
Author: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>
Date:   Thu Jun 14 09:09:17 2012 -0700

    msm: camera: Actuator i2c interface changes

    Change actuator i2c interface to handle delay within utility funcion.
    In future platform, delay will be handled by lower i2c layer. Hence
    actuator driver need not handle it.

    Change-Id: I39088c20c2a4b38b2a50c6e7e79a29668d8016c1
Signed-off-by: default avatarSreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>

commit b339a1606917e9fcf75b60a0d16f6cce73face1e
Author: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>
Date:   Thu Jun 14 08:45:30 2012 -0700

    msm: camera: Change OV2720 exposure setting

    When sensor is changed from one mode to another, Validate
    coarse integration time and stretch frame length line if
    needed. This is to ensure that coarse integration time is
    always less than frame length lines.

    Change-Id: I7c06e7d1d143d299a6203c56fad351e8cad2f5a1
Signed-off-by: default avatarSreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>

commit 9c4743fd7d5e5230b4f05564432bd6d6b51b4a88
Author: Mayank Chopra <makchopra@codeaurora.org>
Date:   Wed Jun 27 15:31:43 2012 +0530

    Revert "msm: iommu: Split rotator/mdp iommu domains"

    This reverts commit 9ae9beaf0a79f929c4f9928b8daed5a9ed131d6a.

    Change-Id: Ie93cbb23eaa1e35bfbacc53cd18f05b345acea4b
Signed-off-by: default avatarMayank Chopra <makchopra@codeaurora.org>

commit f8f1ed45e949eb0381918ba4858736f5b81885a6
Author: Kalyani Oruganti <kalyanio@codeaurora.org>
Date:   Mon Jun 25 12:37:36 2012 -0700

    camera: To fix compilation error in Mercury.

    Remove the unused include to avoid compilation
    error.

    Change-Id: I8829cc8debe5184951066f23342b3ade2e16777a
Signed-off-by: default avatarKalyani Oruganti <kalyanio@codeaurora.org>

commit d05f40bc3a0912c2dc9a61f7772390f4acb5e49d
Author: Ankit Premrajka <ankitp@codeaurora.org>
Date:   Mon Jun 25 08:39:54 2012 -0700

    msm: camera: provide NULL pointer error checks.

    At certain places in the camera driver, the returned pointer
    from function calls is directly being de-referenced
    without NULL value checks. This change provides such
    checks and appropriately handles failures.

    Change-Id: I333e35df5903355336279483bc326d8f3b99de4f
Signed-off-by: default avatarAnkit Premrajka <ankitp@codeaurora.org>

commit 9ae9beaf0a79f929c4f9928b8daed5a9ed131d6a
Author: Olav Haugan <ohaugan@codeaurora.org>
Date:   Tue May 15 09:50:30 2012 -0700

    msm: iommu: Split rotator/mdp iommu domains

    Finer granularity is needed when mapping into the IOMMU's for
    rotator and mdp for secure playback. During secure playback
    HLOS will only have access to map into one context bank. The
    other context bank is secured and programmed by TrustZone.

    Divide DISPLAY_DOMAIN into DISPLAY_WRITE_DOMAIN and
    DISPLAY_READ_DOMAIN. Divide ROTATOR_DOMAIN into ROTATOR_SRC_DOMAIN
    and ROTATOR_DST_DOMAIN.

    Change-Id: If3e556171645e8ea02deb12ca543df36233db5f2
Signed-off-by: default avatarOlav Haugan <ohaugan@codeaurora.org>

commit e55f0ea77374adff00ea6e104ddee6234bea4b53
Author: Katta Santhisindhu <kattas@codeaurora.org>
Date:   Tue Jun 19 11:58:42 2012 +0530

    msm-camera: Fix for the Preview Blinking for YUV sensor

    Preview is blinking while Zooming for the YUV sensor.
    CRs-Fixed: 371341
    Change-Id: I9c8e0b16ed8384399febea9b2651b8187cd6f964
Signed-off-by: default avatarKatta Santhisindhu <kattas@codeaurora.org>

commit 28feb3d6001aede64d44f7aa13f364571bb25c5c
Author: Nishant Pandit <npandit@codeaurora.org>
Date:   Thu Apr 26 23:56:22 2012 +0530

    msm: camera: Add support for RDI in VFE

    Enable RDI registers and irq handler in VFE. RDI may
    be used to dump sensor data directly to memory
    without passing through VFE.

    Change-Id: I1ca131c31913f62228364440bbe2cd98a6079003
Signed-off-by: default avatarNishant Pandit <npandit@codeaurora.org>

commit af7e5142152a20d25c418fb8b400d0dd04ac69a4
Author: Raju P.L.S.S.S.N <rplsssn@codeaurora.org>
Date:   Sun Jun 17 20:30:16 2012 +0530

    msm: camera: Fix for suspend resume issue due to shared GPIOs

    Use gpio-regulators cam_vdd & cam_avdd instead of
    gpios 35 & 40 as they are shared between camera
    and lcd display.

    CRs-Fixed: 354986
    Change-Id: I72f4611f353415a03117e46e2b8bab2a94d27990
Signed-off-by: default avatarRaju P.L.S.S.S.N <rplsssn@codeaurora.org>

commit b4a278e5206d63224c6c8dc4d46f971cc1124c4b
Author: Kiran Kumar H N <hurlisal@codeaurora.org>
Date:   Mon Jun 18 19:25:47 2012 -0700

    msm: camera: Add IRQ Router subdev implementation.

    Add initial driver code for IRQ Router hardware.
    It shall be implemented as a v4l2 subdevice of the
    msm cam server node.
    Add logic in msm cam server to request for irqs configured
    to the IRQ Router, which can be individual or composite.
    When the individual camera hardware cores interrupt,
    the cam server receives them through the common interrupt
    handler and dispatches them to to the respective hardware
    core's v4l2 subdevice.
    If the usecase demands that the interrupts from two
    different hw cores be composited into a single interrupt,
    (for eg: VFE and ISPIF), then the cam server stores this
    configuration in its interrupt lookup table. When the
    interrupt is triggered on the composited interrupt,
    it is dispatched to the individual hardware cores
    which have been composited into that interrupt.

    Change-Id: Iaadd60cc24de9b5ba8d09a151474658902244d7b
Signed-off-by: default avatarKiran Kumar H N <hurlisal@codeaurora.org>

commit f8644f794a066605a5691290ba9409ace5f451f0
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Thu Jun 14 15:59:26 2012 -0700

    msm: camera: Update camera code to use clk_prepare api

    Update camera clk functions to call clk_prepare
    before clk_enable.

    CRs-Fixed: 372265
    Change-Id: I02a1235f9785277e2197eb98181bb1735ba99e3e
Signed-off-by: default avatarKevin Chan <ktchan@codeaurora.org>

commit 2df27e66353d448e145f7e9fcc4cf57016cf4b57
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Fri Jun 15 00:06:54 2012 -0700

    msm: camera: Use image mode to get buffer

    Use image mode instead of vfe operation mode to
    get and free buffer

    Change-Id: I33e912b0fa4e16d3a89161f98ab9a659b9c197f6
Signed-off-by: default avatarKevin Chan <ktchan@codeaurora.org>

commit 9276a02891347a4e167cbd67d6ac09c4535b6d8b
Author: Sunid Wilson <sunidw@codeaurora.org>
Date:   Thu Jun 14 20:42:05 2012 -0700

    msm: camera: Update gesture control commands

    The control cmd structure for sending events to and from the
    camera daemon has been updated for camera controls in server
    node. Gesture control has been updated leading to crash since
    both camera and gesture uses the same server node.
    Adding the change to reflect the changes for gestures.

    Change-Id: I82d20294d1026a5dce7d63f6d009c83f3f895e56
Signed-off-by: default avatarSunid Wilson <sunidw@codeaurora.org>

commit 2759134d37be22b61b2b6d8b32a69c9585f3be4f
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Wed Jun 20 17:13:09 2012 -0700

    msm: camera: Fix compilation for 7630

    Enable camera on 7630

    Change-Id: I908edcb2801bca621e2f39aea2b4e09106876456
Signed-off-by: default avatarKevin Chan <ktchan@codeaurora.org>

commit 023827475bee5cd7a7023639d92d610bc561ed32
Author: Rajakumar Govindaram <rajakuma@codeaurora.org>
Date:   Thu May 31 10:49:44 2012 -0700

    msm: camera: actuator: Fix the I2C write data.

    The I2C transaction was not properly performed. The data was
    not properly masked for the I2C transaction.

    Change-Id: Ie20c19d1c780e963d9ae47564bb5b0b8a0cd0d72
Signed-off-by: default avatarRajakumar Govindaram <rajakuma@codeaurora.org>

commit b2157c9abb7b436776f786760607126d1c9a8433
Author: Nishant Pandit <npandit@codeaurora.org>
Date:   Wed Apr 25 01:09:28 2012 +0530

    msm: camera: Decouple the ISPIF component from sensor

    Ispif is a separate hardware block. Decouple
    it from sensors so that it can be controlled for various
    camera usecases.

    Change-Id: I539fcb4166edc7a14d15a94c2f7f56b2f196a971
Signed-off-by: default avatarNishant Pandit <npandit@codeaurora.org>

commit d69aeb377834dcad84d54af4b63e8e26a1996a9b
Author: Azam Sadiq Pasha Kapatrala Syed <akapatra@codeaurora.org>
Date:   Tue Jun 12 16:33:36 2012 -0700

    msm: camera: Fix blank preview issue for 8660.

    Decoupling of AXI and VFE is not required for VFE3.1 as multiple
    instances are not supported on it.

    Change-Id: I58882f949ab7d46f09a4120f0038491a4c9c0b03
Signed-off-by: default avatarAzam Sadiq Pasha Kapatrala Syed <akapatra@codeaurora.org>

commit 41a3870e67baceb635884c7fcc76bc7b12273418
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Wed Jun 6 22:25:41 2012 -0700

    msm: camera: Add v4l2 private ioctls

    Add private ioctls s_ctrl, query_ctrl where
    we need to get ctrl data from userspace.

    Change-Id: I404236d072bafb3ef6ef3c0723a707f5805fe92b
Signed-off-by: default avatarKevin Chan <ktchan@codeaurora.org>

commit 26ba77b6cb1fc740e462ce706d81feed8895857a
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Sat Jun 2 18:45:01 2012 -0700

    msm: Remove VFE global variable

    Remove vfe ctrl global variable for concurrent camera.

    Change-Id: Iedac66025c68264341f56916120ab2c9b0ffaf9b
Signed-off-by: default avatarKevin Chan <ktchan@codeaurora.org>

commit 7667d1aeb296043c35f3f00375a45c68202566b6
Author: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>
Date:   Wed Jun 13 23:24:24 2012 -0700

    msm: camera: Use utility function for i2c write

    Use common utility function for i2c writes in flash interface.
    If all i2c transfers are routed through common utility function,
    only the utility function implemention will change if i2c inteface
    changes across platform.

    Change-Id: If42f6ec274e42a61b7406031d87b6908525d9442
Signed-off-by: default avatarSreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>

commit 1811cbac5c4245d1bdbf31ac0913efcf949b9e24
Author: Rajeev Kulkarni <krajeev@codeaurora.org>
Date:   Wed Jun 13 12:11:28 2012 -0700

    msm: camera: Fix msm.h include path.

    msm.h is now moved to drivers/media/video/msm
    directory.

    Fixes following compilation error:
    drivers/media/video/msm/server/msm_cam_server.h:20:
    fatal error: msm.h: No such file or directory

    Change-Id: I3bd478558e2b0f583475809244d33f4d59132ec0
Signed-off-by: default avatarRajeev Kulkarni <krajeev@codeaurora.org>

commit 26fb71c5d7cfdd315af20b946802909e3f146796
Author: Rajakumar Govindaram <rajakuma@codeaurora.org>
Date:   Tue Jun 12 17:03:27 2012 -0700

    msm: camera: Fix for post power-down actuator IOCTLs

    When there is an error condition, there is a possibility
    for the call sequence to be out of order. Hence the actuator
    IOCTLs could be invoked after power-down. This NULL assignment
    ensured no IOCTLs are processed by the actuator.

    Change-Id: I4cf228212220633e4f9d978e3871e735f8f360ef
Signed-off-by: default avatarRajakumar Govindaram <rajakuma@codeaurora.org>

commit 64bd23cb9d7ed79a1f18a938116112c4196772e3
Author: Kiran Kumar H N <hurlisal@codeaurora.org>
Date:   Fri May 25 12:06:21 2012 -0700

    msm: Allow VPE driver to be configured directly.

    Currently VPE hardware is being controlled through
    the config node. Since it is converted into a V4L2
    subdevice, we could control it directly from
    userspace by issuing open, close and ioctl system
    calls.
    The ACK from VPE hardware shall be routed directly
    to userspace by putting the ACK event on the v4l2
    event queue.

    Change-Id: I7f82a750a28732382627349da362dbee8e27b149
Signed-off-by: default avatarKiran Kumar H N <hurlisal@codeaurora.org>

commit 3a799e82585f7538387049bb02bdb4da7e382383
Author: Suresh Vankadara <svankada@codeaurora.org>
Date:   Wed Jun 13 18:28:32 2012 +0530

    msm: camera: Ignore STOP command in snapshot mode

    Ignore VFE(Video Front End) STOP command if camera
    is in snapshot mode and send STOP_ACK as part of
    STOP command processing.

    Change-Id: Ib9e6af9c6f19d47a873ece9b9916c5ae262a4bfa
    CRs-Fixed: 369336
Signed-off-by: default avatarSuresh Vankadara <svankada@codeaurora.org>

commit 9f84f79fa9c668d45c7a67a1784b30af110f864e
Author: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>
Date:   Tue Jun 5 14:19:10 2012 -0700

    msm: camera: Change S5K3L1YX sensor setting

    Change S5K3L1YX sensor register setting to increase Frames Per
    Second (FPS) to 30.5 to fix banding at 60Hz light source

    CRs-fixed: 365107
    Change-Id: I0358cbc093cd00bf28dd7e61ee99b7f5c2434523
Signed-off-by: default avatarSreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>

commit b0565b366177e040cb13d3d97723c3f2a6297860
Author: Katta Santhisindhu <kattas@codeaurora.org>
Date:   Fri Jun 8 13:21:43 2012 +0530

    msm-camera : Support for OV8825 sensor

    OV8825 (OmniVison) sensor Support is added for 8625
    target. This sensor is added as a V4L2 (Video For Linux2)
    sub device and It supports 8MP resolution.

    change-Id: Ic89ccf059ff8747ce56a4341cd87fb8870a94512
Signed-off-by: default avatarRaju P.L.S.S.S.N <rplsssn@codeaurora.org>
Signed-off-by: default avatarKatta Santhisindhu <kattas@codeaurora.org>

commit 212d97204704a2f2503a2ff7f288fb08bf2b2153
Author: Suresh Vankadara <svankada@codeaurora.org>
Date:   Wed May 30 15:51:20 2012 +0530

    msm: camera: Add effects for front camera.

    Added Support for  Effects like saturtaion,contrast for YUV sensor
    CRs-Fixed: 352316
    Change-Id: If278755849a866e84069ce517b2f1f6c67294980
Signed-off-by: default avatarKatta Santhisindhu <kattas@codeaurora.org>

commit 465d1e118f33364e2d6608c9646814987ed85789
Author: Kalyani Oruganti <kalyanio@codeaurora.org>
Date:   Tue May 15 10:23:05 2012 -0700

    camera: Mercury hardware JPEG decoder driver support.

    Support for Mecury hardware JPEG decoder engine.

    Change-Id: I3b213f373e813db6766ec4f6a779fbdbae54afe8
Signed-off-by: default avatarKalyani Oruganti <kalyanio@codeaurora.org>

commit 837ae365bf6a2e8ee116f2e9efeadf1faa4588d2
Author: Deva Ramasubramanian <dramasub@codeaurora.org>
Date:   Sat May 12 23:26:53 2012 -0700

    video: msm: wfd: Add turbo mode support

    Add support for userspace to push the video core clock to maximum
    supported by hardware.

    Change-Id: Ida6618fd77bc24fe043885306083249546797054
    CRs-Fixed: 361108
Signed-off-by: default avatarSrinu Gorle <sgorle@codeaurora.org>

commit cbe03057bee96b70e9cb1b323fd951ccc63b2331
Author: Raju P.L.S.S.S.N <rplsssn@codeaurora.org>
Date:   Fri Jun 8 14:34:49 2012 +0530

    msm: camera: Fix for preview exposure gain for ov5647

    The frame_length_lines are approriately scaled according
    to fps value while writing exposure gain for ov5647

    Change-Id: Idb9982977b21edebfe8eca6e0597493b01403f4e
Signed-off-by: default avatarRaju P.L.S.S.S.N <rplsssn@codeaurora.org>

commit 06172ca8219a8fad863698dfb20c8dec25ac2ca0
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Fri Jun 1 16:29:46 2012 -0700

    camera: Use suspend wakelock and pm_qos functions.

    Idle wakelock is being obsoleted in Linux kernel 3.4.
    Replace idle wakelock with suspsend wakelock. To request
    latency requirements, use pm_qos family of functions
    across all targets.

    CRs-Fixed: 366402
    Change-Id: I30936d60c17f8f77d31f6e04667bb0681c6a9294
Signed-off-by: default avatarShuzhen Wang <shuzhenw@codeaurora.org>

commit 96caeb815ae6a1d4b489c6ceae768114b6d4b835
Author: Ankit Premrajka <ankitp@codeaurora.org>
Date:   Tue Jun 5 11:31:16 2012 -0700

    msm: camera: use IOMMU mapped IMEM addresses

    For the inline JPEG use case, VFE writes directly to IMEM. These
    IMEM addresses need to be mapped to the IOMMU, before VFE can
    write to them through the corresponding IOVAs.

    Change-Id: I746316f77c0b56b004fad50e40e23bdabcad3069
Signed-off-by: default avatarAnkit Premrajka <ankitp@codeaurora.org>
    CRs-fixed: 356873

commit 2fcabf92eea31cad2ec4852dcab563f2c93e4294
Author: Stephen Boyd <sboyd@codeaurora.org>
Date:   Wed May 30 10:41:11 2012 -0700

    msm: Replace idle wakelocks with pm_qos

    Idle wakelocks are being removed so replace them with pm_qos.
    Since we don't know every driver's latency requirements we
    maintain one-to-one compatabilty with the idle wakelock API by
    replacing the wakelock with a pm_qos request of the correct
    latency.

    Once we determine the actual latency requirements of each driver
    we can replace the latency used with the correct latency for the
    device.

    Change-Id: Icc40f1642218e0de8fc2f56eaf9e8f92914d142f
Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>

commit 29f838bdaea6b245de9e5abfcf2ad0941bf3f0f0
Author: Kiran Kumar H N <hurlisal@codeaurora.org>
Date:   Wed May 16 00:39:07 2012 -0700

    msm: camera: Move server code into seperate file.

    Seperate server code from msm.c.
    msm.c will host the code responsible for
    maintaining the video node, including multiple
    instances of camera.
    msm_cam_server will host the code responsible
    maintaining camera server and code common across
    multiple camera instances.

    Change-Id: I408d10411162151851e94f3de4a301f0d3fe4106
Signed-off-by: default avatarKiran Kumar H N <hurlisal@codeaurora.org>

commit f10b6c985bf1a26265e2fb2feebd437f8426d1ce
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Wed May 16 21:57:38 2012 -0700

    msm: camera: Close camera gracefully in case of userspace crash

    Add protection to prevent race condition during userspace
    crash. Ensure that all V4L2 events and event payload
    are dequeued and free properly.

    Change-Id: I6b30b20b8c7b9c1ee6fb9c75faca631def414cd1
Signed-off-by: default avatarKevin Chan <ktchan@codeaurora.org>

commit 7c81518dcab881ec50ea811b6968a3031974e8fa
Author: Azam Sadiq Pasha Kapatrala Syed <akapatra@codeaurora.org>
Date:   Thu May 31 19:28:09 2012 -0700

    msm: Seperate VFE/AXI register programming from start and stop func.

    Decouple AXI and VFE. This will help to control/program VFE and AXI
    independently.

    Change-Id: Ic892f1ebe1ce0ac29bd95f0852a74de6cfbabcc5
Signed-off-by: default avatarAzam Sadiq Pasha Kapatrala Syed <akapatra@codeaurora.org>

commit a76271d17690151f7220a95ddb16bf6d2fc9d3dd
Author: Suresh Vankadara <svankada@codeaurora.org>
Date:   Tue Jun 5 11:37:46 2012 +0530

    msm: camera: Fix for exposure gain in ov5647

    Initialize max_line to zero instead of 984 to allow
    the code execution if the line count is less than 980
    and max line count is greater than 984.

    similar change is done for snapshot exposure gain.

    Change-Id: Ic3e68ccf27cf05a71eacc9b7409b7ebe81190eee
Signed-off-by: default avatarSuresh Vankadara <svankada@codeaurora.org>

commit 6822e1c9a3c634182aae143ce1a92aa9a0aea4c4
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Mon Jun 4 02:47:08 2012 -0700

    msm: camera: Store buffer info in vb2 buffer

    Store data & address offset for each plane
    to vb2 buffer for HAL layer. The buffer information
    will be re-used when buffer is queued back to kernel.

    Change-Id: I1e2aac2c65092d168d584a2e58ef375b2cd7fa0b
Signed-off-by: default avatarKevin Chan <ktchan@codeaurora.org>

commit 20d393f8c27b2477e24bb0dbc93fcb9a96d55344
Author: Sunid Wilson <sunidw@codeaurora.org>
Date:   Fri Jun 1 19:19:54 2012 -0700

     msm: gestures: Fix invalid error check

    Current code does NULL check  when gesture payload is
    received. Since v4l2_event userdata is an byte array,
    NULL check is not required.

    Change-Id: Ia2542e4567a694587358c21e863d2c7a7857ea85
Signed-off-by: default avatarSunid Wilson <sunidw@codeaurora.org>

commit 31dc5a2b083a27c0521879546318869bbe713711
Author: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>
Date:   Tue May 29 13:44:36 2012 -0700

    msm: camera: Remove msm_sensor undefined functions

    Remove undefined functions in msm_sensor header

    Change-Id: Ie81fd441dda89370b5eb89c2618ced532c0e70fc
Signed-off-by: default avatarSreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>

commit ec33ff2208d2a3aebf7b742d2609bcef6f18ad06
Author: Ankit Premrajka <ankitp@codeaurora.org>
Date:   Wed May 30 16:48:54 2012 -0700

    msm: camera: use correct instance of local queue pointer.

    There is a bug in the msm_open error handling, where the clean-up
    is being done on a 'function level' instance of a pointer,
    whereas the initialization is done on an 'if level' instance in
    the same function. This change removes the 'if level' instance.

    Change-Id: If4eb1db222a503523cb96fa2a49b6f15cbe8e36c
Signed-off-by: default avatarAnkit Premrajka <ankitp@codeaurora.org>
    CRs-fixed: 366199

commit 94d07c3e3d2604777d40ec5d6a2d04dbb105793a
Author: Suresh Vankadara <svankada@codeaurora.org>
Date:   Tue May 29 17:59:25 2012 +0530

    msm: camera: Fix for ZSL issue

    In ZSL(Zero Shutter Lag) mode, only 5 buffers are
    allocated. 3 buffers are with VFE and 2 buffers are
    with userspace. After receiving 3rd buffer only
    userspace code enqueue free buffers again to driver.
    After sending 2 buffers to userspace driver is not
    able to find free buffer to satisfy 3 buffer requirement.
    So driver always resend it to VFE instead of userspace
    and no frames to userspace.

    Update driver to send the buffer to userspace and
    resend the same buffer to VFE also in ZSL mode.

    CRs-Fixed: 364107
    Change-Id: I4111052acdb3a1973121f71d332c4d3a569c700d
Signed-off-by: default avatarSuresh Vankadara <svankada@codeaurora.org>

commit ca00c341b7657888f6a2b3d06c9a9a3d5aa66209
Author: Deepti Mudadla <dmudadla@codeaurora.org>
Date:   Thu Apr 19 17:20:14 2012 -0700

    msm:camera: Fix for msm_sensor_set_fps function

    The msm_sensor_set_fps function should update only fps_div and the
    fll update should be done in the msm_sensor_write_exp_gain function.

    Change-Id: I5d1320b7af826e113cb798fc77ac61155204cf13
Signed-off-by: default avatarDeepti Mudadla <dmudadla@codeaurora.org>

commit 687841ef81f55c5c9cc516af45a8255fea0c67b9
Author: Suresh Vankadara <svankada@codeaurora.org>
Date:   Mon May 28 09:00:17 2012 +0530

    msm: camera: Fix memory leaks in vfe2x driver

    Update vfe2x driver to free allocated memory to
    avoid memory leaks.

    CRs-Fixed: 357468
    Change-Id: I951aca2f2fc8ae103fd9f13a7e66f49f6548d1f0
Signed-off-by: default avatarSuresh Vankadara <svankada@codeaurora.org>

commit 5b1e6f1afb70ace03b32b48d4d70f34302decdc2
Author: Laura Abbott <lauraa@codeaurora.org>
Date:   Mon May 28 08:13:55 2012 -0700

    msm: camera: Remove subsystem_map header

    The old subsystem_map APIs are being deprecated. The
    msm_subsystem_map.h header file used to have definitions for
    iommu domains. Remove this header file and include iommu_domains.h
    to get the necessary iommu definitions.

    Change-Id: I417a357789a8fea16bbadd98663a8ebe873ff4e7
Signed-off-by: default avatarLaura Abbott <lauraa@codeaurora.org>

commit 772e453eb3ae319ceb8ef8e1df960fb41661b103
Author: Vijay kumar Tumati <vtumati@codeaurora.org>
Date:   Mon May 28 19:29:18 2012 +0530

    msm: camera: add check for null queue pointer

    crashes are possible without the
    null pointer check for 'queue' in msm_open

    Change-Id: I8c049ff1f3df092c36aec8696bfbef604ed2b99a
Signed-off-by: default avatarVijay kumar Tumati <vtumati@codeaurora.org>

commit 353b6ffa1c70ff6f5cd948272b129caace87444b
Author: Jeyaprakash Soundrapandian <jsound@codeaurora.org>
Date:   Fri May 18 00:53:44 2012 -0700

    msm: camera: camera lens placed at mechanical infinity

    The lens should be moved smoothly to the mechanical
    infinity with proper damping values while closing the
    camera application. The default focus call is initiated to
    reset the lens at proper place.

    Change-Id: Ib063bfc23ef44a1d9f17bbaf01043b2767584b81
Signed-off-by: default avatarJeyaprakash Soundrapandian <jsound@codeaurora.org>

commit 1c2c832b3fe89cc7e44c9662fe73795417c3e39b
Author: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>
Date:   Fri May 25 16:24:12 2012 -0700

    msm: camera: Change OV2720 sensor register setting

    Change OV2720 sensor register setting
    1) to turn off auto white balance
    2) to get 90 fps by changing internal clock configuration

    Change-Id: Ifb11edbc543cc6ac87109007453909b12b860b99
Signed-off-by: default avatarSreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>

commit 9ef70852238212e6df24584426ad263291df1bf4
Author: Deva Ramasubramanian <dramasub@codeaurora.org>
Date:   Tue May 1 19:19:40 2012 -0700

    video: msm_fb: Wait for dma to finish before terminating

    If writeback takes too long to finish, after calling _stop()
    writeback client might deallocate buffers during the DMA causing faults.
    To prevent this situation, make _stop() a blocking call that waits
    for the writeback to finish before returning.

    Change-Id: Ia710095a55d705589a81aa9bc29c41d536c2a42d
    CRs-Fixed: 351773
Signed-off-by: default avatarDeva Ramasubramanian <dramasub@codeaurora.org>

commit b607a109cbb7093da12cef6a3c21f1e2719ef35b
Author: Praveen Ac <praveenac@codeaurora.org>
Date:   Tue May 22 16:06:59 2012 +0530

    msm: camera: Adjust exposure under low light for Snapshot

    When input line count exceeds max_line count then
    max_line count is written for frame lenght lines.

    Change-Id: Id7d5f57e3f88979171aa03109d2fd770c9a186a8
Signed-off-by: default avatarPraveen Ac <praveenac@codeaurora.org>

commit bbbafb5a7d4542da5737b0fb85c48ebd1cc57392
Author: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>
Date:   Thu May 24 08:56:50 2012 -0700

    msm: camera: Configure sensor exposure setting

    While returning to preview after snapshot, preview session is
    started with exposure setting of snapshot. There is a flicker in
    preview screen due to this. Store exposure setting during preview
    and use it while returning from snapshot.

    CRs-fixed: 360384
    Change-Id: Idad068f00613e4cc1d052e9b810f484173b39689
Signed-off-by: default avatarSreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>

commit a236290fa341c3bd10ffd7295e65eceb600f5b6c
Author: Mingcheng Zhu <mingchen@codeaurora.org>
Date:   Wed May 9 22:58:21 2012 -0700

    msm: camera: Not allocate memory for the buffer done event.

    Unnecessary code cleaned.

    Change-Id: I9ffd389156a971a867475ff9ea6d4a7f8ca70cab
Signed-off-by: default avatarMingcheng Zhu <mingchen@codeaurora.org>

commit 85099fe598e08ea3225f72dd7c088a36ddd54657
Author: Jeyaprakash Soundrapandian <jsound@codeaurora.org>
Date:   Tue May 15 17:09:51 2012 -0700

    msm: camera: enabled flash driver support with TPS61310

    The tps61310 drives the LED flash in the target 8930.
    The driver support for the same is enabled with sensor 3L1.

    CRs-Fixed: 359982
    Change-Id: I2c3027cbb7bc9db57e081840de9972e3ac802e88
Signed-off-by: default avatarJeyaprakash Soundrapandian <jsound@codeaurora.org>

commit ad053e8efce7113d87652e07bbfdd54a8fc766b1
Author: Raju P.L.S.S.S.N <rplsssn@codeaurora.org>
Date:   Mon May 21 10:58:01 2012 +0530

    msm: camera: Disable MIPI_PWR_CTRL reg and csi_pclk clock

    Disable AHB/VFE/CSI clock bits in MIPI_PWR_CTRL register
    and csi pclk if camera is not in use

    CRs-Fixed: 362533
    Change-Id: If0e68a0964a9b4d52667299f366db2fc74303e96
Signed-off-by: default avatarRaju P.L.S.S.S.N <rplsssn@codeaurora.org>

commit 5e7eab6d4063a964e37de249f94f7f5fd0530c9c
Author: Sandeep Kodimela <skodimela@codeaurora.org>
Date:   Mon May 21 17:11:30 2012 +0530

    msm: camera: Fix buffer corruption issue

    VFE driver should not send the buffer received from
    VFE to user space when there is no free buffer in
    a queue to configure VFE.
    This is to avoid concurrent access to the same buffer
    by VFE and user space(display/encoder).

    CRs-Fixed: 362141
    Change-Id: I99bc9372454ca6752436ea50982a50ad18979bdc
Signed-off-by: default avatarSandeep Kodimela <skodimela@codeaurora.org>

commit 4f126a9013071d49f076f8abb6aefde636599b83
Author: Sandeep Kodimela <skodimela@codeaurora.org>
Date:   Sat May 19 15:09:02 2012 +0530

    msm: camera: Fix for 8x25 camera stability issue

    1. Handle Auto Focus Stop command in vfe2x driver
    2. Don't move auto focus lens if current and target
       lens positions are same
    3. Don't send Update command when table command is in
       progress and send a fake update ack.

    CRs-fixed: 361149
    Change-Id: Ib01c8c41fd14a8ad89bbfc3fabfc7fdd134caf01
Signed-off-by: default avatarSandeep Kodimela <skodimela@codeaurora.org>

commit cfdfa0ea8458d0705c2d8b69d5b851d88c20c55c
Author: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>
Date:   Tue May 15 15:56:05 2012 -0700

    msm: camera: Rename OV7692 config macro

    Rename OV7692 config macro from CONFIG_WEBCAM_OV7692_QRD to
    CONFIG_OV7692 since the driver is shared between 8x60 and 8x25.
    Rename OV7692 driver file name.

    Change-Id: Ife0414ebb2f3fd16b7a0daf3883f2db55ab2b4cc
Signed-off-by: default avatarSreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>

commit 3a9722a0244985896f4052867c1e66176741dc76
Author: Suresh Vankadara <svankada@codeaurora.org>
Date:   Mon May 21 10:09:05 2012 +0530

    msm: camera: Reset CSI clocks before csi configuration

    Reset CSI(Camera Serial Interface) clocks in CSI
    initialization function. It avoids resetting of
    CSI clocks after CSI configuration.

    CRs-Fixed: 328242
    Change-Id: I6314e712d58069d4f7ba0965cf2d9969a60d8cf7
Signed-off-by: default avatarSuresh Vankadara <svankada@codeaurora.org>

commit 66d2cbe44f51b4f0cdff1020350d146bd76db61e
Author: Deva Ramasubramanian <dramasub@codeaurora.org>
Date:   Fri Mar 16 12:28:55 2012 -0700

    video: msm: wfd: Allow client to specify number of buffers

    As per the V4L2 spec, client is allowed to specify the number of output
    buffers that it would like to use.

    Change-Id: Ie70ddc82257f639cd704548988330c075829adf8
Signed-off-by: default avatarDeva Ramasubramanian <dramasub@codeaurora.org>

commit 4584b5fe6f4ed1f4b0e5131c83a767a97497b9de
Author: Sunid Wilson <sunidw@codeaurora.org>
Date:   Fri Apr 13 12:48:25 2012 -0700

    msm: camera: Add support for gesture driver

    Added gesture driver code. Gesture node is a subdevice to
    server node.

    Change-Id: I488da3dbdb502a2f78b0cd5269dd113c472ee377
Signed-off-by: default avatarSunid Wilson <sunidw@codeaurora.org>

commit 34fc95b423796e7b1d474171af67784a5678cfd2
Author: Azam Sadiq Pasha Kapatrala Syed <akapatra@codeaurora.org>
Date:   Fri May 11 17:40:20 2012 -0700

    msm: camera: Flush event queue during close.

    Event queue needs to be drained to avoid picking any
    stale entries in the future iterations

    CRs-Fixed: 360672
    Change-Id: I5a54afe6a3c2e2527069dcebd95998657e1e7b18
Signed-off-by: default avatarAzam Sadiq Pasha Kapatrala Syed <akapatra@codeaurora.org>

commit ce5c5c21bfdf325c5451c2a14c8727a9743888a6
Author: Raju P.L.S.S.S.N <rplsssn@codeaurora.org>
Date:   Thu May 17 23:10:08 2012 +0530

    msm: camera: Fix for setting gpio states used by ov7692

    The gpios 35 & 40 are shared by camera sensors & lcd display.
    The generic gpio config functions disable the gpios during
    camera power down if specified through the normal gpio table
    array. These gpios need to be handled differently.

    Change-Id: I43dd915e5467372ba5b15a535dcb8d2ce7c78c2f
Signed-off-by: default avatarRaju P.L.S.S.S.N <rplsssn@codeaurora.org>

commit ff697200a2acf720bf7870d6cc57b04c12f6dcb7
Author: Deepti Mudadla <dmudadla@codeaurora.org>
Date:   Thu May 10 11:16:06 2012 -0700

    msm: camera: Fix for LED GPIO

    Configured LED GPIO to low as we are pulling to high
    when LED is LOW and HIGH.

    Change-Id: I6e84fa4c992a138642d2d44a9c8d342816ebdb13
Signed-off-by: default avatarDeepti Mudadla <dmudadla@codeaurora.org>

commit e1eacdcaa7add67cf91014030283a41db0094e85
Author: Raju P.L.S.S.S.N <rplsssn@codeaurora.org>
Date:   Thu May 17 12:08:27 2012 +0530

    msm: camera: Enable ZSL for 5MP sensor (ov5647)

    Register settings, dimentions related structures added
    specific to ZSL to enable it for 5MP (ov5647) sensor.

    CRs-Fixed: 351047
    Change-Id: I189a59c89e6f2ecc3fd02a5d159124c60cc991e3
Signed-off-by: default avatarRaju P.L.S.S.S.N <rplsssn@codeaurora.org>

commit a435fc678ece863162b02211fe19859825e4bb0d
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Thu May 3 22:20:20 2012 -0700

    msm: camera: Add some error checks

    CRs-fixed: 358717
    Change-Id: Idd5c49b185c70f8874553b6da9b02db259441642
Signed-off-by: default avatarKevin Chan <ktchan@codeaurora.org>

commit e09ddcfc3b41f52788fe3174b08bb69f0078929a
Author: Raju P.L.S.S.S.N <rplsssn@codeaurora.org>
Date:   Fri May 11 15:33:48 2012 +0530

    msm: camera: Fix for msm_open_config kref_get warning

    Fixes the kref_get warning by calling it only in case of ION

    CRs-Fixed: 359533
    Change-Id: If003e30f3fb30eb7dce7defe185cd5d4773e2e14
Signed-off-by: default avatarRaju P.L.S.S.S.N <rplsssn@codeaurora.org>

commit d77287be02473b9e93711c3878ecfeef3c4d031e
Author: Raju P.L.S.S.S.N <rplsssn@codeaurora.org>
Date:   Thu May 10 18:32:36 2012 +0530

    msm: camera: Make memory allocation atomic in vfe irq handler

    Use GFP_ATOMIC instead of GFP_KERNEL to make kalloc atomic
    in vfe irq handler.

    Change-Id: Ie91d60e1301cdb45b925b5699441ea3c37ff41ef
Signed-off-by: default avatarRaju P.L.S.S.S.N <rplsssn@codeaurora.org>

commit 94eeeaad68d7ca8c6a1ce39c60cfd29df62f54b4
Author: Lokesh Kumar Aakulu <lkumar@codeaurora.org>
Date:   Tue May 8 16:01:16 2012 +0530

    msm: camera: Fix Greenish Edges in corners for CW & Horizon images

    1.Add Black Level Trigger register values to register set.
    2.Change Group hold ON/OFF register base address & data.
    3.Update correct exposure calculations,especially during exposure
      switch from light to dark.
    4.Access of Frame lenght lines is protected under Group Hold ON/OFF

    CRs-Fixed: 359509
    Change-Id: I8dd748f1b82850e565928bf4ea4c890ebae71d63
Signed-off-by: default avatarLokesh Kumar Aakulu <lkumar@codeaurora.org>

commit 90b64d89893e599ff282efe4707c279fb18e0999
Author: Raju P.L.S.S.S.N <rplsssn@codeaurora.org>
Date:   Mon May 14 12:13:25 2012 +0530

    msm: camera: Fix for high power issue in s5k4e1 actuator

    The gpio directions are set to output and state
    is set to low during probe.

    CRs-Fixed: 347415
    Change-Id: If0d2f60613a6d1140ed3d99e01f349ef283d67a2
Signed-off-by: default avatarRaju P.L.S.S.S.N <rplsssn@codeaurora.org>

commit abd2dc46edf60005a2b051c2b86540cfe63f1a70
Author: Raju P.L.S.S.S.N <rplsssn@codeaurora.org>
Date:   Mon May 7 21:28:45 2012 +0530

    msm: camera: Update vfe clock rate specific to sensor

    Update vfe clock depending on sensor
    type and fps setting

    CRs-Fixed: 356122
    Change-Id: I8493cb667733f56de6ad8714bbe0d0af716ad40d
Signed-off-by: default avatarRaju P.L.S.S.S.N <rplsssn@codeaurora.org>

commit 4947d8cd8cc0889058801820d56edd9bbcb23d70
Author: Deva Ramasubramanian <dramasub@codeaurora.org>
Date:   Tue Apr 3 12:41:06 2012 -0700

    msm: vidc: Use pre-computed frame delta values in WFD use case

    In WFD use-case with frame skipping enabled, we wish to fool the core
    into thinking that that the frames are coming at a consistent rate so
    that we don't run into any issues with the core's rate control
    mechanism.

    Introduce a client-settable property that dictates what the timestamp
    delta between any two frames might be.

    Change-Id: Iea3f97879227b7932543d3449d311758dc4a2f59
Signed-off-by: default avatarDeva Ramasubramanian <dramasub@codeaurora.org>

commit 4a023d8274df1e0b92a97a6c7733e7954a31ec57
Author: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>
Date:   Mon May 14 09:39:08 2012 -0700

    msm: camera: Change OV2720 exposure setting

    Change OV2720 sensor register setting to use manual auto
    exposure mode

    Change-Id: I13a97b7988355029a3fd60fda9367e3a719cd101
Signed-off-by: default avatarSreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>

commit 042feecc09d5eefa7ab2e1f128d71f03ceaa3785
Author: Ujwal Patel <ujwalp@codeaurora.org>
Date:   Thu May 3 15:35:10 2012 -0700

    msm: camera: Add proper error handling during camera open.

    During camera open, many sequential operations are performed.
    If any of those operations fails, undo the previous
    operations in reverse order.

    CRs-fixed: 356281
    Change-Id: I990def08c6a516b20de5e27e6df3a17f020df06c
Signed-off-by: default avatarUjwal Patel <ujwalp@codeaurora.org>

commit 734476bedc61c6faaed7038131ac63f72ef2aac4
Author: Jeyaprakash Soundrapandian <jsound@codeaurora.org>
Date:   Thu May 3 20:08:15 2012 -0700

    msm: camera: eeprom subdevice support for camera sensor

    The OTP data for calibration is stored in the eeprom. The eeprom
    is registered as a subdevice and necessary functionality is added
    for reading and fetching data to user space.

    Change-Id: I119a31fa7eccc597c92b7c418c8d04c291e294f5
Signed-off-by: default avatarJeyaprakash Soundrapandian <jsound@codeaurora.org>

commit 9719a9969db818587b6ca38bfe1362679bfbb74b
Author: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>
Date:   Mon Apr 16 15:28:05 2012 -0700

    msm: camera: OV7692 v4l2 sensor driver

    Add board file configuration, clock configuration, regulator
    setting and sensor register setting to enable OV7692 sensor
    driver based on v4l2 architecture

    CRs-fixed: 351530
    Change-Id: I76287fdd0fc45999e6463f43b4dd3b0640017bfc
Signed-off-by: default avatarSreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>

commit 21be254af471153a99af3c39f7fc7f35f1115e58
Author: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>
Date:   Thu Apr 26 18:08:49 2012 -0700

    msm: camera: OV2720 HFR support

    Add sensor register settings and resolution information to
    support high frame rate (HFR) for OV2720 sensor

    Change-Id: I50c8ef55607e134de0cc444815bbecd77d0db014
Signed-off-by: default avatarSreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>

commit 60151a3feffa67441a9896f9661d473517c03c57
Author: Rajakumar Govindaram <rajakuma@codeaurora.org>
Date:   Tue Apr 3 20:26:50 2012 -0700

    msm: camera: Fix msm_camera_i2c_poll function call

    The i2c_poll call was failing. This is because the
    argument was not properly used. Fix the argument which
    corresponds to reg_data.

    CRs-Fixed: 348564
    Change-Id: I6dea8ce818a3e92ce177a7070171dc8f7c30bf1a
Signed-off-by: default avatarRajakumar Govindaram <rajakuma@codeaurora.org>

commit b3280be7a418e5a6923cacfae4079a9fc9bda376
Author: Deva Ramasubramanian <dramasub@codeaurora.org>
Date:   Wed May 9 16:36:23 2012 -0700

    video: msm: wfd: Make logs clearer

    The normal log printed after a successful stream_off is too scary.
    Amended the log to be more accurate.

    Change-Id: I0ee6cc2b15bf0cdfb77026ea5c6adece32a91ad7
    CRs-Fixed: 358796
Signed-off-by: default avatarDeva Ramasubramanian <dramasub@codeaurora.org>

commit 5c822ec19abd289f6745182893a8308765368d17
Author: Rajakumar Govindaram <rajakuma@codeaurora.org>
Date:   Mon Apr 30 12:23:00 2012 -0700

    msm: camera: Add proper csid irq release

    Whem CSID is released and reopened interrupts
    need to be freed and requested to ensure
    proper handling of CSID interrupt resource.

    Change-Id: I47e7cf951254fee72de4da04a5b5ab3fb6c8c2db
Signed-off-by: default avatarRajakumar Govindaram <rajakuma@codeaurora.org>

commit b4a0b9f95da3cdd536ec18a1b61b52401de47c08
Author: Ujwal Patel <ujwalp@codeaurora.org>
Date:   Thu May 10 18:24:20 2012 -0700

    msm: camera: Correct typos in VPE driver.

    Correct the register address of VPE_AXI_ARB_2
    and device name during irq request.

    Change-Id: I49f89b8d1d6fc64981a9cce0efbdf7f214360cb5
Signed-off-by: default avatarUjwal Patel <ujwalp@codeaurora.org>

commit c685e052804ce5ee5989813ea72f52f6fdcc9185
Author: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>
Date:   Tue May 1 09:38:08 2012 -0700

    msm: camera: Validate and adjust exposure setting

    While changing between preview and snapshot modes, different
    frame length line is configured. Coarse integration time may
    become invalid for some frame length line values. Validate and
    reconfigure frame length line while switching between modes

    CRs-fixed: 356564
    Change-Id: I4b0f3b9525b11a3590610acb69434ad8a19f9552
Signed-off-by: default avatarSreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>

commit 967d862f12043c20a508784875a032a822d8f29c
Author: Raju P.L.S.S.S.N <rplsssn@codeaurora.org>
Date:   Wed May 9 12:35:51 2012 +0530

    msm: camera: Add HFR support for ov5647 sensor

    Add High Frame Rate support for 5MP (ov5647)
    Omnivision sensor

    Change-Id: I16e49ea50cf3786425d2726587f58c3ed7d1010b
Signed-off-by: default avatarRaju P.L.S.S.S.N <rplsssn@codeaurora.org>

commit e4454b833d34b348495e80488948b60589adbdc8
Author: Matt Wagantall <mattw@codeaurora.org>
Date:   Thu May 3 20:48:01 2012 -0700

    msm: gemini: Pass device pointers to regulator_get()

    Passing a device pointer instead of NULL as the first argument
    to regulator_get() allows the device to be taken into account
    when finding a matching regulator.

    Change-Id: Ib5cd5858cd0f61ea1b699385763adec9ca9ae72e
Signed-off-by: default avatarMatt Wagantall <mattw@codeaurora.org>

commit c43396f4b1c9243d9bd26198e2aa45dc7645a933
Author: Suresh Vankadara <svankada@codeaurora.org>
Date:   Tue May 8 10:03:57 2012 +0530

    msm: camera: Fix for ZSL and RAW snapshot issue

    AXI configuration is failed for ZSL(Zero Shutter Lag) mode,
    and for RAW snapshot cases, because these cases are not handled
    in camera driver. Update camera driver with ZSL and RAW
    snapshot cases to handle axi configurations for these modes.

    Change-Id: I880f8ef9059017a012299a3c153af6d510469b3d
Signed-off-by: default avatarSuresh Vankadara <svankada@codeaurora.org>

commit 5bd0660a216dfdf934e4d91b519aa04cc186c9dc
Author: Jignesh Mehta <jigneshm@codeaurora.org>
Date:   Fri May 4 16:23:23 2012 -0700

    msm: camera: Change timeout values for msm_server_proc_ctrl.

    Allow userspace to set timeout values for msm_server_proc_ctrl.

    Change-Id: I3cccccafc036d0904f7c10d523a6a03f25b7b9b3
Signed-off-by: default avatarDeepak Kurien <dkurien@codeaurora.org>
Signed-off-by: default avatarJignesh Mehta <jigneshm@codeaurora.org>

commit f45cd3699c60038ab79723ae0595f610a50718f4
Author: Matt Wagantall <mattw@codeaurora.org>
Date:   Thu May 3 21:09:44 2012 -0700

    msm: gemini: Rename ijpeg clocks to match MSM naming convention

    For consistency, a core clocks main clock should be called "core_clk",
    its register interface clock "iface_clk" and its memory clock
    "mem_clk". Rename msm_gemini's ijpeg clocks to match this convention.

    Change-Id: Icae549c1e49e7f3ad13b63e71a8f688f64bc871a
Signed-off-by: default avatarMatt Wagantall <mattw@codeaurora.org>

commit cf26486f50d223cd763909b08cea04bd525e25c6
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Thu Apr 19 19:10:38 2012 -0700

    msm: camera: Separate AXI from vfe

    This change will separate axi functionality from vfe core,
    in order for camera RDI (Raw dump interface) to work.
    When RDI is used, only axi subdev is configured.
    When PIX interface is used, both vfe and axi are configured.

    Change-Id: Id986ea1c12bbeb0664d08429acffe24d20a51028
Signed-off-by: default avatarKevin Chan <ktchan@codeaurora.org>

commit 56f7efa84140d5fd51ef917967a26915b08eacc0
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Wed Apr 11 06:18:24 2012 -0700

    msm: camera: Move VPE out of msm isp

    Move vpe out of msm isp in order to be an independent
    subdev.

    Change-Id: Idfe90302fd143c4d5f9aab6e7bf60c3b3ee26c2c
Signed-off-by: default avatarKevin Chan <ktchan@codeaurora.org>

commit b6dd587b602ab3cf7149fa609cf912820d643577
Author: Vinay Kalia <vkalia@codeaurora.org>
Date:   Thu Apr 5 15:24:58 2012 -0700

    msm: wfd: Flush encoder before stop.

    Flushes the encoder before stop to make
    sure that encoder does not hold on to
    any input/output buffers.

    Change-Id: I3e475a91fb55a7e71f04cd1b228e18ed811ab674
Signed-off-by: default avatarVinay Kalia <vkalia@codeaurora.org>

commit 19b1881a135bdc600a58d0b741a0190b4f3627ca
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Thu Apr 19 18:43:01 2012 -0700

    msm: camera: Convert camera actuator devices to v4l2 subdev

    Remove actuator control structure from media controller
    Use v4l2 subdev calls to control actuator

    Change-Id: I779160308aceda867c6f6c82c465697e3c92c838
Signed-off-by: default avatarKevin Chan <ktchan@codeaurora.org>

commit 047053ee18ba75eedd12385e6a6afa0a8e0889b9
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Thu Apr 19 11:30:33 2012 -0700

    msm: camera: Clean up kernel structures

    Use handle to obtain media controller
    for active camera
    remove msm sync structure

    Change-Id: I2c8df7ba5452c2aab3648f59d953b544d8b9baf9
Signed-off-by: default avatarKevin Chan <ktchan@codeaurora.org>

commit c25ff9c4952764d15f4b498b62a3ee8c9d3377b3
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Mon Apr 2 03:13:43 2012 -0700

    msm: camera: Create v4l2 subdev for camera hardware blocks

    Each camera hardware block will have its own device node
    which can be open by the daemon process

    Change-Id: I78d5564a30b4afa8cb368b811aafc59836129927
Signed-off-by: default avatarKevin Chan <ktchan@codeaurora.org>

commit 515a5614b413420527436d1ee359e1a9c49dbc13
Author: Suresh Vankadara <svankada@codeaurora.org>
Date:   Mon Apr 30 20:35:11 2012 +0530

    msm: camera: Fix for ov5647 exp gain function

    restrict the line count value to maximum allowed
    value i.e, 984.

    Change-Id: Ia9ccfb7533b984636fbee21bba7ca4216a310ad8
    CRs-Fixed: 356168
Signed-off-by: default avatarSuresh Vankadara <svankada@codeaurora.org>

commit e5ce7729a24e15324e7674510ab2e9ee2e39e88d
Author: Deva Ramasubramanian <dramasub@codeaurora.org>
Date:   Mon Apr 30 11:27:45 2012 -0700

    video: msm: wfd: Expose CIR control to v4l2 clients

    V4L2 client can enable cyclic intra-refresh by specifying the number of
    macroblocks to refresh through the
    V4L2_CID_MPEG_VIDEO_CYCLIC_INTRA_REFRESH_MB control.

    Change-Id: I8ee974e7c8680415e0217d4a1d3f83e83f62df5c
Signed-off-by: default avatarDeva Ramasubramanian <dramasub@codeaurora.org>

commit 147c760d0034a1f2e0b406d4ee144d97775fa74e
Author: Deva Ramasubramanian <dramasub@codeaurora.org>
Date:   Sun Apr 29 14:46:58 2012 -0700

    video: msm: wfd: Explicitly disable b-frames

    Previously, the wfd capture driver was disabling b-frames when the V4L2
    client set the intra-period control.  However, we cannot always expect
    the client to do so.  Instead set it when client sets the profile.

    Change-Id: I9985a74341a149c47d3e7904aa57ce6778f03dde
Signed-off-by: default avatarDeva Ramasubramanian <dramasub@codeaurora.org>

commit f94df435527a5296b1e3c1ebeef4f9eb36e04fcd
Author: Deva Ramasubramanian <dramasub@codeaurora.org>
Date:   Sun Apr 29 11:09:03 2012 -0700

    video: msm: wfd: Expose entropy control to v4l2 client

    V4L2 client can choose the type of entropy encoding to use.

    Change-Id: I7d5336da8d2cdd28b06b668694edb67df61f734c
Signed-off-by: default avatarDeva Ramasubramanian <dramasub@codeaurora.org>

commit 4102d704243cf0ff297cdbe8d5b731da4c0bb9d5
Author: Deva Ramasubramanian <dramasub@codeaurora.org>
Date:   Mon Apr 16 11:18:45 2012 -0700

    video: msm: wfd: Don't signal HDMIDaemon to mirror on FB1

    Remove obsolete code that signalled HDMIDaemon to mirror the
    display on FB1.

    Change-Id: I97a6fc137af66f96acc65abd978aa4f7a9573f82
Signed-off-by: default avatarDeva Ramasubramanian <dramasub@codeaurora.org>
    CRs-Fixed: 352830

commit 61c5efaaf8f9b37aca938a2efb085f758877407c
Author: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>
Date:   Mon Apr 23 21:16:20 2012 -0700

    msm: camera: Change sensor power down sequence

    Call stop stream at the beginning of power down to make sure
    sensor stops at frame boundary. This is to avoid spurious signals
    from being picked up by receiver.

    Change-Id: I61eed60fce38cc121312c3c2687cc96587525761
Signed-off-by: default avatarSreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>

commit d22c43a3a2b0448e5cba25950ece2ad3e90e9ec8
Author: Deva Ramasubramanian <dramasub@codeaurora.org>
Date:   Tue Apr 24 12:29:38 2012 -0700

    msm: video: wfd: Disable multiple clients for wfd capture device

    Explicitly check to see if the device is in use before allowing client
    to open either of the wfd capture devices.

    Change-Id: I70bd275c5e0f058b7905abe7b7639342d07fe0e2
Signed-off-by: default avatarDeva Ramasubramanian <dramasub@codeaurora.org>
    CRs-Fixed: 350398

commit 561894c4f585e277d97fc6147ea2469aff628509
Author: Ankit Premrajka <ankitp@codeaurora.org>
Date:   Tue Apr 24 12:22:22 2012 -0700

    msm: camera: stop VPE cleanly when mediaserver crashes.

    When mediaserver process crashes, we should disable the VPE first
    and then unmap the base register address. Otherwise, subsequent
    io reads and writes will cause a kernel fault.

    Change-Id: Id4432867039ace5e4483d528e1e48f0cc4b0dce8
Signed-off-by: default avatarAnkit Premrajka <ankitp@codeaurora.org>

commit 94b4c83b8c27dfadc3d9756d41bcadbf4e9f090c
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Fri Mar 2 21:27:16 2012 -0800

    msm: camera: Change camera server into a video node

    Convert ioctl and server node to be compliant with
    v4l2 architecture.
    Add multiple control and event queue to
    support multiple camera instance

    Change-Id: Idcb8533e15599f7fb0ad621c3da6b19235fa64f4
Signed-off-by: default avatarKevin Chan <ktchan@codeaurora.org>

commit 92d99c02aa31ba66b2b9e647aada608f7bbff1a5
Author: Ankit Premrajka <ankitp@codeaurora.org>
Date:   Fri Apr 27 10:44:07 2012 -0700

    msm: fix for HDR with vfe31

    On vfe31, we don't get update ack irqs for the frames that are
    going to be dropped via the frame skip module. Hence, the snapshot
    count decrement logic needs to move to the SOF irq handler to
    maintain sanity when taking multiple snapshots in HDR.

    Change-Id: I263d0258211653e45f0461c39082adba228672aa
Signed-off-by: default avatarAnkit Premrajka <ankitp@codeaurora.org>

commit a6bde8d3a940446a3dae1124ab60c616938b9c52
Author: Deva Ramasubramanian <dramasub@codeaurora.org>
Date:   Fri Apr 20 16:34:29 2012 -0700

    msm: video: wfd: Fix array out of bounds and stale pointer issue

    The following change fixes two issues.  The first being a stale pointer
    in which the driver accesses memory that has already been freed.  The
    second is an array out of bounds bug, where the venc-subdev iterates
    VIDC_MAX_NUM_CLIENTS-times over an array whose size is only
    VID_ENC_MAX_ENCODER_CLIENTS.

    Change-Id: I35de18fd042181d9358f534908bb785dea630294
    CRs-Fixed: 350398
Signed-off-by: default avatarDeva Ramasubramanian <dramasub@codeaurora.org>

commit 13d82f8216593b296ef799b5d9663d3dd869959a
Author: Deepak kotur <dkotur@codeaurora.org>
Date:   Mon Mar 12 11:12:32 2012 -0700

    msm: vidc: Handles secure/non-secure concurrency.

    Handles concurrency scenarios by preventing
    nonsecure sessions when secure sessions are
    ongoing. This is required since secure and
    non-secure sessions cannot run concurrently.

    Change-Id: I197a4c437312d916c0f75e7eb026c0570fee12ff
Signed-off-by: default avatarDeepak Kotur <dkotur@codeaurora.org>

commit 43cc6d002b426538fa8ef62e22d90b1420d35246
Author: Ankit Premrajka <ankitp@codeaurora.org>
Date:   Thu Apr 12 04:59:44 2012 -0700

    msm: fix vfe stop sequence.

    Fix sequence of register writes during vfe stop. The interrupts
    need to be disabled before CAMIF is stopped and AXI
    needs to be halted. This ensures that there are no spurious
    interrupts.

    Change-Id: I3a6813d6cdd2f722fd72b3654fd66fe9721310c8
Signed-off-by: default avatarAnkit Premrajka <ankitp@codeaurora.org>

commit 921649d064637411e0e23f2da2b29dd32454c37c
Author: Jignesh Mehta <jigneshm@codeaurora.org>
Date:   Thu Apr 19 06:57:23 2012 -0700

    msm: camera: Move gemini clk to gemini driver

    Move gemini clk and regulator to gemini driver,
    to remove the need for platform specific io files.
    Update clock lookup table with the gemini device name,
    for find clocks properly through clk_get

    Change-Id: I5097635eb1da4c142fea0ee40516b74d21cf0929
Signed-off-by: default avatarKevin Chan <ktchan@codeaurora.org>
Signed-off-by: default avatarSunil Joseph <sunilj@codeaurora.org>
Signed-off-by: default avatarJignesh Mehta <jigneshm@codeaurora.org>

commit ee55c1984badacc44f716bf9dd900f815650e650
Author: Ninad Mahimkar <ninadm@codeaurora.org>
Date:   Wed Apr 25 14:36:17 2012 -0700

    msm: camera: Add SOF timestamps

    Add a message for passing real time clock timestamp
    to userspace when SOF is generated

    Change-Id: I99cb05bb3d619c4bf6da520366bd42e7e6ac8ee2
Signed-off-by: default avatarNinad Mahimkar <ninadm@codeaurora.org>

commit 5d03ce384515c5d1163fac74fe750c58532af7fb
Author: Stephen Boyd <sboyd@codeaurora.org>
Date:   Wed Apr 25 11:51:09 2012 -0700

    camera: sn12m0pz: Fix section mismatch

    WARNING: drivers/built-in.o(.text+0x195f78): Section mismatch in
    reference from the function sn12m0pz_i2c_probe() to the function
    .init.text:sn12m0pz_init_client()
    The function sn12m0pz_i2c_probe() references
    the function __init sn12m0pz_init_client().
    This is often because sn12m0pz_i2c_probe lacks a __init
    annotation or the annotation of sn12m0pz_init_client is wrong.

    Change-Id: Ib8092e484422f716282d8bc91c8131761afd3d44
Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>

commit 72ee044121488cc9f4cde91c5e3a2b820d7a0fad
Author: Lakshmi Narayana Kalavala <lkalaval@codeaurora.org>
Date:   Mon Apr 23 18:06:01 2012 -0700

    msm: camera: Assign Null to unmapped addresses

    Observed unhandled virtual addresses with all the camera drivers
    while performing reads and writes to the ioremap addresses in different
    scenarios, Hence assigining NULL to all the hardware remapped addresses
    immediately after the iounmap calls

    Change-Id: I1cbb3969db449c5c37ee6cb5d85cc5715d991f19
Signed-off-by: default avatarLakshmi Narayana Kalavala <lkalaval@codeaurora.org>

commit 39f704ead9ee833a486d3716f08eb42ab213b74f
Author: Raju P.L.S.S.S.N <rplsssn@codeaurora.org>
Date:   Tue Apr 24 19:44:01 2012 +0530

    msm: camera: Fix for HFR issue on 8MP sensor

    Update mt9e013 aptina sensor driver structures
    to use appropriate settings for High Frame Rate
    modes.

    Change-Id: I1059a70333befa068569c0896796ed09dd8c5554
Signed-off-by: default avatarRaju P.L.S.S.S.N <rplsssn@codeaurora.org>

commit df04532712c6001b3b97da479a0a3a6483c35f6f
Author: Hody Hung <hhung@codeaurora.org>
Date:   Tue Apr 10 16:52:46 2012 -0700

    msm: camera: Change CSID configuration

    1. Enable CSID irq mask only when debug flag is ON since
    we don't handle error irq.
    2. Remove unnecessary delay in csi_config.
    3. Correct CID configuration for IMX074, IMX091 and
    S5K3L1YX sensors.

    CRs-fixed: 350008
    Change-Id: Icc52a74760981311214e4be200e9b4ddb3fb5521
Signed-off-by: default avatarHody Hung <hhung@codeaurora.org>

commit 7046d9cbb66287ef6168b783a0c8bee84f8971a4
Author: Suresh Vankadara <svankada@codeaurora.org>
Date:   Thu Apr 19 17:32:55 2012 +0530

    msm: camera: Fix for HFR option Issue on 8MP sensor

    Update 8MP mt9e013 aptina camera driver structures to
    use proper sensor settings for diferrent FPS
    options in HFR(High Frame Rate) mode.

    Change-Id: I3d6ae28ed0c9401af4bd9716e3971bf9eccc5438
Signed-off-by: default avatarSuresh Vankadara <svankada@codeaurora.org>

commit 3ee46810e9109bba454f0c82d21b69a68441e723
Author: Kiran Kumar H N <hurlisal@codeaurora.org>
Date:   Fri Apr 13 16:57:57 2012 -0700

    msm: camera: Reorganize the camera io functions.

    - Reorganize camera io functions by putting all the
      common APIs in the util file.
    - Move all the hardware
      specific IO files into the io folder.
    - The io functions used by the camera driver are named
      as msm_io_* even though they are camera specific.
      Rename them to msm_camera_io_*.

    CRs-Fixed: 350209
    Change-Id: I5be9a000ee7f9506ae921233196f3507a9ebb095
Signed-off-by: default avatarKiran Kumar H N <hurlisal@codeaurora.org>

commit 6627b36ee06ab56a800e2b570a038423c6572b02
Author: Rajakumar Govindaram <rajakuma@codeaurora.org>
Date:   Sun Jan 29 19:00:30 2012 -0800

    msm: camera: 8960: Unify Autofocus actuator

    The actuator functionality is the same for different camera
    modules. So a single actuator driver module is supported.
    The variation is because of actuator control parameters,
    which are made available in user space actuator driver
    for better integration with tools used for autofocus
    tuning.

    Change-Id: Ibbae2ef426b570c59ec3796ac56abcf05af28259
Signed-off-by: default avatarRajakumar Govindaram <rajakuma@codeaurora.org>

commit 43d5e02fb0fb56493d85b5baecf830aeffa0d49e
Author: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>
Date:   Mon Apr 16 10:09:49 2012 -0700

    msm: camera: Sensor power down sequence

    During sensor probe, all sensors compiled for the platform is probed.
    Sensor stop stream need not be called during power down of probe
    sequence. If stop stream is called, camera preview start up may
    not work due to wrong I2C write from other sensors.

    Change-Id: I00a324773817e3256d2255994b1469cd3a9f6837
Signed-off-by: default avatarSreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>

commit 6050cef57a370cdc8f95cd5290d0eef9268a0356
Author: Suresh Vankadara <svankada@codeaurora.org>
Date:   Mon Apr 16 21:44:59 2012 +0530

    msm: camera: Fix camera switch issue

    Reset CSI1 clock branches at the time of VFE_RESET to
    get START_ACK from VFE block to avoid camera switch
    issue from front to back.

    Change-Id: I3b097e748544c28450ca772b08e8aa43eca8f769
Signed-off-by: default avatarSuresh Vankadara <svankada@codeaurora.org>

commit 47ef81ffe4ffd35db48a0a8795697a910378664a
Author: Deva Ramasubramanian <dramasub@codeaurora.org>
Date:   Mon Apr 9 12:31:14 2012 -0700

    video: msm: wfd: Reduce first frame latency in CFR mode

    When we get the first frame, push it immediately to the encoder rather
    than waiting for the timer to expire.

    Change-Id: Icda6f5696d984ed683ee8a3395dfafefde0671c0
Signed-off-by: default avatarDeva Ramasubramanian <dramasub@codeaurora.org>

commit 4a3b94251460fbfc66244475a5f1a54c72a9fe97
Author: Philippe Gravel <pgravel@codeaurora.org>
Date:   Fri Mar 23 14:21:04 2012 -0700

    msm: camera: v4l2 updates

    - Adds some protection against unexpected calls
    - Update ifdef guards in msm_camera.h

    Change-Id: I388822001159188a6c487f8c0deefa8fb5238249
Signed-off-by: default avatarPhilippe Gravel <pgravel@codeaurora.org>
Signed-off-by: default avatarSunil Joseph <sunilj@codeaurora.org>

commit 66deac39b2f75cdd2a58adc964b6d6312d0b75f8
Author: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>
Date:   Thu Apr 5 10:15:38 2012 -0700

    msm: camera: sensor changes for 7x30 v4l2

    1) Add board file information to support parallel sensor
    2) Add clock file entry for vfe clocks
    3) Add support to use csic setting for parallel sensor

    Change-Id: Ia1ac4d9e724a2264bf6f8ec2e8cf73cc4ba2be37
Signed-off-by: default avatarSreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>
Signed-off-by: default avatarSunil Joseph <sunilj@codeaurora.org>

commit 305c53b581354653791549162280504cd4c17566
Author: Kiran Kumar H N <hurlisal@codeaurora.org>
Date:   Sat Mar 24 14:14:13 2012 -0700

    msm: camera: prepare msm8x55 camera for V4L2 architecture.

    - This change is intended towards unifying camera architecture
      across all msm chipsets.
    - This new architecture is V4L2 based and is already supported
      on msm7x27a, msm8960 and apq8064.
    - This change prepares msm8x55 camera for this new architecture
      without enabling it at this moment.

    Change-Id: Idef723e57b8caa1b72e13ee50b6023d229b61e51
Signed-off-by: default avatarKiran Kumar H N <hurlisal@codeaurora.org>
Signed-off-by: default avatarSreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>
Signed-off-by: default avatarKevin Chan <ktchan@codeaurora.org>
Signed-off-by: default avatarUjwal Patel <ujwalp@codeaurora.org>
Signed-off-by: default avatarSunil Joseph <sunilj@codeaurora.org>

commit 700f5c27d0687f96e9c4a38742b1c0b247051238
Author: Vinay Kalia <vkalia@codeaurora.org>
Date:   Wed Mar 28 17:35:28 2012 -0700

    msm: vidc: Adds API to request performance level.

    Adds API to request for a particular performance
    level from video core. This is needed for Wi-fi
    display (WFD) to reduce end to end latency.

    Change-Id: Ib4133b8cd62ccad286be1984f944911754b887c5
Signed-off-by: default avatarVinay Kalia <vkalia@codeaurora.org>

commit 3be11616591d1bd24633f38d30f309129ce39c9a
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Thu Mar 22 20:05:40 2012 -0700

    msm: camera: prepare msm8x60 camera for V4L2 architecture.

    - This change is intended towards unifying camera architecture
      across all msm chipsets.
    - This new architecture is V4L2 based and is already supported
      on msm7x27a, msm8960 and apq8064.
    - This change prepares msm8x60 camera for this new architecture
      without enabling it at this moment.

    Change-Id: I8e1a7f4893fdf873243597be9c29ac829d315cf8
Signed-off-by: default avatarKevin Chan <ktchan@codeaurora.org>
Signed-off-by: default avatarAnkit Premrajka <ankitp@codeaurora.org>
Signed-off-by: default avatarUjwal Patel <ujwalp@codeaurora.org>
Signed-off-by: default avatarAditya Degwekar <adityad@codeaurora.org>
Signed-off-by: default avatarSunil Joseph <sunilj@codeaurora.org>

commit a2688820ce17aa8ba1c67077c3ca9e9d5246637b
Author: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>
Date:   Thu Apr 5 20:22:50 2012 -0700

    msm: camera: Acutuator and flash control

    Pass actuator and flash support to user space
    so that modules can be enabled and used based
    on availability at run time

    Change-Id: Ia801f17181b492d65feb7bd707d9cc344de9cfe6
Signed-off-by: default avatarSreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>

commit bf3faffaa003bfd77bab9cca59f9800fc485b341
Author: Raju P.L.S.S.S.N <rplsssn@codeaurora.org>
Date:   Thu Apr 5 14:33:36 2012 +0530

    msm: camera: Add flash source support for ov5647

    The flash support for ov5647 (back sensor) on 8x25 target

    Change-Id: I2f431174dea37f83c5a555d394f15419fdccd3f3
Signed-off-by: default avatarRaju P.L.S.S.S.N <rplsssn@codeaurora.org>

commit 94b8fc3759375bcab778f659b3cffa13e6bd1cec
Author: Jeyaprakash Soundrapandian <jsound@codeaurora.org>
Date:   Tue Apr 3 14:30:08 2012 -0700

    msm: camera: Fixed memory leak and added NULL check

    1. Dynamic memory stored in cofig_cam allocated through
    function kzalloc can be lost in the error cases. Hence
    common error handling along with de-allocation is added.
    2. Pointer ctrl checked for NULL and returned on NULL.

    Change-Id: I53ca31159507a3bc059507cdfda897028a241065
Signed-off-by: default avatarJeyaprakash Soundrapandian <jsound@codeaurora.org>

commit e2aa76492cab5366718b1fb8898f4c7aa8911328
Author: Deva Ramasubramanian <dramasub@codeaurora.org>
Date:   Fri Mar 23 15:43:54 2012 -0700

    video: msm: wfd: Add debugfs support

    Added debugfs support on a per device basis located at
    /<debugfs-root>/wfd/<device-minor-number>

    Change-Id: I571885c4321a5e76f40f6e773b00e67fd25acb44
Signed-off-by: default avatarDeva Ramasubramanian <dramasub@codeaurora.org>

commit 5f868a449e08da7c09399c8d6f72587b762c6e4e
Author: Deva Ramasubramanian <dramasub@codeaurora.org>
Date:   Tue Apr 3 13:07:20 2012 -0700

    video: msm: wfd: Delete from free_queue before freeing memory

    VSG has a stale pointer to deallocated memory that is accessed, causing
    a page fault.

    Change-Id: I036293950795f601c0592c39b6da20d3c0cbb77f
    CRs-Fixed: 348977
Signed-off-by: default avatarDeva Ramasubramanian <dramasub@codeaurora.org>

commit c55856c548e0cec8b29e415a08a353a0ab1ac4c8
Author: Alhad Purnapatre <alhadp@codeaurora.org>
Date:   Tue Feb 28 13:24:57 2012 -0800

    msm_fb: display: MSM V4l2 video overlay driver

    Provides a V4L2 device that uses the MDP overlay pipes (on MDP4),
    or the PPP interface (MDP3) to overlay frames on top of display
    framebuffer.

Signed-off-by: default avatarAlhad Purnapatre <alhadp@codeaurora.org>
    Change-Id: Iab69d0a5acfe993d13cb7a585e292b9a87eb90ee

commit af0c7cadc6779e7babad150551b95de74a9db91f
Author: Sunid Wilson <sunidw@codeaurora.org>
Date:   Tue Mar 20 18:57:51 2012 -0700

    msm: camera: Add proper error handling during msm_open

    Currently VFE and VPE are singleton. Hence only one camera
    instance can use the ISP modules. Added check for the same.
    Also added proper error handling to reset the reference count
    and free the pcam instance incase of failure

    CRs-Fixed: 340315
    Change-Id: Ia12a3f305aa03eb70b9ce8b5ed526f1d5e4e7568
Signed-off-by: default avatarSunid Wilson <sunidw@codeaurora.org>

commit 98e604c324cef02f65e1b7fb9d5ba7299d414a15
Author: Raju P.L.S.S.S.N <rplsssn@codeaurora.org>
Date:   Wed Apr 4 14:28:08 2012 +0530

    msm: camera: Sensor sequence change in Makefile

    Fix for bringing up back sensor (ov5647) first
    instead of front sensor (ov7692) by default

    Change-Id: I3d888453dd4df2bfd983fc7008a622a2baefe108
Signed-off-by: default avatarRaju P.L.S.S.S.N <rplsssn@codeaurora.org>

commit 839a1adbe5d8228458e368b030c7a91174952795
Author: Raju P.L.S.S.S.N <rplsssn@codeaurora.org>
Date:   Wed Apr 4 12:02:14 2012 +0530

    msm: camera: Fix for ZSL vfe configuration

    1. Select output1 buffer for ZSL vfe configuration
    2. Set correct vt_pixel_clk for frame rate calculation

    Change-Id: I99f188ae9b0314d84763f9282fb39ddeef8b177c
Signed-off-by: default avatarRaju P.L.S.S.S.N <rplsssn@codeaurora.org>

commit 607fbf2a04256ad12504259a923d27936c39fd0a
Author: Deva Ramasubramanian <dramasub@codeaurora.org>
Date:   Tue Apr 3 16:23:11 2012 -0700

    video: msm: wfd: Allow client to specify multiple slices per frame

    Adds support for V4L2_CID_MPEG_VIDEO_MULTI_SLICE_MODE, ..._MAX_BYTES ,
    ..._MAX_MB controls which allow clients in specify the numbers of slices
    in a frame in terms of bytes or macroblocks.

    Change-Id: I5e4e5bd9ebbb7a00714cbcb331f350c538289641
Signed-off-by: default avatarDeva Ramasubramanian <dramasub@codeaurora.org>

commit 06ebad546ac4aaf4d543a1c57146197b0a1bb714
Author: Deva Ramasubramanian <dramasub@codeaurora.org>
Date:   Wed Mar 14 17:17:18 2012 -0700

    video: msm: wfd: Remove the need for scratch buffer by VSG

    VSG has until now needed a scratch buffer to memcpy YUV frames into as
    the video driver had a limitation of not being to accept the same
    buffer consecutive times.  This restriction no longer applies. Hence,
    remove all references to the scratch buffer.

    Change-Id: Idc835296f5b4b8063529f5ac914956c69e809500
Signed-off-by: default avatarDeva Ramasubramanian <dramasub@codeaurora.org>
    CRs-Fixed: 341405

commit 3f4b302e99c96d9da9f7f0a3438f593a2c9ba87a
Author: Raju P.L.S.S.S.N <rplsssn@codeaurora.org>
Date:   Thu Mar 29 10:09:01 2012 +0530

    msm: camera: Fix for camera crash

    1. update get_sensor_info function to send sensor type
       to the upper layers
    2. update table ack pending flag in case of table ack
       received
    3. add ov5647 sensor power down function

    Change-Id: I92c8e25d377d2fee09276b72119eb95adfcc79f8
Signed-off-by: default avatarRaju P.L.S.S.S.N <rplsssn@codeaurora.org>

commit 459429648e0dd7c9b2bbaffc63a4086614e4109e
Author: Ankit Premrajka <ankitp@codeaurora.org>
Date:   Wed Feb 15 19:21:25 2012 -0800

    msm: v4l2: use new IOMMU mapping API.

    The ion_phys API is being deprecated. Instead there
    is a new set of API that does the same thing as ion_phys
    if the system has no IOMMU enabled. Otherwise, it
    returns an IOMMU device virtual address.

    Change-Id: I1f01d33cbc6d236d28c9193a90e48377b9fb35cc
Signed-off-by: default avatarAnkit Premrajka <ankitp@codeaurora.org>

commit 186cfc7d80730ed6eaef58d116ced268c543181a
Author: Sree Lakshmi Bheemarti <sbheem@codeaurora.org>
Date:   Fri Mar 30 18:35:28 2012 +0530

    msm_camera: Handle setEffect while configuring 0v7692 sensor.

    While switching from external to internal sensor,
    setEffect was failing in setParameters.
    To avoid this  setEffect is handled for  internal sensor.

    Change-Id: I41c86eea4d74320f36e171635b9aceb57d814e70
Signed-off-by: default avatarSree Lakshmi Bheemarti <sbheem@codeaurora.org>

commit 5c2d5dce91a1c9cef0e7467fd70a7ec998309fcb
Author: Deva Ramasubramanian <dramasub@codeaurora.org>
Date:   Sat Mar 10 22:43:47 2012 -0800

    video: msm: wfd: Add support for multiple wfd device nodes

    Creating another wfd device node for secure capture. Accordingly
    changed the probe such that multiple wfd devices are supported.

    Change-Id: I3f0db8c32c7a8aa8d6886c970c6a4cb9612e8857
Signed-off-by: default avatarDeva Ramasubramanian <dramasub@codeaurora.org>

commit 21e602b2933b5321abb8999e64004a6c05ddd545
Author: Deva Ramasubramanian <dramasub@codeaurora.org>
Date:   Thu Mar 15 21:46:05 2012 -0700

    video: msm: wfd: Switch to high-res timers

    Using the typical timer_list to keep track of frame queue timeout was
    not accurate enough.  In 60 FPS case, 16.6 ms translated into 1
    jiffy causing inaccurate FPS and performance problems. Hence switching
    to hrtimer for more accurate timeouts.

    Change-Id: I49facc6846d6795bcb61674a23b113d6b7f04f1d
Signed-off-by: default avatarDeva Ramasubramanian <dramasub@codeaurora.org>

commit 249e675d83b0ea1ecae28cc7714c13ffeb6b1c6a
Author: Raju P.L.S.S.S.N <rplsssn@codeaurora.org>
Date:   Mon Mar 26 11:17:40 2012 +0530

    msm: camera: Fix for csi and vfe driver issues

    1.enable csi lanes based on lane count and Update
      csi irq to IRQF_TRIGGER_HIGH
    2.update vfe driver not to send any command when
      the table command is in progress

    Change-Id: If35c673e432ff54ce9ac5a20350fc0e7068d18e4
Signed-off-by: default avatarRaju P.L.S.S.S.N <rplsssn@codeaurora.org>

commit 2e99bff826119272ee10734756aba3631e0226e7
Author: Deva Ramasubramanian <dramasub@codeaurora.org>
Date:   Mon Feb 13 21:12:08 2012 -0800

    video: msm: wfd: IOMMU migration

    Migrate WFD to IOMMU APIs.  Commit contains following changes:
    - Switch from allocate buffer model to use buffer model in order
      to have the flexibility to map buffers into seperate domains.
    - Use the ION caching APIs to flush buffers in case they are cached.
      Earlier on, we used uncached buffers, hence we didn't have a need
      to flush.

    Change-Id: I959027ee94a5d6074005f1de420c66cbe55db776
Signed-off-by: default avatarDeva Ramasubramanian <dramasub@codeaurora.org>

commit 3381da7e6467ef2af6dc0a91ee5e7edf0a2a4d29
Author: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>
Date:   Fri Jan 27 08:08:32 2012 -0800

    msm: camera: IMX091 sensor kernel driver

    This driver includes voltage regulator configuration,
    clock configuration, sensor gpio settings and sensor
    register settings to enable preview and snapshot for
    Sony IMX091 sensor.

    Change-Id: Ib974e78bdb4310350c27eda20e0cc49e4c34916e
Signed-off-by: default avatarSreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>

commit d56429b1a1623418f6659b1e05c323d175437af8
Author: Raju P.L.S.S.S.N <rplsssn@codeaurora.org>
Date:   Wed Mar 21 20:22:39 2012 +0530

    msm: camera: Fix for enabling vfe_clk

    call prepare before enabling vfe_clk.

    Change-Id: I1ea305ed87cc01fcb0c0d96f526793042a453020
Signed-off-by: default avatarRaju P.L.S.S.S.N <rplsssn@codeaurora.org>

commit fa6318641e34e48d632ea89176af5facab695828
Author: Monika Alekhya <malekh@codeaurora.org>
Date:   Wed Mar 14 16:24:39 2012 +0530

    msm_camera: Skip the frame when ping-pong register status is not proper.

    When YV12 preview format is set,due to timing reasons the viewfinder frame
    status is inconsistent.so skip such frames to avoid preview freeze.

    Change-Id: Iac65277b76b1c32eefe95b0932149b7152e4b2e7
Signed-off-by: default avatarMonika Alekhya <malekh@codeaurora.org>

commit 980636f0a90849f22c293d395aa8ccf24b93bd9f
Author: Deva Ramasubramanian <dramasub@codeaurora.org>
Date:   Fri Mar 16 16:06:52 2012 -0700

    video: msm: wfd: Set SPS/PPS per IDR frame as default

    Instead of relying on the client to enable this option, enable it by
    default internally.

    Change-Id: I4d2c7e241a7e5b87ccdea25f876f0eb5732aff74
Signed-off-by: default avatarDeva Ramasubramanian <dramasub@codeaurora.org>

commit cea3151b9f09e3d465684fb2077f8514dfae35ba
Author: Raju P.L.S.S.S.N <rplsssn@codeaurora.org>
Date:   Tue Mar 20 11:57:50 2012 +0530

    msm: camera: Fix for lcd power on issue

    After camera probe, releasing LCD_CAMERA_LDO_2V8 &
    SKU3_LCD_CAMERA_LDO_1V8 gpios for power on lcd

    Change-Id: I2c03f045b0eb5302962145d7466ac2231eea0c83
Signed-off-by: default avatarRaju P.L.S.S.S.N <rplsssn@codeaurora.org>

commit f3ae3699dd3140c857835901b68d293fb0629f85
Author: Ankit Premrajka <ankitp@codeaurora.org>
Date:   Thu Mar 8 13:12:44 2012 -0800

    msm: camera: handle mediaserver crash elegantly.

    This change stops the VFE first, before unmapping the buffers
    registered in the kernel in the scenario of a mediaserver
    crash.

    Change-Id: I16c7c3b8dcd7a2f9c0ad98cf93cb1980c3a675fa
Signed-off-by: default avatarAnkit Premrajka <ankitp@codeaurora.org>

commit 8c5f7b7fd614ee1bb1be997a3456a059e2cd2ff6
Author: Deva Ramasubramanian <dramasub@codeaurora.org>
Date:   Sat Mar 3 19:48:52 2012 -0800

    video: msm: wfd: Enable logs useful for debugging

    Add a few logs that are useful for debugging.  In addition, enabling
    WFD_MSG_DBG unconditionally so that we can  take advantage of dynamic
    debug.

    Change-Id: Id1b616aef1554f04b750207ee14b818e19319b6e
Signed-off-by: default avatarDeva Ramasubramanian <dramasub@codeaurora.org>

commit bf410a3f516820e88ae1e4cf999b35eda290e60b
Author: Hody Hung <hhung@codeaurora.org>
Date:   Mon Jan 23 16:54:42 2012 -0800

    msm: camera: add reset csid and csiphy

    1) reset csiphy during init to make sure it is in known state
    2) reset csid during init to make sure it is in known state
    3) remove DBG_CSID flag to get the reset irq after csid_reset

    Change-Id: I66b4da08b300a2e43655544cff4db64d9fbe5b19
Signed-off-by: default avatarHody Hung <hhung@codeaurora.org>

commit 9ba65cfcc38915d1d50bc1cf890c2ae01105612c
Author: Hody Hung <hhung@codeaurora.org>
Date:   Tue Jan 17 17:34:51 2012 -0800

    msm: camera: Add csi_lane_mask and csi_lane_assign

    1) Move csi lane params from kernel driver to board
    file to support same kernel drivers for different
    sensors with different csi parameters (in case of
    3D, same kernel driver can support both sensors
    with different csi configuration)
    2) In msm sensor driver, extract lane assign and
    lane mask from plaform info and store in sensor
    control structure before passing to csi phy
    3) Change csi phy config logic to configure mipi
    lanes in any order using lane mask

    Change-Id: Iba26640f28d957b17631c98286dba37b7774b42b
Signed-off-by: default avatarHody Hung <hhung@codeaurora.org>

commit ad5584d31bc02aa8cfa869531b26344ee1c04423
Author: Nishant Pandit <npandit@codeaurora.org>
Date:   Sat Mar 17 00:48:26 2012 +0530

    msm: camera: Fix the stretch issue in Camera Preview

    In non zsl camera preview mode, two vfe outputs are configured as
    preview and video outputs. Greater of the two is output from main
    scaler and the lower one from the secondary scaler. In Camera preview mode,
    application matches preview dimensions aspect ratio to snapshot
    dimensions and in camcordermode it is matched to video.

    In Current design, We have below scenarios for Non ZSL Camera Preview

    Case1: Main Scaler is preview and secondary scalar is video
      In this scenario no error is observed
    Case2: Main scalar is video and secondary scalar is preview
      In this scenario since preview output in derived from video but the
    aspect ratio may not match in camera mode, so we see stretch in camera
    preview.

      This issue is fixed by configuring only single VFE output as per
    display dimensions in Camera Preview  since the second video output
    is never used

    CRs-Fixed: 343884
    Change-Id: I25a82b417a3ed1b28ea243c6ce988c23d5fed4a7
Signed-off-by: default avatarNishant Pandit <npandit@codeaurora.org>

commit c84975cbfbace08fbd98e23b010e6843ca7e86c2
Author: Deva Ramasubramanian <dramasub@codeaurora.org>
Date:   Sat Mar 10 21:16:27 2012 -0800

    video: msm: wfd: Add support for in-band sps/pps

    This adds support for sps/pps to be prepended to all I-frames provided
    by the core. This support needs to be provided by the core as in HDCP
    use case, userspace can no longer prepend the sps/pps to I-frames, as
    required by WFD spec.

    Change-Id: If13437c6eae4088f913a9a7016a477a4342e8c35
Signed-off-by: default avatarDeva Ramasubramanian <dramasub@codeaurora.org>

commit 210061ffd99eed2235baa6904b1fbf1d7f26f9b5
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Tue Feb 14 20:56:16 2012 -0800

    msm: camera: Add media device node

    Add media device node for each camera sensor
    Sensor and video node info will be used
    for device discovery from userspace

    Change-Id: Id8c2f3e952c83259bb6b273cb6b3f04ed93d0ef3
Signed-off-by: default avatarKevin Chan <ktchan@codeaurora.org>

commit 2b34501b3bcc45584bad9aa2054c1f2de4d23ae7
Author: Raju P.L.S.S.S.N <rplsssn@codeaurora.org>
Date:   Thu Mar 15 10:18:30 2012 +0530

    msm: camera: Fix to choose proper CSI device for 8625 target

    Update board file to choose proper CSI (Camera Serial Interface)
    device for 8625 target to fix CSI IRQ failure

    Change-Id: I6c273739ad3114b69cf48ee32fa41cefcc408e2c
Signed-off-by: default avatarRaju P.L.S.S.S.N <rplsssn@codeaurora.org>

commit cc40097e045cf33853e16878e3a446861660d68f
Author: Raju P.L.S.S.S.N <rplsssn@codeaurora.org>
Date:   Tue Mar 13 10:09:59 2012 +0530

    msm: camera: Add support to OV5645,OV7692 sensors,AD5046 actuator

    Ported OV5647, OV7692 sensors and AD5046 actuator to
    V4L2 camera architecture

    Change-Id: I70813f236e7cbc9c8c566dd2ee42ad181cb9eccc
Signed-off-by: default avatarRaju P.L.S.S.S.N <rplsssn@codeaurora.org>

commit c85b8ade5cb46b576eec2e5d667460d8d40cb207
Author: Mingcheng Zhu <mingchen@codeaurora.org>
Date:   Thu Mar 8 17:47:17 2012 -0800

    msm-camera: enhance the camsenser query structure

    More information needs to pass to userspace.

    Change-Id: Ia7c5a5cf9a7f48e1c6167fd3ca2ddd56fbdbf8c9
Signed-off-by: default avatarMingcheng Zhu <mingchen@codeaurora.org>

commit c6f7867e7ffc7e0cdfde39ec0cb05a3e4278bdf5
Author: Sandeep Kodimela <skodimela@codeaurora.org>
Date:   Wed Mar 7 10:44:04 2012 +0530

    msm-camera: Add 8MP and 1MP sensor support

    Add support to mt9e013 and ov9726 sensors for v4l2 camera
    architecture

    Change-Id: Ie0e12bb0b8f1d80c0aa40800f5578208ca86efcb
Signed-off-by: default avatarSandeep Kodimela <skodimela@codeaurora.org>

commit a6e4923eda34fba259f8fcecdb88616bf5332238
Author: Deva Ramasubramanian <dramasub@codeaurora.org>
Date:   Thu Mar 1 18:06:48 2012 -0800

    video: msm: wfd: Allocate bigger buffers for non-16 byte aligned heights

    WFD driver now rejects non-16 byte aligned widths as MDP cannot add the
    necessary padding.  For height, as the hardware will access up to the
    next 16 aligned address, we need to allocate a bigger buffer to prevent
    page faults.

    Change-Id: Ib8aa6ecc827c31eb20c9cd3428d82a62f3668e5b
Signed-off-by: default avatarDeva Ramasubramanian <dramasub@codeaurora.org>

commit e127bd40c4e353f40ddba6d10924aed91176aef4
Author: Mingcheng Zhu <mingchen@codeaurora.org>
Date:   Wed Feb 8 23:40:31 2012 -0800

    msm-camera: pass video driver id to daemon.

    The video driver index is not passed to daemon in some code

    Change-Id: Ie3074fe3590228d8fdd7bd8b7de608820a36627a
Signed-off-by: default avatarMingcheng Zhu <mingchen@codeaurora.org>

commit 57701f7109efafa8d38b69808e307fbda2e90224
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Thu Mar 1 13:55:30 2012 -0800

    msm: camera: Fix camera devices disable sequence

    Ensure clocks are turned off after tasklet is kill
    and device is not in active state. This is to
    prevent bus lockdown if the device is accessing
    the bus and clock is turn off
    Also ensure clocks are on, when accessing hardware
    registers.

    Change-Id: I4010b96709f48b8cf2bf532e57442152f2e30de9
Signed-off-by: default avatarKevin Chan <ktchan@codeaurora.org>

commit 4bb6ead226a37531bf7a9c272b6a805b0d674567
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Wed Feb 29 01:01:41 2012 -0800

    msm: camera: send error to HAL if daemon crashed

    When camera userspace daemon crashes, the server fd
    will be close, which trigger the msm_server_close
    function, we will check if there is an active camera
    session. If camera is active, we will send a v4l2
    event to HAL layer to signal an error. Application
    will exit gracefully and close other open fds and
    exit camera session.

    Change-Id: I14ebc864d6cace7ca6f4dbfb935623a76eeccaa8
Signed-off-by: default avatarKevin Chan <ktchan@codeaurora.org>

commit fa78ea2f462eaf34ebff39d42c9ea1ea32b353d2
Author: Deva Ramasubramanian <dramasub@codeaurora.org>
Date:   Tue Feb 28 18:48:26 2012 -0800

    video: msm: wfd: Encode frames asynchronously

    The sequence of unlocking, encoding, and locking again was dangerous
    since it is unpredictable when the lock can be reacquired in the input
    thread. In most cases, this was fine as the encoder took long enough to
    return buffers back to VSG that we were able to re-acquire the lock.
    However, in cases that encoder is faster than expected, VSG receives an
    EBD call back before the input thread can reacquire the lock and put the
    encoded buffer into the busy queue. This causes the output thread to
    complain about unexpected buffers and drop the frame, which eventually
    causes 100% frame drop.

    CRs-Fixed: 339432
    Change-Id: I29731cfb4a51ffc8f362426d570482ad7f6394b6
Signed-off-by: default avatarDeva Ramasubramanian <dramasub@codeaurora.org>

commit e9153ee743f9b0737bae1622f81883fbccd74903
Author: Deva Ramasubramanian <dramasub@codeaurora.org>
Date:   Mon Feb 27 20:58:41 2012 -0800

    video: msm: wfd: Reset "stopped" state on vsg_start

    In the sequence of vsg_start(), vsg_stop() and vsg_start(), the second
    vsg_start() wouldn't generate buffers as the timer thread would
    immediately stop due to to VSG still being in a stopped state.

    Change-Id: I0b2d31c81d46e91b898a6210ad2c50d5c9200f1c
Signed-off-by: default avatarDeva Ramasubramanian <dramasub@codeaurora.org>

commit 96db9983d18b315349d055bc0bcb7272054624ba
Author: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>
Date:   Fri Feb 24 13:29:18 2012 -0800

    msm: camera: Remove total steps restriction for continuous auto focus

    The autofocus function fails under certain test condition
    due to restriction on the total number of steps available
    for moving the lens. The issue is seen only with piezo
    type of actuators. This fix ensures the piezo actuator can
    move upto its mechanical limits.

    Change-Id: Ic718b4a55016a1cc4a3aecea332e98ba326226c5
Signed-off-by: default avatarRajakumar Govindaram <rajakuma@codeaurora.org>
    CRs-Fixed: 332887

commit df0a0540f6afcd7a0ae6bf50d132e5f2455091c8
Author: Deva Ramasubramanian <dramasub@codeaurora.org>
Date:   Thu Feb 16 16:28:36 2012 -0800

    video: msm: wfd: Set last encoded buffer in input thread

    Setting last_buffer to the last encoded buffer in the output callback was
    causing problems in concurrent encode/decode scenarios where the core would
    take extra time in returning buffers. As a result, the timer would fire
    and queue a stale frame to the encoder. This would result in the encoder
    eventually returning a stale frame and video stream generator choosing
    the stale frame as the last buffer.

    CRs-Fixed: 330432
    Change-Id: I50da57b1376c7811ec7255b501c4cc918133580b
Signed-off-by: default avatarDeva Ramasubramanian <dramasub@codeaurora.org>

commit 61c877d435ecf834c7fa06d662ec94066260f021
Author: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>
Date:   Thu Feb 23 22:22:19 2012 -0800

    msm: camera: Support MT9M114 as front sensor

    Change board settings and compile order to change
    MT9M114 from back to front sensor

    Change-Id: Ib992684baf28472ca3d391b680e92e26b89d273c
Signed-off-by: default avatarSreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>

commit 6c368df50d2a81cd102f898043477d7d033bedec
Author: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>
Date:   Fri Feb 24 12:11:17 2012 -0800

    msm: camera: Change S5K3L1YX register settings

    Change x-addr start values in S5K3L1YX register settings
    for HFR as per read-out pattern.

    CRs-fixed: 337269
    Change-Id: If15e0e9daf68288d055aa57ed43946ac7b9e2aa5
Signed-off-by: default avatarSreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>

commit 3f2e6028e39a4fe5dbf289b82a7395acd23beb7d
Author: Deva Ramasubramanian <dramasub@codeaurora.org>
Date:   Mon Feb 6 15:02:51 2012 -0800

    video: msm: wfd: Add controls for setting frame QP and I-Frame period

    Add support for controls that allow for userspace to set and get
    the I-frame period and QP values for I, P, and B frames.

    Change-Id: Ia535291872b671f001fec6bf23601022f7712af0
Signed-off-by: default avatarDeva Ramasubramanian <dramasub@codeaurora.org>

commit bde8424c61d67d38ce83e2ba1f6ad217c2b2c158
Author: Jignesh Mehta <jigneshm@codeaurora.org>
Date:   Thu Feb 16 13:21:22 2012 -0800

    msm: camera: Fix for inline jpeg corrupted image

    Enable IMEM clock for Inline mode. For Inline mode, VFE writes MCUs
    of frame to IMEM and GEMINI reads it from IMEM and encode the image.

    Sync VFE, IMEM and GEMINI clock to 228MHz. VFE and IMEM are running
    at 228MHz. But Gemini was running at 158Mhz that creates bootleneck and
    generat overflow irq error.

    Add VFE_OUTPUTS_JPEG_AND_THUMBANIL operation mode to fix
    FE overflow IRQ error in gemini.

    Change-Id: Iaf20892d33d30e7cb8d6ab5fd75551aff260098f
Signed-off-by: default avatarJignesh Mehta <jigneshm@codeaurora.org>

commit 330e4d532d49161e4270273f1998b659a21eb813
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Sat Feb 18 23:11:24 2012 -0800

    msm: camera: Use csi_vdd only in csid driver

    csi_vdd regulator is not needed for probing camera
    sensor driver. Move csi_vdd regulator from sensor
    driver power on to csid driver init function

    Change-Id: I23d7f571fd9e00b9d35588f6ac7135a5f3caa90f
Signed-off-by: default avatarKevin Chan <ktchan@codeaurora.org>

commit 04592007f7fd2dcff87ed034b8767dcc9550f08b
Author: Jeyaprakash Soundrapandian <jsound@codeaurora.org>
Date:   Wed Feb 8 10:29:50 2012 -0800

    msm-camera: vertical and horizontal view angle of lens added.

    The application layer expects the view angle of the camera lens.
    The lens vertical and horizontal view angle of the sensors
    imx074 and ov2720 are added.

    Change-Id: I513fbbdf7fdfc5df0969fe54e05c7549123f6bcb
Signed-off-by: default avatarJeyaprakash Soundrapandian <jsound@codeaurora.org>

commit 6c3bb3269d8dea04a2fbdc48a5cc267589f7f4f3
Author: Su Liu <suliu@codeaurora.org>
Date:   Tue Feb 14 02:15:05 2012 +0530

    msm: camera: EVB: Add Kernel driver OV5647 & OV7692

    Add Initial sensor driver support for 5MP OV5647
    and 1MP OV7692 on EVB 1.0 platform.

    Change-Id: I8155abe1ff3c388561feed3a032c6603df892e1e
Signed-off-by: default avatarSu Liu <suliu@codeaurora.org>
Signed-off-by: default avatarLokesh Kumar Aakulu <lkumar@codeaurora.org>

commit ec27a6e9f253ff94d6a6b1bf0bc506d5bcd8d28a
Author: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>
Date:   Sat Feb 11 20:41:19 2012 -0800

    msm: camera: Change sensor power up sequence

    1) Currently same power up sequence is followed
    for all sensors. This request has different power
    up sequence for IMX074, OV2720 and MT9M114 sensors
    as per vendor recommendation.
    2) Remove compile time macro condition in
    board file
    3) Make sensor config independent of Kconfig

    Change-Id: Icbe6da31a8cb510f1d0c73bf29eda74ad74050ac
Signed-off-by: default avatarSreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>

commit fc630dceef8a6c0727f052318ea3076e360f6f0f
Author: Hody Hung <hhung@codeaurora.org>
Date:   Tue Jan 17 14:41:34 2012 -0800

    msm: camera: correct op_pixel_clk value

    1) The op_pixel_clk is higher than the actual output rate,
    when vfe get the value and set the same for vfe clk, it
    set to higher frequency which will draw more power.
    2) The timing issue is due to the vfe timing requirement
    for blanking time. Since we reduce the vfe clk, the
    blanking lines required more to meet the minimum
    requirement.

    Change-Id: I27d781d6524bfae007d00c20d6d60d2e0582543f
Signed-off-by: default avatarHody Hung <hhung@codeaurora.org>

commit 4f9211f34fb524e2411ced701b79b24642ce40f3
Author: Deva Ramasubramanian <dramasub@codeaurora.org>
Date:   Thu Feb 16 17:55:35 2012 -0800

    wfd: Change device to /dev/video38

    Pick an explicit v4l2 video device number instead of relying
    on framework to pick for us.

    Change-Id: I0e640c7b8a05b9c7f4bfe12a0445fb54976519ed
Signed-off-by: default avatarDeva Ramasubramanian <dramasub@codeaurora.org>
    CRs-Fixed: 337522

commit d803a63cbc771e1685f976e2964a16a0468c8bb0
Author: Sunid Wilson <sunidw@codeaurora.org>
Date:   Thu Feb 16 00:17:43 2012 -0800

    msm: camera: Fix crash issue while enabling regular stats

    Update the AEC, AWB, AF, HIST and RS/CS buffers and fds
    before passing the stats message to the upper layer

    Change-Id: I98b03638ea27669263cd11798ca2af8dda6a98df
Signed-off-by: default avatarSunid Wilson <sunidw@codeaurora.org>

commit bb8ef8639de1914e53f8c2a84fa4bd1ee153453e
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Tue Feb 14 13:03:04 2012 -0800

    msm: camera: Add I2C mux control driver

    add i2c mux control driver to control i2c bus
    The driver will control which camera the i2c
    control message will send to. (etc left, right, both)

    Change-Id: I592701b8445d6acc8dfc60f81d562ee52dd65971
Signed-off-by: default avatarKevin Chan <ktchan@codeaurora.org>

commit 7df0db653e9249799687dd0024360ff3fbba9c1e
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Wed Feb 15 10:52:18 2012 -0800

    camera: Correct call to wait_event_interruptible_timeout.

    The function takes timeout parameter in jiffies, not ms.

    Change-Id: Iec512af5ce8178ae552df83de3ca52e71cd1f0ce
Signed-off-by: default avatarShuzhen Wang <shuzhenw@codeaurora.org>

commit 6878b6d4520c1fe9f4e015e02a0495e59e17657c
Author: Nishant Pandit <npandit@codeaurora.org>
Date:   Sat Feb 11 12:00:50 2012 +0530

    msm: camera: Add registers to config RDI interfaces in vfe for 8960

    Add config registers for Raw Dump Interface in VFE which will enable
    to dump sensor data through axi bus directly to memory without passing
    through the image processing pipeline

    Change-Id: Ie86b47580d3d1b21701320d3234489409588f3fe
Signed-off-by: default avatarNishant Pandit <npandit@codeaurora.org>

commit fe282e9d62d3190ba4d8b5ded4f386e451f1a0b9
Author: Hody Hung <hhung@codeaurora.org>
Date:   Tue Jan 17 14:55:53 2012 -0800

    msm: camera: optimize csiphy setting

    Remove csiphy configuration of phy data lane control
    registers and phy clock lane control registers that sets
    default value. Tune csiphy configuration of phy data lane
    control 2 for reducing LP CLK positioning

    The change is to set back to default values, which is
    recommended. Also, MIPI clk and data setting is matched in
    this patch. Although the discrepancy won't hurt the current
    POR camera sensors and most of camera sensors, this patch is
    recommended in order to avoid future issue.

    Change-Id: I09c9de674d4c6f885489060232519f4812fb8cc1
Signed-off-by: default avatarHody Hung <hhung@codeaurora.org>

commit 6cf8a749e2354cf09e564dfa8104f706dca9b437
Author: Jignesh Mehta <jigneshm@codeaurora.org>
Date:   Sat Feb 4 23:40:50 2012 -0800

    camera: vfe32: Enable VFE configuration for inline JPEG encoding.

    During inline JPEG encoding, one VFE output is routed into
    internal memory (IMEM) instead of external memory. The JPEG
    encoding hardware (GEMINI) will read from IMEM and generates
    JPEG bitstream.

    Change-Id: I12d3600524538ab85021dd8882af0404bddc488f
Signed-off-by: default avatarShuzhen Wang <shuzhenw@codeaurora.org>
Signed-off-by: default avatarKevin Chan <ktchan@codeaurora.org>
Signed-off-by: default avatarJignesh Mehta <jigneshm@codeaurora.org>

commit a4824c409441ab418caa0fa8730a3adb5c1f3c04
Author: Ashwini Rao <ashwinik@codeaurora.org>
Date:   Tue Oct 18 12:18:34 2011 -0700

    msm: gemini: Make GEMINI a v4l2 subdev.

    This has been added to support the
    inline JPEG feature. Here the VFE V4L2
    subdev sends frames directly to the
    Gemini driver. All camera modules like
    Sensors, VFE, etc are V4L2 subdevs.

    Change-Id: I572afe130ef4f2de441faf1104e688778e0e0ecb
Signed-off-by: default avatarJignesh Mehta <jigneshm@codeaurora.org>
Signed-off-by: default avatarAshwini Rao <ashwinik@codeaurora.org>

commit 396a6a55732ed2136efb35be095452e92161021c
Author: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>
Date:   Sat Feb 11 22:31:46 2012 -0800

    msm: camera: Change S5K3L1YX register setting

    Change coarse integration time of 60, 90 and 120 fps
    according to frame length line for proper exposure

    Change-Id: I469dcfc96ebf5a3e00fcd1cfe9fa7cfb36dd2713
Signed-off-by: default avatarSreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>

commit 7637e757a9cff942d0125fba289e99e6e1d4ebab
Author: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>
Date:   Fri Feb 10 21:32:49 2012 -0800

    msm: camera: Change sensor probe order

    S5K3L1YX is back camera and OV2720 is front camera.
    Add S5K3L1YX sensor before OV2720 sensor in compile order
    so that S5K3L1YX probes first and back sensor is opened
    when camera is opened.

    Change-Id: Ib5700609b74d529cdfbf1f8220f0cc185e8b14e8
Signed-off-by: default avatarSreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>

commit 70613ecf6cde306b774578b5732f992f662e599a
Author: Ankit Premrajka <ankitp@codeaurora.org>
Date:   Thu Jan 26 16:24:23 2012 -0800

    msm: camera: support exposure metering and  HDR snapshots

    With this change we achieve multiple things related
    to correct HDR functionality. First, we do not
    always configure ping and pong to be the same buffer in
    case of the snapshot mode. This would help support taking
    mulitple snapshots. Second, we support for logic to skip
    frames in case of snapshot, a necessity for the exposure
    metering feature. Third, we support post processing
    divert of both snapshot and thumbnail buffers to be
    taken from either mctl queue or video queue, to be
    determined at runtime.

    Change-Id: Ibcf2bbfc171b2686ca44e6366feadf435368fa5f
Signed-off-by: default avatarAnkit Premrajka <ankitp@codeaurora.org>

commit 3ba8e61b0c62d3edea4e7b42a6d2fc7b8f7f6682
Author: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>
Date:   Tue Feb 7 10:30:26 2012 -0800

    msm: camera: fix memory leak in actuator

    actuator init table is not deallocated while camera is closed
    This change hooks up power down call in mctl release

    Change-Id: Ia5516da76dc9534bbdb9555ccd65316e20ef5c14
Signed-off-by: default avatarSreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>

commit 95dd6e161b73701ca68adfab66767d02b1fc8617
Author: Jignesh Mehta <jigneshm@codeaurora.org>
Date:   Fri Nov 18 17:21:16 2011 -0800

    msm: camera: Enable IMEM clock for inline jpeg

    This change enables IMEM clock so that VFE can put
    frame in to IMEM and Gemini received frame from IMEM.

    Change-Id: Ia7d12d7ec5bd433deef545d04e8a72256e19513c
Signed-off-by: default avatarJignesh Mehta <jigneshm@codeaurora.org>

commit 7476824f8b57ade39dacd7b3f2b084f19fc7e650
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Fri Sep 2 17:38:01 2011 -0700

    camera: vfe32: Enable composite stats irq

    All stats are generated at roughly the same time
    once per frame. They can be composited together and notify
    the user space at once.

    Change-Id: I0bd828473fa705bef58ecdba8b18a365235bfca0
Signed-off-by: default avatarShuzhen Wang <shuzhenw@codeaurora.org>

commit eaec89177fbab49788d2fcd05ef9b806ed6aaa85
Author: Nishant Pandit <npandit@codeaurora.org>
Date:   Tue Feb 7 11:09:24 2012 +0530

    msm: camera: Add RDI support for ispif driver

    - Add RDI support in ispif so that raw frame from sensor may be dumped
    directly to memory
    - Update interrupt handler to handle RDI interrupts
    - Update ispif driver so that stream request may be sent to
    pixel and rdi interface simultaneously. This is to ensure
    both interface receive sensor data at same time.

    CRs-Fixed: 335421
    Change-Id: I9fbfd41aa5583eb0aabf776a3c0fce159bfcac77
Signed-off-by: default avatarNishant Pandit <npandit@codeaurora.org>

commit 8f11b8bc9798eb5b27e268e8b337f538875fc168
Author: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>
Date:   Wed Jan 4 17:09:05 2012 -0800

    msm: camera: S5K3L1YX kernel driver

    New msm_sensor driver for the Samsung S5K3L1YX camera
    on 8960 and 8930 platforms. This driver supports configuration of
    sensor registers, power, clock and CSI config to support preview,
    snapshot and video modes.

    Change-Id: I7c92dd5d0f3ca68830f0e59dd257ec76686e78b5
Signed-off-by: default avatarSreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>

commit ccc7b53f7c9f5786a1bb5c812c1dc1d113f729bb
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Mon Jan 23 21:31:13 2012 -0800

    msm: camera: Update camera code to use clk_prepare api

    Update camera clk functions to separate clk_enable into
    clk_prepare and clk_enable.

    Change-Id: I6d0d563933c753b10aa4070e397bf04cef98c432
Signed-off-by: default avatarKevin Chan <ktchan@codeaurora.org>

commit b84fc500209d6a061fd3d39349a80dfcad4f283a
Author: Deva Ramasubramanian <dramasub@codeaurora.org>
Date:   Mon Jan 16 11:42:58 2012 -0800

    wfd: Add video stream generator

    Adds a video stream generator that queues buffers to encoder at a
    consistent frame rate.

    Change-Id: Ib0f7fc3f6c6ab9684deb06fce72160546fe316dc
Signed-off-by: default avatarDeva Ramasubramanian <dramasub@codeaurora.org>
    CRs-Fixed: 332265

commit 8f68c594b5cce0246dec454e7d911eb74a4d402c
Author: Kiran Kumar H N <hurlisal@codeaurora.org>
Date:   Fri Jan 6 15:11:47 2012 -0800

    msm: camera: Remove DIS related code from VPE driver.

    VPE driver should be abstracted from DIS related
    code since the configuration is done in the userspace
    library. So remove the code from VPE driver.

    Change-Id: Ic320ab903cff502f2a21e1ae66ecc06581e56aa3
Signed-off-by: default avatarUjwal Patel <ujwalp@codeaurora.org>
Signed-off-by: default avatarKiran Kumar H N <hurlisal@codeaurora.org>

commit c3cb9ea7ca154538e80c67f3ad9979833888733c
Author: Kiran Kumar H N <hurlisal@codeaurora.org>
Date:   Fri Jan 6 15:11:10 2012 -0800

    msm: camera: Add MCTL camera node.

    Add support for MCTL camera node. This
    is a v4l2 device node which will be used
    by the camera daemon process to configure
    buffers for VFE.

    Change-Id: I8415288fb6881376a8c1e78ca03bb12f8f655863
Signed-off-by: default avatarKiran Kumar H N <hurlisal@codeaurora.org>
Signed-off-by: default avatarUjwal Patel <ujwalp@codeaurora.org>

commit dd12847121cfdc1e1a12ec5aeccff355d5d72d16
Author: Kiran Kumar H N <hurlisal@codeaurora.org>
Date:   Thu Dec 1 09:35:34 2011 -0800

    msm: camera: Configure VFE for two output mode.

    Configure upto two outputs of VFE desginated
    as primary and secondary. Depending on the irq,
    only send message type primary and secondary and
    allow MCTL to interpret these messages.

    Change-Id: I25568cb6bba5792658b0570383f64ddb58e21421
Signed-off-by: default avatarKiran Kumar H N <hurlisal@codeaurora.org>
Signed-off-by: default avatarUjwal Patel <ujwalp@codeaurora.org>

commit c34de06f600cb220b4050adb20d8613ce6070f85
Author: Deva Ramasubramanian <dramasub@codeaurora.org>
Date:   Wed Jan 25 14:42:58 2012 -0800

    wfd: Remove support for V4L2_CID_MPEG_VIDEO_ENCODING control

    Instead of using VIDIOC_S_CTRL to set the codec type, V4L clients
    are expected to set the codec type as the pixelformat in the
    VIDIOC_S_FMT ioctl.  This change is needed as the driver needs to
    know the codec when setting the buffer requirements that occurs as part
    of the VIDIOC_S_FMT ioctl.

    Change-Id: I02b24c2314e429649f4281d5c22133fc166e425b
Signed-off-by: default avatarDeva Ramasubramanian <dramasub@codeaurora.org>

commit 318d7cbd8eaaced74293b90bec8533a280d41bdc
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Tue Nov 29 14:24:26 2011 -0800

    msm: camera: Correct the reserve buffer logic in mctl_pp.

    When the daemon asks to reserve a free buffer, get the
    correct address by using the image mode to get to the
    correct camera instance and populating the buffer address.

    Change-Id: I23c6e00458562ef2b9880cbffe2d6a100de80ea1
Signed-off-by: default avatarKevin Chan <ktchan@codeaurora.org>
Signed-off-by: default avatarKiran Kumar H N <hurlisal@codeaurora.org>
Signed-off-by: default avatarUjwal Patel <ujwalp@codeaurora.org>

commit 966020a3e78a70ba8d7c86c5a721715fc56c6eb8
Author: Manogna Reddy Alle <cmalle@codeaurora.org>
Date:   Wed Jan 25 17:41:36 2012 +0530

    msm: Camera: Reset base csi address to NULL

    Reset base csi address to NULL after unmapping the memory region
    to make sure that the csi hardware registers are not programmed until
    base address is mapped to fix the data abort in kernel which occurred
    randomly during a stability test.

    Change-Id: I7cffb23dfd8a560f750bcb27e529cc54dd52aa65
Signed-off-by: default avatarManogna Reddy Alle <cmalle@codeaurora.org>

commit eb6b607464cd33ab1b6708812537fc40a43c40da
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Tue Jan 17 11:54:54 2012 -0800

    msm: camera: Reorganize power up functions for sensors

    Moving regulators and gpio to board file
    GPIO and regulators are usually different for OEM projects.
    This will give them the flexibility to support multiple
    devices without changing the driver.

    Change-Id: I37549d2eaf3a6c31c1b7cf81270c2b22dde30011
Signed-off-by: default avatarKevin Chan <ktchan@codeaurora.org>

commit f7bbe1f84cbe3043818e5201227a439fc6bbecf9
Author: Jignesh Mehta <jigneshm@codeaurora.org>
Date:   Mon Jan 23 11:25:47 2012 -0800

    Camera: Fix for gemini crash due to clock disable

    Change footswitch sequence for gemini
    The correct sequence is,
    regulator_enable, clk_enable
    clk_disable, regulator_disable

    Change-Id: I4fcf00c531dfca51612883a2e3cad1ef0063b98b
Signed-off-by: default avatarJignesh Mehta <jigneshm@codeaurora.org>

commit 055cb8ecdd4aa111e24844f80c30607470de22b5
Author: Suresh Vankadara <svankada@codeaurora.org>
Date:   Wed Jan 18 00:50:04 2012 +0530

    msm: camera: Add support to V4L2 architecture

    New targets are following V4L2 architecture for
    camera. Update 7x27a camera drivers to support
    new V4L2 architecture to unify all camera drivers
    in the same architecture.

Signed-off-by: default avatarSuresh Vankadara <svankada@codeaurora.org>
    Change-Id: Ie23ac982375041c06b68537d5784d8cdbbc9bf04

commit 977e89e413c3a38de569ffed76d3461d2fdb0db6
Author: Alekhya,Monika <malekh@codeaurora.org>
Date:   Mon Jan 23 17:22:19 2012 +0530

    msm-camera: Configure VPE for YV12

    Configure VPE for YV12 format to make sure that all the three planes of a frame
    have valid addresses in case of VPE processing.

    Change-Id: Ic71b72942ed8e7cd61c5700ec2d4594cfb27c1f2
Signed-off-by: default avatarAlekhya,Monika <malekh@codeaurora.org>

commit d17cc21fe5d2285b1486abbfe8a2430c55711f30
Author: Suresh Vankadara <svankada@codeaurora.org>
Date:   Wed Jan 18 23:38:07 2012 +0530

    msm: camera: Fix spinlock init issue

    xbar spinlock is used by VFE31 driver without initializing
    it. Update the driver to initialize xbar lock at
    init function to avoid kernel crash with camera.

    Change-Id: Ib8ddfa26ec53a75f989371a35746dabad96e3670
Signed-off-by: default avatarSuresh Vankadara <svankada@codeaurora.org>

commit fc81e10421b055303c2459fd52e19a57e2aff31e
Author: Alekhya,Monika <malekh@codeaurora.org>
Date:   Thu Dec 29 15:17:33 2011 +0530

    msm-camera: Add support for YV12 preview format

    Enable camera driver to output preview frames in YV12 format.

    Change-Id: Ib4e358460eb922c6a06314682380c4de30f81319
Signed-off-by: default avatarAlekhya,Monika <malekh@codeaurora.org>

commit 7a068da60a82745fa226c259f2cf2e1c0710dcae
Author: Manogna Reddy Alle <cmalle@codeaurora.org>
Date:   Tue Jan 17 15:34:28 2012 +0530

    msm: Camera: clear control queue

    Clear control queue everytime before entering wait in msm_control as
    there might be invalid payloads in the queue and this can lead to
    not waiting at all and exit before the valid command completes.

    Change-Id: I34991968cb6bb9c2978bcea4d8ce641894cc2453
Signed-off-by: default avatarManogna Reddy Alle <cmalle@codeaurora.org>

commit 257b4192a9e73f55457cd56c890ba2d8de3c8f3f
Author: Azam Sadiq Pasha Kapatrala Syed <akapatra@codeaurora.org>
Date:   Thu Jan 12 14:26:45 2012 -0800

    msm: camera: Fix the VPE state machine to avoid multiple VPE disable.

    Patch to ensure VPE state machine is handled properly in case of
    monkey runs. This is a corner case where vpe disable got triggered
    twice.

    CRs-Fixed: 330166
    Change-Id: I69144204dd491eb0f2f9f9c9c0a987e527449d03
Signed-off-by: default avatarAzam Sadiq Pasha Kapatrala Syed <akapatra@codeaurora.org>

commit 6f9aa86e235e8ae510b0bce0f41150cc1dc7e591
Author: Ankit Premrajka <ankitp@codeaurora.org>
Date:   Thu Jan 12 16:43:51 2012 -0800

    msm: v4l2: add ISP support for more formats.

    This change adds support for YUV422_NV61 and YUV422_NV16
    formats in the V4L2 driver.

    Change-Id: I99f8604d07a7b8290b4eb82d8c21f88db9c7f60f
Signed-off-by: default avatarAnkit Premrajka <ankitp@codeaurora.org>

commit d814743600bf0b5c26ec4a532d47fce828c18d6f
Author: Ankit Premrajka <ankitp@codeaurora.org>
Date:   Fri Jan 6 09:45:11 2012 -0800

    msm: v4l2: fix support for test app.

    This commit fixes bug in query-cap ioctl and
    adds ION support for case where buffers are
    allocated in the kernel with mmap. This change
    is required to fix the V4L2 command line test app.

    Change-Id: I50a535e8a0af60ff7d86341a3f726ed81a630fb0
Signed-off-by: default avatarAnkit Premrajka <ankitp@codeaurora.org>

commit 699edcfca1baabcebcf6c671fdf569b54493f0c0
Author: Vinay Kalia <vkalia@codeaurora.org>
Date:   Thu Dec 1 17:43:47 2011 -0800

    wfd: msm: Adds encoder sub-device.

    Adds encoder subdevice to Wifi display driver.
    Captured output from MDP can be fed to this
    subdevice to get encoded.

    Change-Id: Iacdc551ef266525dea27bb99f98833093a57fb39
Signed-off-by: default avatarVinay Kalia <vkalia@codeaurora.org>

commit 2474e8fa362ea7322374214a7d959d7d9671fcb8
Author: Jeyaprakash Soundrapandian <jsound@codeaurora.org>
Date:   Tue Jan 3 15:59:57 2012 -0800

    mm-camera: api for providing camera clock core reset

    Change-Id: I81565194348bdb7fe918fbce10e7fa1e48b7e028
Signed-off-by: default avatarJeyaprakash Soundrapandian <jsound@codeaurora.org>

commit 09f4e66df1dd0cbc46efdb8b51e6b00a30b70d08
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Fri Dec 16 08:17:02 2011 -0800

    msm: camera: Convert camera sensors into i2c devices

    Convert camera sensors to i2c devices as well as
    v4l2 sub-devices.

    Change-Id: Iefe7050aec051bb591dfdb26696094cde65b6af0
Signed-off-by: default avatarKevin Chan <ktchan@codeaurora.org>
Signed-off-by: default avatarJignesh Mehta <jigneshm@codeaurora.org>

commit 61bee094e70d0f0499d9711dfd89b8f2c337a85b
Author: Kiran Kumar H N <hurlisal@codeaurora.org>
Date:   Tue Dec 20 20:48:01 2011 -0800

    msm: camera: Add plane's data offset in address calculation.

    When a frame is diverted for postprocessing, and returned
    back to kernel, the address of plane 0 is used to find
    the buffer in the queue. Use the data offset field of
    plane 0 in the address calculation, otherwise we will
    not be able to find the buffer.

    Change-Id: I91b1c61e4fe04a44f5d76457ab91aaba3e815ad3
    CRs-Fixed: 324846, 323332
Signed-off-by: default avatarKiran Kumar H N <hurlisal@codeaurora.org>

commit 4c7758f294a1d4881623a06bb2cd02c04c174a07
Author: Guruprasad Gaonkar <ggaonk@codeaurora.org>
Date:   Fri Dec 16 17:30:00 2011 -0800

    Camera : Change to retreive system time from Kernel

    This timestamp is needed in the userspace to flush old
    video frames.

    Change-Id: I432e5f5d35581b10857b41930d7751500ea131dc
Signed-off-by: default avatarGuruprasad Gaonkar <ggaonk@codeaurora.org>

commit f331e35c97745d4d5a012a2d1106014b5149873e
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Fri Dec 16 10:56:09 2011 -0800

    camera: Unlock wake lock when camera device is closed.

    Change-Id: Ifdcbe01625ea3277f555966d766b25b5980da83a
Signed-off-by: default avatarShuzhen Wang <shuzhenw@codeaurora.org>

commit 456f1d6c894b2eedbdc24c5872c4326741a00ace
Author: Jeyaprakash Soundrapandian <jsound@codeaurora.org>
Date:   Mon Nov 14 19:02:04 2011 -0800

    mm-camera: configure the mipi csi based on lanecount

    The mipi phy control is configured based on the number of lanes
    used by the sensor.The mipi reset is placed in a seperate
    function.

    Change-Id: I23475b985da161a654ebde7de0e7b152498573dd
Signed-off-by: default avatarJeyaprakash Soundrapandian <jsound@codeaurora.org>

commit f73442c6142d80e0a6806a0a577148fae318e27a
Author: Azam Sadiq Pasha Kapatrala Syed <akapatra@codeaurora.org>
Date:   Thu Dec 15 19:17:03 2011 -0800

    camera: Fix for recording.

    In back to back recording for an error case, the state is not
    handled properly and the system hangs. So for graceful exit,
    in error case ensure that the state is set properly.

    Change-Id: Ibd7334909cbd33db266dc6908b332187ed74d310
Signed-off-by: default avatarAzam Sadiq Pasha Kapatrala Syed <akapatra@codeaurora.org>

commit df6af9cd24d16006284dab7ecc8d06d53ac0ef65
Author: Rajakumar Govindaram <crajaku@codeaurora.org>
Date:   Thu Dec 1 21:26:20 2011 -0800

    msm-camera: power enable support for autofocus actuator

    Change-Id: I17c4bf3f216c6f9406ade4c3d4deedddc8b224c3
Signed-off-by: default avatarRajakumar Govindaram <crajaku@codeaurora.org>

commit 6bc004a29148396bc3974dc6e22864a63fab4448
Author: Rajakumar Govindaram <crajaku@codeaurora.org>
Date:   Mon Dec 5 20:58:19 2011 -0800

    msm: camera: Support for MT9M114 YUV sensor

    Initial support for Aptina 720p YUV sensor

    Change-Id: Idb2eb0c1d98482077cb170f3fc581b1e548dc1ee
Signed-off-by: default avatarRajakumar Govindaram <crajaku@codeaurora.org>

commit 6da6a0670c0f5b33e578709b04209b52803d9190
Author: Mingcheng Zhu <mingchen@codeaurora.org>
Date:   Mon Dec 12 12:47:40 2011 -0800

    msm: change the pr_err to CDBG to reduce the log output

    Reduce the VPE log output.

    Change-Id: I2018609307c7cc1e94eca6653327c9fce5202f10
Signed-off-by: default avatarMingcheng Zhu <mingchen@codeaurora.org>

commit a78faeb551488e73a17df7b97c503ff1c52f415d
Author: Nishant Pandit <npandit@codeaurora.org>
Date:   Thu Dec 8 14:15:40 2011 +0530

    msm: camera: Configure the vfe bus io format correctly

    The vfe bus format is hardcoded to 10 bits per pixel. Fix
    this issue to receive configurtion input from user space

    Change-Id: I76323895a41ebc955c7cf54bef0bd6c7d9dc2ad5
Signed-off-by: default avatarNishant Pandit <npandit@codeaurora.org>

commit 1db291dc072378a42a1300ca1191a223d985e09c
Author: Peter Liu <pingchie@codeaurora.org>
Date:   Tue Dec 6 13:11:06 2011 -0800

    msm: camera: kernel change for PCA test vector.

    Change-Id: Iba36a660483d168fe4ed0c3c5d29e276b5359c70
Signed-off-by: default avatarPeter Liu <pingchie@codeaurora.org>

commit 53c776363a99da663463cfbade518df414b2b415
Author: Nishant Pandit <npandit@codeaurora.org>
Date:   Thu Dec 8 01:09:38 2011 +0530

    msm: camera: Enable encoded payload for RDI interface

    Change-Id: I7ee2d6df2d2a2d97e31976b247df5535e1bef5f2
Signed-off-by: default avatarNishant Pandit <npandit@codeaurora.org>

commit 2eedd22790029ff2c356abad73ae3031c1105c83
Author: Matt Wagantall <mattw@codeaurora.org>
Date:   Wed Nov 16 12:55:21 2011 -0800

    msm: camera: Discontinue use of clk_set_min_rate()

    Support for the proprietary clk_set_min_rate() will soon be removed.
    Move away from it. Call clk_set_rate() directly with an exact rate
    where possible, and use clk_round_round() in conjunction with
    clk_set_rate() when an exact rate is not known.

    Change-Id: I030c93c976f516a3ec91844ce2e5d752f56cdb9a
Signed-off-by: default avatarMatt Wagantall <mattw@codeaurora.org>

commit 7e31792023479cd5cd6f0c6d1a24edb4e7ac1a92
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Tue Nov 1 15:54:10 2011 -0700

    msm: camera: Add i2c util functions for camera sensors

    Add support for bitwise register set/unset
    Add register polling function
    Add register compare function

    Change-Id: I10d2e3af02685dc4496723319f96c42d2ce3db70
Signed-off-by: default avatarKevin Chan <ktchan@codeaurora.org>

commit f8a006b0977f3c85313c8c492534c99fcff59b53
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Mon Dec 5 03:41:32 2011 -0800

    Revert "msm: camera: Control vpe_axi_clk in camera driver"

    This reverts commit db81a721b1ff5f8c630a1bd644630c6967640b29.

    Change-Id: Icb50956f760e356d23c2439ddbebf0a9129d79a9
Signed-off-by: default avatarKevin Chan <ktchan@codeaurora.org>

commit 61656ae72b6505f50b2250c7d773b2b551a9c9bc
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Sun Dec 4 19:10:36 2011 -0800

    msm: camera: Remove skew from csi phy data lanes

    Remove skew on csi phy data lanes which will cause
    data lanes and clock lane to be out of sync
    when camera is in high speed mode.

    Change-Id: I80d2ec21fb544cd60a871136ddde160e3b2ed246
Signed-off-by: default avatarKevin Chan <ktchan@codeaurora.org>

commit cfab2f7798092226c3fe8413995521e85b35efee
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Fri Dec 2 13:05:51 2011 -0800

    msm: camera: Add LED flash support on MTP and Fluid

    Both LED and strobe flash shares same GPIO pins on CDP.
    For CDP, we use gpio expander to support both features,
    but on MTP and Fluid, gpio expander is not present.
    This change set the default flash gpio mux config to
    be use by MTP and Fluid. GPIO mux config will be update
    if device is CDP. Also added some delay for the SC628A
    chip to enable.

    Change-Id: I459e3ec6f13f3ef374fabca850e476461627da9f
Signed-off-by: default avatarKevin Chan <ktchan@codeaurora.org>

commit a401939625f3fbd1ab59c1b4d7d20a7c0ab785da
Author: Mingcheng Zhu <mingchen@codeaurora.org>
Date:   Wed Nov 23 11:25:51 2011 -0800

    msm: set vpe subdev hostdata during init.

    Initialize vpe subdev host data that is used by isp driver.
    This fixes crashes with camera recording which needs the
    subdev host data

    CRs-fixed: 323056
    Change-Id: I4c9a49284e17afb8c8b61ff1b522d77bc61b0c1a
Signed-off-by: default avatarMingcheng Zhu <mingchen@codeaurora.org>

commit 8feaa3fe882332192daacd5027386b000667674e
Author: Mingcheng Zhu <mingchen@codeaurora.org>
Date:   Wed Nov 23 11:33:52 2011 -0800

    msm: separating frame divert and post process path.

    Add a new IOCTL to handle the completion of diverted
    frame.

    Change-Id: I3bbfc2bd3bfdfcd5e078713c068f3f6f97f7239a
Signed-off-by: default avatarMingcheng Zhu <mingchen@codeaurora.org>

commit 05c8824b534b27f69bc0ca54504d4550f0f2ba0e
Author: Sampath Kumar Matheswaran <csmathe@codeaurora.org>
Date:   Mon Nov 28 12:55:08 2011 -0800

    msm: camera: Modified Average mode to Addition mode for IMX074

    Modified the driver code to change from Average mode to Addition mode
    settings to compensate more linecount and lessgain for IMX074 sensor.

    Change-Id: Idd7d202ec0615ee39489fed1c07d40a6471ac094
Signed-off-by: default avatarSampath Kumar Matheswaran <csmathe@codeaurora.org>

commit 0bf8b2faa977c6b2967cf66136377b436b423aed
Author: Lakshmi Narayana Kalavala <lkalaval@codeaurora.org>
Date:   Wed Nov 16 19:00:39 2011 -0800

    msm: camera: Add command for chroma suppression

    Add a separate command for chroma suppression as
    MCE and Chroma Suppression share same hw registers

    Change-Id: I2633520ec3a8b38c03328496baab90649f9a498b
Signed-off-by: default avatarLakshmi Narayana Kalavala <lkalaval@codeaurora.org>

commit a56c1403038681116e964e1fc6083169736a4497
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Thu Dec 1 10:18:15 2011 -0800

    camera: Correct vb2 buffer type.

    VB2 buffer type should be set according to buffer_type in
    plane_info structure, not num_planes.

    Change-Id: If8c5b8bc7873a71ee8dbeb317d6e117db630d43a
Signed-off-by: default avatarShuzhen Wang <shuzhenw@codeaurora.org>

commit db81a721b1ff5f8c630a1bd644630c6967640b29
Author: Suresh Vankadara <svankada@codeaurora.org>
Date:   Wed Nov 30 06:32:58 2011 +0530

    msm: camera: Control vpe_axi_clk in camera driver

    Update Camera driver to control vpe_axi clock at camera
    start and stop.

    Change-Id: Idef09db1cca184194c7653fd3c870a287562cc8d
    CRs-Fixed: 313596
Signed-off-by: default avatarSuresh Vankadara <svankada@codeaurora.org>

commit 3f40f3481c0a74b016230d0a0be75912cfb389a2
Author: Justin Paupore <jpaupore@codeaurora.org>
Date:   Wed Aug 10 18:52:16 2011 -0700

    msm: Port 7x30 vreg.c consumers to regulator API

    Converts all users of vreg.c on 7x30 to use the regulator API.
    vreg.c should now be considered DEPRECATED on 7x30.

    Change-Id: Iae2a7e25810d17194bf231d9942378668a3ecb2e
Signed-off-by: default avatarJustin Paupore <jpaupore@codeaurora.org>
Signed-off-by: default avatarPankaj Kumar <pakuma@codeaurora.org>

commit 49cc95bf52796fc113a7225fa09d7519cebd6c1a
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Fri Oct 28 18:55:38 2011 -0700

    msm: camera: Remove Aptina mt9p017 3D sensor driver

    Driver not needed for any target

    Change-Id: I95dddaa50d0abdb0c33e7a9840b29bb712370df7
Signed-off-by: default avatarKevin Chan <ktchan@codeaurora.org>

commit 5dcbcb9f04a94aa6740718a1b6d39ce4548d869c
Author: Suresh Vankadara <svankada@codeaurora.org>
Date:   Thu Nov 17 10:21:26 2011 +0530

    msm: camera: Free buffers from frame queue at open

    Free all pending frames in frame queue before cam_frame
    thread opens frame device to avoid duplication of buffer
    free

    CRs-Fixed: 318202
    Change-Id: I25d1718a37a94fa83563c4b6e99a1b7560917a7f
Signed-off-by: default avatarSuresh Vankadara <svankada@codeaurora.org>

commit 50a3a04dd115f5e152333b552747f901076fd536
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Mon Nov 14 02:14:26 2011 -0800

    msm: camera: Remove empty DMA request

    Remove DMA request that does not have any effect

    Change-Id: If7159aecb1bb952af5d220cd9bbf3fd092c01b00
Signed-off-by: default avatarKevin Chan <ktchan@codeaurora.org>

commit 377ef0257e1af5bb487580338382b97b7e21d307
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Mon Sep 26 02:41:17 2011 -0700

    msm: camera: Remove deprecated APIs

    Remove APIs that are no longer in use.
    Logic moved to userspace.

    Change-Id: Ic54c493e7edef78d829dc5cc598b7b4bff919cfd
Signed-off-by: default avatarKevin Chan <ktchan@codeaurora.org>

commit 77db52e7c6683d8212e44420e769e28a02d3ac92
Author: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>
Date:   Tue Nov 15 03:00:09 2011 -0800

    msm: camera: Remove act compile time logging levels

    Change-Id: Id3a1bd492b963161b5d5bc7620827367b86db406
Signed-off-by: default avatarSreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>

commit 3be1a0852894880c46ec0fc74a3a61c2bb5799a0
Author: Peter Liu <pingchie@codeaurora.org>
Date:   Thu Nov 10 16:40:06 2011 -0800

    msm: camera: enable Nzflag for ASF special effect.

    Change-Id: I4d54baa5d934ccd7a191259c3a3df9787b28a5b2
Signed-off-by: default avatarPeter Liu <pingchie@codeaurora.org>

commit 3e90b9f72602f9536bc31270643989a056e1bea3
Author: Ankit Premrajka <ankitp@codeaurora.org>
Date:   Tue Nov 1 18:48:45 2011 -0700

    msm: camera: add ion support to native driver.

    This change adds ion support to native (non V4L2)
    camera driver. It also adds ion structures to the msm_frame
    structure.

    Change-Id: I9be720e7d9924074706c93eec52178cb6f130af6
Signed-off-by: default avatarAnkit Premrajka <ankitp@codeaurora.org>

commit a0853126a900140e3d76ca5349d92035b4ed7c34
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Mon Nov 7 19:48:44 2011 -0800

    msm: camera: Convert VPE into platform device

    Make VPE platform devices as well as
    v4l2 sub-devices. They are created at system boot-up,
    and registered during camera open.

    The subdevices are decoupled from the v4l2 devices by
    using device model APIs to find and register them.

    Change-Id: I884b38f714df6f101d48b38219d274bf91fef4c6
Signed-off-by: default avatarKevin Chan <ktchan@codeaurora.org>

commit 5827c55f07904356977f6fa7f1ad95717f3aa5e9
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Fri Oct 28 18:36:32 2011 -0700

    msm: camera: Convert VFE into platform device

    Make VFE platform devices as well as
    v4l2 sub-devices. They are created at system boot-up,
    and registered during camera open.

    The subdevices are decoupled from the v4l2 devices by
    using device model APIs to find and register them.

    Change-Id: I91a7144794505af23a6f32de58f1c7cc340f4882
Signed-off-by: default avatarKevin Chan <ktchan@codeaurora.org>

commit e12c6674a3b7a51d55499252d6c713a5f1ea9b90
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Wed Oct 26 11:55:26 2011 -0700

    msm: camera: Convert ISPIF into platform device

    Make ISPIF platform devices as well as
    v4l2 sub-devices. They are created at system boot-up,
    and registered during camera open.

    The subdevices are decoupled from the v4l2 devices by
    using device model APIs to find and register them.

    Change-Id: I0b1eed8e11cf2627775e5a1c9d848510d9cfd595
Signed-off-by: default avatarKevin Chan <ktchan@codeaurora.org>

commit c8b52e84bdda4e4b48a7e8c10f8bb39a8ed40418
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Tue Oct 25 23:20:21 2011 -0700

    msm: camera: Convert CSID into platform device

    Make CSID platform devices as well as
    v4l2 sub-devices. They are created at system boot-up,
    and registered during camera open.

    The subdevices are decoupled from the v4l2 devices by
    using device model APIs to find and register them.

    Change-Id: Icdb7d878456e749500b3e7a9e183997dba651cfd
Signed-off-by: default avatarKevin Chan <ktchan@codeaurora.org>

commit f6216f232914e80cfe6d10d9776dff77bc6316f8
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Tue Oct 25 18:40:11 2011 -0700

    msm: camera: Convert CSIPHY into platform device

    Make CSIPHY platform devices as well as
    v4l2 sub-devices. They are created at system boot-up,
    and registered during camera open.

    The subdevices are decoupled from the v4l2 devices by
    using device model APIs to find and register them.

    Change-Id: Ie7cb68fb0ef41735c07ee2001b75cb6c139a3eb4
Signed-off-by: default avatarKevin Chan <ktchan@codeaurora.org>

commit 9a05d96cd5b81de6cea7d0a76d46ac7a436bc2dd
Author: Kiran Kumar H N <hurlisal@codeaurora.org>
Date:   Mon Nov 7 15:29:10 2011 -0800

    msm: camera: Fix couple of error cases.

    - Currently we initialize the vb2 queue during
      set_format and release it during msm_close.
      This might cause problems if the application
      is doing resolution changes in the same camera
      instance, where there can be multiple formats
      within the single instance. So release the vb2
      queue when the application is unregistering
      the buffers and toggle initialized flag so that
      the vb2 queue is initialized again when the new
      format is set.
    - Also, display an error and return immediately
      without queueing the buffer, if the application
      erroneously queues a buffer after unregistering
      all the buffers.

    Change-Id: I1236d933991f5650b4982c8db715fd0fd81b53cd
Signed-off-by: default avatarKiran Kumar H N <hurlisal@codeaurora.org>
    CRs-Fixed: 317429

commit 996be18a0a1cc98fbf70d05ab99eb4343dacf9b9
Author: Mingcheng Zhu <mingchen@codeaurora.org>
Date:   Sun Oct 16 16:04:23 2011 -0700

    msm-camera: allow non-zero Y offset.

    Change-Id: I73238a6cfac0feb146279516f78f4a51c74bc9e9
Signed-off-by: default avatarMingcheng Zhu <mingchen@codeaurora.org>

commit ce3ddedba4538187207275ebf51d01d41f6e8bc0
Author: Vinay Kalia <vkalia@codeaurora.org>
Date:   Fri Oct 14 18:44:45 2011 -0700

    msm: wfd: Adds WFD v4l2 capture driver.

    Captures the mirrored output from mdp
    and passes it on to userspace. This
    is added to support wifi-display (WFD).

    Change-Id: Idcf1373ebae3b2107e4a9bb3ccc808be020d32c2
Signed-off-by: default avatarVinay Kalia <vkalia@codeaurora.org>

commit 4076384c0de9f6b7a25c41ec28cc60c26c3010f9
Author: Ankit Premrajka <ankitp@codeaurora.org>
Date:   Tue Nov 8 12:12:09 2011 -0800

    msm: camera: fix goto LABEL name typo in camera driver

    Change-Id: Id27347895908e30b54324d1a2c50d60a8e06aa3f
Signed-off-by: default avatarAnkit Premrajka <ankitp@codeaurora.org>

commit 85af455afe9246095f185639e8b81abc1f124efd
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Tue Oct 25 15:07:58 2011 -0700

    msm: camera: Add io utility file

    File for io utility functions
    Added generic function for handling clk enable/disable

    Change-Id: I1610234ab945c49adb579f237eaec9109afd4d03
Signed-off-by: default avatarKevin Chan <ktchan@codeaurora.org>

commit 0dc15d251663b33a779207341eda3da69cfb4e24
Author: Ujwal Patel <ujwalp@codeaurora.org>
Date:   Fri Nov 4 16:58:23 2011 -0700

    msm: camera: Fix stray line issue on 8960 V2 device.

    8960 V2 has double buffer rolloff tables. While updating
    these tables during preview, DMI bank selection is incorrect.
    Fix DMI bank selection when PCA ROLLOFF UPDATE is called.

    Change-Id: I3d8be13b1d3ddce96303601022305c483c51a68c

Signed-off-by: default avatarUjwal Patel <ujwalp@codeaurora.org>

commit b775048e7f60582e6e47f2f1bbc1adba513bd0bb
Author: Sunid Wilson <sunidw@codeaurora.org>
Date:   Tue Nov 1 16:31:25 2011 -0700

    msm: camera: Add mask while configuring the Demosaic

    Mask ABF, DBPC, DBCC and ABCC enable bits while configuring
    or updating Demosaic.

    Change-Id: Ifee57be7db0c7be8b40b989fe620fdd7a566fede
Signed-off-by: default avatarSunid Wilson <sunidw@codeaurora.org>

commit 5156dd423584446760a64ba948336115be25d5c9
Author: Azam Sadiq Pasha Kapatrala Syed <akapatra@codeaurora.org>
Date:   Thu Oct 27 19:30:13 2011 -0700

    msm: camera: Add update cmd support for Demosaic.

    Add support for update command for demosaic module.

    Change-Id: I06cc7c4e41cbc8c8486277151edc577097661cab
Signed-off-by: default avatarAzam Sadiq Pasha Kapatrala Syed <akapatra@codeaurora.org>

commit 5e74ce549e23a77a3c6311499ed8555592d161d5
Author: Ankit Premrajka <ankitp@codeaurora.org>
Date:   Tue Oct 18 13:42:40 2011 -0700

    msm: camera: ION migration for gemini driver.

    Change-Id: I7cef70c5ad1675ee891c76933a1158ba4bdc7ece
Signed-off-by: default avatarAnkit Premrajka <ankitp@codeaurora.org>

commit 748a70ad755602593d35eb841b69d0fee35d3132
Author: Ankit Premrajka <ankitp@codeaurora.org>
Date:   Tue Nov 1 08:22:04 2011 -0700

    msm: camera: use ION for stats and userptr buffers in V4L2 driver.

    Change-Id: Ibc7db3a7355d07f421e63e990354e44e372e79d0
Signed-off-by: default avatarAnkit Premrajka <ankitp@codeaurora.org>

commit 5f1b70ce563e4872d01800d3ff526ee58c480d37
Author: Manogna Reddy Alle <cmalle@codeaurora.org>
Date:   Thu Oct 27 15:58:48 2011 +0530

    Camera: Return true when more than one post processing parameter is enabled

    Code change to deliver the frame to post processing framework
    when more than one postprocessing is enabled

    CRs-Fixed: 312916
    Change-Id: I64ac6626679ebd16999ef207f823ae2e0b7c9bc9
Signed-off-by: default avatarManogna Reddy Alle <cmalle@codeaurora.org>

commit 4cff94aea759ca85177d8e95bbc5446e6efc742d
Author: Kiran Kumar H N <hurlisal@codeaurora.org>
Date:   Mon Oct 17 11:37:33 2011 -0700

    msm: camera: Add support for YV12 image format.

    If the application uses YV12 or similar image
    formats which have more than 2 planes, then enable
    all the 3 channels of VFE output.

    Change-Id: I31af22a4047a38a12fe09a0b07a68f435506aad1
Signed-off-by: default avatarKiran Kumar H N <hurlisal@codeaurora.org>

commit a9bdb01e48798ed256c416c6eefa0964ffd6637c
Author: Taniya Das <tdas@codeaurora.org>
Date:   Thu Sep 8 11:21:33 2011 +0530

    msm: camera: Add camera driver support for ov5640 and ov7692

    Add supprt for ov5640 and ov7692 for QRD devices.

    Change-Id: I9aa5b5031f0cd05f88fa5958a8dd4dbea18f04ab
Signed-off-by: default avatarTaniya Das <tdas@codeaurora.org>
Signed-off-by: default avatarLokesh Kumar Aakulu <lkumar@codeaurora.org>

commit e07f3ae3403079f4be75178420f1c617577bc466
Author: Kiran Kumar H N <hurlisal@codeaurora.org>
Date:   Thu Oct 27 18:07:25 2011 -0700

    msm: camera: Configure plane information to VPE.

    While configuring the VPE's input and output buffers,
    use all the planes information if the user is running
    in multiplanar mode.

    Change-Id: I1b3ea31663859b8cad7b226ddc17edb3f3a7f7cb
Signed-off-by: default avatarKiran Kumar H N <hurlisal@codeaurora.org>

commit 852a1bf419fe9964bcae114cc5208570a91bd00f
Author: Kiran Kumar H N <hurlisal@codeaurora.org>
Date:   Wed Sep 28 14:25:43 2011 -0700

    msm: camera: add couple of safety checks.

    Add couple of safety checks to prevent
    null ptr dereferences during buffer access.

    Change-Id: Ib3b377eb88e9ba64c8c73605a99b3bba1c0b1a83
Signed-off-by: default avatarKiran Kumar H N <hurlisal@codeaurora.org>

commit c14da544cda1ccd0cfdd4d6d991ecbcd40d19a29
Author: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>
Date:   Thu Oct 20 14:20:05 2011 -0700

    msm: camera: Error handling for actuator registration code path

    Change-Id: Ib1fea71fbb5008a6c9290148d547a8c9353d9bf5
Signed-off-by: default avatarSreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>

commit 6e4308d6c704330f5b607a04b7d77fc3806ffec5
Author: Ujwal Patel <ujwalp@codeaurora.org>
Date:   Tue Oct 25 11:24:52 2011 -0700

    msm: camera: Enable exporting vfe registers and tables to userspace.

    For the VFE Test Vectors Tool, userspace code needs vfe register
    dump as well as image processing tables written through DMI. This
    patch enables exporting this capability.

    Change-Id: I69fd110867e60d36a0b5a9fa2311413614a54514
Signed-off-by: default avatarUjwal Patel <ujwalp@codeaurora.org>

commit cd7bc3ba9b76cdb5293653121508b56be470d65c
Author: Kiran Kumar H N <hurlisal@codeaurora.org>
Date:   Wed Oct 12 16:14:48 2011 -0700

    camera: Add multiplanar support in postprocessing.

    The current postprocessing framework uses single
    planar structures. Change the data structures
    to support multiplanar image formats.

    Change-Id: I27dc6f4c544a4a628bbf2b073d6abd899450a396
Signed-off-by: default avatarKiran Kumar H N <hurlisal@codeaurora.org>

commit 284e1f4ca53e980aa84a7f9509f2822506a116da
Author: Jeyaprakash Soundrapandian <jsound@codeaurora.org>
Date:   Wed Oct 19 18:42:32 2011 -0700

    msm-camera: imx074 specific default focus and steps

    The default focus from msm_actuator is not satisfying the
    need of imx074 acuator. hence the specific default focus
    function is added. the total number of steps is
    limited to 41

    Change-Id: I74b9df2773659cd924f2a5146b4e604be16e403b
Signed-off-by: default avatarJeyaprakash Soundrapandian <jsound@codeaurora.org>

commit 0ab2f2e1cac7934c78099a1c0fb85e570fb4f6f7
Author: Kiran Kumar H N <hurlisal@codeaurora.org>
Date:   Fri Oct 21 10:09:03 2011 -0700

    msm: camera: fix warnings in camera driver.

    Fix the warnings seen with couple of kernel
    debug flags turned on.
    (CONFIG_SLUB_DEBUG_ON, CONFIG_DEBUG_MUTEXES)
    The memory type used should be GFP_ATOMIC at
    couple of places, since those functions are
    invoked in interrupt context.
    In msm_open, the mutex vid_lock was unlocked
    twice. Remove the duplicate unlock.

    Change-Id: Ief810f863e8ed7a60613a5f4b367b0aa799d4fb0
Signed-off-by: default avatarKiran Kumar H N <hurlisal@codeaurora.org>

commit 5b5caee6a6896d6f54349f491132b8319cea677c
Author: Jeyaprakash Soundrapandian <jsound@codeaurora.org>
Date:   Thu Oct 20 11:18:40 2011 -0700

    msm-camera: replace unsecure API

    Banned APIs usage is avoided considering
    string overflow. They are replaced with alternate
    secure APIs which ensure NULL string termination.

    Change-Id: I4bbd192d7fa07cdfa93877fb5c1f596059225bc0
Signed-off-by: default avatarJeyaprakash Soundrapandian <jsound@codeaurora.org>

commit 0e16bbba76b483efea880b6fcec566cb948d5d95
Author: Mingcheng Zhu <mingchen@codeaurora.org>
Date:   Fri Oct 14 17:19:52 2011 -0700

    msm-camera: associate sof count along with VFE stats/ack event.

    Change-Id: Id742d08267d9ac4f5336f81a1e988aab991297be
Signed-off-by: default avatarMingcheng Zhu <mingchen@codeaurora.org>

commit 272f660ed75b1c91187cbcbc24f4e6db2389ab04
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Tue Oct 18 14:20:03 2011 -0700

    msm: camera: Add binning factor to sensor output info

    Incoporate binning factor to calculate exposure time

    Change-Id: I31f6896ae7b36f606b8a407e5662d341f8f8ff1e
Signed-off-by: default avatarKevin Chan <ktchan@codeaurora.org>

commit b3dcbbdf0356c923c4732ec44b134f1997d97d22
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Tue Oct 18 14:14:06 2011 -0700

    msm: camera: Set fps when camera is running

    Set fps function call will only have effect if
    the sensor is streaming.

    Change-Id: I97eac0233ead8b6a3ff3c475b661eb946820f2d3
Signed-off-by: default avatarKevin Chan <ktchan@codeaurora.org>

commit 62698f86dc9d9c61f2f903f444c290efc1582aee
Author: Lokesh Kumar Aakulu <lkumar@codeaurora.org>
Date:   Tue Oct 18 16:33:03 2011 +0530

    msm: 7x27a: Release ebi_vfe_clk at camera exit

    Release ebi_vfe_clk at camera exit to avoid additional power
    consumption

    Change-Id: I39cd93312d5d37cd790d7eec96ed8d938da07652
    CRs-Fixed: 312929
Signed-off-by: default avatarSuresh Vankadara <svankada@codeaurora.org>
Signed-off-by: default avatarLokesh Kumar Aakulu <lkumar@codeaurora.org>

commit e30d3697182ecd07564b547d98abf183cd0a2d55
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Fri Oct 14 16:11:01 2011 -0700

    msm: camera: Separate video timing and output pixel clk

    Camera video timing pixel clk and output pixel clk
    can be different. Added vt_pixel_clk and op_pixel_clk
    to address the difference.

    Change-Id: I8770c9897bc340908776d01a7583fed84398ff33
Signed-off-by: default avatarKevin Chan <ktchan@codeaurora.org>

commit 78f0a0fc11946725260b964cee1a3a19e5f7abfe
Author: Jeyaprakash Soundrapandian <jsound@codeaurora.org>
Date:   Thu Oct 13 22:56:01 2011 -0700

    msm-camera: hardware damping parameters for af lens actuator

    Change-Id: I7bb172d39b1a816b62b75ee34b82408d9e2c63f5
Signed-off-by: default avatarJeyaprakash Soundrapandian <jsound@codeaurora.org>

commit 1fe4c9c7b6282e5acf599f65d3cb5afe08acc053
Author: Ujwal Patel <ujwalp@codeaurora.org>
Date:   Fri Oct 7 12:19:52 2011 -0700

    msm: camera: Rename EzTune config to Module config.

    EzTune is a userspace feature which should not be known
    to kernel driver. EzTune is modifying Module config of
    VFE so moving forward correct name used is Module instead of
    EzTune.

    Change-Id: I419b7275e72ae5e49b9086a4c59d6a0d2053d0c4
Signed-off-by: default avatarUjwal Patel <ujwalp@codeaurora.org>

commit 72021ded9de1d855979e6b405d66295e02ceea41
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Wed Sep 14 16:23:23 2011 -0700

    msm: camera: Separate function for exposure config

    Separating preview exposure config function
    and snapshot exposure config function

    Change-Id: Ieceec07b6e33c1922600b7fd126d5a4fe0c9c062
Signed-off-by: default avatarKevin Chan <ktchan@codeaurora.org>

commit 0b51780505f6bf734687533ab37d0f4e5b4ba000
Author: Kiran Kumar H N <hurlisal@codeaurora.org>
Date:   Wed Oct 5 09:49:51 2011 -0700

    camera: Modify the camera event interface.

    - The current camera event interface is limited
      to 64 bytes. This restricts the interaction
      between the driver and the  userspace since
      the current structures used are already using
      the entire 64 bytes. Hence change the interface
      to overcome this limitation and accomodate more
      usecases(eg: postprocessing for multiplanar formats)
    - Renamed the event structure to a more generic
      name.

    Change-Id: Id3c635e2652491da4efd8fe34c32d63464b83755
Signed-off-by: default avatarKiran Kumar H N <hurlisal@codeaurora.org>

commit af0cd4e06b4f95324de3c32fd868f5796defd279
Author: Ujwal Patel <ujwalp@codeaurora.org>
Date:   Thu Oct 6 14:07:16 2011 -0700

    msm: camera: Fix color corruption for 8960V2.

    New PCA rolloff for 8960V2 was causing color corruption. Fixed it by
    writing rolloff tables to the DMI with correct offset. Also DMI HI and LO
    words were swaped to get the correct MSB/LSB order.

    Change-Id: I21f1811cdf48a744e7cc424a81874c5103f1365b
Signed-off-by: default avatarUjwal Patel <ujwalp@codeaurora.org>

commit 27da72487d24c024dbf2fdae0cde9fc00f0b3b8e
Author: Jeyaprakash Soundrapandian <jsound@codeaurora.org>
Date:   Wed Oct 12 14:02:56 2011 -0700

    mm-camera: configure the mipi csi based on lanecount

    The mipi phy control is configured based on the number of lanes
    used by the sensor.The mipi reset is placed in a seperate
    function.

    CRs-Fixed: 311858
    Change-Id: I3e8c47196a25ebb9eddc83ed8d8bb17e004cb6ff
Signed-off-by: default avatarJeyaprakash Soundrapandian <jsound@codeaurora.org>

commit 4d82de2150536f05a9fdf36b52347a9d1736b7c0
Author: Kiran Kumar H N <hurlisal@codeaurora.org>
Date:   Thu Oct 13 13:21:17 2011 -0700

    msm: camera: Validate camera instance before reserving buffer.

    When VFE requests for a buffer, we check if a particular
    instance is still streaming or not. Before checking this
    condition, validate the instance itself since the instance
    might have been closed by the application.

    CRs-Fixed: 310426
    Change-Id: Ifc8c2deaa5dcbbf4ea4e45bf03f8ade67b405b6e
Signed-off-by: default avatarKiran Kumar H N <hurlisal@codeaurora.org>

commit d6e9cb9ea0b9e8ea964f11d71a0dcef3d5dc0c28
Author: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>
Date:   Wed Oct 12 17:55:18 2011 -0700

    msm: camera: ISPIF changes for V2

    Change-Id: I9e5936128d46b6401ee38e9c0a842a3918f9b3f3
Signed-off-by: default avatarSreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>

commit e3a29b9a2d86c0cebbaf6e24a8cdd8ed55478f6a
Author: Mingcheng Zhu <mingchen@codeaurora.org>
Date:   Tue Oct 4 22:56:15 2011 -0700

    msm-camera: unregister sd_vpe sub-device in close.

Signed-off-by: default avatarMingcheng Zhu <mingchen@codeaurora.org>

commit 5a9b2044d52a05379b71a67cbc12402b8c936fe6
Author: Lakshmi Narayana Kalavala <lkalaval@codeaurora.org>
Date:   Tue Sep 27 18:09:45 2011 -0700

    msm: camera: Fix register offsets and add toggle bank selects

    1. Correct the address offsets for MCE and Linearization
    configurations
    2. Add Update commands for Luma adaptation and Gamma
    3. Add logic to toggle bank selects for Luma adaptation and Gamma

Signed-off-by: default avatarLakshmi Narayana Kalavala <lkalaval@codeaurora.org>

commit 4ddc8923cb3e956226ced613dc88fa22adde16f4
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Sat Oct 1 19:45:58 2011 -0700

    msm: camera: Turn off AEC and AWB register for ov2720

    Turn off AEC and AWB register to allow full control
    from msm ISP.

    Change-Id: Ie011ad3d11c1fc17265ef7313331098a48cb26cc
Signed-off-by: default avatarKevin Chan <ktchan@codeaurora.org>

commit 65c3b1d5789ed6fd3b663950ffc891e2f91af18f
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Tue Sep 20 12:53:08 2011 -0700

    camera: Optimize bus scaling table for 8960.

    Change-Id: I4db338d173a99a18ba8ab86bd8f34dc322e54ff7
Signed-off-by: default avatarShuzhen Wang <shuzhenw@codeaurora.org>

commit e49436af7ed9b91d50360a666f3959579fe33c7c
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Wed Sep 28 16:07:27 2011 -0700

    camera: 8960: Enable dynamic VFE clock scaling.

    Whenever sensor pixel clock changes, round the VFE clock
    to the minimum clock that are greater or equal to the pixel clock.

Signed-off-by: default avatarShuzhen Wang <shuzhenw@codeaurora.org>

commit f7c1cefb69084819dec8fe45d83b7acfe81ce002
Author: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>
Date:   Tue Sep 20 08:41:15 2011 -0700

    msm: camera: Actuator settings for IMX074 actuator

Signed-off-by: default avatarSreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>

commit 74bd0871369b3a3193b7811b6762f452568508c4
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Thu Sep 22 16:51:14 2011 -0700

    camera: vfe32: Add support for VFE_CMD_GET_HW_VERSION.

    This enables user space applications to get vfe hardware
    version information.

Signed-off-by: default avatarShuzhen Wang <shuzhenw@codeaurora.org>

commit 5e08d77840cfcaba5bd6c43a2ee4b40d516a448f
Author: Kiran Kumar H N <hurlisal@codeaurora.org>
Date:   Mon Oct 3 10:19:15 2011 -0700

    camera: Store the data offsets for each planes.

    - When the user queues a buffer, store the data offset
      along with the address offset which is already stored.
      data offset indicates the offset of the data in the
      buffer.
    - Use this offset when the physical address of the
      buffer is configured to VFE.
    - Depending on the number of planes present in the
      buffer, store either the y, cbr offset or the
      offset of each plane.

Signed-off-by: default avatarKiran Kumar H N <hurlisal@codeaurora.org>

commit 551bb3d82048d64cd4beec13f4bf4d9a0935cf12
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Mon Sep 26 13:03:41 2011 -0700

    camera: ispif: Improve start/stop/reset sequence.

    Halt ispif immediately before stopping sensor streaming,
    and start ispif before start sensor streaming.
    Handle ispif reset properly using wait_for_completion*
    instead of msleep().

Signed-off-by: default avatarShuzhen Wang <shuzhenw@codeaurora.org>

commit e3673dac41dcba55ed4b511dcd52e8f074a570f3
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Tue Sep 27 12:08:54 2011 -0700

    camera: vfe32: Only config one channel for raw snapshot.

Signed-off-by: default avatarShuzhen Wang <shuzhenw@codeaurora.org>

commit 8227b413fe5a26cc5ad4707f24b4379d103871f3
Author: Jilai Wang <jilaiw@codeaurora.org>
Date:   Sat Sep 24 21:29:35 2011 -0400

    camera: update MT9D113 front camera on QT8660

    In order to make MT9D113 front camera work properly on QT8660,
    1) GPIO105 needs to be requested and set properly since it's
       used to control front camera power on QT8660.
    2) CSI related clock needs to be configured using clk_add_alias
       correctly. The maximum alias_dev_name length that clk_add_alias
       can handle is 20 characters, so change the sensor device name
       is necessary.
    3) Correct I2C function used to read chip id.
    4) Correct sensor register setting to make it work in both preview
       and snapshot mode.

Signed-off-by: default avatarJilai Wang <jilaiw@codeaurora.org>

    Conflicts:

    	arch/arm/mach-msm/board-qt8660.c

commit 22f62091164148bcfe5d7af8e0fedca03b72f85d
Author: Yupeng Yan <yyan@codeaurora.org>
Date:   Mon Sep 26 21:32:28 2011 -0700

    Revert "msm:camera: Fix offset calculation for vfe registers"

    This reverts commit 369d2795f627d9c10dcafcd946b6c73b72b9768d.

Signed-off-by: default avatarYupeng Yan <yyan@codeaurora.org>

commit dcd2ffb320c41521ba5469b747fb7f673eb3e479
Author: Lakshmi Narayana Kalavala <lkalaval@codeaurora.org>
Date:   Thu Sep 22 11:33:10 2011 -0700

    msm:camera: Fix offset calculation for vfe registers

    Correct the address offsets for MCE and Linearization
    configurations

Signed-off-by: default avatarLakshmi Narayana Kalavala <lkalaval@codeaurora.org>

commit dd0bde3ae7bddcc315069ce59ddbfbe5455b1bfd
Author: Ankit Premrajka <ankitp@codeaurora.org>
Date:   Thu Sep 22 09:57:57 2011 -0700

    camera: add more cases to buffer unregistration function.

    This commit supports more cases in the buffer unregister
    function and removes the obsolete AEC_AWB cases.

Signed-off-by: default avatarAnkit Premrajka <ankitp@codeaurora.org>

commit 607ad7c9a6c4443967b7e8bad59bc85159965220
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Mon Sep 12 14:59:47 2011 -0700

    msm: camera: Changing IMX074 sensor to use unify sensor model

    Changing IMX074 sensor code to use new camera sensor architecture.
    Using common code in msm_sensor.c and only keeping driver specific
    information in driver file

Signed-off-by: default avatarKevin Chan <ktchan@codeaurora.org>

commit 8e9f99e6223480a453501c07afe6aadaeec2085e
Author: Mingcheng Zhu <mingchen@codeaurora.org>
Date:   Fri Aug 26 16:33:32 2011 -0700

    msm: add video processing engine (VPE) as a V4L2 subdev in 8960.

Signed-off-by: default avatarMingcheng Zhu <mingchen@codeaurora.org>

commit b54fd243b1ba308d3f84d606dcb6ebcefd91b88b
Author: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>
Date:   Mon Sep 12 17:11:19 2011 -0700

    msm: camera: IMX074 actuator using unified actuator

Signed-off-by: default avatarSreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>

commit 7591c4b77b37769ed94c907b191818cfe06ab686
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Fri Sep 9 16:22:08 2011 -0700

    camera: vfe32: Handle SOF before REG_UPDATE_ACK.

    VFE hardware will always generate REG_UPDATE_ACK within
    couple of lines after frame SOF. Hence it makes sense that
    in the case of they fall in the same tasklet, handle SOF first.

Signed-off-by: default avatarShuzhen Wang <shuzhenw@codeaurora.org>

commit 5f4b344ef8050c77eadaff2e6471a0f49f81efa7
Author: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>
Date:   Thu Sep 8 14:56:35 2011 -0700

    msm: camera: Get info changes for unified actuator

Signed-off-by: default avatarSreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>

commit a4b5f30e624a97c17df789f442c8dece775f2ad1
Author: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>
Date:   Mon Sep 12 16:23:22 2011 -0700

    msm: camera: Actuator changes for 8960

    1) Added actuator framework with common functions abstracted out
    2) Added actuator as a sub device in media controller
    3) coupled sensor with its specific actuator in board file
    4) Added new actuator control structure and new enum for communication
    between user space and kernel space
    5) Added common logging module with different logging levels

Signed-off-by: default avatarSreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>

    Conflicts:

    	arch/arm/configs/msm8960_defconfig

commit 8b0d2322548e32b724095b7de69666600a11fee2
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Sat Sep 10 21:06:31 2011 -0700

    msm: camera: Add support for privacy light on 8960 Liquid

    MPP 12 is used for privacy light on Liquid device.
    Setting sink to low to turn the light on.
    Privacy light is only turn on for front camera.

Signed-off-by: default avatarKevin Chan <ktchan@codeaurora.org>

commit bb8404804e9e9d8e067e91f8146f87350f0958aa
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Fri Sep 9 16:07:58 2011 -0700

    msm: camera: Update csi interrupt trigger conditon

    Csi interrupt is a active high trigger,
    updated to match hardware spec.
    Update csi interrupt mask to show error only.
    Mask csi interrupt when camera exit

Signed-off-by: default avatarKevin Chan <ktchan@codeaurora.org>

commit 7d7c85f982ca776c725b85cb83b9ede575a1d0b7
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Mon Sep 12 15:09:30 2011 -0700

    msm: camera: Adjust sensor reset wait time

    Add delay after the sensor reset pull up to ensure
    the sensor is out of reset mode. This would cover
    most of the hardware variance.

Signed-off-by: default avatarKevin Chan <ktchan@codeaurora.org>

commit 75512f647138e41724e11bb156e032c1d25573c4
Author: Rajakumar Govindaram <crajaku@codeaurora.org>
Date:   Thu Jul 7 19:59:13 2011 -0700

    msm: camera: 8660: 3D Auto Focus correction

    The 2 sensors are not identical with respect to
    AF parameters. Hence separate AF table is used.

Signed-off-by: default avatarRajakumar Govindaram <crajaku@codeaurora.org>

commit f660101e50d9ec21e92ce902b61ebb33e5422358
Author: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>
Date:   Tue Aug 30 16:33:59 2011 -0700

    msm: camera: cleanup v4l device and media controller struct

Signed-off-by: default avatarSreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>

commit 6b0f33239d02190cd6c8c0461bd588d39283f35d
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Fri Aug 26 12:14:43 2011 -0700

    camera: v4l2: Add msm_isp_cmd structure in msm_isp.h.

    This structure replaces msm_vfe32_cmd, and is exported
    to user space.

Signed-off-by: default avatarShuzhen Wang <shuzhenw@codeaurora.org>

commit 24153d8ef30888e461e62ed32df1e66acc413017
Author: Nishant Pandit <npandit@codeaurora.org>
Date:   Sat Aug 27 16:05:13 2011 +0530

    msm: camera: Add i2c mux support for native 3D camera

Signed-off-by: default avatarNishant Pandit <npandit@codeaurora.org>

commit 07f710c887b0be083da21e36f60a62d2c31e5c9e
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Fri Aug 26 19:35:18 2011 -0700

    msm: camera: Add camera epprom utility functions

    New utility file for handling camera eeprom.
    Added standard functions for reading from eeprom.

Signed-off-by: default avatarKevin Chan <ktchan@codeaurora.org>

commit edcbdcced5e8cea0412e9ce251fb0129733d456f
Author: Ujwal Patel <ujwalp@codeaurora.org>
Date:   Wed Aug 24 09:14:14 2011 -0700

    msm: camera: Lens rolloff changes for MSM8960.

    MSM8960v1 has mesh based lens rolloff while MSM8960v2 has
    PCA based lens rolloff. Also starting from MSM8960v2 and
    newer chipsets have double buffered lens rolloff. So adding
    the run-time lens rolloff update, new config for PCA lens
    rolloff and run-time selection of Mesh or PCA lens rolloff.

Signed-off-by: default avatarUjwal Patel <ujwalp@codeaurora.org>

commit 64d003eac3c0531c4d3b4fb9be100a736deee1ea
Author: Sunid Wilson <sunidw@codeaurora.org>
Date:   Tue Aug 30 11:38:22 2011 -0700

    msm: camera: Remove additional check in msm_queue_drain

    Removed additional check in msm_queue_drain to make
    sure that the list is getting emptied in all cases.

Signed-off-by: default avatarSunid Wilson <sunidw@codeaurora.org>

commit 613ab7a16ca58ecda9c5bd4b7ad67ff7a4fd34fd
Author: Nishant Pandit <npandit@codeaurora.org>
Date:   Fri Sep 2 03:36:01 2011 +0530

    msm: camera: Change mount angle of sensor

    Change mount angle of camera to 90 for Novatek 3D mipi panel

Signed-off-by: default avatarNishant Pandit <npandit@codeaurora.org>

commit ceea762f4b33c244059f674798527902b0e2168e
Author: Kiran Kumar H N <hurlisal@codeaurora.org>
Date:   Tue Aug 23 14:01:03 2011 -0700

    msm: camera: Support for Multi planar image formats.

    Add support for multi-planar image formats. This
    allows the luma and chroma planes of the image to
    reside in different memory locations.

Signed-off-by: default avatarKiran Kumar H N <hurlisal@codeaurora.org>

commit 20a9bf2d18b3170d7daca4e35be53726a00e13bd
Author: Sunid Wilson <sunidw@codeaurora.org>
Date:   Tue Aug 23 16:02:01 2011 -0700

    msm: camera: Fix recording state machine bug

    Video frames are sent to the userspace even after stop_recording
    is issued. Fixed the recording state machine to correct this.

Signed-off-by: default avatarSunid Wilson <sunidw@codeaurora.org>

commit 9c0bc33d23ab05d7a2e68c0a304012effee70294
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Tue Aug 30 14:18:50 2011 -0700

    msm: camera: Handle more sensor op mode from userspace

    Remove error check to handle more sensor op mode apart
    from preview and snapshot. Error check is not needed for
    the switch case because the resolution update should not
    be done for other op mode.

Signed-off-by: default avatarKevin Chan <ktchan@codeaurora.org>

commit fe7abc088b52d20b47b84737bad0517acfd8a551
Author: Mingcheng Zhu <mingchen@codeaurora.org>
Date:   Tue Aug 9 13:27:39 2011 -0700

    mm camera: Add pmem vaddr mapping in HAL

Signed-off-by: default avatarMingcheng Zhu <mingchen@codeaurora.org>

commit 9559ee42d03855217bd884d814a643f85faa1c6d
Author: Mingcheng Zhu <mingchen@codeaurora.org>
Date:   Tue Aug 9 11:54:22 2011 -0700

    msm camera: separate daemon pmem mapping away from video node

Signed-off-by: default avatarMingcheng Zhu <mingchen@codeaurora.org>

commit 5dcf31ca65ed265082278245d956b28bb31e8a8a
Author: Jilai Wang <jilaiw@codeaurora.org>
Date:   Wed Aug 24 10:08:35 2011 -0400

    msm: camera: enable VX6953 Sensor on msm7x30 platform

    VX6953 sensor is disabled because of a typo in KConfig file.
    Correct the typo to enable it.

Signed-off-by: default avatarJilai Wang <jilaiw@codeaurora.org>

commit 2d31d27a3a1810d6d55991f4daea3af5812e3d90
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Fri Aug 19 13:32:47 2011 -0700

    msm: camera: Add new function to msm_camera_i2c

    Add new function to handle device settings with varying data length.
    Sensor vendors usually give us settings with consistent data length,
    etc. group of byte or groups or word.
    This new structure and function will handle cases when the data length
    changes often.

Signed-off-by: default avatarKevin Chan <ktchan@codeaurora.org>

commit f94bcc6852eae1a1623388b16833569c985e2998
Author: Ankit Premrajka <ankitp@codeaurora.org>
Date:   Mon Aug 22 15:23:53 2011 -0700

    msm: camera: add config identifier to control command structure.

Signed-off-by: default avatarAnkit Premrajka <ankitp@codeaurora.org>

commit ce65086d12f309762659c1684d94f0869727f725
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Wed Aug 17 15:27:01 2011 -0700

    camera: Export msm_isp.h to user space.

    The header would hold command IDs and ISP message IDs,
    which can be used by user space code.

Signed-off-by: default avatarShuzhen Wang <shuzhenw@codeaurora.org>

commit a3c1a12a6ae1cd16b9105417954b0128df1ead97
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Thu Aug 4 15:33:27 2011 -0700

    camera: v4l2: Make ISPIF a v4l2 subdev.

    This makes it easier to control stream on/off using ISPIF
    instead of CAMIF. RDI streaming/snapshot also becomes a
    possibility.

    Note that this change still turns on PIX0 streaming right
    after ISPIF configuration. This is because ISPIF streamon
    needs to happen before sensor streamon, and right now sensor
    stream is turned on before configuring VFE pipeline.

Signed-off-by: default avatarShuzhen Wang <shuzhenw@codeaurora.org>

commit 270813aace6f99b5d6b3515b581a0c40ffee771f
Author: Mingcheng Zhu <mingchen@codeaurora.org>
Date:   Wed Aug 10 17:23:18 2011 -0700

    msm: code clean up of the existing improper event implementation

    Current implementation has a bug in v4l2 event subscription.

    Also it is good to make the kernel to be transparent
    to those notification events from daemon to HAL.

Signed-off-by: default avatarMingcheng Zhu <mingchen@codeaurora.org>

commit feee40a7d6e6f8ce0c3e84d0b50ef562206ccfa1
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Wed Aug 17 00:57:42 2011 -0700

    msm: camera: Camera i2c utility file

    Moved i2c utility functions to msm_camera_i2c files from
    msm_sensor file, so that it can be used by other camera sub device
    e.g. flash and actuators

Signed-off-by: default avatarKevin Chan <ktchan@codeaurora.org>

commit 4ab97a9943c6eede62a4c62aedeac3ebbcc093d3
Author: Lakshmi Narayana Kalavala <lkalaval@codeaurora.org>
Date:   Tue Jul 26 15:30:14 2011 -0700

    msm: camera: Include Minimum Luma in Stats buffer

    Include Minimum Luma Pixel value in Stats buffer
    for AWB stats process.

Signed-off-by: default avatarLakshmi Narayana Kalavala <lkalaval@codeaurora.org>

commit a980f399e0a4f7e0521449cdaef4766257677867
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Mon Aug 1 20:55:00 2011 -0700

    msm: camera: Improve unify sensor apis

    Added more error checking code
    Separate dimension specific register settings into separate structure
    Code flow improvements

Signed-off-by: default avatarKevin Chan <ktchan@codeaurora.org>

commit 71416cefbe57d478457c32adaf6c3d63918abc65
Author: Ankit Premrajka <ankitp@codeaurora.org>
Date:   Thu Aug 4 15:51:28 2011 -0700

    msm: camera: pass config node name up to server on open/close.

Signed-off-by: default avatarAnkit Premrajka <ankitp@codeaurora.org>

commit 2422e38c4669bb52cd6cf6719b30c78e4d3c0b1a
Author: Matt Wagantall <mattw@codeaurora.org>
Date:   Mon Aug 15 17:31:53 2011 -0700

    camera: 8960: Don't control vfe_axi_clk explicitly

    It is controlled implicitly with the VFE core clock.

Signed-off-by: default avatarMatt Wagantall <mattw@codeaurora.org>

commit e4813371b1af96117b1b5ad1ec6c1f6bc71227d3
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Thu Aug 11 21:34:39 2011 -0700

    msm: camera: Update Kconfig for msm camera sensor

    Update to only compile for 8960 target

Signed-off-by: default avatarKevin Chan <ktchan@codeaurora.org>

commit 28446526c16521ed7b64b3a1b0afae3749b82691
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Tue Jul 26 16:39:53 2011 -0700

    msm: camera: Remove gpio call back function from board file

    Moved camera gpio on and off functions to msm_io_8960 file
    Exposure camera gpio numbers from board file to msm_io_8960 file.

Signed-off-by: default avatarKevin Chan <ktchan@codeaurora.org>

commit 07c23dc9676a579be57898f472b7e81eaacabe21
Author: Ankit Premrajka <ankitp@codeaurora.org>
Date:   Thu Aug 11 16:02:37 2011 -0700

    msm: camera: reorganize gemini files into new folder.

Signed-off-by: default avatarAnkit Premrajka <ankitp@codeaurora.org>

commit 5f4e31111d9cb3d24b181d297b165a0e35891fc0
Author: Ujwal Patel <ujwalp@codeaurora.org>
Date:   Tue Aug 9 16:10:15 2011 -0700

    msm: camera: Add separate ASF config and update use case.

Signed-off-by: default avatarUjwal Patel <ujwalp@codeaurora.org>

commit 971f97f34edad1490cf896f3596eda37ebb92632
Author: Jilai Wang <jilaiw@codeaurora.org>
Date:   Wed Jul 13 14:25:25 2011 -0400

    msm: camera: Add VX6953 camera support on 8660 dragon board

    Add VX6953 related data structure into msm8x60 board file
    since 8660 dragon board is using this camera module. And
    since this camera module is used in some msm7x30 platform,
    and the mount angle on such platform is 0 degree which is
    different from that on 8660 dragon board (270 degree),
    the mount angle  needs to be specified in both board file
    and passed into vx6953 camera driver.

Signed-off-by: default avatarJilai Wang <jilaiw@codeaurora.org>

commit 3382c5159846e6e6f963261a094329267a61e1b6
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Tue Jul 19 21:00:45 2011 -0700

    msm: camera: Fix sensor OV9726 gpio issue

    Sensor gpio reset pin flag is added for 7x27a.
    Adding flag option for 8x60.
    Adding check for the flag in gpio release

    CRs-fixed: 296109
Signed-off-by: default avatarKevin Chan <ktchan@codeaurora.org>

commit 3b13881e1741a8de34ea1b6ad09bd1a215ecfff6
Author: Sunid Wilson <sunidw@codeaurora.org>
Date:   Tue Aug 9 14:12:58 2011 -0700

    msm: camera: Chroma/Luma filter mode for vfe 3.2

    Chroma/Luma filter mode for vfe 3.2

Signed-off-by: default avatarSunid Wilson <sunidw@codeaurora.org>

commit 0920f45b70d1ff6194bcf058957c0816bca3a24f
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Thu Aug 4 17:03:41 2011 -0700

    msm: camera: Reorganize msm camera folder

    Moving v4l2 sensors files to sensors folder

Signed-off-by: default avatarKevin Chan <ktchan@codeaurora.org>

commit e355164ba86d56b5574ef6b98405d9e6e377a35f
Author: Kiran Kumar H N <hurlisal@codeaurora.org>
Date:   Thu Aug 4 09:35:21 2011 -0700

    msm: camera: Add recording state machine in vfe 3.2.

    -The recording state machine which was present for
    earlier targets is missing in vfe 3.2. Add this to
    avoid any issues that might be seen during
    starting/stopping of video recording.
    -Also remove the msleep during streamoff. This is
    no longer needed, since the state machine handles
    this case properly.

Signed-off-by: default avatarKiran Kumar H N <hurlisal@codeaurora.org>

commit fa64f2332f034f202fa1f495c6dce7012bc2bb16
Author: Ankit Premrajka <ankitp@codeaurora.org>
Date:   Thu Aug 4 09:32:34 2011 -0700

    msm: camera: fix memory leaks in camera driver

Signed-off-by: default avatarAnkit Premrajka <ankitp@codeaurora.org>

commit faf6ecd5eb150b8892ffabadaa970d294dd55a08
Author: Sandeep Kodimela <skodimela@codeaurora.org>
Date:   Tue Aug 2 18:37:56 2011 +0530

    msm: camera: Added stabilization delay for VCM GPIO

    Stabilization delay msleep(20) is required in-order
    to transit the gpio into the output low state, otherwise it
    remains the input high state

    CRs-fixed: 299262
Signed-off-by: default avatarSandeep Kodimela <skodimela@codeaurora.org>

commit aa524760aaddcf6526d7cfbf70ff52078a15b9d0
Author: Sunid Wilson <sunidw@codeaurora.org>
Date:   Tue Aug 2 21:08:42 2011 -0700

    msm: camera: Handle event queue overflow error

    When the config thread crashes or is in bad state, the camera
    driver wont get notification which prevents the driver from
    shutting down. Added code to handle this usecase.

Signed-off-by: default avatarSunid Wilson <sunidw@codeaurora.org>

commit 474f225b5559e57c8df99d0512c1b02861017d44
Author: Nishant Pandit <npandit@codeaurora.org>
Date:   Sat Jul 23 23:17:56 2011 +0530

    msm: camera: Initial version of LED Driver on 8960

    Initial version of LED driver for Cdp & Mdp comprise

    - Enable SC628A LED Driver chip for 8960.
    - Configure SX150X Gpio Expander chip.
    - Restructure  Camera Gpio Mux settings table
    which will later be used to toggle function select for LED Flash
    between Mdp & Cdp.

Signed-off-by: default avatarNishant Pandit <npandit@codeaurora.org>

commit 073b496f4e94e3c3a8344cac5a32b028b1407d6d
Author: Kiran Kumar H N <hurlisal@codeaurora.org>
Date:   Thu Jul 28 19:08:39 2011 -0700

    msm: camera: Change log severity of vfe messages.

    Currently the log message which indicates the
    non-availability of free buffer when we receive
    a frame notification from VFE is enabled
    by default. Since this does not necessarily
    indicate error, it might be misleading. Hence
    change this to debug message.

Signed-off-by: default avatarKiran Kumar H N <hurlisal@codeaurora.org>

commit 2fe35efa5b3075bc32d00356ad0004162d3df19d
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Thu Jul 28 10:20:08 2011 -0700

    camera: v4l2: Add zoom support in driver.

    Add implementation of G_CROP and event for
    zoom completion.

Signed-off-by: default avatarShuzhen Wang <shuzhenw@codeaurora.org>

commit eb8c895a5f1fc4885d1016f2806f0aa00b9b4fad
Author: Kiran Kumar H N <hurlisal@codeaurora.org>
Date:   Mon Aug 1 15:21:23 2011 -0700

    msm: camera: Remove obsolete code from AXI configuration
    function.

    - msm_pmem_region_lookup_3 is not needed anymore since
      the VFE gets the buffer information from the free
      queue of the media controller directly.
    - msm_frame_axi_cfg is not needed anymore since we dont
      need to invoke the above lookup function.
    - CMD_FRAME_BUF_RELEASE is not needed anymore since
      the buffer is directly added into the media controller's
      free queue when the user queues a buffer for processing.

Signed-off-by: default avatarKiran Kumar H N <hurlisal@codeaurora.org>

commit 0d9277c6c15665222a9cdb5d16e45cbb6055d147
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Thu Jul 28 10:19:10 2011 -0700

    camera: v4l2: Use v4l2_event for event from config to app.

    This simplies the way event is propagated. Driver only needs
    to pass on the v4l2_event structure directly.

Signed-off-by: default avatarShuzhen Wang <shuzhenw@codeaurora.org>

commit b7eebabca836963277ad221db4a438c8a774dff0
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Thu Jun 2 20:07:50 2011 -0700

    msm: camera: Enhance i2c api to unify sensor driver

    Updated the common camera sensor i2c functions to be
    more generic.

Signed-off-by: default avatarKevin Chan <ktchan@codeaurora.org>

commit a2c689a175dfcaefaa2b93568f4d5058bb7d1158
Author: Sunid Wilson <sunidw@codeaurora.org>
Date:   Tue Jul 26 14:35:31 2011 -0700

    msm: camera: Support Demosaic ABF2 for vfe3.2

    Added support for demosaic adaptive bayer filter for vfe3.2.
    This module is used for noise suppression and edge enhancement.

Signed-off-by: default avatarSunid Wilson <sunidw@codeaurora.org>

commit 5b04d356f55188a7e196a47c570e1cdf6f714c59
Author: Mingcheng Zhu <mingchen@codeaurora.org>
Date:   Fri Jul 22 21:18:42 2011 -0700

    msm camera: snapshot wavelet denoise support

Signed-off-by: default avatarMingcheng Zhu <mingchen@codeaurora.org>

commit 4d28c093e70f2cde3369f7fc021e1b14d1875346
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Thu Jul 14 15:40:33 2011 -0700

    camera: 8960: Enable GDHS support.

    Enable GDHS support for VFE, VPE, and IJPEG.

Signed-off-by: default avatarShuzhen Wang <shuzhenw@codeaurora.org>

commit d25a8ff131a9bfa3b408cfbba124e443735b7cdb
Author: Kiran Kumar H N <hurlisal@codeaurora.org>
Date:   Thu Jul 28 18:36:27 2011 -0700

    msm: camera: correct the buffer offset calculation.

    Correct the cbcr offset calculation of the YUV buffer
    by padding the buffer height to multiple of 16.

    CRs-Fixed: 298346
Signed-off-by: default avatarKiran Kumar H N <hurlisal@codeaurora.org>

commit e6e4eb25abca5a09735b5a2346e2ace65c7d6d56
Author: Sandeep Kodimela <skodimela@codeaurora.org>
Date:   Thu Jul 28 18:34:19 2011 +0530

    msm: camera: Fix camera switch from primary to secondary

    avoid false sensor detection to ensure smooth switch between
    primary to secondary camera sensor

Signed-off-by: default avatarSandeep Kodimela <skodimela@codeaurora.org>

commit 5d41837ac192f0545416b7c0510f4769fc5c04ed
Author: Mansoor Aftab <maftab@codeaurora.org>
Date:   Tue Jul 26 17:01:26 2011 -0700

    msm: camera: Changes to enable events and Auto Focus

    Added event notify message support added entries for
    autofocus event types

Signed-off-by: default avatarMansoor Aftab <maftab@codeaurora.org>

commit f7f58232ab8e05180e40e68c9e6ef0cec7a0ce9d
Author: Sunid Wilson <sunidw@codeaurora.org>
Date:   Tue Jul 26 14:18:30 2011 -0700

    msm: camera: Configure and update linearization look up tables

    Support for configure and update commands for
    linearization for vfe3.2

Signed-off-by: default avatarLakshmi Narayana Kalavala <lkalaval@codeaurora.org>
Signed-off-by: default avatarSunid Wilson <sunidw@codeaurora.org>

commit 5b7afbc1066df49777ae80aad05de46ad1266d45
Author: Kiran Kumar H N <hurlisal@codeaurora.org>
Date:   Wed Jul 27 15:19:45 2011 -0700

    msm: camera: Change max number of application buffers
    allowed.

    During AXI configuration, the buffer addresses are
    stored in a msm_pmem_region array of size 16. This
    limits the maximum number of buffers that can be
    used by the application to 16. But in ZSL mode,
    the application can allocate more than 16 buffers.
    Increase the maximum number of buffers and
    dynamically allocate memory for this structure.

Signed-off-by: default avatarKiran Kumar H N <hurlisal@codeaurora.org>

commit 9cbf523afd1bafb4a274ffe8445d112c676dce8c
Author: Kiran Kumar H N <hurlisal@codeaurora.org>
Date:   Mon Jul 25 15:52:51 2011 -0700

    msm: camera: Fix raw snapshot functionality.

    - Thumbnail image is not generated in case of
      raw snapshot. Hence dont configure thumbnail
      buffers in case of raw snapshot.
    - Remove couple of duplicate log messages.

    CRs-Fixed: 297230
Signed-off-by: default avatarKiran Kumar H N <hurlisal@codeaurora.org>

commit 89d8c1dff8e1816b41d705c6d76266daf4b4d77e
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Wed Jul 27 12:08:34 2011 -0700

    msm: camera: Improve camera IRQ stability

    CSI irq is trigger too often causing the platform to be unstable.
    Modified csid and csiphy irq to only trigger for errors.

Signed-off-by: default avatarKevin Chan <ktchan@codeaurora.org>

commit 851bdc41e10628bbe6a4986d0f17e9d943f73f6f
Author: Suresh Vankadara <svankada@codeaurora.org>
Date:   Thu Jul 21 19:54:20 2011 +0530

    msm: camera: Fix GPIO issues in sensor drivers

    Keep GPIO 153 and 151 to low power state when
    camera is not in active state.

    CRs-Fixed: 294992
Signed-off-by: default avatarSuresh Vankadara <svankada@codeaurora.org>

commit 5cbaf3e1a8623325997247578800c49c82aa622a
Author: Ankit Premrajka <ankitp@codeaurora.org>
Date:   Thu Jul 21 11:14:56 2011 -0700

    msm-camera: fix subsystem ID address in JPEG

    The address of the subsystem id stored in the jpeg
    buffer structure was becoming invalid. This happened
    because the buffer used for mapping was copied over to
    a duplicate place and the second buffer was used for
    unmapping, while the first one was freed.

Signed-off-by: default avatarAnkit Premrajka <ankitp@codeaurora.org>
Signed-off-by: default avatarMingcheng Zhu <mingchen@codeaurora.org>

commit c001dc31f98aad02259b31951c6c48067454273a
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Fri Jul 15 13:51:52 2011 -0700

    camera: vfe32: Enable Zero Shutter Lag mode support.

    - Add bus scaling table for ZSL mode.
    - Add AXI configuration and interrupts handling for ZSL.
    - Add missing VFE commands of XBAR configuratin.

Signed-off-by: default avatarShuzhen Wang <shuzhenw@codeaurora.org>

commit 53a9083107fbb4df41b22b15f56501b920a0f61d
Author: Mingcheng Zhu <mingchen@codeaurora.org>
Date:   Wed Jul 20 21:19:28 2011 -0700

    msm-camera: fix the stop recording crash

    do not swap ping/pong buffer when no free buffer

    CRs-fixed: 296858

Signed-off-by: default avatarMingcheng Zhu <mingchen@codeaurora.org>

commit ca681569d396c54bb3a192bdc5434c5a889e0ce5
Author: Mingcheng Zhu <mingchen@codeaurora.org>
Date:   Mon Jul 25 20:44:23 2011 -0700

    msm-camera: initial vpe and divert frame implementation

Signed-off-by: default avatarMingcheng Zhu <mingchen@codeaurora.org>

commit c6864b8db38bd6ee700d862df15380eb95234c25
Author: Ankit Premrajka <ankitp@codeaurora.org>
Date:   Fri Jul 15 11:43:41 2011 -0700

    msm-camera: add SMMU code for use with videobuf2 framework

Signed-off-by: default avatarAnkit Premrajka <ankitp@codeaurora.org>
Signed-off-by: default avatarMingcheng Zhu <mingchen@codeaurora.org>

commit d71946b2ad838e897f450bb8d1ad6eb86bff7298
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Tue Jul 19 15:10:58 2011 -0700

    msm-camera: v4l2: Use ktime_get_ts to get timestamp.

    Using ktime_get_ts and converting to timeval matches
    with system time in user space. This eliminates the
    AV sync issue between video and audio.

Signed-off-by: default avatarShuzhen Wang <shuzhenw@codeaurora.org>
Signed-off-by: default avatarMingcheng Zhu <mingchen@codeaurora.org>

commit 0fb9dcfbc652ed617ceb244bd8a9201d00a124fe
Author: Kiran Kumar H N <hurlisal@codeaurora.org>
Date:   Sun Jul 17 12:31:53 2011 -0700

    msm-camera: configure preview and recording buffers
    seperately.

    decouple preview and recording path configuration
    by configuring the buffers during preview start
    and recording start respectively.

Signed-off-by: default avatarKiran Kumar H N <hurlisal@codeaurora.org>
Signed-off-by: default avatarMingcheng Zhu <mingchen@codeaurora.org>

commit 9812bd34ec034b4a78ed1c1c5f6fbd1ca3d1b43e
Author: Mingcheng Zhu <mingchen@codeaurora.org>
Date:   Fri Jul 22 22:57:11 2011 -0700

    msm camera: migrate to videobuf2 framework

    add necessary changes in camera driver to
    migrate to videobuf2 framework.

Signed-off-by: default avatarKiran Kumar H N <hurlisal@codeaurora.org>
Signed-off-by: default avatarMingcheng Zhu <mingchen@codeaurora.org>

    Conflicts:

    	drivers/media/video/Makefile

commit 5a19c68d63da33710ed52a974a996f03a706b84f
Author: Kiran Kumar H N <hurlisal@codeaurora.org>
Date:   Sat Jul 23 11:34:34 2011 -0700

    Revert "msm: camera: YV12 video support"

    This reverts commit 66882a5046143601429632a0b589d9ffeeb3c668.
    This change will be submitted later.

Signed-off-by: default avatarKiran Kumar H N <hurlisal@codeaurora.org>

commit 7ff0cf49995d22fddaa90cea95dac8850abcac89
Author: Azam Sadiq Pasha Kapatrala Syed <akapatra@codeaurora.org>
Date:   Fri Jul 15 15:56:40 2011 -0700

    msm: camera: YV12 video support

    Support for color format YV12.

Signed-off-by: default avatarAzam Sadiq Pasha Kapatrala Syed <akapatra@codeaurora.org>

commit 6d6ff5e495a12895b5b4a37eb3049fda560c693a
Author: Mansoor Aftab <maftab@codeaurora.org>
Date:   Wed Jul 20 17:25:36 2011 -0700

    msm: camera: Correct mount angle, sensor type values

    Correct the sensor type value for the IMX074 sensor.
    Set the mount angle value for this sensor on 8960,
    also made sure that the values obtained for angle,type
    from probing are recorded in the structure which used
    to retrieve this information during device query.

    CRs-fixed: 296576
Signed-off-by: default avatarMansoor Aftab <maftab@codeaurora.org>

commit 0e468741095d4669b8716aa22c46d71fa64a6574
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Thu Jul 14 21:27:20 2011 -0700

    msm: camera: Update OV2720 sensor settings

    Increase output dimension to 1932X1092
    Added in sensor roll off correction settings

Signed-off-by: default avatarKevin Chan <ktchan@codeaurora.org>

commit 85c05cd8d9e8e5d54c4cb23efebb3bdc6a9ff6c9
Author: Nishant Pandit <npandit@codeaurora.org>
Date:   Sun Jul 10 11:33:14 2011 +0530

    msm: camera: Configure the qs_s5k4e1 in 1 lane for 2d mode

    Configure the qs_s5k4e1 sensor in 1 lane for 2D mode. This
    change is made as a work around for hardware issue. As we
    switch from 4 lane configuration in 3D mode to 2D configuration
    in 2 lane, the fifo in CSI Phy overflows. When 2D mode uses 1 lane
    configuration the FIFO is bypassed.

    CRs-fixed: 292608
Signed-off-by: default avatarNishant Pandit <npandit@codeaurora.org>

commit bdc7bbba1cc1202166a45b479b1cb7b0e54eec8f
Author: Matt Wagantall <mattw@codeaurora.org>
Date:   Fri Jul 15 12:26:19 2011 -0700

    msm: Remove last references to NPA-related code for AXI rate management

    The NPA driver was removed some time ago, but wrapper code
    and some of its driver hooks persisted in the tree, despite
    not being compiled (or even compilable). Remove these now.

Signed-off-by: default avatarMatt Wagantall <mattw@codeaurora.org>

commit e1893e9f2e3eaa90a853d3ac1dc558801eddee74
Author: Azam Sadiq Pasha Kapatrala Syed <akapatra@codeaurora.org>
Date:   Thu Jul 14 16:29:22 2011 -0700

    msm: camera: Stop streaming video when stop rec is issued

    This patch makes sure that we don't stream any video frames
    when recording is stopped.

    CRs-Fixed: 295043
Signed-off-by: default avatarAzam Sadiq Pasha Kapatrala Syed <akapatra@codeaurora.org>

commit 5b47c3a870059f466110db5093d784048a8f1895
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Thu Jul 14 10:18:31 2011 -0700

    camera: vfe32: Flush out duplicate buffers in free queue.

    The same set of buffers were programmed during AXI config,
    and then enqueued before start recording. Flush the extra
    copy out before recording.

Signed-off-by: default avatarShuzhen Wang <shuzhenw@codeaurora.org>

commit dfecce26ab5746f9f4ed6ae2427e44483aeb8543
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Wed Jul 13 10:52:41 2011 -0700

    msm: camera: Initial commit for qs_mt9p017

    Initial support for qs_mt9p017 on 8960

Signed-off-by: default avatarKevin Chan <ktchan@codeaurora.org>

commit d74f9d936f955240bedc50e2df5a8235dc17a1be
Author: Ankit Premrajka <ankitp@codeaurora.org>
Date:   Fri Jul 8 16:33:33 2011 -0700

    msm: v4l2: add SMMU mapping code into gemini driver

Signed-off-by: default avatarAnkit Premrajka <ankitp@codeaurora.org>

commit 7b057dbfc163b5c937315c6a0011a24b2b6b2251
Author: Kiran Kumar H N <hurlisal@codeaurora.org>
Date:   Wed Jul 13 16:39:15 2011 -0700

    msm: camera: fix the leak in free buffer queue.

    Free up the buffer memory after dequeueing
    it from free queue.

Signed-off-by: default avatarKiran Kumar H N <hurlisal@codeaurora.org>

commit 3f2bc4d6eb5a4fada842462ba22bb6bbb41d00c7
Author: Bryan Huntsman <bryanh@codeaurora.org>
Date:   Tue Aug 16 17:27:22 2011 -0700

    Initial Contribution

    msm-2.6.38: tag AU_LINUX_ANDROID_GINGERBREAD.02.03.04.00.142

Signed-off-by: default avatarBryan Huntsman <bryanh@codeaurora.org>
commit 504ffcbcd46bb27fdcd35d6200c32a4f28256dc3
Author: Lakshmi Narayana Kalavala <lkalaval@codeaurora.org>
Date:   Tue Sep 27 18:09:45 2011 -0700

    msm: camera: Fix register offsets and add toggle bank selects

    1. Correct the address offsets for MCE and Linearization
    configurations
    2. Add Update commands for Luma adaptation and Gamma
    3. Add logic to toggle bank selects for Luma adaptation and Gamma

    Change-Id: I9217158a953c6f50c7ecd4790602dddf173c5b44
Signed-off-by: default avatarLakshmi Narayana Kalavala <lkalaval@codeaurora.org>

commit b0ccfe5149012a1973854f7715ec0ed3a674305e
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Tue Sep 20 12:53:08 2011 -0700

    camera: Optimize bus scaling table for 8960.

    Change-Id: I4db338d173a99a18ba8ab86bd8f34dc322e54ff7
Signed-off-by: default avatarShuzhen Wang <shuzhenw@codeaurora.org>

commit 30476c9c7837262f7fa05cba3f4e229d0df4bf68
Author: Mingcheng Zhu <mingchen@codeaurora.org>
Date:   Tue Oct 4 22:56:15 2011 -0700

    msm-camera: unregister sd_vpe sub-device in close.

    Change-Id: I5c0366b42a798d78da755da859698864f4741152
Signed-off-by: default avatarMingcheng Zhu <mingchen@codeaurora.org>

commit 0d99a03993f199158b82a6d65ba50c00f3f38b02
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Wed Sep 28 16:07:27 2011 -0700

    camera: 8960: Enable dynamic VFE clock scaling.

    Whenever sensor pixel clock changes, round the VFE clock
    to the minimum clock that are greater or equal to the pixel clock.

    Change-Id: I4ca553e70aac4f0ff69d2d9cf31f9cc0beb58338
Signed-off-by: default avatarShuzhen Wang <shuzhenw@codeaurora.org>

commit 65a4f00b2af8c00973aa00030bd86ca3bf0b0cdf
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Thu Sep 22 16:51:14 2011 -0700

    camera: vfe32: Add support for VFE_CMD_GET_HW_VERSION.

    This enables user space applications to get vfe hardware
    version information.

    Change-Id: I5b4df8389e2d96fdecce591d16bb47fdddb70171
Signed-off-by: default avatarShuzhen Wang <shuzhenw@codeaurora.org>

commit 02d550d38360d875cbca8b230591b5e449c0ea2a
Author: Kiran Kumar H N <hurlisal@codeaurora.org>
Date:   Mon Oct 3 10:19:15 2011 -0700

    camera: Store the data offsets for each planes.

    - When the user queues a buffer, store the data offset
      along with the address offset which is already stored.
      data offset indicates the offset of the data in the
      buffer.
    - Use this offset when the physical address of the
      buffer is configured to VFE.
    - Depending on the number of planes present in the
      buffer, store either the y, cbr offset or the
      offset of each plane.

    Change-Id: I51166ce71b1d8cbe7fc26254e2b460288072342c
Signed-off-by: default avatarKiran Kumar H N <hurlisal@codeaurora.org>

commit 9684586b17ec1e411511a775cb16d6a4deb8653a
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Mon Sep 26 13:03:41 2011 -0700

    camera: ispif: Improve start/stop/reset sequence.

    Halt ispif immediately before stopping sensor streaming,
    and start ispif before start sensor streaming.
    Handle ispif reset properly using wait_for_completion*
    instead of msleep().

    Change-Id: I6e8f84b2d7e113dc2dd8eb7376d9db64618c7c6d
Signed-off-by: default avatarShuzhen Wang <shuzhenw@codeaurora.org>

commit 8e70a5c3c590c420b50553e6a3af390459ed86d2
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Tue Sep 27 12:08:54 2011 -0700

    camera: vfe32: Only config one channel for raw snapshot.

    Change-Id: I0b416ad44ebaea42e7dcf5a3df80d4af07c55a91
Signed-off-by: default avatarShuzhen Wang <shuzhenw@codeaurora.org>

commit 20cfec3e37fa98a058d3052e87dda3a8699ac3a0
Author: Jilai Wang <jilaiw@codeaurora.org>
Date:   Sat Sep 24 21:29:35 2011 -0400

    camera: update MT9D113 front camera on QT8660

    In order to make MT9D113 front camera work properly on QT8660,
    1) GPIO105 needs to be requested and set properly since it's
       used to control front camera power on QT8660.
    2) CSI related clock needs to be configured using clk_add_alias
       correctly. The maximum alias_dev_name length that clk_add_alias
       can handle is 20 characters, so change the sensor device name
       is necessary.
    3) Correct I2C function used to read chip id.
    4) Correct sensor register setting to make it work in both preview
       and snapshot mode.

    Change-Id: If73e50935ea456c4630ad8da1ebf6eba4564ec21
Signed-off-by: default avatarJilai Wang <jilaiw@codeaurora.org>

commit dc3aa38eec857b77edc3a8288a7b41b905b2bf08
Author: Yupeng Yan <yyan@codeaurora.org>
Date:   Mon Sep 26 21:32:28 2011 -0700

    Revert "msm:camera: Fix offset calculation for vfe registers"

    This reverts commit 369d2795f627d9c10dcafcd946b6c73b72b9768d.

    Change-Id: Ibc4475c6240e3ff4e6f0cc71e1ab0043b112a787
Signed-off-by: default avatarYupeng Yan <yyan@codeaurora.org>

commit 369d2795f627d9c10dcafcd946b6c73b72b9768d
Author: Lakshmi Narayana Kalavala <lkalaval@codeaurora.org>
Date:   Thu Sep 22 11:33:10 2011 -0700

    msm:camera: Fix offset calculation for vfe registers

    Correct the address offsets for MCE and Linearization
    configurations

    Change-Id: I67244ecf45347ef5aabd4d5ed2ee60688b82206c
Signed-off-by: default avatarLakshmi Narayana Kalavala <lkalaval@codeaurora.org>

commit c984329b80b7a0beb6bac8e1b97a4748a0f0432c
Author: Ankit Premrajka <ankitp@codeaurora.org>
Date:   Thu Sep 22 09:57:57 2011 -0700

    camera: add more cases to buffer unregistration function.

    This commit supports more cases in the buffer unregister
    function and removes the obsolete AEC_AWB cases.

    Change-Id: I42914bfdea954fdaba7d0a005e676cb20531020e
Signed-off-by: default avatarAnkit Premrajka <ankitp@codeaurora.org>

commit 8763c92c756a1dcd82f3309de42f1961c2e1853b
Author: Mingcheng Zhu <mingchen@codeaurora.org>
Date:   Fri Aug 26 16:33:32 2011 -0700

    msm: add video processing engine (VPE) as a V4L2 subdev in 8960.

    Change-Id: I635bfc6f484ca727df2144a0ae59f0af1a180091
Signed-off-by: default avatarMingcheng Zhu <mingchen@codeaurora.org>

commit 414571a118eb3f227f230268f3022e1869812de2
Author: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>
Date:   Tue Sep 20 08:41:15 2011 -0700

    msm: camera: Actuator settings for IMX074 actuator

    Change-Id: I51ebf0d472f295964c477f31144eaa54e6517a25
Signed-off-by: default avatarSreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>

commit ad88ea2656ae478f0da3b738ec50ca14f470e9ea
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Mon Sep 12 14:59:47 2011 -0700

    msm: camera: Changing IMX074 sensor to use unify sensor model

    Changing IMX074 sensor code to use new camera sensor architecture.
    Using common code in msm_sensor.c and only keeping driver specific
    information in driver file

    Change-Id: Ibd88266a9b8e8f6d77d6fd2598fc39df15cc1a8d
Signed-off-by: default avatarKevin Chan <ktchan@codeaurora.org>

commit 7314da09224a5815a0b48d4389afd11e604623f6
Author: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>
Date:   Mon Sep 12 17:11:19 2011 -0700

    msm: camera: IMX074 actuator using unified actuator

    Change-Id: Ief1c0837845943df86775db98909716ec7fc5ec1
Signed-off-by: default avatarSreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>

commit ba5cc67740ee3c5a62a000f097cf08147a234193
Author: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>
Date:   Thu Sep 8 14:56:35 2011 -0700

    msm: camera: Get info changes for unified actuator

    Change-Id: I3dcce410edf9ce8daaecc94ef231e26832f105dc
Signed-off-by: default avatarSreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>

commit 900d17d8855fd42f0245178824a85012d8af6aaf
Author: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>
Date:   Mon Sep 12 16:23:22 2011 -0700

    msm: camera: Actuator changes for 8960

    1) Added actuator framework with common functions abstracted out
    2) Added actuator as a sub device in media controller
    3) coupled sensor with its specific actuator in board file
    4) Added new actuator control structure and new enum for communication
    between user space and kernel space
    5) Added common logging module with different logging levels

    Change-Id: Ic32e19dc35092e31e972b77e2f48362a956ae175
Signed-off-by: default avatarSreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>

commit 336d04345486c83a4cd8c5a348097d23bfbb9dee
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Fri Sep 9 16:22:08 2011 -0700

    camera: vfe32: Handle SOF before REG_UPDATE_ACK.

    VFE hardware will always generate REG_UPDATE_ACK within
    couple of lines after frame SOF. Hence it makes sense that
    in the case of they fall in the same tasklet, handle SOF first.

    Change-Id: Ie09719db874091d498d26d95cd2904db3f38b8a9
Signed-off-by: default avatarShuzhen Wang <shuzhenw@codeaurora.org>

commit b7d655009ad39f57be90517aea66cdf0356b1ce3
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Sat Sep 10 21:06:31 2011 -0700

    msm: camera: Add support for privacy light on 8960 Liquid

    MPP 12 is used for privacy light on Liquid device.
    Setting sink to low to turn the light on.
    Privacy light is only turn on for front camera.

    Change-Id: Ib4cdbc4a57e212b6f91e3cec3fc6aed6ec4ca59f
Signed-off-by: default avatarKevin Chan <ktchan@codeaurora.org>

commit 696950b12be98b435b75f05d548b3c3cc71f7444
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Fri Sep 9 16:07:58 2011 -0700

    msm: camera: Update csi interrupt trigger conditon

    Csi interrupt is a active high trigger,
    updated to match hardware spec.
    Update csi interrupt mask to show error only.
    Mask csi interrupt when camera exit

    Change-Id: I8f3bdcc3bc65981ccd7e1fa19a5ae0b5f9a56820
Signed-off-by: default avatarKevin Chan <ktchan@codeaurora.org>

commit df2290e9454db81e803773eb933749f95cf32e2d
Author: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>
Date:   Tue Aug 30 16:33:59 2011 -0700

    msm: camera: cleanup v4l device and media controller struct

    Change-Id: I31809c2c11c7a78cdd4b431d0d0ce0e68790f700
Signed-off-by: default avatarSreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>

commit d0014145e767d505368c7ea149f67e4311a952a2
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Mon Sep 12 15:09:30 2011 -0700

    msm: camera: Adjust sensor reset wait time

    Add delay after the sensor reset pull up to ensure
    the sensor is out of reset mode. This would cover
    most of the hardware variance.

    Change-Id: Ic962bb1b117e78e6bb5c09ac8ebf7aaf12b52c32
Signed-off-by: default avatarKevin Chan <ktchan@codeaurora.org>

commit 8c4a44d688fc8a383dfc21a745dd5d73c17ed8f7
Author: Nishant Pandit <npandit@codeaurora.org>
Date:   Sat Aug 27 16:05:13 2011 +0530

    msm: camera: Add i2c mux support for native 3D camera

    Change-Id: Ice5d91576d095d6e5cd364f289aab7c89e2b0c9c
Signed-off-by: default avatarNishant Pandit <npandit@codeaurora.org>

commit 1f23597d3f4ebfdff562c431079beb69f2bed4df
Author: Rajakumar Govindaram <crajaku@codeaurora.org>
Date:   Thu Jul 7 19:59:13 2011 -0700

    msm: camera: 8660: 3D Auto Focus correction

    The 2 sensors are not identical with respect to
    AF parameters. Hence separate AF table is used.

    Change-Id: I20fb9204af9d9f680a779b6302b219efc3f02b38
Signed-off-by: default avatarRajakumar Govindaram <crajaku@codeaurora.org>

commit 184e6cc62fdb2a15da3ea267799a3c1a04ae4808
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Fri Aug 26 19:35:18 2011 -0700

    msm: camera: Add camera epprom utility functions

    New utility file for handling camera eeprom.
    Added standard functions for reading from eeprom.

    Change-Id: Ia08c2bfe2e6c37ed2c679822d1a2b1ae94f5e6eb
Signed-off-by: default avatarKevin Chan <ktchan@codeaurora.org>

commit 00702bc3bc70331208373bb9fe3442c0250a8d66
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Fri Aug 26 12:14:43 2011 -0700

    camera: v4l2: Add msm_isp_cmd structure in msm_isp.h.

    This structure replaces msm_vfe32_cmd, and is exported
    to user space.

    Change-Id: I9a8916e1797345f9ca71c32150b56ce07a945d1b
Signed-off-by: default avatarShuzhen Wang <shuzhenw@codeaurora.org>

commit 2e471e844a8888c84cf4d37f3e575d8e1f43200d
Author: Ujwal Patel <ujwalp@codeaurora.org>
Date:   Wed Aug 24 09:14:14 2011 -0700

    msm: camera: Lens rolloff changes for MSM8960.

    MSM8960v1 has mesh based lens rolloff while MSM8960v2 has
    PCA based lens rolloff. Also starting from MSM8960v2 and
    newer chipsets have double buffered lens rolloff. So adding
    the run-time lens rolloff update, new config for PCA lens
    rolloff and run-time selection of Mesh or PCA lens rolloff.

    Change-Id: I47b60e6812ca377e8ea71cea60e9ba1826777e7d
Signed-off-by: default avatarUjwal Patel <ujwalp@codeaurora.org>

commit 2931504512693c7a928b8961a061f2af654dcb53
Author: Nishant Pandit <npandit@codeaurora.org>
Date:   Fri Sep 2 03:36:01 2011 +0530

    msm: camera: Change mount angle of sensor

    Change mount angle of camera to 90 for Novatek 3D mipi panel

    Change-Id: I4cd26f960392c29672c00c9abe8f3794cb1865a6
Signed-off-by: default avatarNishant Pandit <npandit@codeaurora.org>

commit 93d42d4357772a178c7729d20f1a4353a5d9b08d
Author: Kiran Kumar H N <hurlisal@codeaurora.org>
Date:   Tue Aug 23 14:01:03 2011 -0700

    msm: camera: Support for Multi planar image formats.

    Add support for multi-planar image formats. This
    allows the luma and chroma planes of the image to
    reside in different memory locations.

    Change-Id: Ibd85b89d752d17d6f840e6959d9b3692e0f2aa98
Signed-off-by: default avatarKiran Kumar H N <hurlisal@codeaurora.org>

commit 496a2906ed74bdb2067a11b6f719f8fa8cf0b004
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Tue Aug 30 14:18:50 2011 -0700

    msm: camera: Handle more sensor op mode from userspace

    Remove error check to handle more sensor op mode apart
    from preview and snapshot. Error check is not needed for
    the switch case because the resolution update should not
    be done for other op mode.

    Change-Id: Ie1d4d28266b097d71970036bbad97d81bef23c14
Signed-off-by: default avatarKevin Chan <ktchan@codeaurora.org>

commit 33e638a1c229765d06a76bc84351de9407026782
Author: Sunid Wilson <sunidw@codeaurora.org>
Date:   Tue Aug 30 11:38:22 2011 -0700

    msm: camera: Remove additional check in msm_queue_drain

    Removed additional check in msm_queue_drain to make
    sure that the list is getting emptied in all cases.

    Change-Id: I56f35ba18bc8ce49a8f8cebcb642c88a0966718f
Signed-off-by: default avatarSunid Wilson <sunidw@codeaurora.org>

commit 93f518e6dfac090e4caaf5b6bb7d2cddd057e377
Author: Mingcheng Zhu <mingchen@codeaurora.org>
Date:   Tue Aug 9 13:27:39 2011 -0700

    mm camera: Add pmem vaddr mapping in HAL

    Change-Id: I2f5768eeeee42f5df527a85980f3eab24d773451
Signed-off-by: default avatarMingcheng Zhu <mingchen@codeaurora.org>

commit 8ca74aecd2072d2aec9a7d0167198180a6c2386c
Author: Mingcheng Zhu <mingchen@codeaurora.org>
Date:   Tue Aug 9 11:54:22 2011 -0700

    msm camera: separate daemon pmem mapping away from video node

    Change-Id: Ie4731ea5cea5c51142093fcc2671942a1297644a
Signed-off-by: default avatarMingcheng Zhu <mingchen@codeaurora.org>

commit e6229e64037a1e74c926d89f934809a7ad22ee04
Author: Jilai Wang <jilaiw@codeaurora.org>
Date:   Wed Aug 24 10:08:35 2011 -0400

    msm: camera: enable VX6953 Sensor on msm7x30 platform

    VX6953 sensor is disabled because of a typo in KConfig file.
    Correct the typo to enable it.

    Change-Id: I710634b2ee3805d6558cee04c137b2209fd2987e
Signed-off-by: default avatarJilai Wang <jilaiw@codeaurora.org>

commit d9f44c302ee2e14a5e022c8e44943e2b3d9ff400
Author: Sunid Wilson <sunidw@codeaurora.org>
Date:   Tue Aug 23 16:02:01 2011 -0700

    msm: camera: Fix recording state machine bug

    Video frames are sent to the userspace even after stop_recording
    is issued. Fixed the recording state machine to correct this.

    Change-Id: I4c3f8c5e561c1cec258f63ae0b596deb5f83f694
Signed-off-by: default avatarSunid Wilson <sunidw@codeaurora.org>

commit 3ecc42f788773ec568ed7421d8113e5b93a1843e
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Fri Aug 19 13:32:47 2011 -0700

    msm: camera: Add new function to msm_camera_i2c

    Add new function to handle device settings with varying data length.
    Sensor vendors usually give us settings with consistent data length,
    etc. group of byte or groups or word.
    This new structure and function will handle cases when the data length
    changes often.

    Change-Id: I767ad7ffa020c919fe248a470ba6961f9e218633
Signed-off-by: default avatarKevin Chan <ktchan@codeaurora.org>

commit 4f65a96f9c198458cb8c237bddf68551f1c5a6ec
Author: Ankit Premrajka <ankitp@codeaurora.org>
Date:   Mon Aug 22 15:23:53 2011 -0700

    msm: camera: add config identifier to control command structure.

    Change-Id: I5db0e3efe3aea783e969c612463f93b5c31824b9
Signed-off-by: default avatarAnkit Premrajka <ankitp@codeaurora.org>

commit 414a8fcfe25591c68cf7eaccd2ac2591bb2f819d
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Wed Aug 17 15:27:01 2011 -0700

    camera: Export msm_isp.h to user space.

    The header would hold command IDs and ISP message IDs,
    which can be used by user space code.

    Change-Id: I47a2e05da5aa288573c05f5c3de38ca827fe08a1
Signed-off-by: default avatarShuzhen Wang <shuzhenw@codeaurora.org>

commit 34b56514765d560057d5f69867f4d0e69f36e73d
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Thu Aug 4 15:33:27 2011 -0700

    camera: v4l2: Make ISPIF a v4l2 subdev.

    This makes it easier to control stream on/off using ISPIF
    instead of CAMIF. RDI streaming/snapshot also becomes a
    possibility.

    Note that this change still turns on PIX0 streaming right
    after ISPIF configuration. This is because ISPIF streamon
    needs to happen before sensor streamon, and right now sensor
    stream is turned on before configuring VFE pipeline.

    Change-Id: I515652971aec2a1beeabd771393865f2e5af44c1
Signed-off-by: default avatarShuzhen Wang <shuzhenw@codeaurora.org>

commit d7c755ef190523324dace3b46431ae5d89e3bb1c
Author: Mingcheng Zhu <mingchen@codeaurora.org>
Date:   Wed Aug 10 17:23:18 2011 -0700

    msm: code clean up of the existing improper event implementation

    Current implementation has a bug in v4l2 event subscription.

    Also it is good to make the kernel to be transparent
    to those notification events from daemon to HAL.

    Change-Id: If09a7721c43bde513611c67bd2c13470620bcef9
Signed-off-by: default avatarMingcheng Zhu <mingchen@codeaurora.org>

commit 206a0aeee40612aad0f45eba96369fc2260ea32a
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Wed Aug 17 00:57:42 2011 -0700

    msm: camera: Camera i2c utility file

    Moved i2c utility functions to msm_camera_i2c files from
    msm_sensor file, so that it can be used by other camera sub device
    e.g. flash and actuators

    Change-Id: Iddd49a36146d3907ef094411df086bd68b3afa0d
Signed-off-by: default avatarKevin Chan <ktchan@codeaurora.org>

commit b1a3ca7e81ef3336818945e834ac6b19101e1490
Author: Lakshmi Narayana Kalavala <lkalaval@codeaurora.org>
Date:   Tue Jul 26 15:30:14 2011 -0700

    msm: camera: Include Minimum Luma in Stats buffer

    Include Minimum Luma Pixel value in Stats buffer
    for AWB stats process.

    Change-Id: I7ca6121dd8b250588a21634af956685c0f0f4525
Signed-off-by: default avatarLakshmi Narayana Kalavala <lkalaval@codeaurora.org>

commit 1afa3df4f6ec987a4adee2ab912926932d2f6590
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Mon Aug 1 20:55:00 2011 -0700

    msm: camera: Improve unify sensor apis

    Added more error checking code
    Separate dimension specific register settings into separate structure
    Code flow improvements

    Change-Id: Ib54f2ac5fd69da9b9b9cd48a96a7f521715c637c
Signed-off-by: default avatarKevin Chan <ktchan@codeaurora.org>

commit a29e0583d690d14e30ceaf8df2399d115183906e
Author: Ankit Premrajka <ankitp@codeaurora.org>
Date:   Thu Aug 4 15:51:28 2011 -0700

    msm: camera: pass config node name up to server on open/close.

    Change-Id: I1685356803d8240a3d3cae3bc9a8e8c4233262df
Signed-off-by: default avatarAnkit Premrajka <ankitp@codeaurora.org>

commit 6a76b0fb788123a39c20d023c6c22f0b87b6db1e
Author: Matt Wagantall <mattw@codeaurora.org>
Date:   Mon Aug 15 17:31:53 2011 -0700

    camera: 8960: Don't control vfe_axi_clk explicitly

    It is controlled implicitly with the VFE core clock.

    Change-Id: I6e4c9ee1a5e0fa7e981a13a546b5a4fb0bb069aa
Signed-off-by: default avatarMatt Wagantall <mattw@codeaurora.org>

commit 717c168f5e4ba5dd290d3bffb5442de59207ecb5
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Thu Aug 11 21:34:39 2011 -0700

    msm: camera: Update Kconfig for msm camera sensor

    Update to only compile for 8960 target

    Change-Id: I557230a7ebb0fc934a90476cd5c8d5b0c3692202
Signed-off-by: default avatarKevin Chan <ktchan@codeaurora.org>

commit 689861a06f697161a58980bb9bd71fa4bbeba4c2
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Tue Jul 26 16:39:53 2011 -0700

    msm: camera: Remove gpio call back function from board file

    Moved camera gpio on and off functions to msm_io_8960 file
    Exposure camera gpio numbers from board file to msm_io_8960 file.

    Change-Id: I78f33013e4625ed72a30b6156486638775fcb0c0
Signed-off-by: default avatarKevin Chan <ktchan@codeaurora.org>

commit 37aec907c03b1cc7f8ec0017afbcc29f36c199c6
Author: Ankit Premrajka <ankitp@codeaurora.org>
Date:   Thu Aug 11 16:02:37 2011 -0700

    msm: camera: reorganize gemini files into new folder.

    Change-Id: I57d506204d6727e384c9e8fc9a93a56dd323af04
Signed-off-by: default avatarAnkit Premrajka <ankitp@codeaurora.org>

commit 1f9c00452d5ed03a231afa85a9110e196a2e4989
Author: Ujwal Patel <ujwalp@codeaurora.org>
Date:   Tue Aug 9 16:10:15 2011 -0700

    msm: camera: Add separate ASF config and update use case.

    Change-Id: I9f75fad8f00726062ca0f3afd17a4ae08bfcb36d
Signed-off-by: default avatarUjwal Patel <ujwalp@codeaurora.org>

commit ea04476f212759c83ad4e1d6f85bb2cceb68efc7
Author: Jilai Wang <jilaiw@codeaurora.org>
Date:   Wed Jul 13 14:25:25 2011 -0400

    msm: camera: Add VX6953 camera support on 8660 dragon board

    Add VX6953 related data structure into msm8x60 board file
    since 8660 dragon board is using this camera module. And
    since this camera module is used in some msm7x30 platform,
    and the mount angle on such platform is 0 degree which is
    different from that on 8660 dragon board (270 degree),
    the mount angle  needs to be specified in both board file
    and passed into vx6953 camera driver.

    Change-Id: Ic95618dc92a53c3dbd3e5d76ec4160ad8b4b6c54
Signed-off-by: default avatarJilai Wang <jilaiw@codeaurora.org>

commit a22f20533b1639ac4e6ac34ef3afbe6fe826ba23
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Tue Jul 19 21:00:45 2011 -0700

    msm: camera: Fix sensor OV9726 gpio issue

    Sensor gpio reset pin flag is added for 7x27a.
    Adding flag option for 8x60.
    Adding check for the flag in gpio release

    CRs-fixed: 296109
    Change-Id: Idaba6535f763957772bfed3a8b13ff7518a9914c
Signed-off-by: default avatarKevin Chan <ktchan@codeaurora.org>

commit 80849586ec6d24bc645e8d7b3d67399ecd9f636b
Author: Sunid Wilson <sunidw@codeaurora.org>
Date:   Tue Aug 9 14:12:58 2011 -0700

    msm: camera: Chroma/Luma filter mode for vfe 3.2

    Chroma/Luma filter mode for vfe 3.2

    Change-Id: I41bd5c53a1f066cdfbfea9e7937131774ea73c2f
Signed-off-by: default avatarSunid Wilson <sunidw@codeaurora.org>

commit 465ea61fe9cf560b7618f278ee8436fd50fa1077
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Thu Aug 4 17:03:41 2011 -0700

    msm: camera: Reorganize msm camera folder

    Moving v4l2 sensors files to sensors folder

    Change-Id: I8e92d192fa0eb2397aae8db31ae601d0136e2c01
Signed-off-by: default avatarKevin Chan <ktchan@codeaurora.org>

commit 49a5bda778124d5313ff47673099459eb3924f4e
Author: Kiran Kumar H N <hurlisal@codeaurora.org>
Date:   Thu Aug 4 09:35:21 2011 -0700

    msm: camera: Add recording state machine in vfe 3.2.

    -The recording state machine which was present for
    earlier targets is missing in vfe 3.2. Add this to
    avoid any issues that might be seen during
    starting/stopping of video recording.
    -Also remove the msleep during streamoff. This is
    no longer needed, since the state machine handles
    this case properly.

    Change-Id: Ic70d1ce9561b2103e2daed5d65fe2f791f61431a
Signed-off-by: default avatarKiran Kumar H N <hurlisal@codeaurora.org>

commit 8d5bde73b78c408212112d438676a228947e38a0
Author: Ankit Premrajka <ankitp@codeaurora.org>
Date:   Thu Aug 4 09:32:34 2011 -0700

    msm: camera: fix memory leaks in camera driver

    Change-Id: I3a9e89a971ef4b22faa178c4b0ebe9113e1ceda3
Signed-off-by: default avatarAnkit Premrajka <ankitp@codeaurora.org>

commit 94c88008c3f291c17ad3abd992df88681f1e6aa0
Author: Nishant Pandit <npandit@codeaurora.org>
Date:   Sat Jul 23 23:17:56 2011 +0530

    msm: camera: Initial version of LED Driver on 8960

    Initial version of LED driver for Cdp & Mdp comprise

    - Enable SC628A LED Driver chip for 8960.
    - Configure SX150X Gpio Expander chip.
    - Restructure  Camera Gpio Mux settings table
    which will later be used to toggle function select for LED Flash
    between Mdp & Cdp.

    Change-Id: Ieed8b066128d29958d83351152b0611a1cd3c1f0
Signed-off-by: default avatarNishant Pandit <npandit@codeaurora.org>

commit 99aca45235226074dca943b5099eb26f9eca9c1c
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Thu Jul 28 10:20:08 2011 -0700

    camera: v4l2: Add zoom support in driver.

    Add implementation of G_CROP and event for
    zoom completion.

    Change-Id: I258af6801d235ea47b0b643eb415d995596625b7
Signed-off-by: default avatarShuzhen Wang <shuzhenw@codeaurora.org>

commit ad5ee51047ae63a6e73b008c9adf50d83e2d25a0
Author: Kiran Kumar H N <hurlisal@codeaurora.org>
Date:   Thu Jul 28 19:08:39 2011 -0700

    msm: camera: Change log severity of vfe messages.

    Currently the log message which indicates the
    non-availability of free buffer when we receive
    a frame notification from VFE is enabled
    by default. Since this does not necessarily
    indicate error, it might be misleading. Hence
    change this to debug message.

    Change-Id: Id0d947236717df51f26e23fcedfbe144bb7e4e6d
Signed-off-by: default avatarKiran Kumar H N <hurlisal@codeaurora.org>

commit ff627cd5eee79c84f49649d31ab787312e1c2406
Author: Sandeep Kodimela <skodimela@codeaurora.org>
Date:   Tue Aug 2 18:37:56 2011 +0530

    msm: camera: Added stabilization delay for VCM GPIO

    Stabilization delay msleep(20) is required in-order
    to transit the gpio into the output low state, otherwise it
    remains the input high state

    CRs-fixed: 299262
    Change-Id: I9df331899c1db9cb50c13358d321d58a8676d3ad
Signed-off-by: default avatarSandeep Kodimela <skodimela@codeaurora.org>

commit 79c16501e90ab791b781ace9504613aa050a3352
Author: Kiran Kumar H N <hurlisal@codeaurora.org>
Date:   Mon Aug 1 15:21:23 2011 -0700

    msm: camera: Remove obsolete code from AXI configuration
    function.

    - msm_pmem_region_lookup_3 is not needed anymore since
      the VFE gets the buffer information from the free
      queue of the media controller directly.
    - msm_frame_axi_cfg is not needed anymore since we dont
      need to invoke the above lookup function.
    - CMD_FRAME_BUF_RELEASE is not needed anymore since
      the buffer is directly added into the media controller's
      free queue when the user queues a buffer for processing.

    Change-Id: I622222a1fd12135472ee6d083e93debcf72ec3a3
Signed-off-by: default avatarKiran Kumar H N <hurlisal@codeaurora.org>

commit 3b1e09c3011b504da77f5670221b6d169a325b2a
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Thu Jul 28 10:19:10 2011 -0700

    camera: v4l2: Use v4l2_event for event from config to app.

    This simplies the way event is propagated. Driver only needs
    to pass on the v4l2_event structure directly.

    Change-Id: Ic6bc06e0c26989fbf22a8c3b294f5d677ac79d90
Signed-off-by: default avatarShuzhen Wang <shuzhenw@codeaurora.org>

commit bfbb497c9a66938b82d86c0398bb2928749af764
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Thu Jul 14 15:40:33 2011 -0700

    camera: 8960: Enable GDHS support.

    Enable GDHS support for VFE, VPE, and IJPEG.

    Change-Id: Ie7a71ac39754f5a873df595cc04cf0a86a242e82
Signed-off-by: default avatarShuzhen Wang <shuzhenw@codeaurora.org>

commit 8d7d54d20862d6cbd3137b89bdcf23dbaa0a9f58
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Thu Jun 2 20:07:50 2011 -0700

    msm: camera: Enhance i2c api to unify sensor driver

    Updated the common camera sensor i2c functions to be
    more generic.

    Change-Id: I58bec223cb5b5ec54b873a4ba17b79fb877b2c01
Signed-off-by: default avatarKevin Chan <ktchan@codeaurora.org>

commit 4882c1fdffba47564665ef483bf5fbcd73c23484
Author: Sunid Wilson <sunidw@codeaurora.org>
Date:   Tue Aug 2 21:08:42 2011 -0700

    msm: camera: Handle event queue overflow error

    When the config thread crashes or is in bad state, the camera
    driver wont get notification which prevents the driver from
    shutting down. Added code to handle this usecase.

    Change-Id: I4cefaaca2d45615cc44d27ff8466a83c762578a0
Signed-off-by: default avatarSunid Wilson <sunidw@codeaurora.org>

commit e2bc8ebfbb47c71d0cd862eacc4767b9bee04745
Author: Mingcheng Zhu <mingchen@codeaurora.org>
Date:   Fri Jul 22 21:18:42 2011 -0700

    msm camera: snapshot wavelet denoise support

    Change-Id: I9d29083f0c4e386e25da05fb8fcdb3c61f424e78
Signed-off-by: default avatarMingcheng Zhu <mingchen@codeaurora.org>

commit 0b55a75338d5848cd95c7c71e31068da6342b7f5
Author: Sunid Wilson <sunidw@codeaurora.org>
Date:   Tue Jul 26 14:35:31 2011 -0700

    msm: camera: Support Demosaic ABF2 for vfe3.2

    Added support for demosaic adaptive bayer filter for vfe3.2.
    This module is used for noise suppression and edge enhancement.

    Change-Id: I549efca4d7d6ae1f823833b3a4b76973a997f707
Signed-off-by: default avatarSunid Wilson <sunidw@codeaurora.org>

commit 32d5f6b0c5c73043eee1dba69de4abced1ce9c97
Author: Kiran Kumar H N <hurlisal@codeaurora.org>
Date:   Thu Jul 28 18:36:27 2011 -0700

    msm: camera: correct the buffer offset calculation.

    Correct the cbcr offset calculation of the YUV buffer
    by padding the buffer height to multiple of 16.

    CRs-Fixed: 298346
    Change-Id: Ib4bd6907eb52f9861af2cc7d85a557d029294eed
Signed-off-by: default avatarKiran Kumar H N <hurlisal@codeaurora.org>

commit 567443c4d3e92532d8a5de01cc07af1066a94121
Author: Sunid Wilson <sunidw@codeaurora.org>
Date:   Tue Jul 26 14:18:30 2011 -0700

    msm: camera: Configure and update linearization look up tables

    Support for configure and update commands for
    linearization for vfe3.2

    Change-Id: Ibe6b6e58c2e73bb3afa4626f97143e095beb68e4
Signed-off-by: default avatarLakshmi Narayana Kalavala <lkalaval@codeaurora.org>
Signed-off-by: default avatarSunid Wilson <sunidw@codeaurora.org>

commit bcfc24b9152d0e4a8624074b8d787cf8e2cef6a9
Author: Mansoor Aftab <maftab@codeaurora.org>
Date:   Tue Jul 26 17:01:26 2011 -0700

    msm: camera: Changes to enable events and Auto Focus

    Added event notify message support added entries for
    autofocus event types

    Change-Id: Ieb4cc38df89b04b15c673d12e8cf9e09dbe56aa1
Signed-off-by: default avatarMansoor Aftab <maftab@codeaurora.org>

commit 6e9e46112e5da29633cd4328e65540b54cfb1982
Author: Sandeep Kodimela <skodimela@codeaurora.org>
Date:   Thu Jul 28 18:34:19 2011 +0530

    msm: camera: Fix camera switch from primary to secondary

    avoid false sensor detection to ensure smooth switch between
    primary to secondary camera sensor

    Change-Id: I93a5d20c3f530d9c870eb294a216aeff1877b30c
Signed-off-by: default avatarSandeep Kodimela <skodimela@codeaurora.org>

commit 62f111043287afe39ad38f46acd86af35b4b0c47
Author: Kiran Kumar H N <hurlisal@codeaurora.org>
Date:   Wed Jul 27 15:19:45 2011 -0700

    msm: camera: Change max number of application buffers
    allowed.

    During AXI configuration, the buffer addresses are
    stored in a msm_pmem_region array of size 16. This
    limits the maximum number of buffers that can be
    used by the application to 16. But in ZSL mode,
    the application can allocate more than 16 buffers.
    Increase the maximum number of buffers and
    dynamically allocate memory for this structure.

    Change-Id: Ida227b0949dd7344c8230c58ef7d345463c69ca7
Signed-off-by: default avatarKiran Kumar H N <hurlisal@codeaurora.org>

commit c2079d4f01a021bb8cb11f763f9ff1c02509fbab
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Wed Jul 27 12:08:34 2011 -0700

    msm: camera: Improve camera IRQ stability

    CSI irq is trigger too often causing the platform to be unstable.
    Modified csid and csiphy irq to only trigger for errors.

    Change-Id: I01e121aad1e18b479d4c172a5af7bc351374daf3
Signed-off-by: default avatarKevin Chan <ktchan@codeaurora.org>

commit acc38ce8f20a1ba89d7de64d5014e9eb18a18256
Author: Kiran Kumar H N <hurlisal@codeaurora.org>
Date:   Mon Jul 25 15:52:51 2011 -0700

    msm: camera: Fix raw snapshot functionality.

    - Thumbnail image is not generated in case of
      raw snapshot. Hence dont configure thumbnail
      buffers in case of raw snapshot.
    - Remove couple of duplicate log messages.

    CRs-Fixed: 297230
    Change-Id: I14fe24321e527be8282e038ed0fd91bd6a8ca31e
Signed-off-by: default avatarKiran Kumar H N <hurlisal@codeaurora.org>

commit 96b7ff796983cd2504937c41596ce40579de86ae
Author: Ankit Premrajka <ankitp@codeaurora.org>
Date:   Thu Jul 21 11:14:56 2011 -0700

    msm-camera: fix subsystem ID address in JPEG

    The address of the subsystem id stored in the jpeg
    buffer structure was becoming invalid. This happened
    because the buffer used for mapping was copied over to
    a duplicate place and the second buffer was used for
    unmapping, while the first one was freed.

    Change-Id: I39f51b0a3f737efdd3189c715336afff5cc068dd
Signed-off-by: default avatarAnkit Premrajka <ankitp@codeaurora.org>
Signed-off-by: default avatarMingcheng Zhu <mingchen@codeaurora.org>

commit d83068148ff55da30aa668f8a957008e36ee0dbd
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Fri Jul 15 13:51:52 2011 -0700

    camera: vfe32: Enable Zero Shutter Lag mode support.

    - Add bus scaling table for ZSL mode.
    - Add AXI configuration and interrupts handling for ZSL.
    - Add missing VFE commands of XBAR configuratin.

    Change-Id: I2183f29b17c13f8291149deed48c9d45ab0a3d0d
Signed-off-by: default avatarShuzhen Wang <shuzhenw@codeaurora.org>

commit 8d39599c04b5c89e8ee14e463282a5301739239b
Author: Mingcheng Zhu <mingchen@codeaurora.org>
Date:   Wed Jul 20 21:19:28 2011 -0700

    msm-camera: fix the stop recording crash

    do not swap ping/pong buffer when no free buffer

    CRs-fixed: 296858

    Change-Id: I291bef48be861d7cc74bc1544d0553a576bd5c7b
Signed-off-by: default avatarMingcheng Zhu <mingchen@codeaurora.org>

commit 1be701b4b1616929e46aeafe6096ab5d1943448e
Author: Mingcheng Zhu <mingchen@codeaurora.org>
Date:   Mon Jul 25 20:44:23 2011 -0700

    msm-camera: initial vpe and divert frame implementation

    Change-Id: I3822fe879af5a45b7b904e543e415addfb7401ee
Signed-off-by: default avatarMingcheng Zhu <mingchen@codeaurora.org>

commit f63f37d83adb904bfc4eb011da278e58f160e3b9
Author: Ankit Premrajka <ankitp@codeaurora.org>
Date:   Fri Jul 15 11:43:41 2011 -0700

    msm-camera: add SMMU code for use with videobuf2 framework

    Change-Id: I24c1e94173ecca588f4b3d17305014b069aef010
Signed-off-by: default avatarAnkit Premrajka <ankitp@codeaurora.org>
Signed-off-by: default avatarMingcheng Zhu <mingchen@codeaurora.org>

commit 732db77d62df26dee40c3a4d52f0de7ee866a129
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Tue Jul 19 15:10:58 2011 -0700

    msm-camera: v4l2: Use ktime_get_ts to get timestamp.

    Using ktime_get_ts and converting to timeval matches
    with system time in user space. This eliminates the
    AV sync issue between video and audio.

    Change-Id: I51bca59143fcfcfa0a14b409f07161c49b740a64
Signed-off-by: default avatarShuzhen Wang <shuzhenw@codeaurora.org>
Signed-off-by: default avatarMingcheng Zhu <mingchen@codeaurora.org>

commit 6e2b2c568fbbd95762b777e7e6e0107e6bdb0c84
Author: Kiran Kumar H N <hurlisal@codeaurora.org>
Date:   Sun Jul 17 12:31:53 2011 -0700

    msm-camera: configure preview and recording buffers
    seperately.

    decouple preview and recording path configuration
    by configuring the buffers during preview start
    and recording start respectively.

    Change-Id: I4ea157db4e84add285191dc5702dc1276b2bb2c2
Signed-off-by: default avatarKiran Kumar H N <hurlisal@codeaurora.org>
Signed-off-by: default avatarMingcheng Zhu <mingchen@codeaurora.org>

commit bc843c09bde81e1859d557f1d36625bf02499f37
Author: Mingcheng Zhu <mingchen@codeaurora.org>
Date:   Fri Jul 22 22:57:11 2011 -0700

    msm camera: migrate to videobuf2 framework

    add necessary changes in camera driver to
    migrate to videobuf2 framework.

    Change-Id: I703c29b464fa33d4fec271d4970da44281cbb2d6
Signed-off-by: default avatarKiran Kumar H N <hurlisal@codeaurora.org>
Signed-off-by: default avatarMingcheng Zhu <mingchen@codeaurora.org>

commit 01a5bde2b58c6968994480d9738c0defd8149b1a
Author: Kiran Kumar H N <hurlisal@codeaurora.org>
Date:   Sat Jul 23 11:34:34 2011 -0700

    Revert "msm: camera: YV12 video support"

    This reverts commit 66882a5046143601429632a0b589d9ffeeb3c668.
    This change will be submitted later.

    Change-Id: I9ac60ad2dadbc330a0b010a706bbefe344d706e7
Signed-off-by: default avatarKiran Kumar H N <hurlisal@codeaurora.org>

commit 66882a5046143601429632a0b589d9ffeeb3c668
Author: Azam Sadiq Pasha Kapatrala Syed <akapatra@codeaurora.org>
Date:   Fri Jul 15 15:56:40 2011 -0700

    msm: camera: YV12 video support

    Support for color format YV12.

    Change-Id: I89c139c6c7a4d3ec6555cadcb8afe9eef0023de2
Signed-off-by: default avatarAzam Sadiq Pasha Kapatrala Syed <akapatra@codeaurora.org>

commit b1c0547223fe3567b720af3dde6351b39c88583d
Author: Mansoor Aftab <maftab@codeaurora.org>
Date:   Wed Jul 20 17:25:36 2011 -0700

    msm: camera: Correct mount angle, sensor type values

    Correct the sensor type value for the IMX074 sensor.
    Set the mount angle value for this sensor on 8960,
    also made sure that the values obtained for angle,type
    from probing are recorded in the structure which used
    to retrieve this information during device query.

    CRs-fixed: 296576
    Change-Id: I66c24a74377233d653a318573795f92309235f4d
Signed-off-by: default avatarMansoor Aftab <maftab@codeaurora.org>

commit b7c9d553586f50b6d05d7f83d6c35e05e73bb701
Author: Suresh Vankadara <svankada@codeaurora.org>
Date:   Thu Jul 21 19:54:20 2011 +0530

    msm: camera: Fix GPIO issues in sensor drivers

    Keep GPIO 153 and 151 to low power state when
    camera is not in active state.

    Change-Id: Ic7890d6a2758901c5e88530b61caca79cef6ebe8
    CRs-Fixed: 294992
Signed-off-by: default avatarSuresh Vankadara <svankada@codeaurora.org>

commit 04dfe491a43adf08c9c4f826f64065624054d527
Author: Nishant Pandit <npandit@codeaurora.org>
Date:   Sun Jul 10 11:33:14 2011 +0530

    msm: camera: Configure the qs_s5k4e1 in 1 lane for 2d mode

    Configure the qs_s5k4e1 sensor in 1 lane for 2D mode. This
    change is made as a work around for hardware issue. As we
    switch from 4 lane configuration in 3D mode to 2D configuration
    in 2 lane, the fifo in CSI Phy overflows. When 2D mode uses 1 lane
    configuration the FIFO is bypassed.

    Change-Id: Ia37c0dc33322143873afd00c109491184506c9ad
    CRs-fixed: 292608
Signed-off-by: default avatarNishant Pandit <npandit@codeaurora.org>

commit 3eaa215567715925b93e5d5d60f679de6028d0c1
Author: Matt Wagantall <mattw@codeaurora.org>
Date:   Fri Jul 15 12:26:19 2011 -0700

    msm: Remove last references to NPA-related code for AXI rate management

    The NPA driver was removed some time ago, but wrapper code
    and some of its driver hooks persisted in the tree, despite
    not being compiled (or even compilable). Remove these now.

    Change-Id: I34148433f8fd946a9aa664df6ca7782cb02bba2b
Signed-off-by: default avatarMatt Wagantall <mattw@codeaurora.org>

commit f7d8135370cd016c2f094780b97ef01353118c1d
Author: Azam Sadiq Pasha Kapatrala Syed <akapatra@codeaurora.org>
Date:   Thu Jul 14 16:29:22 2011 -0700

    msm: camera: Stop streaming video when stop rec is issued

    This patch makes sure that we don't stream any video frames
    when recording is stopped.

    CRs-Fixed: 295043
    Change-Id: I771100c7f01e7e725db0e83c878794a66d84f86b
Signed-off-by: default avatarAzam Sadiq Pasha Kapatrala Syed <akapatra@codeaurora.org>

commit bd2c337cc18e408a625f06c4f497365892d2708c
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Thu Jul 14 21:27:20 2011 -0700

    msm: camera: Update OV2720 sensor settings

    Increase output dimension to 1932X1092
    Added in sensor roll off correction settings

    Change-Id: I2a2d615475a85b93864c000c11db550f9b40ce53
Signed-off-by: default avatarKevin Chan <ktchan@codeaurora.org>

commit f4816a81d8706350b67a52e16fcf70e14db5be11
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Wed Jul 13 10:52:41 2011 -0700

    msm: camera: Initial commit for qs_mt9p017

    Initial support for qs_mt9p017 on 8960

    Change-Id: I8a240724b235621a82457e5d4a2a1eec70585282
Signed-off-by: default avatarKevin Chan <ktchan@codeaurora.org>

commit 0302d3550f57b331ce7d73905fa9135fee1a2721
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Thu Jul 14 10:18:31 2011 -0700

    camera: vfe32: Flush out duplicate buffers in free queue.

    The same set of buffers were programmed during AXI config,
    and then enqueued before start recording. Flush the extra
    copy out before recording.

    Change-Id: I76d280bde15195f793ecd98990fcf4e6ae8207c0
Signed-off-by: default avatarShuzhen Wang <shuzhenw@codeaurora.org>

commit 314f0098010df7b604546812448624fa7fdc8e6e
Author: Kiran Kumar H N <hurlisal@codeaurora.org>
Date:   Wed Jul 13 16:39:15 2011 -0700

    msm: camera: fix the leak in free buffer queue.

    Free up the buffer memory after dequeueing
    it from free queue.

    Change-Id: If844cee93ed564269bbf29229215aec8feaffc78
Signed-off-by: default avatarKiran Kumar H N <hurlisal@codeaurora.org>

commit 9c8d75f4bd3e54b56a86f759f51f25b5ffe3bf34
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Fri Jul 1 15:10:52 2011 -0700

    msm: camera: Initial support for strobe flash on 8960

    Handle flash control ioctl from userspace
    Added strobe flash gpio configs

    Change-Id: Ifa8f6a43720dd361feb4f90cafd82a5a0e5e00fe
Signed-off-by: default avatarKevin Chan <ktchan@codeaurora.org>

commit 6f08e46310a995977d8f83e4d499f97f56c4a565
Author: Ankit Premrajka <ankitp@codeaurora.org>
Date:   Tue Jul 12 13:42:17 2011 -0700

    msm: camera: Fix pointer arithmetic for Linearization config cmd.

    cmdp is of type "uint32 *". In order to offset by 16, we need
    to add 4 to the pointer and not 16.

    Change-Id: I1df77978456be86eb324c8f782f2f41e38d5d689
Signed-off-by: default avatarAnkit Premrajka <ankitp@codeaurora.org>

commit 467f738cba5b532b4b5c088e97e73a36721d9963
Author: Ankit Premrajka <ankitp@codeaurora.org>
Date:   Fri Jul 8 16:33:33 2011 -0700

    msm: v4l2: add SMMU mapping code into gemini driver

    Change-Id: I6895a60c43a9ffad5dc1def77f3191b051a72019
Signed-off-by: default avatarAnkit Premrajka <ankitp@codeaurora.org>

commit 6be53f521e27adaf72af0d08fdfbe6ea1c322db1
Author: Sandeep Kodimela <skodimela@codeaurora.org>
Date:   Wed Jul 6 18:16:04 2011 +0530

    msm: camera: Remove unnecessary delay in sensor config

    Remove 100 msec delay from sensor config in mt9e013 sensor driver

    CRs-fixed: 293522
    Change-Id: I1b949019c3a3de31f3f58a3da4d62f735fcd5fd2
Signed-off-by: default avatarSandeep Kodimela <skodimela@codeaurora.org>

commit 3617c16ee60db8b261c2a0b5f0733d647f9af587
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Tue Jul 12 10:33:58 2011 -0700

    camera: vfe32: Fix memory leak for Demosaic V3 config.

    Make a local copy of cmdp pointer, and increment it.
    Leave cmdp intact for later deletion.

    Change-Id: I1559e117a5f59e3d00d63f748d48453e56cebc44
Signed-off-by: default avatarShuzhen Wang <shuzhenw@codeaurora.org>

commit b1e1d4e780d6dcb498d07da9d019d5fc24729d9c
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Fri Jul 8 10:33:33 2011 -0700

    camera: vfe32: Fix pointer arithmetic for Demosaic V3 config cmd.

    cmdp is of type "uint32 *". When we want to offset by 1 word, we
    should use +1 instead of +4.

    Change-Id: I393a4e51a70c7a3fd12e39eddc3f4c0715320fc8
Signed-off-by: default avatarShuzhen Wang <shuzhenw@codeaurora.org>

commit a4e5747af1c9d1fd51b9c16108b846ae382321d1
Author: Jeyaprakash Soundrapandian <jsound@codeaurora.org>
Date:   Thu Jul 7 14:03:44 2011 -0700

    camera: seperate vfe command handling support for eztune

    Change-Id: I4988c1fbdbc1e23937053ff97c74ee85732bc447
Signed-off-by: default avatarJeyaprakash Soundrapandian <jsound@codeaurora.org>

commit 0c3e5fed60f97fbadbc522381cbff79e2d17afce
Author: Azam Sadiq Pasha Kapatrala Syed <akapatra@codeaurora.org>
Date:   Thu Jul 7 18:37:23 2011 -0700

    msm: camera: Configure registers for BPCv3.

    This patch adds support to configure corresponding bpc
    registers.

    Change-Id: I773e82687f5b8891d74c0d64df8721d53f94a85c
Signed-off-by: default avatarAzam Sadiq Pasha Kapatrala Syed <akapatra@codeaurora.org>

commit 6a800389ada03e3c6f8bd380facb915d20591322
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Tue Jul 5 17:52:32 2011 -0700

    camera: v4l2: Add free buffer queue for vfe32.

    Instead of having one single free buffer, create
    a queue to hold all free buffers.

    Change-Id: I9a1ded172a192fa3749434a5e0d8d3dc345ce8a3
Signed-off-by: default avatarShuzhen Wang <shuzhenw@codeaurora.org>

commit 796bba35c174f143903a23d763d765702d356965
Author: Sandeep Kodimela <skodimela@codeaurora.org>
Date:   Fri Jul 8 16:40:04 2011 +0530

    msm: camera: Update step values in mt9e013 sensor driver

    Update step values of mt9e013 sensor driver to calculate
    step positions for AF

    CRs-fixed: 293522
    Change-Id: Ifd32f5804c0168a57dc7cd467a83306b7865a348
Signed-off-by: default avatarSandeep Kodimela <skodimela@codeaurora.org>

commit 51f4c5d247a3a7bd598138d39469cd22ad44019f
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Fri Jul 1 12:25:31 2011 -0700

    msm: camera: Reorganize camera platform device structures

    Correcting wrong practice of non SOC dependent items in device file.
    Moved platform data to board file.
    Added csid, csiphy and ispif info to device resources.
    Updated corresponding files to get info from device resources

    Change-Id: Ib2d18993f84a812e1419bb8f5f50419f7ed59396
Signed-off-by: default avatarKevin Chan <ktchan@codeaurora.org>

commit 7a8918a92981ff347be268af9acff71f4dab307d
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Wed Jul 6 17:53:27 2011 -0700

    camera: v4l2: Change printk to pr_debug for log messages.

    Use pr_err for error messages, and pr_debug for everything else.

    Change-Id: I39198ef9b27d29d2be29fa15f6aabc6990eed835
Signed-off-by: default avatarShuzhen Wang <shuzhenw@codeaurora.org>

commit fec71648a7c36a311a37d3b10f14dcb323057792
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Thu Jul 7 09:48:49 2011 -0700

    camera: v4l2: Remove bus scaling request for SMI on 8960.

    There is no SMI on 8960, so remove the bus scaling request.

    Change-Id: Id8e6f3c94327b70ffff1ee2e2c2b38db169c77e7
Signed-off-by: default avatarShuzhen Wang <shuzhenw@codeaurora.org>

commit b191c0f83532e1f1238dca2f6965389f87e88a39
Author: Mingcheng Zhu <mingchen@codeaurora.org>
Date:   Thu Jun 30 19:59:10 2011 -0700

    Camera V4L2: Adding native camera control command support

    Change-Id: Idc7f8831eea0b2c2ad0988aafd5cbc3f48ce27d0
Signed-off-by: default avatarMingcheng Zhu <mingchen@codeaurora.org>

commit b8ad1b3ed945b883310374505b3601c2837ab4c4
Author: Vamshidhar Kondra <vkondra@codeaurora.org>
Date:   Tue Jul 5 14:19:51 2011 +0530

    msm: camera: msm: camera: Update VFE driver for new snapshot changes

    VFE sends OP1 and OP2 messages for snapshot and thumbnail images
    in new arch. Update vfe driver insync with with VFE fw changes.

    Change-Id: I3aaa91935c82d23d28f0c9c5bb1827d039493074
Signed-off-by: default avatarVamshidhar Kondra <vkondra@codeaurora.org>

commit 32c73219bc4fe6f1d5598e59c1c1cf582ecc9335
Author: Sunid Wilson <sunidw@codeaurora.org>
Date:   Tue Jun 28 17:38:55 2011 -0700

    msm: camera: Remove dynamic rolloff update for ZSL

    Remove dynamic rolloff update for ZSL

    Change-Id: Idbf87b488a021626bdccce38557860817bf37ea6
Signed-off-by: default avatarSunid Wilson <sunidw@codeaurora.org>

commit 2b263abe7cde5c39cea15a169270d85a2bc2bf57
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Fri Jul 1 17:48:56 2011 -0700

    camera: v4l2: Remove creation of proc fs entry.

    Remove proc fs entry because it is not used for debugging purposes.

    Change-Id: Ib8dedd48b13541f17d8b8f702296859439f9e229
Signed-off-by: default avatarShuzhen Wang <shuzhenw@codeaurora.org>

commit 33f61fd372a75e114fd39f3754290880bffb45eb
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Fri Jun 24 22:25:27 2011 -0700

    camera: Add support for Back Pixel Correction V3.

    Change-Id: I6b9ad62e3b5827248a824bbb1b6d4ac151dcfd1c
Signed-off-by: default avatarShuzhen Wang <shuzhenw@codeaurora.org>

commit 84ee8fc83862fe571c9181b2a63a0540e34bdd50
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Thu Jun 30 21:44:29 2011 -0700

    camera: v4l2: Increase the maximum of axi buffers to 16.

    This gives the user space application more freedom to
    have longer buffer queue, thus improving performance
    for use cases such as video recording.

    Change-Id: I33218671e3cebc971532edd0ca1b687bfe77d5ae
Signed-off-by: default avatarShuzhen Wang <shuzhenw@codeaurora.org>

commit cb974805e41c643ab3ea13dfce23f65c3dcdc56f
Author: Mingcheng Zhu <mingchen@codeaurora.org>
Date:   Thu Jun 30 15:43:36 2011 -0700

    Camera V4L2: Add NV12 format into mctl format table

    Change-Id: I66c3f3bbcb3fe10dcaecd642f12b230d25adfb91
Signed-off-by: default avatarMingcheng Zhu <mingchen@codeaurora.org>

commit 7da8696d21036c9aea6cab14166c88cc5fe34262
Author: Vamshidhar Kondra <vkondra@codeaurora.org>
Date:   Wed Jun 29 19:26:05 2011 +0530

    msm: camera: Fix spinlock initialization issue.

    Initialize pp_preview,pp_stereocam,st_frame spinlocks
    in camera open function and use it when PP is enabled.

    Change-Id: Ia0b8b54036e8818b0a7fe790db1a4a96accbdccf
Signed-off-by: default avatarVamshidhar Kondra <vkondra@codeaurora.org>

commit 70afc65e29b1d09e564e414bf2406638a1481b4f
Author: Sunid Wilson <sunidw@codeaurora.org>
Date:   Mon Jun 27 20:35:14 2011 -0700

    msm: camera: Move bus vectors to board file

    Moved the camera bus vectors from camera driver to board
    file

    Change-Id: I9d7a293bf732afb8a975ca05d2e40a7442d66199
Signed-off-by: default avatarSunid Wilson <sunidw@codeaurora.org>

commit 000721e27b1e5f0b6e7e215a4ee9e61bb0578611
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Wed Jun 22 11:39:30 2011 -0700

    camera: v4l2: Fix media bus format for ov2720 sensor.

    ov2720 outputs BGGR 10 bit bayer, not YUYV8 format.

    Change-Id: Iaf8cda683cb9851855e984fd9b731edcb20f65d7
Signed-off-by: default avatarShuzhen Wang <shuzhenw@codeaurora.org>

commit f5e353e234967948d5dd361ccbae9b6d2f3f8dbc
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Wed Jun 22 17:26:43 2011 -0700

    camera: v4l2: Avoid init ctrl_q multiple times.

    Server device node could be opened multiple times.
    We only want to initialize ctrl_q the first time
    the device is opened.

    Change-Id: I4c208dab5f0691646d2f65f51eac60d730353b91
Signed-off-by: default avatarShuzhen Wang <shuzhenw@codeaurora.org>

commit da7283c54090a0597d0ae4127f9214ab4f338c83
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Sat Jun 18 22:59:45 2011 -0700

    camera: v4l2: Implement raw snapshot.

    Enhance videobuf-msm-mem, msm_mctl, and msm_vfe32 to
    support CAMIF raw snapshot.

    Change-Id: Id93b9e76c461f12fedddd9ac8b7e8c3c571759a4
Signed-off-by: default avatarShuzhen Wang <shuzhenw@codeaurora.org>

commit 7a07e90a20854e6e9565a03309a2bb993f8bda0e
Author: Lakshmi Narayana Kalavala <lkalaval@codeaurora.org>
Date:   Tue Jun 28 12:17:46 2011 -0700

    msm: camera: Avoid flooding of AXI HALT irq's

    This patch will avoid flooding of AXI HALT irq's.

    Change-Id: Ibd85c940bbf5b4b7fb42a90a5a8a10d9d9e2df91
Signed-off-by: default avatarLakshmi Narayana Kalavala <lkalaval@codeaurora.org>

commit eb82bdac59e2c589ec5eea472f1ab1dc0d35aaac
Author: Matt Wagantall <mattw@codeaurora.org>
Date:   Thu Jun 23 19:23:22 2011 -0700

    msm: camera: Move from internal_power_rail APIs to regulator APIs for 7x30

    Remove use of the msm-specific internal_power_rail driver in
    favor of the new footswitch-pcom driver, which uses the regulator
    framework's APIs.

    Change-Id: Id739573771672e41112fb4dee5c80c1465c7ebc5
Signed-off-by: default avatarMatt Wagantall <mattw@codeaurora.org>

commit 791278e730c6ebce77aea7c16e256eb4ae161aca
Author: Ujwal Patel <ujwalp@codeaurora.org>
Date:   Mon Jun 6 14:18:36 2011 -0700

    msm: camera: Support for manual convergence in stereo camera.

    Adding support for manual convergence in stereo camera and
    changing the delivery method of stereo quality indicator.

    Change-Id: Ic614b198c59458797a3f7830621c9556790ece35
Signed-off-by: default avatarUjwal Patel <ujwalp@codeaurora.org>

commit 60c493a282cc83690ccc0f11d4b0b59af7c89b96
Author: Sunid Wilson <sunidw@codeaurora.org>
Date:   Sat Jun 25 11:32:56 2011 -0700

    Revert "msm: camera: Send OUTPUT_P msg to config only when PP is enabled"

    This reverts commit 38a0383eca0cc7311a7bfd8ffe970da5e4d59106.

    Change-Id: I9285c6f0b689c5e37fbb37ed9ad64feb4aedb075
Signed-off-by: default avatarSunid Wilson <sunidw@codeaurora.org>

commit 96ee7eb0bf9b5ccb2f607a244259e0a698d2ee90
Author: Sunid Wilson <sunidw@codeaurora.org>
Date:   Tue Jun 21 19:31:39 2011 -0700

    msm: camera: Clear the DMI for HIST stats during reset

    Clear the DMI for HIST stats during reset

    Change-Id: Icf7595f7266b8505e205604a1e4bcb0ba7a16cc7
Signed-off-by: default avatarSunid Wilson <sunidw@codeaurora.org>

commit 9806fe4d6a2ce3a25c1be0e6657fedbd8181e003
Author: Sunid Wilson <sunidw@codeaurora.org>
Date:   Wed Jun 22 18:15:13 2011 -0700

    msm: gemini: Support for setting physical address offset for input buffers

    If the input buffers are present in a contiguous chunk of memory,
    thier physical addr remains the same even if thier virtual address
    is different. To prevent this, added support for physical offset
    in msm_gemini_buf.

    CRs-Fixed: 293251
    Change-Id: I42fef7184b9aeb8ea599ff18bbc75b8f6659bd46
Signed-off-by: default avatarSunid Wilson <sunidw@codeaurora.org>

commit 028d626df10bc63bbfedb2b72a67597e2b4ba1ba
Author: Nishant Pandit <npandit@codeaurora.org>
Date:   Thu Jun 16 23:46:44 2011 +0530

    msm: camera: Fix snapshot and other minor issues in qs_s5k4e1

    -Issue stop stream command to sensor while exitting camera.
    -Turn off MIPI Clk Phy and MIPI Data Phy while exitting as
    they were never turned off.
    -Calculate the FPS by modifying the line length pclk
    instead of frame length line.
    -Add some delay in bridge after camera clock turned
    on to avoid glitches

    CRs-Fixed: 292069
    Change-Id: I88bd75a42f5c741d2d6b3efdfc0e0ff00824a50e
Signed-off-by: default avatarNishant Pandit <npandit@codeaurora.org>

commit 38a0383eca0cc7311a7bfd8ffe970da5e4d59106
Author: Sunid Wilson <sunidw@codeaurora.org>
Date:   Mon Jun 20 14:13:11 2011 -0700

    msm: camera: Send OUTPUT_P indication to config only when PP is enabled

    OUTPUT_P indications should be send only when post processing
    is enabled. Hence added the code to send the respective qcmds
    to event_queue on when pp flag is set.

    Change-Id: I184b60e1d8b4b9b5c438fc98dda4c74465453368
Signed-off-by: default avatarSunid Wilson <sunidw@codeaurora.org>

commit 2fd8abf5d7a7ea407c1f2da39587cec62008eab4
Author: Jeyaprakash Soundrapandian <jsound@codeaurora.org>
Date:   Mon Jun 13 18:54:12 2011 -0700

    mm-camera: command support for vfemodule config from eztune

    Change-Id: Ic0767e22d4f6b7ffaf919a6e0cb818c15a1d9919
Signed-off-by: default avatarJeyaprakash Soundrapandian <jsound@codeaurora.org>

commit 9d01e68b25519d9e5df79ccfcd5a4121e6de85e9
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Wed Jun 15 16:09:38 2011 -0700

    camera: Increase V4L2_DIMENSION_SIZE.

    Because we use deep-copy for control command. We can use
    the same dimension structure for v4l2 as with native interface.

    CRs-fixed: 289632
    Change-Id: Ic1248fb616b6b74cb68e0811480368ca28f56e0f
Signed-off-by: default avatarShuzhen Wang <shuzhenw@codeaurora.org>

commit 105376e3dcec5b7de2fde8f2a4337c865aa49987
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Fri Jun 17 13:31:18 2011 -0700

    camera: Add QOS power management code.

    Change-Id: I80d6c364be97d41c526455366ac0a9dadcdb835f
Signed-off-by: default avatarShuzhen Wang <shuzhenw@codeaurora.org>

commit 71f0d252b218e811c938cfb88c969f30fdcab434
Author: Suresh Vankadara <svankada@codeaurora.org>
Date:   Fri Jun 17 15:08:04 2011 +0530

    msm: camera: Disable MIPI_PWR_CTRL reg

    Disable AHB/VFE/CSI clock bits in MIPI_PWR_CTRL register
    if camera is not in use

    Change-Id: Id9a85f80802d1a87b8da79be6bbb0cdaba872652
    CRs-Fixed: 291702
Signed-off-by: default avatarSuresh Vankadara <svankada@codeaurora.org>

commit f1d93538da07e745e3b8ae0388135201446668f0
Author: Sunid Wilson <sunidw@codeaurora.org>
Date:   Thu Jun 16 10:14:10 2011 -0700

    msm:camera: Fix buffer mismatch issue in HFR mode

    Patch to skip frame when the ping pong status is invalid.

    CRs-Fixed: 289328
    Change-Id: I578cf11d519de7ee3ad0101d31ba2458cf083ae6
Signed-off-by: default avatarSunid Wilson <sunidw@codeaurora.org>

commit da3e5bdcb8bbe375ddcf0030e5d8170c85f83abd
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Tue May 31 22:18:39 2011 -0700

    camera: Implement demosaic module v3.

    Change-Id: I6014f5925965e61c10d3f2dbe9745cfb68d6f926
Signed-off-by: default avatarShuzhen Wang <shuzhenw@codeaurora.org>

commit 2e6cadbab0e0dc44f2a5f5a5a199d7cbba1547d4
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Mon Jun 13 22:25:20 2011 -0700

    camera: v4l2: Fix video streaming for vfe 3.2.

    - Check vpe_ctrl pointer before dereferencing it.
    - Add STOP_REC_ACK to notify user space.

    Change-Id: Iec41a1d75c917d70a1084cda9ab5dad1ec78f6ef
Signed-off-by: default avatarShuzhen Wang <shuzhenw@codeaurora.org>

commit e1962d0fd06d86dc26e41e065c7da301a2d3288d
Author: Manogna Reddy Alle <cmalle@codeaurora.org>
Date:   Wed Jun 15 19:02:03 2011 +0530

    msm camera: configure ov9726 only at initialization

    The sensor was getting configured for every mode change,
    It has to be configured only during the initialization.
    update the sensor driver to configure only during initialization

    Change-Id: Ia8161da55b4dd04683f402596b9d63c73fb1c244
    CRs-Fixed: 291502
Signed-off-by: default avatarManogna Reddy Alle <cmalle@codeaurora.org>

commit f521ef6c4402895abcfc46520db9dd6be81c28b5
Author: Sunid Wilson <sunidw@codeaurora.org>
Date:   Wed Jun 15 16:23:54 2011 -0700

    msm: camera: Clean up during open failure

    Updated the reference count when open fails and did
    proper cleanup.

    CRs-Fixed: 287648
    Change-Id: I8d7b9b883b610fc566af055dae89f3ae87653798
Signed-off-by: default avatarSunid Wilson <sunidw@codeaurora.org>

commit 6ace0599e73d2657a5d8f5604e1321a4115b4d7c
Author: Lakshmi Narayana Kalavala <lkalaval@codeaurora.org>
Date:   Thu Jun 9 17:51:01 2011 -0700

    msm: camera: Get rid of unused skin stats

    Remove usage of skin stats and update the offsets
    for other stats masters

    Change-Id: I966afacaf9a5c48c8ae13fb24b11910e42c38571
Signed-off-by: default avatarLakshmi Narayana Kalavala <lkalaval@codeaurora.org>

commit 3df728760b1b0c0804d7e2af8f61e6fe2d74e4ab
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Mon Jun 13 22:15:01 2011 -0700

    camera: v4l2: Keep imx074_ctrl at release.

    imx074_ctrl is allocated during probe, not s_init. This means
    s_release function shouldn't deallocate imx074_ctrl struct,
    because s_release is called everytime camera exits.

    Change-Id: I2ba98e8046e4bb5845016edbf971cdd13d03e7aa
Signed-off-by: default avatarShuzhen Wang <shuzhenw@codeaurora.org>

commit ba040beed975789caeb34129c605b787d4eeb7a0
Author: Kalyani Oruganti <kalyanio@codeaurora.org>
Date:   Wed Apr 13 11:19:28 2011 -0700

    camera: MT9D113 camera driver support.

    QT 8660 Front camera MT9D113 (2MP YUV)
    sensor driver support.

    Change-Id: Id486fd6fcff50a6a90e8145151a9ca016c34383e
Signed-off-by: default avatarKalyani Oruganti <kalyanio@codeaurora.org>

commit 366ebb3a6482f7f42997cb17caf876ee638eb504
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Sun May 22 21:56:01 2011 -0700

    msm: camera: Update exposure settings for imx072

    Reduced pclk to run at 30fps
    Use snapshot frame length line for snapshot exposure gain calculations

    Change-Id: Id7037c6b02473270e63060dbb6c3bcf02540d22b
Signed-off-by: default avatarKevin Chan <ktchan@codeaurora.org>

commit 55e656e68cac78eaa367341df2e693a483a53f84
Author: Stepan Moskovchenko <stepanm@codeaurora.org>
Date:   Mon Jun 6 14:34:38 2011 -0700

    drivers: barriers: Replace dsb() with mb()

    Replace explicit dsb() calls with mb(). Now that the
    generic ARM implementation defines mb() to mean (at least)
    dsb(), it is appropriate to switch back to the generic
    kernel version of the barriers. This is also needed for
    correctness on certain targets (such as 7x27) where dsb()
    is insufficient and other operations (such as outer cache
    sync or writing to strongly-ordered memory) are required to
    ensure proper I/O operations ordering. In some cases,
    remove explicit calls to outer_sync following a barrier
    since the barrier will now have an explicit outer_sync
    call.

    Change-Id: I2c53b8534af9c3cbac4d4d77b322f897a39e7758
Signed-off-by: default avatarStepan Moskovchenko <stepanm@codeaurora.org>

commit b193e63544f9bb9123c5f774ad48546df2473655
Author: Nishant Pandit <npandit@codeaurora.org>
Date:   Sat Jun 11 02:27:29 2011 +0530

    msm: Fix snapshot issue and reduce 3d sensor power

    Reduce the data rate for 3d mode and vary the blanking to
    achieve 30FPS for preview and 15FPS for snapshot. This also
    fix snapshot stability issue as we increase blanking for snapshot

    CRs-Fixed: 289516
    Change-Id: I40f88cb0673569a34929512282ef905e6b93b867
Signed-off-by: default avatarNishant Pandit <npandit@codeaurora.org>

commit ba4288e19eef7c81d64bc08a6ab866b4ffc21682
Author: Sandeep Kodimela <skodimela@codeaurora.org>
Date:   Wed Jun 8 18:42:46 2011 +0530

    msm: camera: Fix preview flickering issues

    Use vertical strech instead of horizontal stretch
    to implement linear AFR.

    CRs-Fixed: 289424
    Change-Id: I719c43ec25d892754fb95a7242d83c9dd05ac0a0
Signed-off-by: default avatarSandeep Kodimela <skodimela@codeaurora.org>

commit 6cff1bdd1847c3565b2e2f0f44cb01359dcd6946
Author: Ankit Premrajka <ankitp@codeaurora.org>
Date:   Thu Jun 9 10:54:47 2011 -0700

    msm: v4l2: clear pcam_inst pointer array in pcam during close

    Change-Id: Ic286889bb3d63e7c458d1ca759f078946fa8145a
Signed-off-by: default avatarAnkit Premrajka <ankitp@codeaurora.org>

commit 54b62d49752c89c26c34b8b78c9680725aa8cc96
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Tue May 31 18:43:02 2011 -0700

    msm: camera: Add ldo16 regulator to power up sensor actuator

    Ldo16 is need for i2c to  camera sensor actuator.

    Change-Id: I1dabc2ad7dbf2f1f02a9afb0a24ef17651934cf7
Signed-off-by: default avatarKevin Chan <ktchan@codeaurora.org>

commit e9ae0f93eafec0f16207c777daabde7f29189580
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Wed Jun 1 17:30:44 2011 -0700

    camera: Use msm_cam_evt_msg to pass VFE events/messages.

    v4l2_event structure isn't big enough to hold all possible
    VFE events/messages. The solution is to store the events/
    messages in a separate buffer, and maintain a pointer in
    msm_cam_evt_msg.

    Change-Id: I620bf4f4cad34654336928ee06514bfe4ede15ff
Signed-off-by: default avatarShuzhen Wang <shuzhenw@codeaurora.org>

commit e62a695b34d358ba28bfc9bbb89d572567b5f094
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Thu Jun 2 16:41:54 2011 -0700

    msm: ispif: Reset during initialization.

    Ispif needs to be reset during initialization.
    Otherwise, after switching sensor, it will be in
    unknown state.

    Change-Id: I833bfc43aefb7f7fef5324d1683836961e8b2ecf
Signed-off-by: default avatarShuzhen Wang <shuzhenw@codeaurora.org>

commit 8f4e37a1bbcba2be1d589758d99087eebb151715
Author: Ankit Premrajka <ankitp@codeaurora.org>
Date:   Tue May 31 12:18:45 2011 -0700

    msm: v4l2: sensor subdev notifies for ISPIF config

    Instead of doing the ispif configuration during csid
    config, the sensor notifies the driver to do the same.
    Also, in the imx074 sensor file, the global ctrl
    structure was being allocated twice which was causing
    an overwrite. This problem is now fixed with this change.

    Change-Id: I76c3ea38573cc7474a9dcca556bc7df282aaf85e
Signed-off-by: default avatarAnkit Premrajka <ankitp@codeaurora.org>

commit 5aee9b6d17dce88c83329123e530b9fb1ec7bf36
Author: Ankit Premrajka <ankitp@codeaurora.org>
Date:   Wed Jun 1 11:11:17 2011 -0700

    msm: v4l2: register vfe subdev only on first open

    Change-Id: I82b2074ab58742217bc64c488020d3713477597a
Signed-off-by: default avatarAnkit Premrajka <ankitp@codeaurora.org>

commit e5e88e885d7050a5ac2624329fef956073e2b37d
Author: Nishant Pandit <npandit@codeaurora.org>
Date:   Tue May 31 09:22:18 2011 +0530

    msm: camera: Optimise the qs_s5k4e1 sensor for power

    Turn off the GPIO Controller, Reset Controller and Sensor Clock
    when in 2D Mode to save power.

    Change-Id: I99e7370a90a12a832e70703925a976134c00fc69
Signed-off-by: default avatarNishant Pandit <npandit@codeaurora.org>

commit 27025d8fc05c486252c023ec5c52383992796957
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Thu May 26 15:21:50 2011 -0700

    camera: Avoid releasing isp and sensor subdevs multiple times.

    Only after all msm instances are freed, the isp and sensor
    subdevs should be released.

    Change-Id: I18e7e98f9b46b2c4319241a9977463401553410e
Signed-off-by: default avatarShuzhen Wang <shuzhenw@codeaurora.org>

commit 206bf3f69c033e413aaaf24933decb51a8fec66d
Author: Suresh Vankadara <svankada@codeaurora.org>
Date:   Tue May 24 15:20:02 2011 +0530

    msm: camera: Add mount angle support to sensors

    Mount angle is defined in the board file for each
    sensor and it is used by sensor driver at sensor
    initialization.

    CRs-Fixed: 289035
    Change-Id: I432b5579a6af4ea1c48aae3c0d7b5dd7c7d3ccb5
Signed-off-by: default avatarSuresh Vankadara <svankada@codeaurora.org>

commit ab6acbbc39df627fe36fa7aa006b68a171be4fe1
Author: Nagesh Subba Reddy <nageshsreddy@codeaurora.org>
Date:   Tue May 24 12:13:34 2011 -0700

    msm: camera: Added Bus bandwidth numbers for stereo cam

    Added bus bandwidth numbers the stereocam and corrected
    the ab/ib values for all the use cases. Previous bandwidth
    calculations were based on the VFE output and now all calculation
    are based on VFE input. Also adjustment factor
    (mis-alignment, priority, burst length) is taken into account.

    Change-Id: Idddc132031882826cd9235c594cd1e5dc1433a1f
Signed-off-by: default avatarNagesh Subba Reddy <nageshsreddy@codeaurora.org>

commit 400fb5193e6f5b3cec0959c85f99ccbf6d0c1145
Author: vkondra <vkondra@codeaurora.org>
Date:   Fri May 13 10:34:48 2011 +0530

    msm: Add snapshot postprocessing support for 7x27a

    Update the Snapshot and Thumbnail payload constants
    to support Wavelet Denoising feature.

    Change-Id: I119912c701e3388699c5b557358529f485886143
Signed-off-by: default avatarVamshidhar Kondra <vkondra@codeaurora.org>

commit 4f3eed7b231db08296a5663d5c22e4d39be3ec10
Author: Nagesh Subba Reddy <nageshsreddy@codeaurora.org>
Date:   Thu May 19 16:03:36 2011 -0700

    msm: camera: Release sensor and clock in error case.

    Release sensor and clock in error case.
    Clean up of the event queue while msm_release to handle special
    case where config thread was never opened.

    Change-Id: Ie581691fc7d8b60da10ecaf8a60e386bca6dfa5e
    CRs-Fixed: 287648
Signed-off-by: default avatarNagesh Subba Reddy <nageshsreddy@codeaurora.org>

commit c6a4d42d0afc7418e801f5d16c4765d9413e6743
Author: Ankit Premrajka <ankitp@codeaurora.org>
Date:   Mon May 16 16:22:22 2011 -0700

    msm: v4l2: turn sensor clock off upon exit

    We need to turn clocks off upon camera exit.
    Clock management was ignored in the initial
    version of the V4L2 driver code.

    Change-Id: I72ac64b5d6b532642bd1cee16208c3978cc416bc
Signed-off-by: default avatarAnkit Premrajka <ankitp@codeaurora.org>

commit 3c11dee0fdd6cc31f28e052a93d1b5d27e47792e
Author: Ankit Premrajka <ankitp@codeaurora.org>
Date:   Thu Mar 31 15:32:00 2011 -0700

    msm: v4l2: V4L2 multi buffer for video and snapshot.

    Enable multi buffer queues and pcam instances for
    snapshot and video integration.

    Change-Id: Ifa16c17df414bbd204243bf80e95f32c002fcbd0
Signed-off-by: default avatarAnkit Premrajka <ankitp@codeaurora.org>

commit 4745eb4ce9da2c32117c96dce27f4f1b43d24597
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Fri May 20 17:43:25 2011 -0700

    camera: 8960: Initial support for ov2720

    Initial support for ov2720 using msm_sensor

    Change-Id: I61f60af08873b5f572d3b24591120081439fd3e5
Signed-off-by: default avatarKevin Chan <ktchan@codeaurora.org>

commit 0094cfbbc5789a6919f16a9c6201cb79382f31c2
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Fri May 20 12:38:18 2011 -0700

    msm: camera: Update camera regulator APIs for new framework

    Change-Id: Idff3030965e3f518e48552560e771d3d7042ea9a
Signed-off-by: default avatarNishant Pandit <npandit@codeaurora.org>
Signed-off-by: default avatarKevin Chan <ktchan@codeaurora.org>

commit 1b6a50fb2c7f120ec34494f9d8a0abbbf32e0fca
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Tue May 17 18:01:30 2011 -0700

    msm: camera: Initial Support for camera sensor IMX074 on 8960

    Added 8960 csid/csiphy support to sensor driver file

    Change-Id: I0a0537ff98c86776c16fcaeaabd281dd78b667e2
Signed-off-by: default avatarKevin Chan <ktchan@codeaurora.org>

commit 6d7f475e8e4d40c0a787c7e1f2fe7e57a4d84929
Author: Nagesh Subba Reddy <nageshsreddy@codeaurora.org>
Date:   Wed May 18 16:19:40 2011 -0700

    msm: camera: Consolidate VFE messages for performance improvement

    Change-Id: I7c8afa619824bbbb188e60b2b78d5ccd13f9b12f
Signed-off-by: default avatarNagesh Subba Reddy <nageshsreddy@codeaurora.org>

commit b0b6cafdf770b17adebb5afa611254bec7dee980
Author: Kalyani Oruganti <kalyanio@codeaurora.org>
Date:   Fri May 20 11:31:40 2011 -0700

    camera: Fix the set_fps API to support full size preview.

    The set_fps API is fixed so that for the fps calculation,
    the full size lines per frame is used instead of qtr size
    lines per frame.

    Change-Id: I5a066da2f413cad6dad09a5b099c56c7b4f959bc
    CRs-fixed: 288609
Signed-off-by: default avatarKalyani Oruganti <kalyanio@codeaurora.org>

commit dc253e7630458fd99562228f7f19383617f3bc80
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Mon May 16 19:34:15 2011 -0700

    msm: camera: msm io file updates

    Disabled csid, csiphy, ispif interrupts, only enable for debug purpose
    Fixed bug with calculating the 4 lane register settings

    Change-Id: I495335c820ebf9083a472d31757ddfa1ba0dfcd0
Signed-off-by: default avatarKevin Chan <ktchan@codeaurora.org>

commit 599bbfbdcf6fe4633cf5332c5634af80b89a4e5c
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Mon Mar 28 22:10:48 2011 -0700

    camera: Update strobe flash irq trigger condition

    Change irq trigger from falling edge to rising edge
    for newer strobe flash hardware.

    Change-Id: I1492c4aba85695a3f22505663b01c885c5990d71
Signed-off-by: default avatarKevin Chan <ktchan@codeaurora.org>

commit 27bb554c82ee866779da570ec1825b097e6a26c1
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Tue May 10 14:06:27 2011 -0700

    camera: Correct clock enable/disable sequence for 8960.

    Change-Id: Icfa4942c0ab3556c85ca6f5b5132b979b21a7818
Signed-off-by: default avatarShuzhen Wang <shuzhenw@codeaurora.org>

commit fa99e19538e4fc70f8db23f41ac875f7f1de7617
Author: Nagesh Subba Reddy <nageshsreddy@codeaurora.org>
Date:   Thu May 19 14:43:17 2011 -0700

    msm: camera: Request bus bandwidth based on the use case.

    Change-Id: I8367ed370e40bab656766b0e28f2e974aca06bf8
Signed-off-by: default avatarNagesh Subba Reddy <nageshsreddy@codeaurora.org>

commit d31c57f17f60d6ec64710d20904dc80746c22b79
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Mon Apr 25 21:10:56 2011 -0700

    msm: camera: Initial commit for msm sensor

    Standardize camera sensor structures and functions.
    Moved common sensor functions to msm_sensor.c

    Change-Id: I33be1ced9f696d5d8f20ea434fc7a3230f40686b
Signed-off-by: default avatarKevin Chan <ktchan@codeaurora.org>

commit e073b62b6b538a6f04f0c21049f2cf3963a052a7
Author: Nagesh Subba Reddy <nageshsreddy@codeaurora.org>
Date:   Tue May 10 18:32:47 2011 -0700

    msm: camera: Programmable VFE output channels from user space.

    Change-Id: Id32b891822c558c686b9dd43596d1eaa138c02b6
Signed-off-by: default avatarNagesh Subba Reddy <nageshsreddy@codeaurora.org>

commit 8628c05467524ea5d63016bb9b2d101bd526694f
Author: Suresh Vankadara <svankada@codeaurora.org>
Date:   Wed May 18 18:02:27 2011 +0530

    msm: camera: Pulldown sensor reset pin for s5k4e1 sensor

    pulldown sensor reset pin in the release function of
    s5k4e1 sensor.

    Change-Id: I14165318b38b5b45e39329b9129ec6750c74a2c2
Signed-off-by: default avatarSuresh Vankadara <svankada@codeaurora.org>

commit 4d23e46d20f78bbcb3890c7d4f0d15ab7cb9c6c0
Author: Sunid Wilson <sunidw@codeaurora.org>
Date:   Thu May 5 20:59:18 2011 -0700

    msm: gemini: Fix gemini freeze issue if output size estimation is improper

    Update the pong address to fix gemini freeze issue when output size
    estimation is improper.

    Change-Id: Ief02e8b326e350d21af5c777cf411a6ceb033bd8
Signed-off-by: default avatarSunid Wilson <sunidw@codeaurora.org>

commit 19a2337c2e36dbf698409cff9ad30d76d456786b
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Mon May 16 15:40:04 2011 -0700

    camera: Programmable VFE 3.2 output channels from users space.

    Change-Id: I218e9be606bd8f81583113cccef5469b42d478b8
Signed-off-by: default avatarShuzhen Wang <shuzhenw@codeaurora.org>

commit ffe5bfa80736b36796d4e9d5c1ece8149c66cd9f
Author: Jeyaprakash Soundrapandian <jsound@codeaurora.org>
Date:   Thu May 12 16:09:51 2011 -0700

    camera: Autofocus driver and tuning parameters for imx072 sensor

Signed-off-by: default avatarJeyaprakash Soundrapandian <jsound@codeaurora.org>
    Change-Id: I34b43c16d268b8270f5a8104d5ff87cae7808469

commit 41276a4eae90850802b07ceeab3c37465819583d
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Wed May 4 13:57:58 2011 -0700

    camera: Initial implementation of vfe subdev.

    Refactor VFE 3.2 code to v4l2 sub device. All function
    calls into VFE go through core::ioctl subdev call,
    and VFE messages/events are passed out by notify function.

    Change-Id: I2848bb01b0142ab21dfc3813db87a8b6ad75200d
Signed-off-by: default avatarShuzhen Wang <shuzhenw@codeaurora.org>

commit af515ae190f6812c7caf05e3db7d1dfcbf0095e0
Author: Nagesh Subba Reddy <nageshsreddy@codeaurora.org>
Date:   Wed May 11 17:10:00 2011 -0700

    msm: camera: Enable Out of order AXI write for VFE and VPE

    Change-Id: I3ff788ba35772b2e6cb95f82949e4b21148d338c
Signed-off-by: default avatarNagesh Subba Reddy <nageshsreddy@codeaurora.org>

commit 8fad2faa8a987fc31ec7d8afd81a7d9786b42047
Author: D.V.N. Sravan Kumar <sravank1@codeaurora.org>
Date:   Thu May 5 18:13:17 2011 +0530

    msm: camera: Correct maximum allowed gain for OV9726 sensor

    Maximum allowed exposure gain for OV9726 sensor
    is 255. Limiting it to 223 (<0xE0) causes dark
    images in cases where maximum gain is required.

    CRs-Fixed: 284172
    Change-Id: Ifcbd0efa36deb5ba6eab5518460f3c56f9ca2275
Signed-off-by: default avatarD.V.N. Sravan Kumar <sravank1@codeaurora.org>

commit 9ac4c498a6046cb4ba68c5382e7a123e79398665
Author: Suresh Vankadara <svankada@codeaurora.org>
Date:   Fri May 13 14:25:32 2011 +0530

    msm: camera: Fix for exposure gain

    Update line_length_pck for exposure gain to work in
    samsung 5mp sensor driver.

    Change-Id: I0db68e85c8994005bff158066ab08e7a27e70355
Signed-off-by: default avatarSuresh Vankadara <svankada@codeaurora.org>

commit 71367c79ef237eabdaefddd818a0a31241e09aa3
Author: Sunid Wilson <sunidw@codeaurora.org>
Date:   Wed May 11 12:19:40 2011 -0700

    msm: camera: Support for dynamic preview format switch

    Changes for updating the XBar config on demand to
    support dynamic preview format switch.

    Change-Id: I95236ac81129d02e2fe00e5aacc6138e8c26c286
Signed-off-by: default avatarSunid Wilson <sunidw@codeaurora.org>

commit f02545235282df44dd808c523d0ec9c04be6d4fe
Author: Sunid Wilson <sunidw@codeaurora.org>
Date:   Thu May 12 12:47:39 2011 -0700

    msm: gemini: Remove PMEM reference for input buffer

    Remove PMEM reference for input buffer to prevent PMEM
    leak during error case.

    Change-Id: Ice589aa242cd7dc093cee5ad7b60a2cf5b138ab0
Signed-off-by: default avatarSunid Wilson <sunidw@codeaurora.org>

commit ffa9e95e943eb8d7204485ef65ebcbf88713ca85
Author: Suresh Vankadara <svankada@codeaurora.org>
Date:   Thu May 5 12:40:59 2011 +0530

    msm: camera: Add support to IMX072 sensor

    Add support to Sony 5MP IMX072 2 lane MIPI sensor

    Change-Id: I63e36749124f5c3f4ccd116d528ae5accc21f435
Signed-off-by: default avatarSuresh Vankadara <svankada@codeaurora.org>

commit f0bbcfab0b78152664ea44833ac18779ea58b79c
Author: Suresh Vankadara <svankada@codeaurora.org>
Date:   Thu May 5 12:17:34 2011 +0530

    msm: camera: Add features to msm_camera for 7x27a

    Support is added for the following features
    1. Flash support
    2. Auto Focus
    3. 30fps support to s5k4e1
    4. MT9E013 support

    Change-Id: I4dab3ddac883efa760b19718a52d4f7a2fc2d6a0
Signed-off-by: default avatarSuresh Vankadara <svankada@codeaurora.org>

commit e3251b0d52c93a10995ad28bac936046c311c7ac
Author: Sunid Wilson <sunidw@codeaurora.org>
Date:   Wed May 4 14:27:27 2011 -0700

    msm: camera: VPE on demand support

    Added support for
    1) enabling/disabling the VPE during recording.
    2) state machine for VFE and VPE during recording.
    3) transition logic during stop recording.
    4) VPE turbo mode for 1080p+DIS.

    Change-Id: Id562c3c9da6269e267eb776656faa498433522ee
Signed-off-by: default avatarSunid Wilson <sunidw@codeaurora.org>

commit d5f1ff1a846af43161820d73f1dde26260b5dddc
Author: Ankit Premrajka <ankitp@codeaurora.org>
Date:   Mon Apr 25 09:01:37 2011 -0700

    msm: v4l2: implement sensor subdev notify

    Implemented code for subdev notify through media controller.
    Also, introduced ispif function pointer structure to be
    used by the notification function in media controller.

    Change-Id: I2241798239febe03a94cbcb1c2de616961ac6ab1
Signed-off-by: default avatarAnkit Premrajka <ankitp@codeaurora.org>

commit 133fea74525f8d00ce4b6d40a440cdb641cc7cea
Author: Sunid Wilson <sunidw@codeaurora.org>
Date:   Thu Apr 21 12:13:34 2011 -0700

    msm: camera: Postprocessing framework changes

    Updated the post processing framework for HDR feature.

    Change-Id: I9388f8f6d4ad60e0aba878c059fab26edca145c9
Signed-off-by: default avatarSunid Wilson <sunidw@codeaurora.org>

commit 211a405aa80db1c3a9a0574a76099d9881a34205
Author: Nishant Pandit <npandit@codeaurora.org>
Date:   Wed Apr 20 06:55:18 2011 +0530

    msm: camera: Fix the max fps issue for 3D mode in bright light

    In 3D Mode, maximum FPS observed in bright light was 25.5 with
    10 Bit format. This issue is fixed by switching to 8 Bit format.
    Also added the default lens shade table and updated the lens shade
    parameters.

    CRs-fixed: 285454
    Change-Id: Ie14f120f7728cb5044b5e499d4beee19bb5b018c
Signed-off-by: default avatarNishant Pandit <npandit@codeaurora.org>

commit bdcd816b6b3d15fa3887121ba53cb086cc300493
Author: Rajakumar Govindaram <crajaku@codeaurora.org>
Date:   Thu Apr 28 17:23:55 2011 -0700

    msm: 8660: Auto focus parameters tuned for S5K4E1 camera sensor.

    Change-Id: I3ed6a48d945a58e12b10df09202afbcde8deb77d
Signed-off-by: default avatarRajakumar Govindaram <crajaku@codeaurora.org>

commit ccc917d272380c341c7462d081087b6ad18bed26
Author: Srinivasan Kannan <srinkann@codeaurora.org>
Date:   Wed Apr 27 16:35:29 2011 -0700

    msm: jpeg: Reset buffer status when output buffer queue is empty

    Reset buffer status for output buffer obtained from encoder
    when output buffer is empty

    Change-Id: Ifdc7356f9ad65af47335ec9d8bf5ab2d25369fb6
Signed-off-by: default avatarSrinivasan Kannan <srinkann@codeaurora.org>

commit a3fcdba4e202a81f32a068ca6e8017419075916a
Author: Sunid Wilson <sunidw@codeaurora.org>
Date:   Thu Apr 28 12:07:41 2011 -0700

    msm: gemini: Set IJpeg clock to 228MHz

    Set IJpeg clock to 228MHz from 144MHz.

    Change-Id: Ibb1dbc7890b50113c4b0318aa4669d7f04bc0cad
Signed-off-by: default avatarSunid Wilson <sunidw@codeaurora.org>

commit b11e983a51535b702e25cfdaec4e26c63a6f7300
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Thu Apr 21 18:46:43 2011 -0700

    msm: camera: Reduce vfe clock for mt9e013 sensor

    Reduce vfe clock required for regular mode
    Only increase vfe clock in hfr 120fps mode

    Change-Id: I9d2553cdd91d23ce4bcac792361ecae1881af0cc
Signed-off-by: default avatarKevin Chan <ktchan@codeaurora.org>

commit cc2879aec041fc313ee3e40300fc1688db3c6154
Author: Sunid Wilson <sunidw@codeaurora.org>
Date:   Wed Apr 27 17:07:15 2011 -0700

    msm: camera: Update memory barriers

    Removed the memory bariers while enabling write masters.
    Enabled memory barrier for DMI operations. Removed
    unnecessary reads

    Change-Id: Ib9bc9c3454cf8e369162e9ce632d4593ea3b2c46
Signed-off-by: default avatarSunid Wilson <sunidw@codeaurora.org>

commit 7a35826ae448f47d871d6a38cf8cc99f196fc990
Author: Ujwal Patel <ujwalp@codeaurora.org>
Date:   Wed Apr 20 19:21:10 2011 -0700

    msm: camera: Support for more 3D camera features.

    support for following new 3D camera features have been
    added.
    1. 3D Digital Zoom for snapshot and video recording.
    2. 3D Quality Indicator for preview and video recording.
    3. Framework changes to support 3D 1080p video recording.

    Change-Id: I17996756ad5f27a3b12cb356ba01f1e493fa3056
Signed-off-by: default avatarUjwal Patel <ujwalp@codeaurora.org>

commit 4fcad1c781dd427195c79a4519908f997c5583cf
Author: Nishant Pandit <npandit@codeaurora.org>
Date:   Wed Apr 27 03:17:41 2011 +0530

    msm: Disable Vfe Rolloff for 3D Sensor

    Update camera sensor info structure with support_3d variable
    which is passed to user space to determine whether to enable
    or disable VFE RollOff.

    Change-Id: Ic74aec61bca64b5380ed4cefdb4401b563e9948a
Signed-off-by: default avatarNishant Pandit <npandit@codeaurora.org>

commit e72785e98dedf3619c43bf4f3fac74fca7b88d1b
Author: Suresh Vankadara <svankada@codeaurora.org>
Date:   Wed Mar 9 16:22:00 2011 +0530

    camera: 7x27a: Initial support for ov9726 and MT9E013

    Add support to ov9726 and MT9E013 sensors for 7x27a
    target.

    Change-Id: Ie957832e06e4c847190bbf4f70c476c9af9b1c8d
Signed-off-by: default avatarSuresh Vankadara <svankada@codeaurora.org>

commit 6b80ece46eb37db466495a55aa92ba89d33a77a9
Author: Suresh Vankadara <svankada@codeaurora.org>
Date:   Wed Mar 2 17:55:33 2011 +0530

    msm: camera: Add support to S5K4E1 sensor.

    Add support to samsung 5MP sensor. It supports
    2 MIPI lanes and auto focus.

    Change-Id: Ic92b152dfdac057d37ad39475bfb8189959275d7
Signed-off-by: default avatarSuresh Vankadara <svankada@codeaurora.org>

commit 591b18883bd6c38b3bbe055551a2c9ec53cc3538
Author: Suresh Vankadara <svankada@codeaurora.org>
Date:   Tue Feb 15 17:06:01 2011 +0530

    msm: camera: Camera IO driver changes for 7x27a.

    IO driver handles MIPI CSI interface and Camera
    clocks.

    Change-Id: Iac5d4f8efa00fb3a01dbe98491d781e51544a94c
Signed-off-by: default avatarSuresh Vankadara <svankada@codeaurora.org>

commit 7c8dda2c4b248c9d2f549a46fa76934c1874cf38
Author: Suresh Vankadara <svankada@codeaurora.org>
Date:   Thu Feb 10 11:01:28 2011 +0530

    msm: camera: Add support to VFE driver for 7x27a.

    VFE driver interacts with the VFETASK in ADSP. It handles
    the communication with this task. It sends the commands
    to VFETASK and processes the messages received from
    VFETASK and dispatches them to msm_camera. It also
    handles the voting of required ebi1_vfe_clk rate based
    on preview and snapshot requirements.

    Change-Id: I592a8d1560a77498e0ed09fd6fd2ddbade73eea3
Signed-off-by: default avatarSuresh Vankadara <svankada@codeaurora.org>

commit 095cd839617ecc9d3413a65208eb275a8144f04b
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Tue Apr 19 12:09:44 2011 -0700

    gemini: Enable jpeg encoder for 8960.

    Change-Id: I8a34c6189ab8d4bef9dde87d9523b064080dcad6
Signed-off-by: default avatarShuzhen Wang <shuzhenw@codeaurora.org>

commit c0f5837409230b179c31bee539305800b783331f
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Mon Apr 18 23:38:44 2011 -0700

    msm: camera: Fix sensor mt9e013 snapshot noise issue

    Disable summing mode in preview settings, so the sensitivity
    for preview and snapshot settings are the same and
    coarse intergration time can be reduced for snapshot mode.

    Change-Id: Ia540e7b17f2bbe067200cc533a0aa0517856728b
    CRs-fixed: 281227
Signed-off-by: default avatarKevin Chan <ktchan@codeaurora.org>

commit 1e7bdcec4bf565f65b42c83fab96acd2ac6d5dde
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Wed Apr 20 22:45:53 2011 -0700

    msm: camera: 8960: Initial support for sensor ov2720

    Driver for secondary POR sensor on 8960

    Change-Id: Ie0ec86ab90dfad1348f1809ccd0eec7b2b259a41
Signed-off-by: default avatarKevin Chan <ktchan@codeaurora.org>

commit 5f5ed82c042615334938743169872d6d42fa1c10
Author: Ankit Premrajka <ankitp@codeaurora.org>
Date:   Wed Apr 6 14:36:33 2011 -0700

    msm: Compile V4L2 camera in 8960

    Change-Id: I9dc25a49d3ddc41df22f1598e998ac57704775d0
Signed-off-by: default avatarAnkit Premrajka <ankitp@codeaurora.org>

commit 075cdb154e92a5fc6017c47b6aced4eb65071414
Author: Ankit Premrajka <ankitp@codeaurora.org>
Date:   Fri Apr 15 16:18:09 2011 -0700

    msm: Remove pmem code dependency in V4L2 camera driver

    This change is being made because PMEM won't
    be included in 8960 kernel.

    Change-Id: I2ab92c4973ee367f528758874776f607f0d85a26
Signed-off-by: default avatarAnkit Premrajka <ankitp@codeaurora.org>

commit 39a431b383ee8eb54fe358b4fed1881295942096
Author: Ankit Premrajka <ankitp@codeaurora.org>
Date:   Fri Apr 15 16:15:00 2011 -0700

    msm: v4l2: 8960 V4L2 kernel re-architecture

    Change-Id: I144053e1a9a30c360a21b5dd1da4e3ca4b7241b3
Signed-off-by: default avatarAnkit Premrajka <ankitp@codeaurora.org>

commit 034ea050bdfbc1785f33ae770db16a2ff5eb94e5
Author: Nagesh Subba Reddy <nageshsreddy@codeaurora.org>
Date:   Fri Apr 15 14:13:23 2011 -0700

    msm: camera: Support for High frame rate recording

    Change-Id: I323b6dce90cf2d29d6baf91d9d6a5e8decc0d344
Signed-off-by: default avatarNagesh Subba Reddy <nageshsreddy@codeaurora.org>

commit ccc3dd2ac763b2c61676ae38cd6571b206170e88
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Mon Apr 4 12:33:46 2011 -0700

    camera: 8960: Initial implementation of vfe32.

    Implement basic preview functionality of vfe32 on 8960.

    Change-Id: I2a3dccbba803c599d8f3107eaf3692ce01240298
Signed-off-by: default avatarKevin Chan <ktchan@codeaurora.org>
Signed-off-by: default avatarShuzhen Wang <shuzhenw@codeaurora.org>

commit 85bb76f4640b27bb34fea996fd55e66459227c31
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Wed Apr 6 17:57:36 2011 -0700

    camera: 8960: Initial commit for msm_io_8960

    Add clocks, csiphy, csid functions

    Change-Id: I52c56498246d59685645936e5aea0668b48cd4e4
Signed-off-by: default avatarKevin Chan <ktchan@codeaurora.org>

commit 5a71d4a0c81683c078506130d3bf4ea61ee05a15
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Mon Apr 4 12:14:37 2011 -0700

    camera: 8960: Initial support for ispif

    Initial support for ispif

    Change-Id: Ia7ca8f8797e0d77dbd037736bf1fac34ac7c3f55
Signed-off-by: default avatarNishant Pandit <npandit@codeaurora.org>
Signed-off-by: default avatarAnkit Premrajka <ankitp@codeaurora.org>
Signed-off-by: default avatarKevin Chan <ktchan@codeaurora.org>

commit c23977d023044c77e6c8c92fa3a28c2eb5b41eef
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Thu Mar 24 03:35:38 2011 -0700

    camera: Support for 60 & 120 fps in MT9E013 Sensor

    Added HFR support in MT9E013 Sensor
    Added HFR structure in msm_camera.h

    Change-Id: I7782992f95511598f7ea01790b4751f7d5a376bc
Signed-off-by: default avatarKevin Chan <ktchan@codeaurora.org>

commit 3883f584e3a2f383d12abb185fc092a86fb23008
Author: Nagesh Subba Reddy <nageshsreddy@codeaurora.org>
Date:   Mon Apr 18 13:02:30 2011 -0700

    msm: camera: Fix for pmem lookup error due to buffer mismatch

    Read the ping pong status of the hardware in ISR rather
    then while executing the tasklet.

    CRs-Fixed: 282473
    CRs-Fixed: 277971

    Change-Id: I2e9a7e39a99983e0c854f0502b30f4ba96e890df
Signed-off-by: default avatarNagesh Subba Reddy <nageshsreddy@codeaurora.org>

commit e5733c123812fccf6ef0b95103c490a5b4217c3d
Author: Srilakshmi Punuru <spunur@codeaurora.org>
Date:   Wed Apr 13 14:48:58 2011 +0530

    Revert "msm: camera: Enable/Disable VPE on demand for Power optimization"

    This reverts commit 0167f57b17eaeb1602bbedca822dcec2e7940441.

    Change-Id: I540674caeda1b341a73dfda20cb825db1c6e26cf
Signed-off-by: default avatarSrilakshmi Punuru <spunur@codeaurora.org>

commit 6966ea7e83a2fc515f23c51991bc2f5b111ecbcf
Author: Manogna Reddy Alle <cmalle@codeaurora.org>
Date:   Mon Apr 11 12:05:39 2011 +0530

    msm: Camera: Fix for raw snapshot issue

    Initializing y_offset and cbcr_offset for both OUTPUT_2
    and OUTPUT_1_AND_2.

    CRs-Fixed: 282554
    Change-Id: I96b70da61ed8622a95411016efe70e54af768e2b
Signed-off-by: default avatarManogna Reddy Alle <cmalle@codeaurora.org>

commit 29335f571f3769ceba47a4f556961490ef4ac9b5
Author: Rajakumar Govindaram <crajaku@codeaurora.org>
Date:   Thu Apr 7 18:22:55 2011 -0700

    msm: camera: Add support for platform specific mount angle

    The camera preview Fluid is rotated due to mount angle
    variation between fluid and FFA.

    Change-Id: I7bb8d5f11285ab5009793fa268a097ddd06a75e5
Signed-off-by: default avatarRajakumar Govindaram <crajaku@codeaurora.org>

commit 76e1e5e7b1f39096e10c19faedfbf7d9010f17f5
Author: Sunid Wilson <sunid@codeaurora.org>
Date:   Mon Apr 4 12:46:53 2011 -0700

    msm: camera: Enable/Disable VPE on demand for Power optimization

    Added support for
    1) enabling/disabling the VPE during recording.
    2) state machine for VFE and VPE during recording.
    3) transition logic during stop recording.
    4) VPE turbo mode for 1080p+DIS.

    Change-Id: I098412871f6b8e1a4f6dc2ef6efe966db1ccf5e8
Signed-off-by: default avatarSunid Wilson <sunid@codeaurora.org>

commit 61eee1f0fe410ce4d876dfd670dbe4f239245405
Author: Ujwal Patel <ujwalp@codeaurora.org>
Date:   Fri Apr 15 15:57:21 2011 -0700

    msm: camera: Enable 3D raw snapshot.

    Enable raw snapshot feature for 3D Camera.

    Change-Id: Id59e3b7b6a39ca1eeabcac51f6fffee421f666b3
Signed-off-by: default avatarUjwal Patel <ujwalp@codeaurora.org>

commit 77c13428ea3b78dd674771332a2dd95c80452441
Author: Nishant Pandit <npandit@codeaurora.org>
Date:   Tue Apr 5 18:26:41 2011 +0530

    msm: Fixes in the 3D Camera Sensor

    Enable the 3D Calibration and Lens shading. Fix the i2c configuration
    for eeprom. Add new settings for the 3D View Finder

    Change-Id: Ia4e3b68bfe0549f6f9aa77ba95698d438e3c84a8
Signed-off-by: default avatarNishant Pandit <npandit@codeaurora.org>

commit 962a33ecfc0ac978a68172185e59814c7e7cbdb0
Author: Ujwal Patel <ujwalp@codeaurora.org>
Date:   Wed Apr 6 19:01:34 2011 -0700

    msm: camera: Enable 3D raw snapshot.

    Enable raw snapshot feature for 3D Camera.

    Change-Id: Ia2959111461c97d83b7a9cab5ee34de9c31ed1ed
Signed-off-by: default avatarUjwal Patel <ujwalp@codeaurora.org>

commit 8e393f6c4d77b37e5a7a8fb9e7e495cd55e2fb47
Author: Michael Bohan <mbohan@codeaurora.org>
Date:   Thu Feb 24 12:10:11 2011 -0800

    Initial contribution

    This commit takes the MSM and driver changes from
    git://codeaurora.org/quic/la/kernel/msm.git:android-msm-2.6.35 and applies
    them on top of
    git://android.git.kernel.org/kernel/common.git:android-2.6.38

.

    Change-Id: I3e80240311c76c05d4177a4958a660fba80d5d14
Signed-off-by: default avatarMichael Bohan <mbohan@codeaurora.org>
commit 504cb98b3ff613efff254521b32a6611d33a9c84
Author: Suresh Vankadara <svankada@codeaurora.org>
Date:   Thu Nov 17 10:21:26 2011 +0530

    msm: camera: Free buffers from frame queue at open

    Free all pending frames in frame queue before cam_frame
    thread opens frame device to avoid duplication of buffer
    free

    CRs-Fixed: 318202
    Change-Id: I25d1718a37a94fa83563c4b6e99a1b7560917a7f
Signed-off-by: default avatarSuresh Vankadara <svankada@codeaurora.org>
    (cherry picked from commit 5dcbcb9f04a94aa6740718a1b6d39ce4548d869c)

commit 355bb2ede6e1c91eb1f31227d159e91621fc3df2
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Fri Sep 9 16:07:58 2011 -0700

    msm: camera: Update csi interrupt trigger conditon

    Csi interrupt is a active high trigger,
    updated to match hardware spec.
    Update csi interrupt mask to show error only.
    Mask csi interrupt when camera exit

Signed-off-by: default avatarKevin Chan <ktchan@codeaurora.org>
    (cherry picked from commit 696950b12be98b435b75f05d548b3c3cc71f7444)

    Change-Id: I8e1531fe6aa3f1b5355e6ea4efeab842c910d9fb
Signed-off-by: default avatarSwetha Basineni <sbasin@codeaurora.org>

commit 14d4c90baf91ee68453b1e1b4a46a0048a6da755
Author: Jeyaprakash Soundrapandian <jsound@codeaurora.org>
Date:   Mon Nov 14 19:02:04 2011 -0800

    mm-camera: configure the mipi csi based on lanecount

    The mipi phy control is configured based on the number of lanes
    used by the sensor.The mipi reset is placed in a seperate
    function.

Signed-off-by: default avatarJeyaprakash Soundrapandian <jsound@codeaurora.org>
    (cherry picked from commit 456f1d6c894b2eedbdc24c5872c4326741a00ace)

    Change-Id: Ib527b4cdd24a9572b43123cf14bca77c2dfd892d
Signed-off-by: default avatarSwetha Basineni <sbasin@codeaurora.org>

commit 4435d190d17b2cbd7ce099cebbff4430eeb86a5f
Author: Jeyaprakash Soundrapandian <jsound@codeaurora.org>
Date:   Wed Oct 12 14:02:56 2011 -0700

    mm-camera: configure the mipi csi based on lanecount

    The mipi phy control is configured based on the number of lanes
    used by the sensor.The mipi reset is placed in a seperate
    function.

    CRs-Fixed: 311858
Signed-off-by: default avatarJeyaprakash Soundrapandian <jsound@codeaurora.org>
    (cherry picked from commit 27da72487d24c024dbf2fdae0cde9fc00f0b3b8e)

    Change-Id: I713dc6bc14a7623583c45f2ba94e6265b9848b88
Signed-off-by: default avatarShruthi Krishna <skrish@codeaurora.org>

commit 9ee88a53aa0b154f68e38a2048177255730abeba
Author: Sunid Wilson <sunidw@codeaurora.org>
Date:   Thu Apr 21 12:13:34 2011 -0700

    msm: camera: Postprocessing framework changes

    Updated the post processing framework for HDR feature.

Signed-off-by: default avatarSunid Wilson <sunidw@codeaurora.org>
    (cherry picked from commit 133fea74525f8d00ce4b6d40a440cdb641cc7cea)

    Change-Id: I1c147730c74b2b9a8fcb638d7eb0b0ebd651c6d6
Signed-off-by: default avatarSwetha Basineni <sbasin@codeaurora.org>

commit a6738ec3f28f042d705a13c318d8d46380deaf3c
Author: Kalyani Oruganti <kalyanio@codeaurora.org>
Date:   Wed Apr 13 11:19:28 2011 -0700

    camera: MT9D113 camera driver support.

    QT 8660 Front camera MT9D113 (2MP YUV)
    sensor driver support.

Signed-off-by: default avatarKalyani Oruganti <kalyanio@codeaurora.org>
    (cherry picked from commit ba040beed975789caeb34129c605b787d4eeb7a0)

    Change-Id: I6aded01190abe813aa103044d97b23d456b1a4d0
Signed-off-by: default avatarShruthi Krishna <skrish@codeaurora.org>

commit bd8c955f67ff2d14b9a65d8572e99f250663575c
Author: Nishant Pandit <npandit@codeaurora.org>
Date:   Fri Sep 2 03:36:01 2011 +0530

    msm: camera: Change mount angle of sensor

    Change mount angle of camera to 90 for Novatek 3D mipi panel

Signed-off-by: default avatarNishant Pandit <npandit@codeaurora.org>
    (cherry picked from commit 2931504512693c7a928b8961a061f2af654dcb53)

    CRs-fixed: 293287
    Change-Id: Idd2318cf23e0c63c59081309358da1aa6fe232aa
Signed-off-by: default avatarShruthi Krishna <skrish@codeaurora.org>

commit ca02642b1d1c57c70eb799deaaef8ce4bb3740fe
Author: Sunid Wilson <sunidw@codeaurora.org>
Date:   Tue Aug 23 16:02:01 2011 -0700

    msm: camera: Fix recording state machine bug

    Video frames are sent to the userspace even after stop_recording
    is issued. Fixed the recording state machine to correct this.

Signed-off-by: default avatarSunid Wilson <sunidw@codeaurora.org>
    (cherry picked from commit d9f44c302ee2e14a5e022c8e44943e2b3d9ff400)

    Change-Id: Ia63667e635a6234a4ce3a1ca93560952de9750b5
Signed-off-by: default avatarRaj Kushwaha <rajk@codeaurora.org>

commit d920c01734818be2daecf5b5bff91a2404d534a1
Author: Sunid Wilson <sunidw@codeaurora.org>
Date:   Tue Aug 30 11:38:22 2011 -0700

    msm: camera: Remove additional check in msm_queue_drain

    Removed additional check in msm_queue_drain to make
    sure that the list is getting emptied in all cases.

Signed-off-by: default avatarSunid Wilson <sunidw@codeaurora.org>
    (cherry picked from commit 33e638a1c229765d06a76bc84351de9407026782)

    Change-Id: I6b498241490c4264f93ea37b1fa97ebda4cde910
Signed-off-by: default avatarRaj Kushwaha <rajk@codeaurora.org>

commit de3810c1a44de0908c62b2af1b202481728e17d9
Author: Raj Kushwaha <rajk@codeaurora.org>
Date:   Wed Aug 17 13:52:48 2011 -0700

    msm: camera: Avoid flooding of AXI HALT irq's

    This patch will avoid flooding of AXI HALT irq's.

Signed-off-by: default avatarLakshmi Narayana Kalavala <lkalaval@codeaurora.org>
    (cherry picked from commit 7a07e90a20854e6e9565a03309a2bb993f8bda0e)
    CRs-fixed: 299311

    Change-Id: I09b33f01924c1cff3b93e910bcb7340e1e75b960
Signed-off-by: default avatarRaj Kushwaha <rajk@codeaurora.org>

commit bdf7b93f77e67974f5c6a2b6d91b9818e40cbb36
Author: Sunid Wilson <sunidw@codeaurora.org>
Date:   Tue Aug 2 21:08:42 2011 -0700

    msm: camera: Handle event queue overflow error

    When the config thread crashes or is in bad state, the camera
    driver wont get notification which prevents the driver from
    shutting down. Added code to handle this usecase.

Signed-off-by: default avatarSunid Wilson <sunidw@codeaurora.org>
    (cherry picked from commit 4882c1fdffba47564665ef483bf5fbcd73c23484)

    Change-Id: I643f5ac740627e140ba65b662558258f6c1f2c2b
Signed-off-by: default avatarShruthi Krishna <skrish@codeaurora.org>

commit 9a18b490a1c892ae86479217b20333314fb46ba1
Author: Nishant Pandit <npandit@codeaurora.org>
Date:   Sun Jul 10 11:33:14 2011 +0530

    msm: camera: Configure the qs_s5k4e1 in 1 lane for 2d mode

    Configure the qs_s5k4e1 sensor in 1 lane for 2D mode. This
    change is made as a work around for hardware issue. As we
    switch from 4 lane configuration in 3D mode to 2D configuration
    in 2 lane, the fifo in CSI Phy overflows. When 2D mode uses 1 lane
    configuration the FIFO is bypassed.

    CRs-fixed: 292608
Signed-off-by: default avatarNishant Pandit <npandit@codeaurora.org>
    (cherry picked from commit 04dfe491a43adf08c9c4f826f64065624054d527)

    Change-Id: I6bd082777a49dcb1d256b6f0a8e16d860375821e
Signed-off-by: default avatarShruthi Krishna <skrish@codeaurora.org>

commit cc2e5bcbbb875ab8b912924d7467d9804fd137c4
Author: Azam Sadiq Pasha Kapatrala Syed <akapatra@codeaurora.org>
Date:   Thu Jul 14 16:29:22 2011 -0700

    msm: camera: Stop streaming video when stop rec is issued

    This patch makes sure that we don't stream any video frames
    when recording is stopped.

    CRs-Fixed: 295043
Signed-off-by: default avatarAzam Sadiq Pasha Kapatrala Syed <akapatra@codeaurora.org>
    (cherry picked from commit f7d8135370cd016c2f094780b97ef01353118c1d)

    Change-Id: Ibc8f80dcac6b555bf4964ffb1dda221c9896938a
Signed-off-by: default avatarShruthi Krishna <skrish@codeaurora.org>

commit 2da8403ae187aec260e5b017c31d4a1f573f5617
Author: Sunid Wilson <sunidw@codeaurora.org>
Date:   Wed Jun 22 18:15:13 2011 -0700

    msm: gemini: Support for setting physical address offset for input buffers

    If the input buffers are present in a contiguous chunk of memory,
    thier physical addr remains the same even if thier virtual address
    is different. To prevent this, added support for physical offset
    in msm_gemini_buf.

    CRs-Fixed: 293251
Signed-off-by: default avatarSunid Wilson <sunidw@codeaurora.org>
    (cherry picked from commit 9806fe4d6a2ce3a25c1be0e6657fedbd8181e003)

    Change-Id: I0b74e8d6084d9c6a1f3f5a1d644918bd020dc3c5
Signed-off-by: default avatarShruthi Krishna <skrish@codeaurora.org>

commit 4b2964b085f5e9818d5ac5b8d60594359fc6a762
Author: Sunid Wilson <sunidw@codeaurora.org>
Date:   Mon Jun 27 21:11:38 2011 -0700

    msm: camera: Move bus vectors to board file

    Moved the camera bus vectors from camera driver to board
    file. Also updated the bus bandwidth requests for QT device.

    Change-Id: I9020c309acc595d19470df87ff4229e91d0722c5
Signed-off-by: default avatarSunid Wilson <sunidw@codeaurora.org>

commit a6677cef8954109c3e99047e2c21482dbe46008e
Author: Ujwal Patel <ujwalp@codeaurora.org>
Date:   Mon Jun 6 14:18:36 2011 -0700

    msm: camera: Support for manual convergence in stereo camera.

    Adding support for manual convergence in stereo camera and
    changing the delivery method of stereo quality indicator.

Signed-off-by: default avatarUjwal Patel <ujwalp@codeaurora.org>
    (cherry picked from commit 791278e730c6ebce77aea7c16e256eb4ae161aca)

    Change-Id: I4f9073309c11e326150623edc19dfb7453428631
Signed-off-by: default avatarRaj Kushwaha <rajk@codeaurora.org>

commit 393ba47c81b359d2e95360edf1250883e615e2ca
Author: Sunid Wilson <sunidw@codeaurora.org>
Date:   Tue Jun 21 19:31:39 2011 -0700

    msm: camera: Clear the DMI for HIST stats during reset

    Clear the DMI for HIST stats during reset

Signed-off-by: default avatarSunid Wilson <sunidw@codeaurora.org>
    (cherry picked from commit 96ee7eb0bf9b5ccb2f607a244259e0a698d2ee90)

    Change-Id: Ide3271687f42775d00f507436c096b0b65b00445
Signed-off-by: default avatarSunil Joseph <sunilj@codeaurora.org>

commit 4c92fee7a486dc85626418d91f99cede7911af64
Author: Nishant Pandit <npandit@codeaurora.org>
Date:   Thu Jun 16 23:46:44 2011 +0530

    msm: camera: Fix snapshot and other minor issues in qs_s5k4e1

    -Issue stop stream command to sensor while exitting camera.
    -Turn off MIPI Clk Phy and MIPI Data Phy while exitting as
    they were never turned off.
    -Calculate the FPS by modifying the line length pclk
    instead of frame length line.
    -Add some delay in bridge after camera clock turned
    on to avoid glitches

    CRs-Fixed: 292069
Signed-off-by: default avatarNishant Pandit <npandit@codeaurora.org>
    (cherry picked from commit 028d626df10bc63bbfedb2b72a67597e2b4ba1ba)

    Change-Id: I464d8e367b1c116326e3e1a0213708eeb6076404
Signed-off-by: default avatarSunil Joseph <sunilj@codeaurora.org>

commit 9970df82452c38889851ce6b2b7cdfee67ae45a9
Author: Sunid Wilson <sunidw@codeaurora.org>
Date:   Wed Jun 15 16:23:54 2011 -0700

    msm: camera: Clean up during open failure

    Updated the reference count when open fails and did
    proper cleanup.

    CRs-Fixed: 287648
Signed-off-by: default avatarSunid Wilson <sunidw@codeaurora.org>
    (cherry picked from commit f521ef6c4402895abcfc46520db9dd6be81c28b5)

    Change-Id: I6bf5d4b85022cfd2682fcec4f4c90ef8ce2fb2d2
Signed-off-by: default avatarSunil Joseph <sunilj@codeaurora.org>

commit 32cb0e1cbfe9349e816f46552ca0c61f8b7be6bc
Author: Sunid Wilson <sunidw@codeaurora.org>
Date:   Thu Jun 16 10:14:10 2011 -0700

    msm:camera: Fix buffer mismatch issue in HFR mode

    Patch to skip frame when the ping pong status is invalid.

    CRs-Fixed: 289328
Signed-off-by: default avatarSunid Wilson <sunidw@codeaurora.org>
    (cherry picked from commit f1d93538da07e745e3b8ae0388135201446668f0)

    Change-Id: Ibeb489b8a55450b4b899aafebc1d9e33614be034
Signed-off-by: default avatarShruthi Krishna <skrish@codeaurora.org>

commit 7c3fe65658aa9d19ecf7bff841a66603581d9629
Author: Sunid Wilson <sunidw@codeaurora.org>
Date:   Thu May 12 12:47:39 2011 -0700

    msm: gemini: Remove PMEM reference for input buffer

    Remove PMEM reference for input buffer to prevent PMEM
    leak during error case.

    CRs-Fixed: 287889
Signed-off-by: default avatarSunid Wilson <sunidw@codeaurora.org>
    (cherry picked from commit f02545235282df44dd808c523d0ec9c04be6d4fe)

    Change-Id: I1b7a29873b13b8f161b7fa5d6351edf6ad8eab23
Signed-off-by: default avatarSunil Joseph <sunilj@codeaurora.org>

commit 9543770efbc4f2e8007a407b0dc9bd9f698c15e5
Author: Nishant Pandit <npandit@codeaurora.org>
Date:   Sat Jun 11 02:27:29 2011 +0530

    msm: Fix snapshot issue and reduce 3d sensor power

    Reduce the data rate for 3d mode and vary the blanking to
    achieve 30FPS for preview and 15FPS for snapshot. This also
    fix snapshot stability issue as we increase blanking for snapshot

    CRs-Fixed: 289516
Signed-off-by: default avatarNishant Pandit <npandit@codeaurora.org>
    (cherry picked from commit b193e63544f9bb9123c5f774ad48546df2473655)

    Change-Id: Id76074ccf53f38d751da773a155949f0b737aeeb
Signed-off-by: default avatarShruthi Krishna <skrish@codeaurora.org>

commit 9c586ff16d46dd935c8b8a3730533c54380a7e96
Author: Nagesh Subba Reddy <nageshsreddy@codeaurora.org>
Date:   Tue May 24 12:13:34 2011 -0700

    msm: camera: Added Bus bandwidth numbers for stereo cam

    Added bus bandwidth numbers the stereocam and corrected
    the ab/ib values for all the use cases. Previous bandwidth
    calculations were based on the VFE output and now all calculation
    are based on VFE input. Also adjustment factor
    (mis-alignment, priority, burst length) is taken into account.

Signed-off-by: default avatarNagesh Subba Reddy <nageshsreddy@codeaurora.org>
    (cherry picked from commit ab6acbbc39df627fe36fa7aa006b68a171be4fe1)

    Change-Id: Icf5e8aee5dddd089a5e65c17f9eb521fc9b1f863
Signed-off-by: default avatarShruthi Krishna <skrish@codeaurora.org>

commit 045e6af11a22119719e7021ab61938a7658abec5
Author: Nagesh Subba Reddy <nageshsreddy@codeaurora.org>
Date:   Thu May 19 14:43:17 2011 -0700

    msm: camera: Request bus bandwidth based on the use case.

Signed-off-by: default avatarNagesh Subba Reddy <nageshsreddy@codeaurora.org>
    (cherry picked from commit fa99e19538e4fc70f8db23f41ac875f7f1de7617)

    Change-Id: I53599493c2cbb669d3b75b473fc7794b0ed308a3
Signed-off-by: default avatarShruthi Krishna <skrish@codeaurora.org>

commit efe458de5146143a03d73310d66fadd50e64bdb6
Author: Ujwal Patel <ujwalp@codeaurora.org>
Date:   Wed Jun 8 11:59:59 2011 -0700

    msm: camera: Consolidate VFE messages for performance improvement

    (cherry picked from commit 6d7f475e8e4d40c0a787c7e1f2fe7e57a4d84929)

    Change-Id: Id378388f3d1219cb8e69f48acac79dbf4ebbbc32
Signed-off-by: default avatarNagesh Subba Reddy <nageshsreddy@codeaurora.org>
Signed-off-by: default avatarUjwal Patel <ujwalp@codeaurora.org>

commit 393a6457c7e6ba274aea9f9413a377e600fa64ce
Author: Nishant Pandit <npandit@codeaurora.org>
Date:   Tue May 31 09:22:18 2011 +0530

    msm: camera: Optimise the qs_s5k4e1 sensor for power

    Turn off the GPIO Controller, Reset Controller and Sensor Clock
    when in 2D Mode to save power.

Signed-off-by: default avatarNishant Pandit <npandit@codeaurora.org>
    (cherry picked from commit e5e88e885d7050a5ac2624329fef956073e2b37d)

    Change-Id: I527b19fefbc74d9afdd8d529a875d88c1d79b0d2
Signed-off-by: default avatarShruthi Krishna <skrish@codeaurora.org>

commit bc295f56692591ddf30a564dcdb9aaa19c3373ac
Author: Kalyani Oruganti <kalyanio@codeaurora.org>
Date:   Fri May 20 11:31:40 2011 -0700

    camera: Fix the set_fps API to support full size preview.

    The set_fps API is fixed so that for the fps calculation,
    the full size lines per frame is used instead of qtr size
    lines per frame.

    CRs-fixed: 288609
Signed-off-by: default avatarKalyani Oruganti <kalyanio@codeaurora.org>
    (cherry picked from commit b0b6cafdf770b17adebb5afa611254bec7dee980)

    Change-Id: I78d56632a5187c4e7c75126acdde7d5ed64de716

Signed-off-by: default avatarSunil Joseph <sunilj@codeaurora.org>

commit 7bef17b0d2fbd2c8ad79c91c0ee77d5ca2315c03
Author: Ujwal Patel <ujwalp@codeaurora.org>
Date:   Fri Jun 3 16:16:08 2011 -0700

    msm: camera: VPE on demand support

    Added support for
    1) enabling/disabling the VPE during recording.
    2) state machine for VFE and VPE during recording.
    3) transition logic during stop recording.
    4) VPE turbo mode for 1080p+DIS.

    Change-Id: Ia8ee5ee30de76b2661da4592c3c22306474664c9
Signed-off-by: default avatarSunid Wilson <sunidw@codeaurora.org>
Signed-off-by: default avatarUjwal Patel <ujwalp@codeaurora.org>

commit 0b7881e59bb0f3e5cf23c2c46208b831824a8877
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Mon Mar 28 22:10:48 2011 -0700

    camera: Update strobe flash irq trigger condition

    Change irq trigger from falling edge to rising edge
    for newer strobe flash hardware.

Signed-off-by: default avatarKevin Chan <ktchan@codeaurora.org>
    (cherry picked from commit 599bbfbdcf6fe4633cf5332c5634af80b89a4e5c)

    Change-Id: Iff04017b2ec329a42b6572a2582e8907e6f438f2
Signed-off-by: default avatarShruthi Krishna <skrish@codeaurora.org>

commit fd66e844777bee85b037fe16bfb3aca27e478ee2
Author: Nagesh Subba Reddy <nageshsreddy@codeaurora.org>
Date:   Thu May 19 16:03:36 2011 -0700

    msm: camera: Release sensor and clock in error case.

    Release sensor and clock in error case.
    Clean up of the event queue while msm_release to handle special
    case where config thread was never opened.

    CRs-Fixed: 287648
Signed-off-by: default avatarNagesh Subba Reddy <nageshsreddy@codeaurora.org>
    (cherry picked from commit 4f3eed7b231db08296a5663d5c22e4d39be3ec10)

    Change-Id: Iacfa528b81af21656eb808bf28ea37f080a9bf2e
Signed-off-by: default avatarShruthi Krishna <skrish@codeaurora.org>

commit 84668c1d676530128eea51f713838cb2da23c0e9
Author: Rajakumar Govindaram <crajaku@codeaurora.org>
Date:   Thu Apr 28 17:23:55 2011 -0700

    msm: 8660: Auto focus parameters tuned for S5K4E1 camera sensor.

    (cherry picked from commit bdcd816b6b3d15fa3887121ba53cb086cc300493)

    Change-Id: I97e338d601e76576623725158f8abef74978d483
Signed-off-by: default avatarRaj Kushwaha <rajk@codeaurora.org>

commit 22048c5857bdc4d207ffa51ab89452b33f8e8096
Author: D.V.N. Sravan Kumar <sravank1@codeaurora.org>
Date:   Thu May 5 18:13:17 2011 +0530

    msm: camera: Correct maximum allowed gain for OV9726 sensor

    Maximum allowed exposure gain for OV9726 sensor
    is 255. Limiting it to 223 (<0xE0) causes dark
    images in cases where maximum gain is required.

    CRs-Fixed: 284172
Signed-off-by: default avatarD.V.N. Sravan Kumar <sravank1@codeaurora.org>
    (cherry picked from commit 8fad2faa8a987fc31ec7d8afd81a7d9786b42047)

    Change-Id: I3915ee212553085174a581d90d7a37a12e8ab66a
Signed-off-by: default avatarShruthi Krishna <skrish@codeaurora.org>

commit cad97a5b2a19c15c981b5cf534d687db550a969b
Author: Ujwal Patel <ujwalp@codeaurora.org>
Date:   Wed Apr 20 19:21:10 2011 -0700

    msm: camera: Support for more 3D camera features.

    support for following new 3D camera features have been
    added.
    1. 3D Digital Zoom for snapshot and video recording.
    2. 3D Quality Indicator for preview and video recording.
    3. Framework changes to support 3D 1080p video recording.

Signed-off-by: default avatarUjwal Patel <ujwalp@codeaurora.org>
    (cherry picked from commit 7a35826ae448f47d871d6a38cf8cc99f196fc990)

    Change-Id: I99f6cb2498328ae09b06dc7a7e5c5567f42f2f46
Signed-off-by: default avatarShruthi Krishna <skrish@codeaurora.org>

commit efaf41295aa5f1270da8a3d8ae052d875cf24f28
Author: Sunid Wilson <sunidw@codeaurora.org>
Date:   Wed Apr 27 17:07:15 2011 -0700

    msm: camera: Update memory barriers

    Removed the memory bariers while enabling write masters.
    Enabled memory barrier for DMI operations. Removed
    unnecessary reads

Signed-off-by: default avatarSunid Wilson <sunidw@codeaurora.org>
    (cherry picked from commit cc2879aec041fc313ee3e40300fc1688db3c6154)

    Change-Id: I6d28aebc61283f3837905b5d47d54c00a02c90ae
Signed-off-by: default avatarShruthi Krishna <skrish@codeaurora.org>

commit de6c370237bfeb0a5ff78b55593724a894142644
Author: Nishant Pandit <npandit@codeaurora.org>
Date:   Wed Apr 27 03:17:41 2011 +0530

    msm: Disable Vfe Rolloff for 3D Sensor

    Update camera sensor info structure with support_3d variable
    which is passed to user space to determine whether to enable
    or disable VFE RollOff.

Signed-off-by: default avatarNishant Pandit <npandit@codeaurora.org>
    (cherry picked from commit 4fcad1c781dd427195c79a4519908f997c5583cf)

    Change-Id: I81abb1e35d3c093083fcc18dc13dad843be54aaa
Signed-off-by: default avatarShruthi Krishna <skrish@codeaurora.org>

commit ea7a9ad205a77c5c6f12ab1869f751026237a703
Author: Nishant Pandit <npandit@codeaurora.org>
Date:   Wed Apr 20 06:55:18 2011 +0530

    msm: camera: Fix the max fps issue for 3D mode in bright light

    In 3D Mode, maximum FPS observed in bright light was 25.5 with
    10 Bit format. This issue is fixed by switching to 8 Bit format.
    Also added the default lens shade table and updated the lens shade
    parameters.

    CRs-fixed: 285454
Signed-off-by: default avatarNishant Pandit <npandit@codeaurora.org>
    (cherry picked from commit 211a405aa80db1c3a9a0574a76099d9881a34205)

    Change-Id: Ia75c5ef4034deb166846783ef6049ee99d198cdb
Signed-off-by: default avatarShruthi Krishna <skrish@codeaurora.org>

commit dbefc48003b550dc2fcd1be24c217292e95574a8
Author: Nagesh Subba Reddy <nageshsreddy@codeaurora.org>
Date:   Fri Apr 15 14:13:23 2011 -0700

    msm: camera: Support for High frame rate recording

    (cherry picked from commit 034ea050bdfbc1785f33ae770db16a2ff5eb94e5)

    Change-Id: Ia7beba8e0032bc8c7edc152305e8133e84a0fa27
Signed-off-by: default avatarRaj Kushwaha <rajk@codeaurora.org>

commit cd4dc4e336d9379ff06e6a59fa473b11e9d27bd2
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Thu Apr 21 18:46:43 2011 -0700

    msm: camera: Reduce vfe clock for mt9e013 sensor

    Reduce vfe clock required for regular mode
    Only increase vfe clock in hfr 120fps mode

Signed-off-by: default avatarKevin Chan <ktchan@codeaurora.org>
    (cherry picked from commit b11e983a51535b702e25cfdaec4e26c63a6f7300)

    Change-Id: Ib5d21ed253a9d7261530027fcf403b56d8b862a0
Signed-off-by: default avatarShruthi Krishna <skrish@codeaurora.org>

commit 71b3a7c5c8ff11bded3f98d2842c184e9eeccaab
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Thu Mar 24 03:35:38 2011 -0700

    camera: Support for 60 & 120 fps in MT9E013 Sensor

    Added HFR support in MT9E013 Sensor
    Added HFR structure in msm_camera.h

Signed-off-by: default avatarKevin Chan <ktchan@codeaurora.org>
    (cherry picked from commit c23977d023044c77e6c8c92fa3a28c2eb5b41eef)

    Change-Id: I4b2307a4b9e289df96338ea06e17cb590bd85a2f
Signed-off-by: default avatarShruthi Krishna <skrish@codeaurora.org>

commit 555568e58439212f732f6be2edfd41142c6d5896
Author: Srinivasan Kannan <srinkann@codeaurora.org>
Date:   Wed Apr 27 16:35:29 2011 -0700

    msm: jpeg: Reset buffer status when output buffer queue is empty

    Reset buffer status for output buffer obtained from encoder
    when output buffer is empty

Signed-off-by: default avatarSrinivasan Kannan <srinkann@codeaurora.org>
    (cherry picked from commit ccc917d272380c341c7462d081087b6ad18bed26)

    Change-Id: Icc7ca9cf75d93e132d205234e3e88e8ea0e82cc6
Signed-off-by: default avatarShruthi Krishna <skrish@codeaurora.org>

commit f12bdd79739f8fef49b3d5eebe16b325c3d93ef8
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Mon Apr 18 23:38:44 2011 -0700

    msm: camera: Fix sensor mt9e013 snapshot noise issue

    Disable summing mode in preview settings, so the sensitivity
    for preview and snapshot settings are the same and
    coarse intergration time can be reduced for snapshot mode.

    CRs-fixed: 281227
Signed-off-by: default avatarKevin Chan <ktchan@codeaurora.org>
    (cherry picked from commit c0f5837409230b179c31bee539305800b783331f)

    Change-Id: I3d2be52190520da2221cca59f3cd140a056f043d
Signed-off-by: default avatarSunil Joseph <sunilj@codeaurora.org>

commit 2d68c50a8d02505ed2ae7128f10b7c67d04e5ed0
Author: Nagesh Subba Reddy <nageshsreddy@codeaurora.org>
Date:   Mon Apr 18 13:02:30 2011 -0700

    msm: camera: Fix for pmem lookup error due to buffer mismatch

    Read the ping pong status of the hardware in ISR rather
    then while executing the tasklet.

    CRs-Fixed: 282473
    CRs-Fixed: 277971

Signed-off-by: default avatarNagesh Subba Reddy <nageshsreddy@codeaurora.org>
    (cherry picked from commit 3883f584e3a2f383d12abb185fc092a86fb23008)

    Change-Id: Iee3b252613da67d14e58a391736c625592666c07
Signed-off-by: default avatarShruthi Krishna <skrish@codeaurora.org>

commit 0baf9b524bf6863fa0f263d3c813e4ca5e56407f
Author: Nishant Pandit <npandit@codeaurora.org>
Date:   Tue Apr 5 18:26:41 2011 +0530

    msm: Fixes in the 3D Camera Sensor

    Enable the 3D Calibration and Lens shading. Fix the i2c configuration
    for eeprom. Add new settings for the 3D View Finder

Signed-off-by: default avatarNishant Pandit <npandit@codeaurora.org>
    (cherry picked from commit 77c13428ea3b78dd674771332a2dd95c80452441)

    Change-Id: I476e4e268c2a23e5aeb29f7e4409d3c45b58b955
Signed-off-by: default avatarShruthi Krishna <skrish@codeaurora.org>

commit 593b32e2778d22a01b60c34c6c64caee989422ad
Author: Srilakshmi Punuru <spunur@codeaurora.org>
Date:   Wed Apr 13 14:48:58 2011 +0530

    Revert "msm: camera: Enable/Disable VPE on demand for Power optimization"

    This reverts commit 0167f57b17eaeb1602bbedca822dcec2e7940441.

    Change-Id: I540674caeda1b341a73dfda20cb825db1c6e26cf
Signed-off-by: default avatarSrilakshmi Punuru <spunur@codeaurora.org>

commit 30c9cfbb397889e1781f2223b0f8aacf68fab2ee
Author: Manogna Reddy Alle <cmalle@codeaurora.org>
Date:   Mon Apr 11 12:05:39 2011 +0530

    msm: Camera: Fix for raw snapshot issue

    Initializing y_offset and cbcr_offset for both OUTPUT_2
    and OUTPUT_1_AND_2.

    CRs-Fixed: 282554
    Change-Id: I96b70da61ed8622a95411016efe70e54af768e2b
Signed-off-by: default avatarManogna Reddy Alle <cmalle@codeaurora.org>

commit 6e15e236e2ffde8c0cb2c5974f3941f4387f8689
Author: Rajakumar Govindaram <crajaku@codeaurora.org>
Date:   Thu Apr 7 18:22:55 2011 -0700

    msm: camera: Add support for platform specific mount angle

    The camera preview Fluid is rotated due to mount angle
    variation between fluid and FFA.

    Change-Id: I7bb8d5f11285ab5009793fa268a097ddd06a75e5
Signed-off-by: default avatarRajakumar Govindaram <crajaku@codeaurora.org>

commit 0167f57b17eaeb1602bbedca822dcec2e7940441
Author: Sunid Wilson <sunid@codeaurora.org>
Date:   Mon Apr 4 12:46:53 2011 -0700

    msm: camera: Enable/Disable VPE on demand for Power optimization

    Added support for
    1) enabling/disabling the VPE during recording.
    2) state machine for VFE and VPE during recording.
    3) transition logic during stop recording.
    4) VPE turbo mode for 1080p+DIS.

    Change-Id: I098412871f6b8e1a4f6dc2ef6efe966db1ccf5e8
Signed-off-by: default avatarSunid Wilson <sunid@codeaurora.org>

commit 428e441e0a5e8a2ace19d6ec6e76e3ac94f21325
Author: Ujwal Patel <ujwalp@codeaurora.org>
Date:   Wed Apr 6 19:01:34 2011 -0700

    msm: camera: Enable 3D raw snapshot.

    Enable raw snapshot feature for 3D Camera.

    Change-Id: Ia2959111461c97d83b7a9cab5ee34de9c31ed1ed
Signed-off-by: default avatarUjwal Patel <ujwalp@codeaurora.org>

commit 72a2f427f1fc75bbe2e4b810f30293d3ac0591a0
Author: Suresh Vankadara <svankada@codeaurora.org>
Date:   Fri Apr 8 19:03:02 2011 +0530

    msm: camera: Fix for splitting preview window for zoom

    Issue:
    For zoom in and zoom out case receiving corrupted frames
    from vfe due to insufficient ebi1_vfe_clk.

    Solution:
    Increase clock to 192Mhz.

    CRs-Fixed: 282598
    Change-Id: Id862e5bc2a2d6df040909ae8abe79d743d06fd07
Signed-off-by: default avatarSuresh Vankadara <svankada@codeaurora.org>

commit e2bc8faa75af752139527020e9a45922f09cc57b
Author: Sravank <sravank1@codeaurora.org>
Date:   Wed Apr 6 16:08:56 2011 +0530

    msm: camera: Initialize mt9e013 sensor mount angle to 0

    Issue : Preview is stretched as the mount angle for
    8MP sensor is set as 90 deg.

    Solution : Setting the mount angle to '0' solves the
    preview stretch issue

    CRs-Fixed: 282375
    Change-Id: I3b21c10f374ea62f4027e845eb7288e33e31a242
Signed-off-by: default avatarSravank <sravank1@codeaurora.org>

commit 16242d97c2768cdda6aa4b14537b0492520f1ee0
Author: Jeyaprakash Soundrapandian <jsound@codeaurora.org>
Date:   Mon Apr 4 19:42:15 2011 -0700

    camera: 8k: removed gpio reset request of front camera sensor.

    The front camera sensor ov7692 does not have the reset pin connected,
    the standby/power pin will do the reset. proper release of reset
    for the back sensor is added. The standby pin and the reset pin for
    the back sensor is pulled down rather than in the floating condition.

    Change-Id: I771e2f57d5a5f518aca52873f304cdf61d750be9
Signed-off-by: default avatarJeyaprakash Soundrapandian <jsound@codeaurora.org>

commit f7c2282bc632b516b4cb9f12b35b822d3e44082b
Author: Sunid Wilson <sunid@codeaurora.org>
Date:   Thu Mar 24 15:57:55 2011 -0700

    msm: camera: VFE free buffer queue implementation for multishot

    Implemented free buffer queue for each output. This will
    allow to store multiple buffers in kernel.

    Change-Id: I2650821dccde4fadd32c26f9ac468febee073032
Signed-off-by: default avatarSunid Wilson <sunid@codeaurora.org>

commit 5bd434d82f4e9649fdf689af2ed0eb6330a65138
Author: Rajakumar Govindaram <crajaku@codeaurora.org>
Date:   Fri Mar 25 10:35:32 2011 -0700

    msm: camera: 7x30: Add support for mount angle for ov9726

    The ov9726 is 2D front camera with mount angle 90. Uninitialization
    sets these parameters to default settings which are inaccurate.

    Change-Id: I0b8eef7df877aad04210df22239dae6683a4fd2b
Signed-off-by: default avatarRajakumar Govindaram <crajaku@codeaurora.org>

commit f157bbd3af991b05f9b4551f44a125a5f8af5826
Author: Sunid Wilson <sunid@codeaurora.org>
Date:   Tue Mar 29 14:52:06 2011 -0700

    msm: camera: Fix snapshot failure issue for multi-frame capture

    Update the code to send reg update for all snapshot
    frames. This updates the capture count properly and sends
    the SNAPSHOT_DONE msg to camera driver.

    Change-Id: I16ad0c829709042ec4a0b5da57c27d3146b241a3
Signed-off-by: default avatarSunid Wilson <sunid@codeaurora.org>

commit 61a3e6823d9b6a09c99787e9a6fc0e888a28e4af
Author: Jilai Wang <jilaiw@codeaurora.org>
Date:   Mon Feb 7 16:17:14 2011 -0500

    msm: camera: switch power supply for FLUID 12M camera and D02.

    LVSW1 doesn't have enough driving strength for the Sony 12M sensor,
    its voltage drops below the 1.7V required by the sensor. The solution
    is to modify the camera daughter board so that GP16 turns on as
    digital voltage for main camera and D02, and GP6 turns on secondary
    camera.

    Change-Id: I09578b48939b6fde0972b41f28b4018c432aea4e
    CRs-Fixed: 253514
Signed-off-by: default avatarJilai Wang <jilaiw@codeaurora.org>

commit 662103497be0df0430122bfaffcd742b6e41feed
Author: Suresh Vankadara <svankada@codeaurora.org>
Date:   Mon Mar 28 16:49:56 2011 +0530

    msm: camera: Initialize mt9e013 sensor mount angle

    Issue:
    mt9e013 sensor doesn't initialize camera mount angle, so
    garbage value is sent to userspace and it leads to camera
    failure.

    Solution:
    Initialize the mount angle to 90

    CRs-Fixed: 280946
    Change-Id: Ice60a2dff6afaea77ae0c884f0c1f510347a2cae
Signed-off-by: default avatarSuresh Vankadara <svankada@codeaurora.org>

commit f09a67fa9d158783da17e0bb7d480f0970ab3ed0
Author: Rajakumar Govindaram <crajaku@codeaurora.org>
Date:   Fri Mar 25 15:58:19 2011 -0700

    msm: camera: Add IMX074 Calibration data usage support

    The IMX074 camera sensor has calibration data available
    in eeprom to adjust the variation of color and focus parameters.
    This data is used to adjust the tuned parameters.

    Change-Id: I5b998b26ef748e341bce1c0f892d73897538f52b
Signed-off-by: default avatarRajakumar Govindaram <crajaku@codeaurora.org>

commit dcc1607eb439a1e4227799178e33bcf7c1f5aa58
Author: Lakshmi Narayana Kalavala <lkalaval@codeaurora.org>
Date:   Thu Mar 24 17:15:21 2011 -0700

    msm: camera: Fix the broken MCE functionality

    Corrected the offset values for MCE registers

    Change-Id: I41c5baaf90b294506234c1e69b919c5283abef59
    CRs-Fixed: 278920
Signed-off-by: default avatarLakshmi Narayana Kalavala <lkalaval@codeaurora.org>

commit a1a0579ffd3efb68d066e45b34866bcacd023ba1
Author: Jilai Wang <jilaiw@codeaurora.org>
Date:   Mon Mar 21 14:55:45 2011 -0400

    msm: camera: Invert PCLK from Deserializer to get better signal

    In order to get signal quality from Deserializer, the PCLK
    polarity needs to be inverted.

    Change-Id: I7020cffc80664c3863cc79a27d012be0ca5c4106
Signed-off-by: default avatarJilai Wang <jilaiw@codeaurora.org>

commit 6f14a0528099be906d6fc3fca513813a62f88367
Author: Sunid Wilson <sunid@codeaurora.org>
Date:   Tue Mar 22 15:45:55 2011 -0700

    msm: camera: Update IO memory access ordering

    Changed the regular readl, writel to xxx__relaxed. Updated the
    code for using memory barriers at relevant places.

    Change-Id: I4f7b1b1f416c002459c34c006a13fa519d17e7a7
Signed-off-by: default avatarSunid Wilson <sunid@codeaurora.org>

commit 1559eab74c563cb60a22048997337db5af423d0d
Author: Nishant Pandit <npandit@codeaurora.org>
Date:   Fri Feb 25 09:26:54 2011 +0530

    msm: camera: 8x60: Initial support for qs_s5k4e1 camera sensor

    Change-Id: I10b4c7eee463da8f5ea21676ad2706cbad4dc614
Signed-off-by: default avatarNishant Pandit <npandit@codeaurora.org>

commit a11e48d585d38e929e5542561428ce1e75c0a522
Author: Ujwal Patel <ujwalp@codeaurora.org>
Date:   Wed Mar 23 16:21:58 2011 -0700

    msm: camera: 3D Camera transition logic change.

    Change 3D Camera transition logic where current frame
    progress is tracked through L/R frame done messages.

    Change-Id: I35c309df40bb4ad6b716efaf96f14513e8a36ff2
Signed-off-by: default avatarUjwal Patel <ujwalp@codeaurora.org>

commit 04cf990c07072370f2b932e28d5eca302eb217c6
Author: Kalyani Oruganti <kalyanio@codeaurora.org>
Date:   Tue Mar 22 14:22:44 2011 -0700

    camera: Fix the set fps API for IMX074 sensor.

    The fps divider value from the userspace in now used
    in the fps calculation.

    CRs-fixed: 277744
    Change-Id: I359fd1800f52150ff49669448cc25328447928a9
Signed-off-by: default avatarKalyani Oruganti <kalyanio@codeaurora.org>

commit aeece2e622f10a75c7c5890a20c0038810de8691
Author: Suresh Vankadara <svankada@codeaurora.org>
Date:   Tue Mar 22 10:11:40 2011 +0530

    msm: camera: Release ebi1_vfe clock in camera release function

    Issue:
    vfe release function updates ebi1_vfe clock to default rate
    instead of clock disable. It leads to more power consumption
    even camera application exits.

    Solution:
    Release the clock in vfe release function

    Change-Id: I69b38cf7355e194ec4307d544e780617fca46e1d
    CRs-Fixed: 280060
Signed-off-by: default avatarSuresh Vankadara <svankada@codeaurora.org>

commit 7e4217db2504593e2c8c962dd32c896cb7fe2129
Author: Ujwal Patel <ujwalp@codeaurora.org>
Date:   Sat Mar 19 13:32:35 2011 -0700

    msm: camera: Stereoscopic 3D Camera feature.

    This is the base change for S3D camera feature.

    Change-Id: I4dd5a4fac4fde73defc34b2f08aade8ca373cf6f
Signed-off-by: default avatarUjwal Patel <ujwalp@codeaurora.org>

commit e58580bc939f4b53ac7e7bbcff29c4588aa7a2c2
Author: Jeyaprakash Soundrapandian <jsound@codeaurora.org>
Date:   Sat Mar 19 00:47:18 2011 -0700

    msm: camera: 8660: proper reset pin for front camera

    The front camera sensor ov7692 uses the pin IO06 instead of
    gpio 106. proper release of sensor reset is also added
    for ov7692.

    Change-Id: Id172e8c9b22d34d434041d57e0b570c62bb537b8
Signed-off-by: default avatarJeyaprakash Soundrapandian <jsound@codeaurora.org>

commit a66066e978ab8ba0934c95a3a73c7f9be1ae70fb
Author: Kalyani Oruganti <kalyanio@codeaurora.org>
Date:   Tue Mar 15 15:21:48 2011 -0700

    camera: Fix the preview snapshot brightness for imx074 sensor.

    Stretch the frame vertically instead of horizontally to achieve
    the linear AFR as per the sensor specification.

    CRs-fixed: 277673
    Change-Id: Idc0f181dc9a5dfc824f3eeaa52dc69b50d0830f5
Signed-off-by: default avatarKalyani Oruganti <kalyanio@codeaurora.org>

commit 42a18dedcf35dcaf1640e650406780b42ce40b98
Author: Nagesh Subba Reddy <nageshsreddy@codeaurora.org>
Date:   Thu Mar 17 17:37:23 2011 -0700

    media: camera: Fix for stray lines in preview for ZSL

    Updated the Gamma and Luma LUT Bank selection only once
    per reg update.

    Change-Id: I0eb7ed700ccf32b35b3ee8642b7d73cbb44b577b
Signed-off-by: default avatarNagesh Subba Reddy <nageshsreddy@codeaurora.org>

commit 7182d2da00315126b9443f6b5427970cf421ce31
Author: Nagesh Subba Reddy <nageshsreddy@codeaurora.org>
Date:   Wed Mar 16 21:47:57 2011 -0700

    media: camera: Fix for kernel lock up issue on VFE 3.1

    Need to ensure AXI bus is halted before resetting the VFE.
    Instead of polling AXI_STATUS bit, poll AXI_HALT_IRQ and
    then issue a reset.

    Change-Id: I433ad8ccf2eee19e874e4d7f61091680ea7ddb9c
Signed-off-by: default avatarNagesh Subba Reddy <nageshsreddy@codeaurora.org>

commit eb1043e6dd5733de187e4272d945bc28eb25b926
Author: Suresh Vankadara <svankada@codeaurora.org>
Date:   Tue Mar 15 18:05:59 2011 +0530

    msm: camera: Fix VFETASK command write errors

    Issue:
    VFE driver doesn't check the state of VFETASK before
    sending the commands. ADSP driver returns an error
    if vfe driver sends the command without enabling
    VFETASK.

    Solution:
    VFE driver checks the state of VFETASK before sending
    any command to VFETASK.

    Change-Id: I7835affd5ed24cfe23dfdd60a8e5da8726ff7d0a
Signed-off-by: default avatarSuresh Vankadara <svankada@codeaurora.org>

commit f9b864655751c7544ef3c3f1a750ee97592e7b38
Author: Suresh Vankadara <svankada@codeaurora.org>
Date:   Tue Mar 15 16:50:54 2011 +0530

    msm: camera: Remove GPIO warnings

    Update mt9p012 sensor driver to do vcm_pwd GPIO operations
    only when vcm_enable is set.

    Change-Id: I22f05d00329a24888c9424e62b044dd4eb2088f6
Signed-off-by: default avatarSuresh Vankadara <svankada@codeaurora.org>

commit 5218ec8df5793b2db84309a6cf5741c8769beeaf
Author: Rajakumar Govindaram <crajaku@codeaurora.org>
Date:   Tue Mar 8 01:53:17 2011 -0800

    msm: camera: 7x30: ov9726 camera sensor enable

    Change-Id: Ief9c795cba4eb14d562fee5e157810807bddc13e
Signed-off-by: default avatarRajakumar Govindaram <crajaku@codeaurora.org>

commit 92bf7470bb9633ccd6abddcd359050d5bc9e50bf
Author: Nishant Pandit <npandit@codeaurora.org>
Date:   Tue Mar 1 04:48:16 2011 +0530

    msm: Optimise power drain when camera closed on 7x30 and 8x60

    Clear the calibration PAD bit on CSI controller when camera is
    closed, to reduce power consumed on 7x30 and 8x60.

    Change-Id: I764157c1730b6f8338e17bacd2d077dc31100494
    CRs-Fixed: 277047,275742
Signed-off-by: default avatarNishant Pandit <npandit@codeaurora.org>

commit 513fbf860a4d639882ee0a32dac85aeca956f0c8
Author: Jeyaprakash Soundrapandian <jsound@codeaurora.org>
Date:   Wed Mar 9 23:06:00 2011 -0800

    Camera: 8k: AF tuning for sensor imx074

    The autofocus tuning is done for the imx074 and updated the
    necessary parameters.

    Change-Id: I38dec0309d9ab4d9eec095e1963a270dd33254e0
Signed-off-by: default avatarJeyaprakash Soundrapandian <jsound@codeaurora.org>

commit 00300579a29362b8a0b44053fb715b89aef3e388
Author: Suresh Vankadara <svankada@codeaurora.org>
Date:   Mon Mar 7 12:51:43 2011 +0530

    msm: camera: Fix for I2c failures

    Issue:
    mt9p012 sensor driver is not handling the return value
    of i2c transfers correct. It leads to camera open failure

    Solution:
    Check the return value of i2c transfer properly

    CRs-Fixed: 278218
    Change-Id: Idc7db8b605a4090fc80792d7670c6768e34d1894
Signed-off-by: default avatarSuresh Vankadara <svankada@codeaurora.org>

commit 1997f8e79cf2abe68ad4ca1b303fa0982609b065
Author: Sunid Wilson <sunid@codeaurora.org>
Date:   Fri Mar 4 17:08:42 2011 -0800

    msm: camera: Update VPE clock to 200MHz

    VPE clock is boosted to 200MHz for fixing the fps
    issue for H264 + 1080p recording

    Change-Id: I933fdc5db68f942040ff6203eee68b9fa2cb1540
Signed-off-by: default avatarSunid Wilson <sunid@codeaurora.org>

commit eec6cfccf4059d41715e88863e7fd532413a8267
Author: Sunid Wilson <sunid@codeaurora.org>
Date:   Wed Mar 2 20:00:16 2011 -0800

    msm: camera: Fix qcmd corruption issue

    qcmd is accessed and updated by the control thread
    context even when the ownership is being transfered
    to the event queue. Updated the code to prevent this.

    Change-Id: Icd102e20d7e310ae8d08369550abd1a6bf24b75f
Signed-off-by: default avatarSunid Wilson <sunid@codeaurora.org>

commit abce3854d80ced2be5414f70e2f5f1dee86c27a5
Author: Suresh Vankadara <svankada@codeaurora.org>
Date:   Tue Mar 1 18:19:09 2011 +0530

    msm: camera: Add retry mechanism for i2c failures

    Issue:
    Due to i2c transfer failures msm_open function is failed and
    returned error to conf thread. conf thread returns error to
    upper layers. Upper layers are not handling the error and
    it leads to ANR in camera.

    Solution:
    Retry 3 times in case of i2c transfer failure.

    Change-Id: I0f6a7711c914ecbb3e3f616b6cdb4c2050607e1b
    CRs-Fixed: 276412
Signed-off-by: default avatarSuresh Vankadara <svankada@codeaurora.org>

commit 410d84a28f6019f9ee6d8e065ea86c0c2ef4147a
Author: Sunid Wilson <sunid@codeaurora.org>
Date:   Thu Feb 24 12:30:33 2011 -0800

    msm: camera: Zero Shutter Lag feature support

    Changes include
    - VFE 3 output configuration
    - ZSL streaming mode support
    - Handling of raw snapshot, regular snapshot and
    zsl streaming in IRQ1.

    Change-Id: If94135d4d6a6ed0a8344413725ded2e45f5f7a5a
Signed-off-by: default avatarSunid Wilson <sunid@codeaurora.org>

commit b322c687a4dd335e8562abf350ea260ba5fb8180
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Tue Jan 18 18:00:01 2011 -0800

    v4l2: msm: Add support for V4L2_QUERY_CONTROL.

    Change-Id: Ibc5ceaa8578ce0cc6a725f3939a064afbb3a7208
Signed-off-by: default avatarShuzhen Wang <shuzhenw@codeaurora.org>

commit c500a60e670c44f217369d98145013bce46002b1
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Fri Jan 21 16:27:48 2011 -0800

    v4l2: msm: Add back chained copy for msm_ctrl_cmd.

    v4l2_event structure is not enough to hold all control commands.
    Instead, we use pre-allocated buffers in the driver and daemon
    so that no run-time allocation is required.

    Change-Id: I37f0512b5de33bb4cd43ed5f535c1ac76de397e6
Signed-off-by: default avatarShuzhen Wang <shuzhenw@codeaurora.org>

commit c8d3dd6c210f5177a21e362c7a5cb807b58ccfb4
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Fri Jan 28 16:13:04 2011 -0800

    v4l2: msm: Fix msm_isp_control function return value.

    Return value of msm_isp_control need to be set based
    on mm_ctrl_cmd::status.

    Change-Id: If011861adf032d8ffd318c7b05e39b6f08bb5e53
Signed-off-by: default avatarShuzhen Wang <shuzhenw@codeaurora.org>

commit 001a8a2fdc9cf15191c7ab3febf5d508bcf5aa9f
Author: Ankit Premrajka <ankitp@codeaurora.org>
Date:   Mon Feb 7 15:37:40 2011 -0800

    msm: v4l2: Remove old V4L2 code

    Removed obsolete file msm_v4l2.c and other related
    old V4L2 code from camera.h and msm_camera.c.

    Change-Id: Ib3a54d3d61f181aad6ec7719327eff3051d0ab3c
Signed-off-by: default avatarAnkit Premrajka <ankitp@codeaurora.org>

commit 3b3ece7c08a8e00c7ec9b0d5abfd41cdb914640d
Author: Nagesh Subba Reddy <nageshsreddy@codeaurora.org>
Date:   Sun Feb 27 20:28:05 2011 -0800

    media: camera: Remove hard code values for xbar config on vfe 3.1

    Change-Id: Ia9010db630dd4ca28eaf99185485e7103f2918a7
    CRs-Fixed: 274919
Signed-off-by: default avatarNagesh Subba Reddy <nageshsreddy@codeaurora.org>

commit 83e016298c071576a6d4de903dbb55c879a1ee10
Author: Nagesh Subba Reddy <nageshsreddy@codeaurora.org>
Date:   Fri Feb 11 18:33:46 2011 -0800

    media: camera: Fix for the camera crash in msm_get_stats

    Allocate memory for the udata, since in error case the stackdata
    in msm_control could be lost.

    Change-Id: I2105e1a4e05e786ffc9c5629a9ac076b6951dcd5
    CRs-Fixed: 272413
Signed-off-by: default avatarNagesh Subba Reddy <nageshsreddy@codeaurora.org>

commit a4fdaa7c3ee881986464c679bf4423dddd82e3e8
Author: Sunid Wilson <sunid@codeaurora.org>
Date:   Tue Feb 22 18:42:47 2011 -0800

    msm: camera: multiframe HJR fix for snapshot redesign

    Updated the post processing code to handle multiframe HJR
    which is aligned with new snapshot design

    Change-Id: I939b5339f731beefa7f42dcd2c6509d689087b9c
Signed-off-by: default avatarSunid Wilson <sunid@codeaurora.org>

commit 11afab5737bf8b5e0edf24fef14d93423df837b1
Author: Jeyaprakash Soundrapandian <jsound@codeaurora.org>
Date:   Thu Feb 10 11:55:23 2011 -0800

    Camera: 8k: kernel configuration for sensor mt9e013

    The mt9e013 sensor is added as main camera sensor for
    QT device.the support for setting vfe clock rate is added.

    Change-Id: Ia28304db059942eaaf2e20e49bab29d9c052d389
Signed-off-by: default avatarJeyaprakash Soundrapandian <jsound@codeaurora.org>

commit 4350f8eb95a1e2f9d652630859b40dece7c0d17a
Author: Suresh Vankadara <svankada@codeaurora.org>
Date:   Wed Feb 23 14:26:19 2011 +0530

    msm: camera: Update vfe driver for new snapshot interface

    Issue:
    In new snapshot interface design, camera driver expects
    physical address of snapshot and thumbnail buffers.
    VFE2 doesn't provide this info as part of snapshot done
    message. It is causing the failure of snapshot.

    Solution:
    Cache the addresses of snapshot and thubnail buffers at
    axi snapshot configuration and use these values when
    vfe driver delivers the messages to camera driver.

    Change-Id: Iae0a98ef89dd01607f552eb24f8f943a141d9576
    CRs-Fixed: 276066
Signed-off-by: default avatarSuresh Vankadara <svankada@codeaurora.org>

commit 664ab4e2e7c97a3ea3e56cadf00df36e6dcb051e
Author: Lakshmi Narayana Kalavala <lkalaval@codeaurora.org>
Date:   Mon Feb 14 23:15:20 2011 -0800

    media: camera: Remove unused scaler configurations from vfe 3.1

    Remove unused scaler configurations from vfe31_reset_internal_variables
    function

    Change-Id: I9ba09671bc35273653f2ded21e590b7aaefcfb7d
Signed-off-by: default avatarLakshmi Narayana Kalavala <lkalaval@codeaurora.org>

commit bac3c0d10476b3d2023a1569e3520f3e90fe0a33
Author: Sunid Wilson <sunid@codeaurora.org>
Date:   Tue Feb 8 17:48:20 2011 -0800

    msm: camera: snapshot interface redesign

    Created pic node and associated snapshot functionality
    to the new node.
    Fixed pmem lookup error for raw snapshot.

    Change-Id: I3fe532d9818f9dfb2ad8157b6e1ff98dfce8dfff
Signed-off-by: default avatarSunid Wilson <sunid@codeaurora.org>

commit c4d88f3357cc89e53a5ec421896d76c852b0b8f9
Author: Suresh Vankadara <svankada@codeaurora.org>
Date:   Thu Feb 10 11:01:28 2011 +0530

    msm: camera: Update timeout value in camera control function

    Issue:
    Camera control function waits for MAX_SCHEDULE_TIMEOUT seconds for
    the response. If there is any issue with sensor, clocks, VFE,
    response doesn't come. So the control thread waits for longer
    duration. Graceful exit is required instead of continuous wait

    Solution:
    Control function waits for 10secs for the response

    Change-Id: Ibe0dc1bb10d450e0774d9dfe259bded3a3c9b930
    CRs-Fixed: 274505
Signed-off-by: default avatarSuresh Vankadara <svankada@codeaurora.org>

commit ad4cd777460aa4587f1c8f7f108b98bfc5efb16b
Author: Ninad Patgaonkar <ninadp@codeaurora.org>
Date:   Wed Feb 9 16:06:09 2011 -0800

    msm: camera: Removal of hard coded AXI configuration for VFE31

    The VFE31 driver has hard-coded value for crossbar configuration.
    Removed the hard coded value as this is controlled by the user space.

    Change-Id: If159fe483d9d246a45e1e2d6515aded3d6f4af0f
    CRs-Fixed: 274769
Signed-off-by: default avatarNinad Patgaonkar <ninadp@codeaurora.org>

commit b44d13fe9eac1d82711f87c9a3c129658dbdfbf3
Author: Nishant Pandit <npandit@codeaurora.org>
Date:   Thu Feb 3 08:21:10 2011 +0530

    msm: Optimise Imx074 sensor for warm and cold startup time

    Replace msleep with usleep_range for better precision. Reduce
    delay in sensor probe routine in gpio configuration and remove
    unnecessary delays.

    Change-Id: Ia485401f45c16d84d237008e6b11709833e3d1a0
Signed-off-by: default avatarNishant Pandit <npandit@codeaurora.org>

commit 2317798c4916ae790bdaa5c7877ae4356f1dc12e
Author: Nishant Pandit <npandit@codeaurora.org>
Date:   Thu Jan 27 03:35:56 2011 +0530

    msm: Fix the driver probe sequence for the front and back sensor on 7x30

    Change-Id: I820f8b21b326fbdb818616ed73e62340f5c4ac5d
    CRs-Fixed: 271121
Signed-off-by: default avatarNishant Pandit <npandit@codeaurora.org>

commit fe52795ac069393c0632953f61186b812b11b061
Author: Rajakumar Govindaram <crajaku@codeaurora.org>
Date:   Tue Feb 8 17:48:52 2011 -0800

    msm: camera: ov9726 proper probe return

    During probe the camera sensor ov9726 is not returning
    exact error code on failure.

    Change-Id: I297909f8cc4ee36cbaaefb1e48523ef4bacb0266
Signed-off-by: default avatarRajakumar Govindaram <crajaku@codeaurora.org>

commit 2a7ded175161072efb8e6dca7de8fd353f5a50d2
Author: Lakshmi Narayana Kalavala <lkalaval@codeaurora.org>
Date:   Mon Feb 7 18:00:15 2011 -0800

    media: camera: Fix Null pointer dereference on 8660

    Observe kernel crash in __msm_get_frame due to failure of
    error check because of garbage values in qcmd->command.
    Nullify the command fixes the null pointer dereference.

    CRs-fixed: 273653
    Change-Id: I2bd09fc42affbecde878f171b9477caef3b20de3
Signed-off-by: default avatarLakshmi Narayana Kalavala <lkalaval@codeaurora.org>

commit d11f8d8587326d107e5d4e919cfe0c44223eba29
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Tue Feb 8 11:22:16 2011 -0800

    camera: OV7692 slow AEC convergence

    Removed sensor settings update after snapshot to prevent exposure value
    to be reset.

    Change-Id: I34ff05756a5ac18d0676cfc16545c83d2509e22d
    CRs-fixed: 274544
Signed-off-by: default avatarKevin Chan <ktchan@codeaurora.org>

commit 62f6148fd162d51f900d10b16bdd421528fc2b38
Author: Gagan Mac <gmac@codeaurora.org>
Date:   Mon Jan 10 23:11:23 2011 -0700

    msm: msm_bus: Decouple nodes from fabrics for scalability

    Node ids need to be independent of the fabrics.
    For this external ids and internal ids need to be maintained
    separately. This is required to avoid misleading enums in case
    a node is switched from one fabric to other.

    Change-Id: I3ef56eba3a8cb504d7dedeeab4b47468c87fe729
Signed-off-by: default avatarGagan Mac <gmac@codeaurora.org>

commit 2c73edb27f0bb140637310d32de6ba813dc8fbfe
Author: David Brown <davidb@codeaurora.org>
Date:   Wed Feb 2 13:57:37 2011 -0800

    camera: Work around compiler warning

    The variable 'rt' is used without being initialized.  Initialize to
    RES_PREVIEW to avoid a compiler warning (and undefined behavior).

    Change-Id: Ib33c7a9652cda62f10d6146dd6fed5a837d42bd0
Signed-off-by: default avatarDavid Brown <davidb@codeaurora.org>

commit 8d5bb9e06d2c10a787ff3a8cfda4927d1139babf
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Tue Feb 1 11:52:09 2011 -0800

    camera: 7x30: Fix Snapshot FPS on sensor mt9e013

    Increase the snapshot line length pclk and frame length lines
    to meet the minimum blanking requirement.

    CRs-fixed: 273294
    Change-Id: I3b759ce9bb4811f0333abe39549a88badb8d4b3b
Signed-off-by: default avatarKevin Chan <ktchan@codeaurora.org>

commit 87d5fc59197eeb86559630ca07dc267824c96ac9
Author: Nishant Pandit <npandit@codeaurora.org>
Date:   Tue Feb 1 03:59:40 2011 +0530

    msm: Optimise the Mt9e013 sensor launch time for cold and warm startup

    Change-Id: Iab7b096070731999329ad6ecddea637855b94bb6
Signed-off-by: default avatarNishant Pandit <npandit@codeaurora.org>

commit 713ff5945290c6645538acc31000dd9dd8bf8a6b
Author: Suresh Vankadara <svankada@codeaurora.org>
Date:   Tue Feb 1 10:33:39 2011 +0530

    msm: camera: Change AXI clock freq for camera preview

    Camera driver is using 192MHz frequency for AXI clock. For
    preview we don't require 192MHz. Change AXI clock frequency
    to 122MHz for preview case.

    Change-Id: I9919fab9c9c68e446ccd5fa1aeeec2053d56dbad
Signed-off-by: default avatarSuresh Vankadara <svankada@codeaurora.org>

commit 376958dc243944a0846f0f8354802ea98c87efc4
Author: Vikram Mulukutla <markivx@codeaurora.org>
Date:   Mon Jan 31 12:10:02 2011 -0800

    msm_gemini_core: Initialize spin lock before use

    Call spin_lock_init to init the reset_lock spinlock before
    using it.

    Change-Id: I3617637ccddec45b77461a3206b9c5bbbd653d49
Signed-off-by: default avatarVikram Mulukutla <markivx@codeaurora.org>

commit d209c14af102659dc03db2c6788ecfe48d5a2e58
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Mon Jan 31 16:42:28 2011 -0800

    camera: Free sensor mt9d112 gpio when probe fail

    GPIO was not free when sensor probe fail, causing gpio request
    for other sensors to fail.

    Change-Id: I493618f89933ceb02c7dccad997b140555314f11
Signed-off-by: default avatarKevin Chan <ktchan@codeaurora.org>

commit 7764d0078dde5729008ea3eeb2461f7649896924
Author: Ninad Patgaonkar <ninadp@codeaurora.org>
Date:   Mon Jan 31 15:23:17 2011 -0800

    msm: camera: unnecessary kernel log cleanup.

    Cleanup the incorrect usage of pr_info, pr_err and printk.

    Change-Id: Iee3008d53243ce2152fb7f202ab062a4bf04f88e
Signed-off-by: default avatarNinad Patgaonkar <ninadp@codeaurora.org>

commit 9d50eaf49f11820686ad65360d290033d1fc3480
Author: Rajakumar Govindaram <crajaku@codeaurora.org>
Date:   Tue Jan 18 13:16:47 2011 -0800

    camera: 8x60: Initial support for ov9726 camera sensor.

    Fluid 8x60 uses ov9726 as front camera sensor.
    Adding the kernel space driver for ov9726 1MP bayer sensor.

    Change-Id: I40b5ea67b11003f4810457e946bde755703dcb9d
Signed-off-by: default avatarRajakumar Govindaram <crajaku@codeaurora.org>

commit 7356266dfbbc8a300484e5846ebb5071541e2754
Author: Ninad Patgaonkar <ninadp@codeaurora.org>
Date:   Fri Jan 28 11:37:22 2011 -0800

    msm: camera: Fix for Camera App force close after taking snapshot

    VFE stop command was getting issued when the VFE was
    performing snapshot Capture. This was causing the
    get picture fail. Fixed this issue by issue VFE stop
    command only when the control node is closed & not
    during the frame node is being closed.

    Change-Id: I6e7b3fccfca6f91a9dae076ba27d91eba3e88a87
    CRs-Fixed: 273239
Signed-off-by: default avatarNinad Patgaonkar <ninadp@codeaurora.org>

commit 82f002419fd06344e29d96700c4bddb6a0879f44
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Sun Jan 23 00:13:08 2011 -0800

    camera: Fix I2C issue with mt9d112 sensor

    I2C issues are seen on mt9d112 sensor when switching between
    mipi and parallel sensor. Moved gpio free to sensor release
    function and pull pin to low before free.

    CRs-fixed: 272263
    Change-Id: I47064768a0a5204658d359464eaea2ff40d23088
Signed-off-by: default avatarKevin Chan <ktchan@codeaurora.org>

commit 9af4a5af23cd70700059a6d061602812198a1f08
Author: Ankit Premrajka <ankitp@codeaurora.org>
Date:   Thu Nov 18 15:59:21 2010 -0800

    v4l2: msm: Add support for get_control.

    Change-Id: I5135658625cb94354e77f5c3224ba45673cb8c9a
Signed-off-by: default avatarAnkit Premrajka <ankitp@codeaurora.org>

commit 40bae66b04e6e223d84648bd79b85c6288bd4197
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Wed Nov 10 11:29:00 2010 -0800

    v4l2: msm: Add support for set_ctrl

    Change-Id: Ifaa951901968a2de9ae927a579711200b24e4390
Signed-off-by: default avatarShuzhen Wang <shuzhenw@codeaurora.org>

commit 74626e6d2e22ce20065f3dd18e04eef5748dae5b
Author: Ankit Premrajka <ankitp@codeaurora.org>
Date:   Fri Nov 12 09:29:35 2010 -0800

    v4l2: Enable passing msm_isp_ctrl_cmd in v4l2_event structure.

    Create a new control command structure so that it can be
    packed in v4l2_event. This avoids the deep copy required
    for msm_ctrl_cmd.

    Change-Id: I48210062fb6c53c480174186994f26b4aa7e70d8
Signed-off-by: default avatarAnkit Premrajka <ankitp@codeaurora.org>

commit e19c02de0a3b062d21fe82eee4913e631683e105
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Wed Dec 22 11:43:27 2010 -0800

    v4l2: msm: Implement preview support for vx6953 sensor.

    Add v4l2 implementation of msm camera driver. The application
    interacts with the driver via v4l2 APIs.The configue daemon
    polls on events from /dev/config0 and sends appropriate control
    commands to hardware.

    Change-Id: Ifb07cd2452599106915035daddd862c074088d28
Signed-off-by: default avatarShuzhen Wang <shuzhenw@codeaurora.org>

commit dea7b70a47675f0c0dccaf5262890b7062bb1bfd
Author: Ninad Patgaonkar <ninadp@codeaurora.org>
Date:   Mon Jan 24 13:27:09 2011 -0800

    msm: camera: Fix for snapshot crash in post processing on 8x60

    The Post Processing framework for snapshot was handled incorrectly
    which was causing NULL pointer access thereby causing a crash.
    Added fix to avoid the NULL pointer access by handling the VFE
    commands correctly.

    Change-Id: I1fb1a0624b895421bf2a524b6087e76179402a0c
    CRs-Fixed: 271792
Signed-off-by: default avatarNinad Patgaonkar <ninadp@codeaurora.org>

commit c864947456f70e5e946d4cb147fd20d45c81b767
Author: Ankit Premrajka <ankitp@codeaurora.org>
Date:   Mon Jan 24 09:16:51 2011 -0800

    v4l2: msm: Added V4L2 config flag to the Kconfig file in msm

    Change-Id: I690309b0d1b608a4f3584e182cfd4b76510bc64f
Signed-off-by: default avatarAnkit Premrajka <ankitp@codeaurora.org>

commit 0d47fe7b97713cb34c74e8c701679bfb63256bd8
Author: Suresh Vankadara <svankada@codeaurora.org>
Date:   Fri Jan 21 14:52:36 2011 +0530

    msm: camera: Fix AXI clock issue

    Issue:
    In VFE driver AXI enable function is not called. So clk
    get and enable functions for AXI clk is not called. Any
    furthure calls for this clock without enabling the AXI
    don't have any effect. It leads to insufficient AXI clk
    for SNAPSHOT.

    Solution:
    Call AXI enable function add_axi_qos after enabling VFETASK

    CRs-Fixed: 271512
    CRs-Fixed: 270603
    CRs-Fixed: 272010
    Change-Id: I9907e3763b6ab23e192f11f72c080a7f6aeeeaeb
Signed-off-by: default avatarVankadara, Suresh <svankada@codeaurora.org>

commit 4ca57ce38f74d610fe36b1cce81f43b331522de9
Author: Sunid Wilson <sunid@codeaurora.org>
Date:   Thu Jan 20 16:07:37 2011 -0800

    msm: gemini: msm_gemini_hw_read crash fix

    The crash occurs due to the race condition in which the gemini
    base address is not assigned when the IRQ occurs during reset

    CRs-Fixed: 271661
    Change-Id: I7739133d7721c4f2172b6757be6ed0e7ae13c77c
Signed-off-by: default avatarSunid Wilson <sunid@codeaurora.org>

commit 13f25d0d24e0ff41d8eb42f5bc833512cdc73345
Author: Jeyaprakash Soundrapandian <jsound@codeaurora.org>
Date:   Fri Dec 17 14:38:10 2010 -0800

    camera: 8K: VCM power for fluid device Auto Focus.

    The fluid device VCM power is controlled by a seperate gpio pin.
    Need to enable for auto focus functionality.

    Change-Id: I27b4f2cbce254276b1320d8d068cf4a62294621a
Signed-off-by: default avatarJeyaprakash Soundrapandian <jsound@codeaurora.org>

commit 3ac74659bc63554d3797b15db9a214daddc43f81
Author: Kalyani Oruganti <kalyanio@codeaurora.org>
Date:   Wed Jan 19 14:43:23 2011 -0800

    camera: Remove names in code.

    Change-Id: I581e0424659abb843f6c9f9836831ec3da5fbd19
Signed-off-by: default avatarKalyani Oruganti <kalyanio@codeaurora.org>

commit a44c15e1793dae701a6c50fb483c4544caccd6ba
Author: Sunid Wilson <sunid@codeaurora.org>
Date:   Mon Jan 17 15:14:31 2011 -0800

    msm: camera: Fix camera freeze during gallery switch

    The issue was due to vfe_stop called even if the vfe is
    not powered on. Add condition check to call vfe_stop
    only if vfe_init is called.

    Change-Id: Ia76eeb8c8fbf8f53a40cb0d67df9bf905ff4e618
Signed-off-by: default avatarSunid Wilson <sunid@codeaurora.org>

commit 3d9a3727d0c261ac027220f5a57b6035ee25a0bc
Author: Sunid Wilson <sunid@codeaurora.org>
Date:   Fri Jan 14 14:56:38 2011 -0800

    msm: camera: Moving the AXI clock initialization to vfe init

    ebi1_vfe_clk initialization was done during probe. Changes are made
    to move the ebi1_vfe_clk initialization to vfe_init

    Change-Id: I02273470827d66ee5509273df72180defb56c99c
Signed-off-by: default avatarSunid Wilson <sunid@codeaurora.org>

commit dee2ef0c911f8fbc1ecaf3b9a873bcc1f974fb87
Author: Sunid Wilson <sunid@codeaurora.org>
Date:   Wed Jan 12 18:53:53 2011 -0800

    msm: camera: Fix for bus overflow error

    The bus overflow error was due to the race condition while
    stop recording. The bus frequency update is not required
    during stop recording since we are having same frequencies
    for preview and video mode. Hence the fix

    CRs-Fixed: 270692
    CRs-Fixed: 270293
    Change-Id: I33a2c8d27eeaccd896a47c4f6c379bd04ce68bc9
Signed-off-by: default avatarSunid Wilson <sunid@codeaurora.org>

commit 557600ea0a26247ab2ea27dd3bd7de2100e93fd4
Author: Sunid Wilson <sunid@codeaurora.org>
Date:   Thu Jan 13 16:21:54 2011 -0800

    msm: camera: Fix high power issue while camera exit

    The high power was due to ebi1_vfe_clk not released
    during camera exit because of which AXI frequency stays
    at 192MHz.

    Change-Id: I03393bd95393286d10f45c29a0555bb97ad15d5c
Signed-off-by: default avatarSunid Wilson <sunid@codeaurora.org>

commit 9da56401c67499e0c57ba719dc26d27882e8aa06
Author: Sunid Wilson <sunid@codeaurora.org>
Date:   Wed Jan 12 18:44:16 2011 -0800

    msm: camera: Power on the core during config open

    Changes for starting VFE, VPE core and the clocks only while
    config node is opened.

    Change-Id: I8658beef2d513d64b603f475f7b7945d05331d37
Signed-off-by: default avatarSunid Wilson <sunid@codeaurora.org>

commit e2052c2422b604b97da956792a2aa966b9a04fc5
Author: Ninad Patgaonkar <ninadp@codeaurora.org>
Date:   Wed Jan 12 12:26:29 2011 -0800

    msm: camera: Fix for ANR for Stop Recording on 8x60

    No video frames were generated by the camera driver when
    recording was started. This was happening due to inconsistent
    state of the update_ack_pending flag as it was getting
    changed in two different threads. Fixed this issue by making the
    flag updates in the correct order.

    Change-Id: I3707b96f559c22b60786fccc3da12f68a2b6b4e4
    CRs-Fixed: 269177
Signed-off-by: default avatarNinad Patgaonkar <ninadp@codeaurora.org>

commit c91829d9f284f013010a6299a883eee7e382514c
Author: Nagesh Subba Reddy <nageshsreddy@codeaurora.org>
Date:   Wed Jan 12 15:37:39 2011 -0800

    media: camera: Fix to stop VFE while in error case

    Change-Id: Idbb23558567f6c4d03997e96bcfed899ed6cd079
    CRs-Fixed: 270691
Signed-off-by: default avatarNagesh Subba Reddy <nageshsreddy@codeaurora.org>

commit e56b3d0fa05a9da1a67a74668b4ff73d28e746eb
Author: Sunid Wilson <sunid@codeaurora.org>
Date:   Mon Jan 10 18:08:54 2011 -0800

    msm: camera: Fix gemini reset issue

    Fixed the race condition in which kernel thread updates
    the gemini registers before the h/w is reset.

    CRs-Fixed: 270331
    Change-Id: I79e9ddab052069b27829c41874215f3dce914aad
Signed-off-by: default avatarSunid Wilson <sunid@codeaurora.org>

commit 43a2d07f75e855e3199b4914432656901b6bbac9
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Mon Jan 10 18:26:59 2011 -0800

    camera: 7x30: Increase MT9E013 fps to 30

    30fps is needed for customer support.
    Changed pll multiplier and vfe clock to
    increase fps from 25.5 to 30fps

    Change-Id: Ibd061ba3c2f3cc68f3df5d873d10699e9a613fc8
    CRs-Fixed: 270490
Signed-off-by: default avatarKevin Chan <ktchan@codeaurora.org>

commit 4908e57928a2c2a7570a4d991561f7c35f6cbb05
Author: Ninad Patgaonkar <ninadp@codeaurora.org>
Date:   Fri Jan 7 12:22:28 2011 -0800

    msm: camera: Support for providing sensor mount angle to the APP

    Added support to provide the sensor mount angle. This will
    enable the camera application to display the camera preview
    with the correct orientation.

    Change-Id: I9f3096807f6f99c711a12044f5259dab30555986
Signed-off-by: default avatarNinad Patgaonkar <ninadp@codeaurora.org>

commit 04c9d5a80da1985e95871b44665f1abd99e962bb
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Thu Dec 16 21:24:06 2010 -0800

    camera: 7x30: Initial support for mt9e013 camera sensor

    Initial support for mt9e013 camera sensor on 7x30.

    Change-Id: I99022a044626f6d81dbcd884173c1de4f0832b83
Signed-off-by: default avatarKevin Chan <ktchan@codeaurora.org>

commit d1ed639bff52462ef2fb9895ceb91393b70e542a
Author: Lakshmi Narayana Kalavala <lkalaval@codeaurora.org>
Date:   Tue Jan 4 16:12:04 2011 +0530

    msm: camera: Memory leak fix for VFE 3.1 configurations

    Fixed the memory leaks caused by vfe31_config function

    Change-Id: Ibc975d5b5a8672aac879e2c3355e8a11bea9a83e
Signed-off-by: default avatarLakshmi Narayana Kalavala <lkalaval@codeaurora.org>

commit baef42aedb8d6784711910cc977ed70c4b0b4dd0
Author: Nagesh Subba Reddy <nageshsreddy@codeaurora.org>
Date:   Wed Nov 24 17:00:17 2010 -0800

    media: camera: Remove redundant code

    Change-Id: Icd77cd5a558c3d88280af242447be719aa065e0c
Signed-off-by: default avatarNagesh Subba Reddy <nageshsreddy@codeaurora.org>

commit 1ae8151b96eaa4e728a0c55e2244f4b904c734d5
Author: Stephen Boyd <sboyd@codeaurora.org>
Date:   Mon Dec 20 17:17:36 2010 -0800

    media: camera: Migrate to clock rate voting

    Use the clock api, instead of pm_qos, to vote on the EBI1 rate.

    The transformation is as follows:

     pm_qos_add_request() -> clk_get()

     pm_qos_update_request(*, 0) -> clk_disable()

     pm_qos_update_request(*, <nonzero>) -> clk_enable()

     pm_qos_remove_request() -> clk_put()

    The rate a driver requests is almost always the same and can be
    set with clk_set_rate() after the clk_get() call.

    Change-Id: I3085e30804caadcf2d886704c32e975bdd32034e
Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>

commit cae58801afa1df0eaa23d5b108c61ad0814fc33c
Author: Nagesh Subba Reddy <nageshsreddy@codeaurora.org>
Date:   Tue Dec 28 19:27:46 2010 -0800

    media: camera: Fix for the crash in ISR

    Request the IRQ only after enable the clocks, and free the IRQ
    before disable of clock. Also exhaust the VPE tasklet before
    release of the VPE IRQ.

    Change-Id: I85930837bf0edac0b0cf4fbeaeb2d5b74c78a135
    CRs-Fixed: 268896
Signed-off-by: default avatarNagesh Subba Reddy <nageshsreddy@codeaurora.org>

commit bb5b35802eee605705d5d2ed9bc8b953b15e5dd3
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Mon Dec 6 23:37:37 2010 -0800

    camera: vx6953 len shading settings and optimization

    Added len shading settings for cut3 sensors
    Reduced latency in the driver
    Added group parameter hold to all register
    that can be changed during streaming.
    Updated gpio apis

    Change-Id: Ic0045feb4fa9a56aa3eab7e6a2a25d8c777f8ea8
Signed-off-by: default avatarKevin Chan <ktchan@codeaurora.org>

commit e9e33ac5c79ccf08bc91f6d7ba1c991696da8aff
Author: Ninad Patgaonkar <ninadp@codeaurora.org>
Date:   Thu Dec 16 12:35:17 2010 -0800

    msm: camera: Fix for snapshot IOCTL fail on 8x60

    Insufficient bus bandwidth request for snapshot was
    introducing latency thereby causing snapshot to fail.
    Increased the bus bandwidth request to fix this issue.
    Also corrected the bus bandwidth request sequence.

    Change-Id: I05e1d8e6a3a33ecc0c3ba2696334a3a69d61c821
    CR-Fixed: 267866
    CR-Fixed: 268406
Signed-off-by: default avatarNinad Patgaonkar <ninadp@codeaurora.org>

commit c5548427efbe18ba19395be55039b0b941c88076
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Wed Dec 1 17:25:18 2010 -0800

    Camera: VX6953 Exposure stretch changes

    Use horizontal stretch instead of vertical stretch for exposure changes.
    Update exposure stretch using frame length lines

    Change-Id: I40883294afa0eaf4959a6025804bcdf314e3b196
Signed-off-by: default avatarKevin Chan <ktchan@codeaurora.org>

commit b0ebf9d3ef7184bf6219a1c409bc5488d961bd49
Author: Nagesh Subba Reddy <nageshsreddy@codeaurora.org>
Date:   Wed Dec 15 22:19:57 2010 -0800

    media: camera: Fix for the memory leak in VPE

    Added code to free memory in error case while vfe config.

    Change-Id: Iee8bd39f0e99cc8b5c30706b1f26b72429bffecc
    Crs-Fixed: 268358
Signed-off-by: default avatarNagesh Subba Reddy <nageshsreddy@codeaurora.org>

commit aff11bd8000c639821a9f0f5bcbfe5d586d4a1d4
Author: Nagesh Subba Reddy <nageshsreddy@codeaurora.org>
Date:   Wed Dec 15 22:01:44 2010 -0800

    media: camera: Fix for the incorrect error propagation for camif

    The vfe error irq's are valid only when the vfe is in active state.
    Hence process error irq only when vfe is active.

    Change-Id: I9a894e16ec94bb82c5b9aa81ada626079a46a31d
    CRs-Fixed: 267919
Signed-off-by: default avatarNagesh Subba Reddy <nageshsreddy@codeaurora.org>

commit 1a3eee3e9e172ba3af78951e456a6c363fc069e1
Author: Nagesh Subba Reddy <nageshsreddy@codeaurora.org>
Date:   Tue Dec 14 12:32:10 2010 -0800

    media: camera: Fix for the crash while face detection enabled

    Removed the check for the PP mask for every release frame

    Change-Id: Id5307424e7c46b5a120105a8bde4f001cfe6ebe1
    CRs-Fixed: 264760
Signed-off-by: default avatarNagesh Subba Reddy <nageshsreddy@codeaurora.org>

commit bda36c754dcdbfc67053b66dd03f3047ea9ee5c5
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Wed Dec 1 17:00:14 2010 -0800

    camera: VX6953 Update register settings and remove sensor reset

    With updated settings from ST, the sensor doesnt need to do a sensor reset
    during context switch in cut 3 sensors.

    Change-Id: I2637c551e7e92d12a4e2ced484efe86866d0c3b9
Signed-off-by: default avatarKevin Chan <ktchan@codeaurora.org>

commit 36eab0c5c46292b6ba56ef26ae33d1412b105a5c
Author: Zhang Chang Ken <kenz@codeaurora.org>
Date:   Wed Dec 15 12:37:21 2010 -0500

    msm: 8x60: Enable Digital Power Supply for Fluid Main Sensor

    PM8058 LDO25 (VREG_L25A) needs be enabled for Fluid main sensor.
    It was enabled by default in previous build. Should be controlled
    in camera block. The line is not connected in Surf and FFA.

    Change-Id: I666fa9f6e146b7a867bd7095d22dfa5c476b9f93
Signed-off-by: default avatarZhang Chang Ken <kenz@codeaurora.org>

commit 9232895c67d0eefbf7af3fa356b27ba200430ec8
Author: Gagan Mac <gmac@codeaurora.org>
Date:   Mon Dec 13 14:58:55 2010 -0700

    msm: 8x60: Add name for video and camera clients

    This patch adds the name to camera and video
    platform data to view requests using debugfs

    Change-Id: I53d25548cb59b4a19675f0a556f571c63e4b32ae
Signed-off-by: default avatarGagan Mac <gmac@codeaurora.org>

commit 69273c489e8efee996e8aba3b53fe884e6001b1f
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Wed Dec 1 16:25:46 2010 -0800

    camera: VX6953 Calibration Data Update

    Update Vx6953 Calibration Data

    Change-Id: If899759b5afbba5bd1d04533647dcdab77a8c079
Signed-off-by: default avatarKevin Chan <ktchan@codeaurora.org>

commit 0522ed277ba1fdfa3c9bccc3e5b3fa4a1df540db
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Wed Dec 1 15:13:19 2010 -0800

    camera: VX6953 power off after camera exit

    Remove the optimization fix which involves keep the camera power on.

    Change-Id: I50a255d73180960a00657920a19bd8579b4c32bc
Signed-off-by: default avatarKevin Chan <ktchan@codeaurora.org>

commit 4e0a477e68ed2678f0904e8ba2dda43d88cf9700
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Mon Dec 6 10:23:37 2010 -0800

    camera: Fix for camera strobe flash failure

    Added gpio request in camera flash
    Reordered init function, so that gpio requests are done before init irq

    Change-Id: I1b117c2e1cc9044d24c1695db65017523b51e1e3
    CRs-fixed: 266336
Signed-off-by: default avatarKevin Chan <ktchan@codeaurora.org>

commit 45b3143c404461dee238e64406ef008ccdb15f60
Author: Nagesh Subba Reddy <nageshsreddy@codeaurora.org>
Date:   Thu Dec 2 16:23:52 2010 -0800

    media: camera: Fix for the camera crash while exit.

    Call free_irq, before release of the state variables.
    Also wait for the tasklet to complete pending tasks.

    Change-Id: I1bfbedf0bd887e150efbfb2eff003b9a3738ecf2
    CRs-Fixed: 266531
Signed-off-by: default avatarNagesh Subba Reddy <nageshsreddy@codeaurora.org>

commit ea5282cf42fae68d37e22f58c17236f98de45140
Author: Sunid Wilson <sunid@codeaurora.org>
Date:   Mon Dec 6 13:44:19 2010 -0800

    msm: gemini: Memory leak fix while issuing hw commands

    Fixed the memory leak caused by msm_gemini_ioctl_hw_cmds function

    Change-Id: Ifc7ce9d653cdb0ce4b1020e2be4b05b89cbaf66c
Signed-off-by: default avatarSunid Wilson <sunid@codeaurora.org>

commit 3ac59c5be790c9ce6d38d03dfa24c71b7ca93d1f
Author: Sunid Wilson <sunid@codeaurora.org>
Date:   Mon Nov 15 15:30:15 2010 -0800

    msm: camera: Support for querying the camera info

    Added ioctl for querying the camera info such as
    1) num of camera nodes created
    2) check the position of camera (front/back)
    3) check whether 3D mode is supported

    Change-Id: I4492c3cc8b32b8d6a607775f6987d1520b26274c
Signed-off-by: default avatarSunid Wilson <sunid@codeaurora.org>

commit 1428d49561afccbbd7ffdb63a10518a9d5d9a615
Author: Nagesh Subba Reddy <nageshsreddy@codeaurora.org>
Date:   Fri Dec 3 15:15:22 2010 -0800

    media: camera: Fix for the memory leak issue in VPE.

    Memory allocated in vpe_parse_irq was not freed in vpe_do_tasklet.

    Change-Id: Ib30bed9092a38a35ca2f6debfb704d71a8f3285d
Signed-off-by: default avatarNagesh Subba Reddy <nageshsreddy@codeaurora.org>

commit 49097453aa9c6d0485bec5588f071cc194d251fb
Author: Ninad Patgaonkar <ninadp@codeaurora.org>
Date:   Thu Dec 2 15:33:54 2010 -0800

    msm: camera Fix for camcorder crash due to preview roll on 8x60

    Insufficient bus bandwidth request for preview was
    introducing latency in camera preview thereby causing
    preview to roll. Increased the bus bandwidth request
    to fix this issue.

    Change-Id: I9205a9c52306461a5c2f98ca7459121799ea5103
Signed-off-by: default avatarNinad Patgaonkar <ninadp@codeaurora.org>

commit c846c09a15a29bef88ffb8bc70359f59158d0391
Author: Nagesh Subba Reddy <nageshsreddy@codeaurora.org>
Date:   Thu Dec 2 16:39:05 2010 -0800

    media: camera: Added error case handling

    Added code for error case.
    After the error case null pointer access was possible,
    since the crop length was still non zero.

    Change-Id: Iec3ca28e5456b460df651dcdae7815367cb0b863
Signed-off-by: default avatarNagesh Subba Reddy <nageshsreddy@codeaurora.org>

commit 4559cf7c6b66b23ee52995ed5e3ac8b1d9a0d993
Author: Nagesh Subba Reddy <nageshsreddy@codeaurora.org>
Date:   Wed Dec 1 17:53:29 2010 -0800

    media: camera: Fix for high events enqueued in msm_enqueue

    Added error case handling when the config thread fails to de-queue
    the commands. Removed the BUG_ON code, since there is a possibility

    Change-Id: I9bd538766dcdee58467c0affc56bd90abe51a8da
    CRs-Fixed: 263194
Signed-off-by: default avatarNagesh Subba Reddy <nageshsreddy@codeaurora.org>

commit 96415514ea19f02ea46e4991f52994fc86f06055
Author: Sunid Wilson <sunid@codeaurora.org>
Date:   Wed Dec 1 11:22:10 2010 -0800

    msm: gemini: Update power collapse sequence

    Corrected the power collapse sequence for gemini core. Also
    added proper error checking while calling the regulator APIs.

    Change-Id: I68d797827065875f7c9d9c97c8eda9956e92ff1a
Signed-off-by: default avatarSunid Wilson <sunid@codeaurora.org>

commit ed36b5ab299f9527ecdb77a298ff953fd69d5f1f
Author: Nagesh Subba Reddy <nageshsreddy@codeaurora.org>
Date:   Tue Nov 30 10:29:59 2010 -0800

    media: camera: Fix for the crashes while taking snapshot in VFE 3.1

    ISR request was done before the initialization of the state variables
    and setting of VFE clocks. When the ISR was triggered, it lead to
    the crash. Changed the sequence for request ISR.

    Change-Id: Ie74226e5fdde22ab6c58485d028dd919f1308b52
    CRs-Fixed: 265938
Signed-off-by: default avatarNagesh Subba Reddy <nageshsreddy@codeaurora.org>

commit e822d50c0e3165c945780f45b50cb86420ce745e
Author: Parker Zhang <parker@codeaurora.org>
Date:   Tue Nov 23 14:08:09 2010 -0500

    camera: Rotate IMX074 sensor output with 180 degree

    This change fixes the issue that the IMX074 sensor output
    was upside down. The orientation register of IMX074 is
    changed so that the sensor output is flipped in both
    vertical and horizontal direction.

    Change-Id: Iedd96f1e4fcfc664bf22d453d2abc5476ec77b1f
Signed-off-by: default avatarParker Zhang <parker@codeaurora.org>

commit b43f0058771c8a48b080fb308c9e479b65c530b8
Author: Nagesh Subba Reddy <nageshsreddy@codeaurora.org>
Date:   Wed Nov 17 18:42:17 2010 -0800

    media: camera: Fix for stop recording for YUV sensor

    The first video recording was stopped only after the start of the
    second recording session. Since reg update was not called while stop
    recording for YUV sensor.

    Change-Id: I6fe2442075dceee17f35358de2ff3e406e3064bc
    CRs-Fixed: 264490
Signed-off-by: default avatarNagesh Subba Reddy <nageshsreddy@codeaurora.org>

commit f9d07f975bc124c3b80821da18e7949d438f105c
Author: Nagesh Subba Reddy <nageshsreddy@codeaurora.org>
Date:   Wed Nov 10 14:42:14 2010 -0800

    media: camera: corrected the fragment count per frame

    Corrected the max frame fragment count from 8 to 4.

    Change-Id: Ic1770aaca5a7ae0b0f9bacd72e648ff30fb29034
    CRs-Fixed: 262784
Signed-off-by: default avatarNagesh Subba Reddy <nageshsreddy@codeaurora.org>

commit 1a6c9e497dce795e7d173bb8ff06084de7eec157
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Mon Nov 15 17:08:49 2010 -0800

    camera: Fix camera GPIO errors during bootup

    Replaced gpio_set_value to gpio_set_value_cansleep on 8x60.
    Changed drivers to avoid calling gpio_set_direction_output twice.

    Change-Id: Idda71b3fd58128977620e88988bffb9a46072e38
Signed-off-by: default avatarKevin Chan <ktchan@codeaurora.org>

commit b560e553d4b4d757be088fbce8a4326540af12fe
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Mon Nov 15 16:52:52 2010 -0800

    camera: Initialize camio_clk structure

    Camio_clk is not initialize properly thus setting mclock_rate to 0.
    Added initialization to probe_on and sensor_clk_on.

    Change-Id: Ifdd25c68d00b9a130c84ba49e0e1ff0374d6461c
Signed-off-by: default avatarKevin Chan <ktchan@codeaurora.org>

commit c66ef9612fb49e34cc766c9d2ba94f0ee8587648
Author: Nagesh Subba Reddy <nageshsreddy@codeaurora.org>
Date:   Fri Nov 12 15:41:27 2010 -0800

    media: camera: Fix for 720p video recording issue

    Fixed the 720p video recording issue.
    corrected the reference source x and y points calculation.

    Change-Id: I978e18ebaf6eb7e488f8b295ed0880a80bdc87ad
Signed-off-by: default avatarNagesh Subba Reddy <nageshsreddy@codeaurora.org>
    CRs-Fixed: 263252

commit 3d3baf81f9e77ab72c8dbc2428370a39ec4a9737
Author: Nagesh Subba Reddy <nageshsreddy@codeaurora.org>
Date:   Thu Nov 11 16:49:42 2010 -0800

    media: camera: Error check for tainted variable

    Added a check to validate the crop length.

    Change-Id: If5b009b5b85fb5c5691a7a65ca66eea51ec4aa3f
Signed-off-by: default avatarNagesh Subba Reddy <nageshsreddy@codeaurora.org>
    CRs-Fixed: 262740

commit 9e167efdada10cd5b18cfdd008b0d1dd6e187378
Author: Sunid Wilson <sunid@codeaurora.org>
Date:   Thu Nov 11 10:14:52 2010 -0800

    msm: gemini: Fix for using multiple output buffers

    Update the code to update the ping/pong buffer on WE irq.
    Fixed the PMEM failure issue while using multiple buffers.
    Also drained the queues while release.

    CRs-Fixed: 263227
    Change-Id: I8aeb25d1f1ffe1aaf7e55bbf1f8fceaba798b304
Signed-off-by: default avatarSunid Wilson <sunid@codeaurora.org>

commit 586e533cb265f7a3f0547fbf664c9d02011b2fba
Author: Nagesh Subba Reddy <nageshsreddy@codeaurora.org>
Date:   Tue Nov 9 12:10:54 2010 -0800

    media: camera: Error check for tainted variable

    Added boundary condition check for the tainted variable.

    Change-Id: I87a43e28e127e486bb9116964cd22365f64984a4
Signed-off-by: default avatarNagesh Subba Reddy <nageshsreddy@codeaurora.org>
    CRs-Fixed: 262784

commit b77db2c4a482e5d71101506065503467de17e672
Author: Ninad Patgaonkar <ninadp@codeaurora.org>
Date:   Thu Oct 21 17:55:16 2010 -0700

    msm: camera: Support for requesting Bus bandwidth on 8x60

    Added support to request the corresponding bus bandwidth for
    different camera use cases.

    Change-Id: I531a6a6884178716cf73707e33b0b325a958949d
Signed-off-by: default avatarNinad Patgaonkar <ninadp@codeaurora.org>

commit c1246a062aa72415b02704a1adf10731d267e80b
Author: Ninad Patgaonkar <ninadp@codeaurora.org>
Date:   Mon Nov 8 16:45:40 2010 -0800

    msm: camera: Fix for camera crash when webcam is launched on 8x60

    Webcam doesn't support Strobe flash. Added check to not
    init & release Strobe flash if Strobe flash is not present
    on the sensor.

    Change-Id: I4666e98e5236d4b50e8417d7dc69258c9f6ae7e6
Signed-off-by: default avatarNinad Patgaonkar <ninadp@codeaurora.org>

commit 162abf7b3afae6c250fe36456cd90454fe4cafd0
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Tue Nov 2 02:11:56 2010 -0700

    camera: Disable all camera clock after camera release

    Disabled all camera related clocks after camera release.

    Change-Id: I30a99be09a60947739e4ab771bfb5edd0f8ed923
Signed-off-by: default avatarKevin Chan <ktchan@codeaurora.org>

commit 5d9ae3cef234a89a6c2c2b03790e4b2dff073662
Author: Kiran Kumar H N <hurlisal@codeaurora.org>
Date:   Wed Oct 27 11:31:29 2010 -0700

    camera: IMX074 sensor configuration time optimization

    Reduced the amount of delay after sensor register
    configuration for preview and snapshot modes.

    Change-Id: Ie9e1d99cb43b53b0889282915ed6ffeabe5947f5
Signed-off-by: default avatarKiran Kumar H N <hurlisal@codeaurora.org>

commit be2ca92457ca00d30e01ce9687c5971871bd8450
Author: Jignesh Mehta <jigneshm@codeaurora.org>
Date:   Wed Oct 20 12:13:04 2010 -0700

    camera: Add the support of facial framework feature

    attach face-detection region-of-interested information to frame

    Change-Id: I6a127163dad740f452d67a439cddae0306ea49e2
Signed-off-by: default avatarJignesh Mehta <jigneshm@codeaurora.org>

commit 324d255ee45b6bd6f412aa9efc5c3e95d829a799
Author: Ninad Patgaonkar <ninadp@codeaurora.org>
Date:   Thu Oct 14 16:53:15 2010 -0700

    msm: camera: Support for common IOCTL call for LED & Strobe Flash

    Added a single IOCT interface for LED & Strobe Flash control
    operations.

    Change-Id: I206076dd82ad99588c74e2776cf8a2875ddc35e5
Signed-off-by: default avatarNinad Patgaonkar <ninadp@codeaurora.org>

commit 470338deec01498a189f19f4e58a38f36cca2096
Author: Lakshmi Narayana Kalavala <lkalaval@codeaurora.org>
Date:   Tue Oct 19 11:25:41 2010 +0530

    msm: camera: Support for readable debug messages

    Display the actual command name processed instead of numerical values
    in camera,vfe and vpe drivers

    Change-Id: Ie0f6e54c98e97e2ed4abcba6c78eee374f244eb7
Signed-off-by: default avatarLakshmi Narayana Kalavala <lkalaval@codeaurora.org>

commit e7cc19c8991a41767322f25cc2129c5e52f62e5d
Author: Sunid Wilson <sunid@codeaurora.org>
Date:   Tue Oct 19 00:34:46 2010 -0700

    media: camera: Fix for freeze in msm_get_pic while aborting capture

    Changes are made to woke up the userspace thread executing msm_get_pic
    when abort is called during capture. Also made the abort flag thread
    safe and reset the flag during msm_get_pic to avoid race condition which
    can cause capture failure

    CRs-fixed: 260328
    Change-Id: I5be1153494a5680079788e994b417ad2136260bb
Signed-off-by: default avatarSunid Wilson <sunid@codeaurora.org>

commit 9e89d32f461e8def6b4be76f7b3f775e6beff438
Author: Nagesh Subba Reddy <nageshsreddy@codeaurora.org>
Date:   Wed Oct 13 11:28:31 2010 -0700

    media: camera: Fix for the kernel panic in get_stats

    Remove the entry from the event queue when system signals to
    come out of the wait. The memory was freed and the entry still
    remained in the queue which caused the issue.

    CRs-Fixed: 258041

    Change-Id: I3841617dc85a069bce7f3b9b32e3eb5ca836af4f
Signed-off-by: default avatarNagesh Subba Reddy <nageshsreddy@codeaurora.org>

commit 93d4ce2ce6dd8ebddff3deda5737ff3cd0489100
Author: Ninad Patgaonkar <ninadp@codeaurora.org>
Date:   Fri Oct 8 18:21:34 2010 -0700

    Revert "msm: camera: Power optimization for camera on 8x60"

    This reverts commit fca80bafdddce241097a4d0588b82ba551a42e33.
    Reverting this commit as the power optimizations in camera are
    causing instability in the camera functionality

    Change-Id: I646759c98a4dd27d1ad7507ed5778ee82e0f07a0
    CRs-fixed: 259344
Signed-off-by: default avatarNinad Patgaonkar <ninadp@codeaurora.org>

commit 98564e9e5057353903ae17b968205f0d7bb275e3
Author: Kalyani Oruganti <ckoruga@codeaurora.org>
Date:   Fri Oct 8 15:56:29 2010 -0700

    camera: Check pending_timer before add_timer.

    To allow multiple recharge, the fix to check the pending
    timer before adding timer is added.

    CRs-fixed: 258872
    Change-Id: I45eebd3decb0d50e08044db49b5728842e8a3fb9
Signed-off-by: default avatarKalyani Oruganti <ckoruga@codeaurora.org>

commit a3f38d00ff72278bfbc4267abec6e95503226e4c
Author: David Brown <davidb@codeaurora.org>
Date:   Thu Oct 7 16:31:04 2010 -0700

    msm: video: Warning fix

    Eliminate unused variable.

    Change-Id: I447715556b5e24c21740346080f8c11ac241136b
Signed-off-by: default avatarDavid Brown <davidb@codeaurora.org>

commit 2bd474076644ff1da7de1031b2a952cf449fe44f
Author: David Brown <davidb@codeaurora.org>
Date:   Thu Oct 7 15:05:51 2010 -0700

    camera: Warning fix

    Add missing 'const'.

    Change-Id: I44d50ff9751450d2eee465d368cd830f005f4715
Signed-off-by: default avatarDavid Brown <davidb@codeaurora.org>

commit 3d112baae3f89c73a626db3580ba76aa71b0a5d9
Author: Kalyani Oruganti <ckoruga@codeaurora.org>
Date:   Fri Oct 8 14:06:25 2010 -0700

    camera: Fix the target freeze for MT9D112 raw snapshot.

    Added delay as the sensor mode transition is not done
    within time frame which results in camif errors.

    CRs-fixed: 258767
    Change-Id: I75e8093c74ca43ca6ba4144bca3bb1caa708785a
Signed-off-by: default avatarKalyani Oruganti <ckoruga@codeaurora.org>

commit 9e33d97c2666efd1cde1399141113f7f885775c2
Author: Kalyani Oruganti <ckoruga@codeaurora.org>
Date:   Wed Sep 29 18:46:09 2010 -0700

    camera: Apply new settings to vx6953 cut3 sensor.

    Changed the patch and edof settings for VX6953 cut3
    (5MP Bayer sensor) with new settings from sensor
    vendor.

    CRs-fixed: 252737
    Change-Id: Ic3146494472e3e0b7d7d9ba06ba9f2dd3ac91afb
Signed-off-by: default avatarKalyani Oruganti <ckoruga@codeaurora.org>

commit 942fe17e991be80b556919ef89eb6e2838d96cb3
Author: Yan, Yupeng <yyan@codeaurora.org>
Date:   Wed Oct 6 10:13:18 2010 -0700

    msm: camera: Fix for camera crash on 8660 V2 SURF

    Fixed incorrect error-handling logic when GPIO request failed.

    Change-Id: I0c979605d1c558ec1b32529c295890e0963bc29c
Signed-off-by: default avatarYupeng Yan <yyan@codeaurora.org>

commit ddedf8014c5b8b9dfd862d7f825ff3c4db5d5e74
Author: Nagesh Subba Reddy <nageshsreddy@codeaurora.org>
Date:   Thu Oct 7 18:31:56 2010 -0700

    media: camera: Fix for jerkiness in recorded clips

    Corrected the region of interest calculation and the reference
    dimensions to the VPE.This was wrong before which led to the
    displacement of the image after certain zoom level and in turn
    jerkiness.

    CRs-Fixed: 258491

    Change-Id: Ia21c60147c8e2fddee3d22801a74914b7d8737f2
Signed-off-by: default avatarNagesh Subba Reddy <nageshsreddy@codeaurora.org>

commit 5b591f439d010c4cb4c5748e452f86393d2212e9
Author: Kalyani Oruganti <ckoruga@codeaurora.org>
Date:   Wed Jul 28 13:54:34 2010 -0700

    board: 7x30: Not enabling the lvs1 by default.

    The lvs1 voltage supply should not be enabled by
    default. This is taken care by camera.

    CRs-fixed: 245986
    Change-Id: Ia5d74d4c451587d600fb79fecef3559e878d06cb
Signed-off-by: default avatarKalyani Oruganti <ckoruga@codeaurora.org>

commit a3a922519268541b3c2cb430c157ad6ff7ad384e
Author: Abhijeet Dharmapurikar <adharmap@codeaurora.org>
Date:   Wed Oct 6 16:07:05 2010 -0700

    msm: camera: Fix for wake_lock_stats crash

    Corruption was observed with msm_camera wakelock. The issue
    was the data in the wakelock was zeroed out leading to a null pointer
    access. The root cause was that the msm_sync_init could return error
    without destroying the wake lock. An error from msm_sync_init causes
    the the code to free the sync structure.

    Call wake_lock_destroy in the failure path.

    Change-Id: I946e3d9d4bb73ee3d82da8a4c232c1b3f2bc9f9c
Signed-off-by: default avatarAbhijeet Dharmapurikar <adharmap@codeaurora.org>

commit b7d3a4af036bde618355cbe40d467175c4b017f7
Author: Kalyani Oruganti <ckoruga@codeaurora.org>
Date:   Wed Oct 6 11:48:35 2010 -0700

    camera: Fix the snapshot over exposure for VX6953 sensor.

    Removed the condition checking for change in exposure,
    as the exposure registers in case of snapshot should always
    be written.

    CRs-fixed: 258085
    Change-Id: I0ff6f34d1e54cb86c4e9d8ad1c127d403e7ff6c9
Signed-off-by: default avatarKalyani Oruganti <ckoruga@codeaurora.org>

commit b5571ba4e09992b099fe33fbd70ff22c2d67105c
Author: Kalyani Oruganti <ckoruga@codeaurora.org>
Date:   Mon Oct 4 16:26:55 2010 -0700

    camera: Increase the fps for all sensors.

    Change the fps for MT9P012 foxconn (5MP Bayer)
    and IMX074 (12MP bayer) sensor
    from 29.5 to 30.5.

    CRs-fixed: 256371
    Change-Id: I42d926ff7551b295f58d029dad7d06586d992893
Signed-off-by: default avatarKalyani Oruganti <ckoruga@codeaurora.org>

commit d334c2e27585c1ce69b7af56f16a5d570036ff0f
Author: Sunid Wilson <sunid@codeaurora.org>
Date:   Thu Sep 30 16:39:35 2010 -0700

    msm: camera: Protect the pmem regions using spinlock

    Changes for protecting the pmem frame region and pmem
    stats regions using spinlock.

    Change-Id: Ie63c67b32ab853812b01b21e423fa694aec68835
    CRs-Fixed: 257679
Signed-off-by: default avatarSunid Wilson <sunid@codeaurora.org>

commit fca80bafdddce241097a4d0588b82ba551a42e33
Author: Ninad Patgaonkar <ninadp@codeaurora.org>
Date:   Mon Oct 4 12:34:28 2010 -0700

    msm: camera: Power optimization for camera on 8x60

    Added support for turning OFF VFE clock when camera exits.
    Support for changing the VFE clock frequency to optimum
    value depending on VFE operation mode.

    Change-Id: I7ab309f9abe9a2e3b94688836dcb1047430c3136
Signed-off-by: default avatarNinad Patgaonkar <ninadp@codeaurora.org>

commit 8a168498691b74fda07731e3b194c9efe57fa99b
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Wed Sep 29 00:50:33 2010 -0700

    camera: Return fail when gpio request fail

    Work around fix for issue with some hardware gpio issue

    CRs-fixed: 258459
    Change-Id: I81b9519f73890f0a073f904e4e45659e2c995e3a
Signed-off-by: default avatarKevin Chan <ktchan@codeaurora.org>

commit f3789741c01c0c9dba7cea9f376048d407567991
Author: Jignesh Mehta <jigneshm@codeaurora.org>
Date:   Tue Sep 28 23:00:24 2010 -0700

    camera:  Fix for anti flicker detection kernel crash

    For post-processing, on_heap count was not incremented
    so that when event come back from config thread,
    it free as the count was not incremented cause a crash
    when try to enqueue to other queue (for preview post-processing,
    frame queue and for snapshot post-processing, it is pictutre queue)

    CRs-Fixed: 257277
    Change-Id: Ia96caf2021165275afacdb31d7fcb86fc32c7516
Signed-off-by: default avatarJignesh Mehta <jigneshm@codeaurora.org>

commit e3d3549117cf4f6940aa7da3f2f6a0af31b82540
Author: Ninad Patgaonkar <ninadp@codeaurora.org>
Date:   Tue Sep 28 10:31:26 2010 -0700

    msm: camera: Fix for Camcorder crash in Camera on 8x60

    Prevented NULL pointer memory access in camera by
    correcting enqueue & dequeue sequence.

    CRs-Fixed: 255073
    Change-Id: Ie001cb19ab1f31c810f9fb3e3c15cd9684713eef
Signed-off-by: default avatarNinad Patgaonkar <ninadp@codeaurora.org>

commit eadcc8f09fb3b2873b357bc67464c983624a36d5
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Mon Sep 27 16:31:39 2010 -0700

    camera: Decrement queue length in msm_queue_drain

    Decrement queue length in msm_queue_drain loop.
    msm_queue_drain never reset the queue count thus
    queue length is carried over after release.

    Change-Id: I7f612cb578549b6e0d4efd490395fe4188c02442
Signed-off-by: default avatarKevin Chan <ktchan@codeaurora.org>

commit ed9d41ff440649c6ad9ee15c572427d0d38b68d2
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Thu Sep 16 11:38:40 2010 -0700

    camera: Support for enhanced ESD interface

    Once CAMIF error is detected, reset the VFE and make
    Camera state to ERROR. This state will prevent VFE to
    start again when reset ack is received. Now send a fake
    frame with error code to camframe which will send an
    instant error callback to HAL which inturn will shutdown
    camera preventing 6 seconds timeout.

    CRs-fixed: 256140
    Change-Id: I925bde6d625fd60a7a25aef768baffacdf1784c6
Signed-off-by: default avatarKevin Chan <ktchan@codeaurora.org>

commit 0e50e25aa3adebd4c154d83df25e22c3dde7ba8b
Author: Jignesh Mehta <jigneshm@codeaurora.org>
Date:   Fri Oct 1 14:12:10 2010 -0700

    camera: Fix for 60Hz manual anti-banding for IMX074 MIPI sensor

    For 60hz light source, bands appear at the same place for 30 fps.
    Change fps to 29.5 to fix anti-banding for 60Hz

    CRs-Fixed: 258357
    Change-Id: Ic8090a870c189b9243e6559055291348b20c9639
Signed-off-by: default avatarJignesh Mehta <jigneshm@codeaurora.org>

commit 404a3cd2fecc7c5ef621930ebd813ae2429996b7
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Tue Sep 28 21:35:38 2010 -0700

    camera: 7x30: Fix for broken preview on 7x30

    Fix for blank preview when starting camera app on 7x30

    Change-Id: I11b15c9a7378b7def014e55eabfc44a457fee83c
Signed-off-by: default avatarKevin Chan <ktchan@codeaurora.org>

commit 6e640a9d0770182074debc2f7a23758d4fd6c219
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Wed Sep 22 17:14:34 2010 -0700

    camera: VX6953 Start up time optimization

    Vx6953 sensor is taking longer than required time to start up.
    Removed delays that are introduced during testing and
    moved  register initialization to boot up time.

    CRs-fixed: 256414
    Change-Id: I919d336b883af1473aa954a56555a492389fdfa3
Signed-off-by: default avatarKevin Chan <ktchan@codeaurora.org>

commit ef634679ddf31ad1552a45e616d908b141db473c
Author: Abhiruchi Birajdar <abiraj@codeaurora.org>
Date:   Wed Sep 22 16:56:03 2010 -0700

    camera: Fix for camera preview not working because of strobe changes.

    Do add_timer in case of charge enable and del_timer in case
    of charge disable.

    CRs-Fixed: 257040
    Change-Id: Ia26e96213131cf468534f7931d49734e5c35b78f
Signed-off-by: default avatarAbhiruchi Birajdar <abiraj@codeaurora.org>

commit 4f09aaad7413f92966e2e0cbfc6924f476a604ce
Author: Sunid Wilson <sunid@codeaurora.org>
Date:   Tue Sep 28 15:40:04 2010 -0700

    msm: camera: YUV sensor: Setting effect for RAW snapshot mode

    Changes for setting effects for YUV sensor in RAW snapshot
    mode.

    CRs-Fixed: 256887
    Change-Id: Iecd9e6f9ff7d2ce4a7fe13e99b66d4d01c131ac5
Signed-off-by: default avatarSunid Wilson <sunid@codeaurora.org>

commit 9f1b7c84b3a8b03707a1787eacedcc2e389e9a00
Author: Jignesh Mehta <jigneshm@codeaurora.org>
Date:   Fri Sep 17 15:31:51 2010 -0700

    camera: Send preview frame to event queue if diverted by msm_vfe_sync

    Change-Id: Ia6688e179c84f3cb795899335c1106e9161d434a
Signed-off-by: default avatarJignesh Mehta <jigneshm@codeaurora.org>

commit a1e24ad82f70bf2edbd5686fe37d4f890af71325
Author: Jignesh Mehta <jigneshm@codeaurora.org>
Date:   Fri Sep 24 18:26:23 2010 -0700

    camera: Set v6953 MIPI sensor fps to 29.5

    Change-Id: I619bd52cb4ccdbd847bd7e283f456c64f3e1ac06
Signed-off-by: default avatarJignesh Mehta <jigneshm@codeaurora.org>

commit a38b6d32cd420cd6b6d91cd639e111ba5b8b7ae6
Author: Kalyani Oruganti <ckoruga@codeaurora.org>
Date:   Thu Sep 23 16:48:55 2010 -0700

    camera: Fix for parallel camera broken on 7x30.

    The clock was not initialised which results
    in the failure to set the VFE clock. This change
    is needed only for 7x30

    Change-Id: I004101f0cbbdc8f2084ab60bc5c6601e61b426e1
Signed-off-by: default avatarKalyani Oruganti <ckoruga@codeaurora.org>

commit 6f1cfa7c96b06d95999565b1e0daefa5810b47e6
Author: Sunid Wilson <sunid@codeaurora.org>
Date:   Wed Sep 22 13:42:34 2010 -0700

    msm: camera: Improve the fps during continuous zoom in recording

    Reduce the unnecessary event message traffic during camcorder
    zoom to improve fps.

    Change-Id: Ie8851d9e208f0c053bbdc2e4b3d773bef3ea7a45
    CRs-Fixed: 256427
Signed-off-by: default avatarSunid Wilson <sunid@codeaurora.org>

commit 65f422f8db214a92e6f4b95ff71c14a97eb0ff15
Author: Nagesh Subba Reddy <nageshsreddy@codeaurora.org>
Date:   Thu Sep 16 12:41:30 2010 -0700

    media: camera: Request minimum VPE clock value instead of exact value

    Request same VPE clock value on 7630 and 8660 using clk_set_min_rate.

    Change-Id: I649585c6117a4a4c0ec99b7f3ff4504242c04be8
Signed-off-by: default avatarNagesh Subba Reddy <nageshsreddy@codeaurora.org>

commit 416f59dc70739b7e829f44453715e47d4396c290
Author: Jignesh Mehta <jigneshm@codeaurora.org>
Date:   Thu Sep 9 15:44:24 2010 -0700

    camera: Replace printk with CDBG for logging

    Change-Id: Iebeb8e7a6d38c1db098fce129d1fcc17e2927e24
Signed-off-by: default avatarJignesh Mehta <jigneshm@codeaurora.org>

commit eac8afc790b6332ce342613c3c58090bf01d8ac7
Author: Jignesh Mehta <jigneshm@codeaurora.org>
Date:   Thu Sep 9 15:27:55 2010 -0700

    camera: Replace mutex with spinlock in interrupt context

    Change-Id: I67d7e4fcc041019b8afecbe8a2059f3aefd8f2d6
Signed-off-by: default avatarJignesh Mehta <jigneshm@codeaurora.org>

commit 0cefe06d965c9d35d51b52d0a4326d341ce8f036
Author: Kalyani Oruganti <ckoruga@codeaurora.org>
Date:   Mon Sep 13 19:12:28 2010 -0700

    camera: Fix for camera start stop sequence.

    The sequence of startup of camera has been changed,
    so that sensor init is done before vfe init.
    This change is made for all the targets.

    Change-Id: Ic29d85bbe56da4eb4dc0d9292ba052acc575a961
    CRs-fixed: 252856
Signed-off-by: default avatarKalyani Oruganti <ckoruga@codeaurora.org>

commit 81d5200b4e98769287da2851e205f635c3613366
Author: Abhiruchi Birajdar <abiraj@codeaurora.org>
Date:   Thu Sep 9 15:08:05 2010 -0700

    camera: Fix the OV7692 Snapshot issue.

    No need to reconfigure the sensor settings for snapshot.
    The setting remains the same as preview.

    CRs-Fixed: 254365
    Change-Id: I5e8285052df8ccd354d52fa2e1f431040dc1d0c5
Signed-off-by: default avatarAbhiruchi Birajdar <abiraj@codeaurora.org>

commit b611dc123449c8b0444f00d27030203ea49d06a4
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Fri Sep 17 12:29:51 2010 -0400

    msm: 7x30: Implement camera flash using PMIC8058 current driver.

    Unlike SURF, FLUID uses PMIC8058 current driver for camera flash.
    The current channel information is implemented as platform driver
    data structure, and passed into camera flash driver.

    Change-Id: I9113626dcebdc9b6b65f359531c92bc4c96d9b42
    CRs-Fixed: 240357
Signed-off-by: default avatarShuzhen Wang <shuzhenw@codeaurora.org>

commit ccd056a7b02f97cf0fd20ebe930458ad4251ca76
Author: Kalyani Oruganti <ckoruga@codeaurora.org>
Date:   Fri Sep 17 14:46:37 2010 -0700

    camera: Fix for setting fps in VX6953 sensor.

    fps_divider is in incorrect format which caused the
    fps to be zero.
    fps_divider is now changed to Q8 format.

    Change-Id: I6bb963330660b61ec3749024c1405ddf053b1d37
Signed-off-by: default avatarKalyani Oruganti <ckoruga@codeaurora.org>

commit 6b025449b1acbe23e09da253b254eb2d98273820
Author: Abhiruchi Birajdar <abiraj@codeaurora.org>
Date:   Fri Sep 3 16:31:35 2010 -0700

    camera: Fix the LED Flash issue in Snapshot.

    LED was not turning off after the snapshot. Need to turn
    off both the sources of LED after the snapshot.

    Change-Id: I5ad68ed864d808b73382128e42d6ff400c54a3dd
Signed-off-by: default avatarAbhiruchi Birajdar <abiraj@codeaurora.org>

commit 343d81eff89f6cfd7282095e3232d78be539a025
Author: Nagesh Subba Reddy <nageshsreddy@codeaurora.org>
Date:   Tue Sep 14 10:06:18 2010 -0700

    media: camera: Fix for low fps when VPE is used while video recording

    VPE clock was set as closest match of the request which led the clock
    to run at TCXO. Fix this incorrect setting by requesting exact value
    instead of closest.

    Change-Id: I8cf46d73a4cf6f0728301b5a8f067026702ffd14
    CRs-fixed: 255082
Signed-off-by: default avatarNagesh Subba Reddy <nageshsreddy@codeaurora.org>

commit 160d42d529f7a5563bbd7cd117c83b7f434f0c22
Author: Bryan Huntsman <bryanh@codeaurora.org>
Date:   Wed Sep 8 18:01:18 2010 -0700

    Initial contribution.

    This commit takes the MSM and driver changes from
    git://codeaurora.org/quic/la/kernel/msm.git:android-msm-2.6.32 and
    applies them on top of
    git://android.git.kernel.org/kernel/common.git:android-2.6.35

.

Signed-off-by: default avatarBryan Huntsman <bryanh@codeaurora.org>
commit 0d9e3f01aad30398888a0fe1cd524494e774ce6a
Author: Abhiruchi Birajdar <abiraj@codeaurora.org>
Date:   Fri Jul 2 16:06:39 2010 -0700

    camera: Change camera flash NSEC to USEC.

    Need to change flash from NSEC to USEC for pwm API.

    CRs-fixed: 251286
    Change-Id: Ie2c8ca1d407fe82810cdab4eae8d0afb83770f81
Signed-off-by: default avatarAbhiruchi Birajdar <abiraj@codeaurora.org>

commit fd286673db9687c9c174ace9c64787dcda0a57d1
Author: Nagesh Subba Reddy <nageshsreddy@codeaurora.org>
Date:   Thu Sep 2 12:17:40 2010 -0700

    media: camera: Fix for the null pointer crash on VFE 3.1

    Added a null pointer check before calling free of a cmd member.

    Change-Id: If7339a6a28f6a7be60b9340b7d8c32b4c722f059
    CRs-fixed: 252727
Signed-off-by: default avatarNagesh Subba Reddy <nageshsreddy@codeaurora.org>

commit 3d14c0d9784244303b08f64c083fe194a91f9338
Author: Nagesh Subba Reddy <nageshsreddy@codeaurora.org>
Date:   Wed Sep 1 17:43:30 2010 -0700

    media: camera: Fix for kernel lock up issue on VFE 3.1

    Need to ensure AXI bus is halted before resetting the VFE.
    Instead of polling AXI_STATUS bit, poll AXI_HALT_IRQ and
    then issue a reset.

    Change-Id: If43618e98689302f7c4c895452979b3e251afddf
    CRs-fixed: 250757
Signed-off-by: default avatarNagesh Subba Reddy <nageshsreddy@codeaurora.org>

commit 9bc33bf502a934f75c8a39360def16d0609c1501
Author: Kalyani Oruganti <ckoruga@codeaurora.org>
Date:   Wed Sep 1 14:46:55 2010 -0700

    camera:  Fix the conflicting camera GPIO with audio.

    Alternate codec Tx path is mistakenly connected to camera reset_n.
    This is a workaround fix that when camera is not used, gpio will
    be config to input so that it wont drive the GPIO line.

    change-Id: I92fbe735428fcd7d628c5f30e39fe541fbc662a0
Signed-off-by: default avatarKalyani Oruganti <ckoruga@codeaurora.org>

commit 9aa17462f1d3d201c32a7b942919d974c1ebb943
Author: Kalyani Oruganti <ckoruga@codeaurora.org>
Date:   Wed Aug 25 20:28:52 2010 -0700

    camera: To add support for strobe and LED flash.

    This change adds the functionality for LED and
    Xenon strobe flash.

    Change-Id: I9cd1d4e696cd1971e8c3c3c7e4c6cdd0a3d7d5bc
Signed-off-by: default avatarKalyani Oruganti <ckoruga@codeaurora.org>

commit 9b02cffad149cdd1a1507eda09ed1fa0bd4550e9
Author: Jay Wang <jaywang@codeaurora.org>
Date:   Thu Aug 26 17:38:27 2010 -0700

    msm7x30: camera: Resolve the incorrect error handling of GPIO request

    Do not re-configure and free the vcm_pwd pin if GPIO request
    for this GPIO fails since the module doesn't own the GPIO.

    Change-Id: I575d4b5f4f31a46bce82a067bf590ddf06fde30a
Signed-off-by: default avatarJay Wang <jaywang@codeaurora.org>

commit 38d78b0b459f5895c581ecff53122d4154ebb155
Author: Abhiruchi Birajdar <abiraj@codeaurora.org>
Date:   Mon Aug 30 20:58:01 2010 -0700

    camera: Fix the AF I2C address for IMX074

    AF I2C address doesnt require a right shift.
    Removed the right shift.
    Change-Id: I1bb789fd1d8e2583e42d8ffb858ab64d935226be

Signed-off-by: default avatarAbhiruchi Birajdar <abiraj@codeaurora.org>

commit ff004dc0c4b712da073134e0ab06794a97b7fee2
Author: Ninad Patgaonkar <ninadp@codeaurora.org>
Date:   Wed Aug 25 17:14:11 2010 -0700

    msm: camera: Add 2K alignment support for VPE output buffer

    8660 has requirement for 2K aligned buffer size. Added support
    to align VPE output buffer with this requirement.

    Change-Id: I81de906d0fc231926ba8fc879792211a26873f0e
Signed-off-by: default avatarNinad Patgaonkar <ninadp@codeaurora.org>

commit ea655cebe80d5bdcdfebf4f5ca4283400b636ace
Author: Kalyani Oruganti <ckoruga@codeaurora.org>
Date:   Wed Aug 25 16:26:16 2010 -0700

    camera: Fix AF for IMX074 sensor.

    Changed the AF initialisation sequence for IMX074 sensor.

    Change-Id: I45decf22ee4cd46245c959676407e1d8a7fb2aca
Signed-off-by: default avatarKalyani Oruganti <ckoruga@codeaurora.org>

commit afd2f70d8ed57b9e56a074c3572987fe8505ea6d
Author: Abhiruchi Birajdar <abiraj@codeaurora.org>
Date:   Thu Aug 26 11:52:18 2010 -0700

    camera: Add support for Omni Vision VGA YUV "ov7692" sensor.

    This is a VGA YUV sensor. This requires enabling CSI1 interface
    between both sensor CSI1 and CSI1 VFE.

    Change-Id: Ic211b7c1e861b1ebcde430542ffc9c8eef05997b
Signed-off-by: default avatarAbhiruchi Birajdar <abiraj@codeaurora.org>

commit 6247d2d72af40daab107246c69b98f963471e741
Author: Nagesh Subba Reddy <nageshsreddy@codeaurora.org>
Date:   Fri Aug 27 16:40:45 2010 -0700

    Revert "media: camera: Reset VFE only after AXI halt"

    This reverts commit 7e15c2581ca9439a772635a7b551893c6fdd3175.

    Change-Id: I446b79e32aa5c2baad4587ed1c60e158c722c14d

Signed-off-by: default avatarNagesh Subba Reddy <nageshsreddy@codeaurora.org>

commit 99fde4c29337fb4272fd2c56c07681751ae5aa91
Author: Ninad Patgaonkar <ninadp@codeaurora.org>
Date:   Fri Aug 20 11:41:01 2010 -0700

    msm: camera: Update to 8x60 VREG for Camera

    Removed unnecessary VREG from Camera for 8x60.
    Added support for VFE, VPE & JPEG foot switches for 8x60

    Change-Id: If834b221b5896f10d918aa154401be731beb3e21
Signed-off-by: default avatarNinad Patgaonkar <ninadp@codeaurora.org>

commit e71a9d8bb32fa9db66891e8a227dbf1ece7b1529
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Wed Aug 25 12:33:44 2010 -0400

    msm: camera: Remove long delay in sn12m0pz_i2c_write_byte_bridge.

    The msleep is causing camera startup time to be very long (6-8 secs).

    Change-Id: Ib32291bad66971626456fa1b1cc24e786e9c0209
    CRs-Fixed: 252841
Signed-off-by: default avatarShuzhen Wang <shuzhenw@codeaurora.org>

commit fad333aef21994670cbb240e1f877678eecd86e9
Author: Kalyani Oruganti <ckoruga@codeaurora.org>
Date:   Mon Aug 23 15:38:15 2010 -0700

    camera: Fix for snapshot fps.

    The preview and snapshot uses different
    pll settings so the ratio is taken into
    consideration while calculating the
    snapshot fps.

    Change-Id: I83454e7381ab431ab6068e07d7fba264247d1e76
Signed-off-by: default avatarKalyani Oruganti <ckoruga@codeaurora.org>

commit 7e15c2581ca9439a772635a7b551893c6fdd3175
Author: Nagesh Subba Reddy <nageshsreddy@codeaurora.org>
Date:   Tue Aug 24 10:44:11 2010 -0700

    media: camera: Reset VFE only after AXI halt

    Issue a VFE reset only after we get axi_halt_ack_irq.

    Change-Id: I4bba89a920ba71875709c1f2deaabe39189e9760
    CRs-fixed: 250757
Signed-off-by: default avatarNagesh Subba Reddy <nageshsreddy@codeaurora.org>

commit 5893e2088d9e7d5931648b8424672452c54b14bc
Author: Sunid Wilson <sunid@codeaurora.org>
Date:   Fri Aug 20 01:43:59 2010 -0700

    msm: camera: Live snapshot feature support

    Added output type for live snapshot frame to distinguish it from
    video frame and code for propagating the frame to userspace.

    Change-Id: Ic7530fa2b143293ae663f91e618953b5c04d384f
Signed-off-by: default avatarSunid Wilson <sunid@codeaurora.org>

commit cfd7d380d920156c262bac48bdff48f7d1a058f2
Author: Ninad Patgaonkar <ninadp@codeaurora.org>
Date:   Thu Aug 19 13:11:05 2010 -0700

    msm: camera: Fix in VPE for Camcorder crash on 8x50

    VPE is not supported on 8x50. Added check to handle
    VPE functionality based on the Target.

    Change-Id: I1f04483ccd7c8f7a0dc82e254f12f865482eff38
Signed-off-by: default avatarNinad Patgaonkar <ninadp@codeaurora.org>

commit 174dd3409ba7fea3a2644e9df46ed8d7a16cfb9f
Author: Kalyani Oruganti <ckoruga@codeaurora.org>
Date:   Fri Aug 20 16:06:21 2010 -0700

    camera: AF support for IMX074 sensor.

    Added code to support AF for IMX074 sensor.

    Change-Id: I583fae6e8847d0a08b4b0b2e5fac9a677b0e46af
Signed-off-by: default avatarKalyani Oruganti <ckoruga@codeaurora.org>

commit a9e29c226c62029c61c07680545e055673b0ec49
Author: Ninad Patgaonkar <ninadp@codeaurora.org>
Date:   Fri Aug 13 13:45:31 2010 -0700

    msm: camera: Support for Dynamic Camera Logging

    Change-Id: I9e798986ee6bf6e5685045e8d35910cfda69cbcf
Signed-off-by: default avatarNinad Patgaonkar <ninadp@codeaurora.org>

commit e0962360d8828ebb3551fb95b36e7762d9af8a0c
Author: Ninad Patgaonkar <ninadp@codeaurora.org>
Date:   Thu Aug 19 15:42:38 2010 -0700

    msm: camera: Updates to 7x30 Camera VREG

    Added support to disable the VREG if INIT fails.
    Made the VREG variables static so that it is not required
    to do get on the VREG while disabling.

    Change-Id: I949344acf026a8d7d9679042576d3962cb706451
Signed-off-by: default avatarNinad Patgaonkar <ninadp@codeaurora.org>

commit b81b1f6e59b1cabad6d533e5a127c1244cc11845
Author: Nagesh Subba Reddy <nageshsreddy@codeaurora.org>
Date:   Thu Aug 19 10:10:06 2010 -0700

    media: camera: Add support for NV21 Adreno format.

    Remove the hardcoded values for preview as this will be
    passed from userspace.

    Change-Id: I761131ae39d88f82643f8a65b2996a1e0472d313

Signed-off-by: default avatarNagesh Subba Reddy <nageshsreddy@codeaurora.org>

commit 9a04b5201fe5af031ef0f91f40ff620fab39aaa7
Author: Jignesh Mehta <jigneshm@codeaurora.org>
Date:   Tue Aug 10 22:23:35 2010 -0700

    camera: Add support for video preprocessing engine for VFE 3.1

    Include support for video preprocessing engine for VFE 3.1.

    Change-Id: I82101ccf2fa26aab21c7a95a342d247b0c334a06
Signed-off-by: default avatarJignesh Mehta <jigneshm@codeaurora.org>

commit 75928f231ae249cdf8f0d17416f945f12c32c4d0
Author: Ninad Patgaonkar <ninadp@codeaurora.org>
Date:   Thu Aug 5 16:20:30 2010 -0700

    msm: camera: Support for Sync Timers for 7x30 & 8x60

    Change-Id: Ia565a8f7028144c6d5f9483cf16c333e98e996bc
Signed-off-by: default avatarNinad Patgaonkar <ninadp@codeaurora.org>

commit 430b4b0cecf80f7857bacaf2769dafd9c86bacef
Author: Sunid Wilson <sunid@codeaurora.org>
Date:   Tue Aug 10 11:03:25 2010 -0700

    msm: gemini: Clear the required irqs in ISR routine

    Fix for freeze issue while frame_done irq occurs while processing
    FE_done irq. Added the code for clearing only the necessary irqs
    in ISR.

    CRs-Fixed: 247681
Signed-off-by: default avatarSunid Wilson <sunid@codeaurora.org>
    Change-Id: Ic07f18c3bc3c1715eb8d11b2b1a98c4b5cb813d0

commit 5eafe5588a02e7f50d22beebf0632402f5d2b023
Author: Nagesh Subba Reddy <nageshsreddy@codeaurora.org>
Date:   Fri Aug 6 11:26:21 2010 -0700

    media: camera: Skin color Enhancement feature

    Added support for Skin Color Enhancement on VFE 3.1

    Change-Id: I451485c6e6ba9c30c97fb261bc6852752fd050cb
Signed-off-by: default avatarNagesh Subba Reddy <nageshsreddy@codeaurora.org>

commit 593149c1d4dc34eed087a2b9c8ebe97605044c1b
Author: Patrick Pannuto <ppannuto@codeaurora.org>
Date:   Tue Jun 29 16:40:24 2010 -0700

    camera: Rename namespace conflict msm_device --> msm_cam_device

    msm_device is too generic of a name to be taken by the
    camera drivers / devices, particularly with upcoming bus
    work that seeks to define an msm_bus, msm_device, and msm_driver,
    the SUBSYS_device name should belong to the LDM code

    Change-Id: Iefe52284bc7de921e53ff2eea2154bb65e551b60
Signed-off-by: default avatarPatrick Pannuto <ppannuto@codeaurora.org>

commit d88bd44fd6a6c8e3696eacf51a0000fc04f75c26
Author: Ninad Patgaonkar <ninadp@codeaurora.org>
Date:   Thu Jul 29 14:56:54 2010 -0700

    msm: camera: Gemini JPEG Encoding support for 8X60

    The JPEG IRQ names are different between 7X30 & 8X60.
    Since the Gemini driver is shared between 7X30 & 8X60
    added code to have the same IRQ name for JPEG. Also moved
    the JPEG clock enable & disable to the hardware
    specific IO files for 7X30 & 8X60 respectively.

    Change-Id: I638c6d1e64b7047eb7e25a346eac06e5ed241c28
Signed-off-by: default avatarNinad Patgaonkar <ninadp@codeaurora.org>

commit 14626a7816bc97331ae2b5b45dcd976ccbe565e7
Author: Abhiruchi Birajdar <abiraj@codeaurora.org>
Date:   Fri Jul 2 11:01:49 2010 -0700

    camera: Correct the naming convention for VX6953 Cut3 sensor.

    Added a new check for the revision number VX6953 Cut3.0 sensor.
    Also Added a new enum for the sensor type.

    CR-fixed: 243633
    Change-Id: If9a3640e1b9a880bb39f1a47fdb836407cf110d1
Signed-off-by: default avatarAbhiruchi Birajdar <abiraj@codeaurora.org>

commit ee056082ea474fda7710b075510edc1209132c3d
Author: Kalyani Oruganti <ckoruga@codeaurora.org>
Date:   Tue Jul 27 14:47:58 2010 -0700

    camera: Reduce the snapshot fps for IMX074 sensor.

    Change the snapshot fps to 26 for IMX074 sensor
    where as the preview is at 30 fps.

    Change-Id: Ie6371a97fb516fd8e0502d126bb6e4eccee0bf58
Signed-off-by: default avatarKalyani Oruganti <ckoruga@codeaurora.org>

commit 778078f0f1b3d74fe7d65bde0572d330d24cabbd
Author: Abhiruchi Birajdar <abiraj@codeaurora.org>
Date:   Thu Jul 15 14:30:06 2010 -0700

    camera: Add camif error reporting support for vfe3 and vfe3.1.

    Add camif error detection and reporting support for vfe3 and vfe3.1.
    CRs-fixed: 244134
    Change-Id: I1fce61217c47449807f7177d8e91c13abef12d6a
Signed-off-by: default avatarAbhiruchi Birajdar <abiraj@codeaurora.org>

commit ac7e48c36305b4df6ea0d6368e5db950422dfecc
Author: Nagesh Reddy <nageshsreddy@codeaurora.org>
Date:   Wed Jul 21 12:32:16 2010 -0700

    media: camera: Revert back the changes for NV21 Adreno format

    Reverted the changes made for NV21 Adreno format,
    since no user space support yet.

    Change-Id: Ied061a24823c4de4bb9000b82da2d2ef90b27dd0
Signed-off-by: default avatarNagesh Subba Reddy <nageshsreddy@codeaurora.org>

commit 38559bedede018cd12302b9d4afcc73c7ee5f442
Author: Azam Kapatrala Syed <azams@codeaurora.org>
Date:   Mon Jul 19 14:42:08 2010 -0700

    camera: Add support for NV21 Adreno format.

    Remove the hardcoded values for preview as this will be
    passed from userspace.

    Change-Id: I5ada793208b1b249c4885f9085c601d36101f381

Signed-off-by: default avatarAzam Kapatrala Syed <azams@codeaurora.org>

commit afca0b48329ef4d35de4fc8dc9b87aaf4ec14f55
Author: Yen-Pin Hsiao <yphsiao@codeaurora.org>
Date:   Fri Apr 9 15:46:15 2010 -0700

    msm7x30: camera: Sony 12MP Bayer sensor support.

    Addition of new files for supporting
    Sony 12 MP Bayer sensor.

    Change-Id: I45133ff8140b040cc1974ba7e636fb2470c0cf62
Signed-off-by: default avatarYen-Pin Hsiao <yphsiao@codeaurora.org>

commit da0f2bd63d28ce6ddf50c981a512d03d3afbd01f
Author: Ninad Patgaonkar <ninadp@codeaurora.org>
Date:   Fri Jul 16 13:58:22 2010 -0700

    camera: Support multi-frame snapshot for Post Processing on 7X30 & 8x60.

    Added support to handle multi-frame snapshot post processing. The camera
    driver keeps a count of number of snapshot to take & deiverts the frames
    for post processing. Once post processing is done snapshot done message
    is sent to the  once all the snapshots & completed.

    Change-Id: If844cc37c4797801423c0f1a83627fd8f642d5c3
Signed-off-by: default avatarNinad Patgaonkar <ninadp@codeaurora.org>

commit e2cacbd4c5a9ee566f0d3c1077bc257a3168fa37
Author: Abhiruchi Birajdar <abiraj@codeaurora.org>
Date:   Mon Jul 12 18:04:47 2010 -0700

    camera: Increase buffer size to accomodate zoom ratio array.

    Need these to pass the zoom ratio array to the user space.

    Change-Id: I75e562aee9a035c3985cea14d5c1c3c1f7d6f955
Signed-off-by: default avatarAbhiruchi Birajdar <abiraj@codeaurora.org>

commit 78a7133f74681bb8183a020c5bc75b4dfd5c9041
Author: Larry Bassel <lbassel@codeaurora.org>
Date:   Tue Jul 13 15:03:57 2010 -0700

    Revert "[ARM] msm: camera: request EBI1 to run at 128MHz when camera is in use"

    This reverts commit a90a65576ada7ddbea7c593afdc3ec5f7d793f7e.

    The original patch was one taken from the Google .32 tree.
    The patch set the EBI1 clock rate to 128Mhz when the
    camera is in use. However this breaks the camera for us, so it
    is being reverted.

    Change-Id: Ie859ea8ad70020b1a43b33da1b78fe6a2384bfb5
Signed-off-by: default avatarLarry Bassel <lbassel@codeaurora.org>

commit 8d4d4493cc1e7135f37406be0dc3b03edafaeae0
Author: Kalyani Oruganti <ckoruga@codeaurora.org>
Date:   Wed Jul 7 16:03:27 2010 -0700

    camera: Increase fps to 30 for IMX074 sensor.

    Change of pll settings so as to change the
    preview fps for IMX074 (Sony 13MP Bayer sensor).

    Change-Id: Ia09181c843a87bc3e87bfe98a2fb95220b987b8c
Signed-off-by: default avatarKalyani Oruganti <ckoruga@codeaurora.org>

commit c41d01951acde55f76c857c9b589ba2e75ea9005
Author: Kalyani Oruganti <ckoruga@codeaurora.org>
Date:   Tue Jun 29 15:54:27 2010 -0700

    camera: Support for IMX074 sensor.

    Addition of new driver files to
    support Sony 13MP Bayer sensor.

    Change-Id: Idaee470b4ae68ec4c0d23c453245af95208e1bba

Signed-off-by: default avatarKalyani Oruganti <ckoruga@codeaurora.org>

commit 4b904b6b38743b42d1ef49af9d7e523e094b6c0c
Author: Ninad Patgaonkar <ninadp@codeaurora.org>
Date:   Wed Jun 30 11:48:26 2010 -0700

    camera: Fix for camera hang when camcorder recording stop is issued.

    As the tasklet scheduling is not synchronous to that of the IRQ trigger
    all the ISR commands gets queued up untill the tasklets get scheduled. This
    fix makes sure to increment the irq counter and queue the command when ever
    irq happens. Eventually when tasklet gets scheduled all the queued commands
    are serviced in a whie loop decrementing the counter.

    Change-Id: I00f860cfd7317375753dbc272652ce5df6d293d3
Signed-off-by: default avatarNinad Patgaonkar <ninadp@codeaurora.org>

commit 72edd00152c6de9bae8208345f0506796ab2e494
Author: Azam Kapatrala Syed <azams@codeaurora.org>
Date:   Fri Jun 25 16:58:25 2010 -0700

    camera: Add fix to support SOF ack.

    Make change to support SOF ack to userspace.

    Change-Id: Icb9a361cbadd41335acf3b7696c4d862beebde42
Signed-off-by: default avatarAzam Kapatrala Syed <azams@codeaurora.org>

commit 2aa2879257ad4b6998310869bc223d9b97d80006
Author: Ninad Patgaonkar <ninadp@codeaurora.org>
Date:   Tue Jun 22 12:48:50 2010 -0700

    camera: Support for 8x60 camera driver

    Added camera driver IO support for 8x60 & updated the
    Makefile.

    Change-Id: Ifb98d0f46b37efee927bbc4670432d3073ee1961
Signed-off-by: default avatarNinad Patgaonkar <ninadp@codeaurora.org>

commit 211c7a1304ef45a5dc50ea911c363fe5ff5741fd
Author: Ninad Patgaonkar <ninadp@codeaurora.org>
Date:   Tue Jun 22 12:33:52 2010 -0700

    camera: Disable camera flash on 8x60

    As there is no support for led flash is pmic disabling camera
    flash on 8x60.

    Change-Id: I086549a3257b8909b2f966f8c0e40c63103aafa6
Signed-off-by: default avatarNinad Patgaonkar <ninadp@codeaurora.org>

commit 738e7c98550bd282b2db5772dc3ea606e6758701
Author: Sunid Wilson <sunid@codeaurora.org>
Date:   Wed Jun 9 11:37:09 2010 -0700

    video: gemini: Remove PM_QOS request when offlining

    Remove the PM_QOS request. The PM_QOS request is crashing during
    gemini offline testing. A bus freq set by the camera driver is
    sufficient to run gemini. The PMQOS request will be added once the
    crash issue is rectified.

    Change-Id: I3df00b8c87111e6d6880feadbb98548ff468fb83
Signed-off-by: default avatarSunid Wilson <sunid@codeaurora.org>

commit 972be04177fe2371f7b1a33e49d9de5dea4dff6b
Author: Ninad Patgaonkar <ninadp@codeaurora.org>
Date:   Tue Jun 15 16:37:30 2010 -0700

    camera: Disable parallel sensors for 8x60.

    8x60 only supports MIPI sensors, therefore disabled parallel
    sensors enablement by default for 8x60 target.

    Change-Id: I80e728f8109e89cba7d7335b460f635870d1cd8b
Signed-off-by: default avatarNinad Patgaonkar <ninadp@codeaurora.org>

commit c9d176aeafb7cfbb2da69386488f001843b6def3
Author: Ninad Patgaonkar <ninadp@codeaurora.org>
Date:   Mon Jun 14 14:59:22 2010 -0700

    camera: Support for dual camera sensor clock enmumerations for 8x60.

    Added clock enumeration support for dual camera sensors for 8x60.
    Updated 7x30 to compile with the new clock enumerations.

    Change-Id: I49508166c2b53ebdec74afe0af61139b05481b71
Signed-off-by: default avatarNinad Patgaonkar <ninadp@codeaurora.org>

commit e1a71a936cdd89c12d323ca53f7a404199ad9e67
Author: Abhiruchi Birajdar <abiraj@codeaurora.org>
Date:   Mon Jun 14 14:56:27 2010 -0700

    camera: SOF acknowledgement to VFE.

    This change acknowledges the start of frame(SOF) interrupt
    to the user space.

    Change-Id: I65d2bb52d705305d88cf85a7b039d04a6c02285b
Signed-off-by: default avatarAbhiruchi Birajdar <abiraj@codeaurora.org>

commit 7fa48e7c4a6720c45ba4674fdfa265bc00d81e6c
Author: Abhiruchi Birajdar <abiraj@codeaurora.org>
Date:   Tue Jun 8 15:30:58 2010 -0700

    camera: New Register settings for CUT3 VX6953 sensor.

    CUT3 sensor has new register and patch table settings.
    Also put a check for CUT2.0 and CUT3.0 before register update.

    Change-Id: I334d85bbd927c4120e621883b1651c3c28da41c5
Signed-off-by: default avatarAbhiruchi Birajdar <abiraj@codeaurora.org>

commit fd27fc8f1edd31ed64d5f8aa08aa2f1ec2420534
Author: Nagesh Reddy <nageshsreddy@codeaurora.org>
Date:   Fri Jun 4 11:35:11 2010 -0700

    media: camera: Fix for the concurrency issue

    Added a mutex lock to fix concurrency issue of processing
    more than one blocking call at a time.

    Change-Id: Ia8dedb5b4066c9378d4f63d7762cd46236c6f369
    CRs-fixed:238520
Signed-off-by: default avatarNagesh Reddy <nageshsreddy@codeaurora.org>

commit 1998ae383071786cadc05b8841f8fc4fa8be1fae
Author: Willie Ruan <wruan@codeaurora.org>
Date:   Wed May 26 17:22:57 2010 -0700

    msm: 7x30 pm8058 pwm: add 7x30 pwm 'enable' callback

    Using pm8058_pwm_set_dtest for channel 7 is 7x30 board specific
    and pm8058 chip specific. Thus it is better to be called in the
    pm8058_pwm_enable callback. Remove the mutex in the function to
    avoid deadlock.

    Change-Id: If05b84d3cf0a7aee73469c37b646a10ef46a5e00
Signed-off-by: default avatarWillie Ruan <wruan@codeaurora.org>

commit 4872cf3ae85c9920ac102beedc7ccf4624aff645
Author: Ninad Patgaonkar <ninadp@codeaurora.org>
Date:   Fri May 14 11:00:22 2010 -0700

    camera: Fix for regular snapshot post processing.

    Added support to send the thumbnail image buffer information
    to the config thread in the user space. Also added a branch
    after main image information is collected there by avoiding
    raw snapshot buffer iformation from overwriting the main image
    buffer information.

    Change-Id: I8c52d3e0ef148ba12b1fd39265469820f3f17233
Signed-off-by: default avatarNinad Patgaonkar <ninadp@codeaurora.org>

Signed-off-by: default avatarDavid Brown <davidb@codeaurora.org>
parent ae715d0b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment