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: Jignesh Mehta <jigneshm@codeaurora.org>
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: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>
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: Kiran Kumar H N <hurlisal@codeaurora.org>
Signed-off-by: Ujwal Patel <ujwalp@codeaurora.org>
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: Kevin Chan <ktchan@codeaurora.org>
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: Suresh Vankadara <svankada@codeaurora.org>
Change-Id: Ie23ac982375041c06b68537d5784d8cdbbc9bf04
Enable camera driver to output preview frames in YV12 format.
Change-Id: Ib4e358460eb922c6a06314682380c4de30f81319
Signed-off-by: Alekhya,Monika <malekh@codeaurora.org>
Convert camera sensors to i2c devices as well as
v4l2 sub-devices.
Change-Id: Iefe7050aec051bb591dfdb26696094cde65b6af0
Signed-off-by: Kevin Chan <ktchan@codeaurora.org>
Signed-off-by: Jignesh Mehta <jigneshm@codeaurora.org>
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: Matt Wagantall <mattw@codeaurora.org>
Update Camera driver to control vpe_axi clock at camera
start and stop.
Change-Id: Idef09db1cca184194c7653fd3c870a287562cc8d
CRs-Fixed: 313596
Signed-off-by: Suresh Vankadara <svankada@codeaurora.org>
File for io utility functions
Added generic function for handling clk enable/disable
Change-Id: I1610234ab945c49adb579f237eaec9109afd4d03
Signed-off-by: Kevin Chan <ktchan@codeaurora.org>
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: Shuzhen Wang <shuzhenw@codeaurora.org>
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: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>
Conflicts:
arch/arm/configs/msm8960_defconfig
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: Shuzhen Wang <shuzhenw@codeaurora.org>
Added more error checking code
Separate dimension specific register settings into separate structure
Code flow improvements
Signed-off-by: Kevin Chan <ktchan@codeaurora.org>
- 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: Shuzhen Wang <shuzhenw@codeaurora.org>
seperately.
decouple preview and recording path configuration
by configuring the buffers during preview start
and recording start respectively.
Signed-off-by: Kiran Kumar H N <hurlisal@codeaurora.org>
Signed-off-by: Mingcheng Zhu <mingchen@codeaurora.org>
This reverts commit 66882a5046143601429632a0b589d9ffeeb3c668.
This change will be submitted later.
Signed-off-by: Kiran Kumar H N <hurlisal@codeaurora.org>