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
Add the IOCTL's to get the signal detection parameters like
SINR, SINR samples, Low detection threshold and high
detection threshold
Change-Id: I0b8f8d978bd25990098b20073fd664e649af3b49
CRs-Fixed: 322688
Signed-off-by: Srinivasa Rao Uppala <uppalas@codeaurora.org>
Add GPIO based TSOP IR Reciever driver. It decodes signals based on
NEC protocol.
Change-Id: Ic19fab61152a99828806cf451ae797797602ec70
Signed-off-by: Ankush Khandelwal <akhand@codeaurora.org>
Enable camera driver to output preview frames in YV12 format.
Change-Id: Ib4e358460eb922c6a06314682380c4de30f81319
Signed-off-by: Alekhya,Monika <malekh@codeaurora.org>
Increase the RDS Radio text buffer size to fit the RT header.
And also limit the Radio text to maximum allowed length
Change-Id: Ib38b4bfaae83d5f381a831c2e202c7f3a52698b4
CRs-Fixed: 328036
Signed-off-by: Srinivasa Rao Uppala <uppalas@codeaurora.org>
SINR and interference detection threshold parameters are added to the
tune status event. Update the driver to incorporate the changes.
CRs-Fixed: 322478
Change-Id: Ia883c85469ba4d4025d518b6ddba371c755f3763
Signed-off-by: Srinivasa Rao Uppala <uppalas@codeaurora.org>
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: Ankit Premrajka <ankitp@codeaurora.org>
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: Vinay Kalia <vkalia@codeaurora.org>
Adds video header files in include location
so that they can be included by other kernel
modules, eg: by v4l2 capture driver for
Wifi display.
Change-Id: Ib7621d8f551e0d0e8660b19db25c2ff6a501cd67
Signed-off-by: Vinay Kalia <vkalia@codeaurora.org>
Configure the lower and upper band limits for all regions.
Change-Id: Ie9ceced02be0d3f5b335fb7eb6594d5783823f91
CRs-Fixed: 326007, 325078
Signed-off-by: Anantha Krishnan <ananthk@codeaurora.org>
This timestamp is needed in the userspace to flush old
video frames.
Change-Id: I432e5f5d35581b10857b41930d7751500ea131dc
Signed-off-by: Guruprasad Gaonkar <ggaonk@codeaurora.org>
FM configuration failure is due to two issues. Since the calibration
will take around 6 seconds to complete, any commands sent to SOC
during that time will fail.Added a state machine to prevent the
execution of another command while FM calibration is in progress.
The other issues is with the Get tuner command.FM kernel driver is
sending the Rx specific command to get the Tx configuration.
Send the proper command to get the TX configuration parameters.
CRs-Fixed: 317658
Change-Id: I54e637c267cbdb88d15d68d8ad7ceb72f985c54d
Signed-off-by: Srinivasa Rao Uppala <uppalas@codeaurora.org>
Add a new IOCTL to handle the completion of diverted
frame.
Change-Id: I3bbfc2bd3bfdfcd5e078713c068f3f6f97f7239a
Signed-off-by: Mingcheng Zhu <mingchen@codeaurora.org>
Fix the preset issue after the calibration
Change-Id: I5c0c694304b70be48462feaf64f688109596e781
CRs-Fixed: 318867
Signed-off-by: Venkateshwarlu Domakonda <Venkateshwarlu@codeaurora.org>
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: Ankit Premrajka <ankitp@codeaurora.org>
Add support for update command for demosaic module.
Change-Id: I06cc7c4e41cbc8c8486277151edc577097661cab
Signed-off-by: Azam Sadiq Pasha Kapatrala Syed <akapatra@codeaurora.org>
This patch adds the support for low power mode related IOCTL's
Change-Id: Icbfb21c24b82d9dc40203bcaf37049160285cc4e
CRs-Fixed: 312921
Signed-off-by: Srinivasa Rao Uppala <uppalas@codeaurora.org>
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: Kiran Kumar H N <hurlisal@codeaurora.org>
This patch adds support for FM Calibration IOCTL's
to perform the FM calibration during the bootup
and on every enable
Change-Id: If1c9e1d131d67df1434e86debd214b52379cad61
CRs-Fixed: 313588
Signed-off-by: Srinivasa Rao Uppala <uppalas@codeaurora.org>
Add supprt for ov5640 and ov7692 for QRD devices.
Change-Id: I9aa5b5031f0cd05f88fa5958a8dd4dbea18f04ab
Signed-off-by: Taniya Das <tdas@codeaurora.org>
Signed-off-by: Lokesh Kumar Aakulu <lkumar@codeaurora.org>
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: Ujwal Patel <ujwalp@codeaurora.org>
The current postprocessing framework uses single
planar structures. Change the data structures
to support multiplanar image formats.
Change-Id: I27dc6f4c544a4a628bbf2b073d6abd899450a396
Signed-off-by: Kiran Kumar H N <hurlisal@codeaurora.org>
Incoporate binning factor to calculate exposure time
Change-Id: I31f6896ae7b36f606b8a407e5662d341f8f8ff1e
Signed-off-by: Kevin Chan <ktchan@codeaurora.org>
This changes ensures that if 'Ananlog' path is enabled
then 'Digital' path is disabled and vice-versa.
Change-Id: I3492471ab69923d29c9912bb1a84784638b38ee1
CRs-Fixed: 304621
Signed-off-by: Anantha Krishnan <ananthk@codeaurora.org>
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: Kevin Chan <ktchan@codeaurora.org>
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: Ujwal Patel <ujwalp@codeaurora.org>
- 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: Kiran Kumar H N <hurlisal@codeaurora.org>
- 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: Kiran Kumar H N <hurlisal@codeaurora.org>
This patch adds place holder for notch filter, to keep
the driver compatible with the framework changes made for IRIS
CRs-fixed: 306856
Signed-off-by: Srinivasa Rao Uppala <uppalas@codeaurora.org>