Commit Graph

14 Commits

Author SHA1 Message Date
Karthik Anantha Ram
a27592f01b msm: camera: custom: Add support for acquire_hw_v1
Split the acquire in custom node to acquire device and
acquire hw to be in line with IFE for multicamera usecases.

CRs-Fixed: 2524308
Change-Id: I7be7d5227dcd304d095d7e3d7fac32800fecc199
Signed-off-by: Karthik Anantha Ram <kartanan@codeaurora.org>
2019-11-20 14:49:25 -08:00
Karthik Anantha Ram
fdd212fdf3 msm: camera: common: Update uapi to support custom hw features
This change provides provision to propagate frame id to
userspace as part of shutter notification. The change also
add new acquire params for IFE when custom HW is in the pipeline.

CRs-Fixed: 2524308
Change-Id: Ia6f6efb1edc6e6a01d7b37aeb2787b1e98d8f81e
Signed-off-by: Karthik Anantha Ram <kartanan@codeaurora.org>
2019-11-08 10:57:54 -08:00
Karthik Anantha Ram
17ea11cdec msm: camera: reqmgr: Add provision to obtain exposure time
Currently CRM watchdog timer expiry is fixed at 1 second.
This will not hold good if the sensor exposure time is increased
beyond 1 second. In such situations obtain the time from userspace,
and modify the CRM watchdog timer accordingly.

CRs-Fixed: 2530691
Change-Id: I6251bcb2b915a9e317caffd350220e249214c8b2
Signed-off-by: Karthik Anantha Ram <kartanan@codeaurora.org>
Signed-off-by: Mukund Madhusudan Atre <matre@codeaurora.org>
2019-11-05 13:16:54 -08:00
Jigarkumar Zala
3aac10c09f msm: camera: sensor: Update the flash init structure
Currently there is mismatch of the cmd type byte position for the
flash init structure, which casue the cmd type parsing failure
for early PCR. This change move to cmd type to sixth byte to
support the unificaiton with other flash uapi structures. Also,
update respective header change with respect to uapi change.

CRs-Fixed: 2432102
Change-Id: Ic4899b483b35013c5ad77a8894eb3bb4831de811
Signed-off-by: Jigarkumar Zala <jzala@codeaurora.org>
2019-09-21 22:16:15 -07:00
Karthik Anantha Ram
02f7646413 msm: camera: custom: Add uapi for custom HW
This change adds uapi for custom HW block.

CRs-Fixed: 2515662
Change-Id: Id4284594746a313ab09dad5c290cedc2b9edb62c
Signed-off-by: Karthik Anantha Ram <kartanan@codeaurora.org>
2019-08-30 13:49:50 -07:00
Pavan Kumar Chilamkurthi
3df2ab3939 Merge "Camera: Correct makefiles for correct header inclusion" into camera-kernel.lnx.1.0 2019-08-09 16:28:15 -07:00
Jigarkumar Zala
5b016ad220 Camera: Correct makefiles for correct header inclusion
Correct some Makefiles and drivers header inclusion.

Change-Id: Iec3e6e0333ae55e8f1cff9780723e0dad954ff83
Signed-off-by: Jigarkumar Zala <jzala@codeaurora.org>
2019-08-09 16:27:18 -07:00
Mukund Madhusudan Atre
632d56473b msm: camera: Add uapi definitions for camera reg dump
For debugging, there are a set of register values that user
space needs. Based on the offset and range given, values can
be dumped into an out buffer to be further processed. Add
uapi support for this reg dump.

Change-Id: I6e6f89625a505158a6bf8932ebb9d0ae78bf0129
Signed-off-by: Mukund Madhusudan Atre <matre@codeaurora.org>
2019-08-08 20:17:57 -07:00
Jigarkumar Zala
ce61a07996 msm: camera: Update uapi structure for OIS
Userspace is sending slave address as 32bit, and in order to parse
the correct data kernel space needs to match this bit pattern.
This change updates the structure to accommodate it.

Change-Id: Ib136bbd1656dba9da75d3b07c494caeebf03dfcb
Signed-off-by: Jigarkumar Zala <jzala@codeaurora.org>
2019-08-06 12:22:32 -07:00
Tejas Prajapati
d31033b31f Camera: uapi: Add uapi support for QCFA CSID binning
Add uapi support to configure CSID binning for QCFA.

Change-Id: Ic992c11d04319b6e8329963c032501b07002b484
Signed-off-by: Tejas Prajapati <tpraja@codeaurora.org>
Signed-off-by: Trishansh Bhardwaj <tbhardwa@codeaurora.org>
Signed-off-by: Jigarkumar Zala <jzala@codeaurora.org>
2019-08-06 12:22:28 -07:00
Karthik Anantha Ram
47f89a6efa camera: uapi: Add uapi support for semi real time device types
Add uapi support for IPE/BPS semi real time device types.

Change-Id: I12c733f51afdd70159f22f23be5967fc852549ca
Signed-off-by: Jigarkumar Zala <jzala@codeaurora.org>
2019-08-06 12:22:24 -07:00
Jigarkumar Zala
21c100461f Camera: uapi: add uapi csiphy4 and csiphy5 support
Add Uapi csiphy4 and csiphy5 support.

Change-Id: Ie5d78a389f0cbc454fa261182a3d04030d13d307
Signed-off-by: Jigarkumar Zala <jzala@codeaurora.org>
2019-08-06 12:22:18 -07:00
Jigarkumar Zala
6761503d24 msm: camera: crm: Increase the device handles to 128
Increasing the device handles to 128 to support more
pipelines.

Change-Id: Id0322cba095091e6168d8541d432628d8422a641
Signed-off-by: Mangalaram ARCHANA <mangar@codeaurora.org>
Signed-off-by: Jigarkumar Zala <jzala@codeaurora.org>
2019-08-06 12:21:41 -07:00
Jigarkumar Zala
05349feaa2 Camera: Bring over camera driver changes
Bring over camera driver changes as of msm-4.19
commit  5a5551a7 (Merge "msm: camera: reqmgr: Fix CRM
shift one req issue").

Change-Id: Ic0c2b2d74d1b3470c1c51d98228e312fb13c501a
Signed-off-by: Jigarkumar Zala <jzala@codeaurora.org>
2019-07-08 10:24:55 -07:00