Read VFE resolution limitation from VFE fuse register
and restrict support for dual camera resolution.
Change-Id: I5f1c8878bd1039a40c7c8ecc5934757707e0123e
Signed-off-by: Venu Yeshala <vyeshala@codeaurora.org>
When dynamic resolution switch is enabled,
it may happen that mixer w/h get updated
for new resolution before hist for last frame
with different resolution is read. This can
lead to sanity check failure for hist sum.
Fix the issue by clearing the current expected
sum and caching sum for next frame.
Change-Id: I93734900770a6c97eac66a412710cae217835693
Signed-off-by: Rajesh Yadav <ryadav@codeaurora.org>
There is a chance of deleting, already deleted list
in ipa_cleanup_wlan_rx_common_cache API.
Protect the wlan_comm_desc_list,
with the spinlock to avoid this deletion.
Change-Id: Ia05d47d7b54540eff6ef20f86dee410152457caa
Acked-by: Mohammed Javid <mjavid@qti.qualcomm.com>
Signed-off-by: Utkarsh Saxena <usaxena@codeaurora.org>
Playstation4 needs to be removed as having special hid driver
and needs to be used as generic hid driver because special
hid driver support is not working well.
CRs-Fixed: 2014640
Change-Id: Ibf053717adf043274ad3c4f889e5a88abf17e387
Signed-off-by: Hemant Gupta <hemantg@codeaurora.org>
RPM_AGGR2_NOC_CLK is separated out to allow individual voters
could vote on these clocks and voter clock would aggregate the
clock rates.
Change-Id: Ib15499a0025c422786b432a1e98380ce86692e7b
Acked-by: Chaitanya Pratapa <cpratapa@qti.qualcomm.com>
Signed-off-by: Utkarsh Saxena <usaxena@codeaurora.org>
Some regulators support get_voltage and some support get_voltage_sel
operations. Do voltage change propagation only when the current
regulator has a minimum dropout voltage specified or if the current
regulator lacks both get_voltage and get_voltage_sel operations.
CRs-Fixed: 2018399
Change-Id: I24cc880d6a61c2cb489897d39a1b63199749c98d
Signed-off-by: Tirupathi Reddy <tirupath@codeaurora.org>
Digital codec soc suspend enables mclk, preventing XO shutdown.
So implement digital codec pm suspend to disable mclk. Add ignore
suspend property to new widgets to resolve powering up and down
during suspend.
Change-Id: I2a773cdfe25d408d95f1c07be71fd4be740e8bf0
Signed-off-by: Divya Ojha <dojha@codeaurora.org>
The msm_camera_tz_set_mode is called for TA notification
and if the notification fails the flow should still proceed
without return.
This change prevents a fault caused by vfe remaining in
secure mode as the detach was not called in case of
notification failure.
CRs-Fixed: 2011627
Change-Id: Iefcfd72c8e2d96aba2daf2bed8d271edee0cc8c1
Signed-off-by: Dany Rybnikov <danyr@codeaurora.org>
MHI host require clients to provide maximum payload size
during active transfer so MHI host can pre-allocate bounce
buffers.
CRs-Fixed: 1110280
Change-Id: I9a8fcb8dbb711cdd35dfc12b47b4381bf0985134
Signed-off-by: Sujeev Dias <sdias@codeaurora.org>
MHI_RMNET layer not required to reserve for IP headroom
data since rmnet_data layer will create a new skb if
headroom reservation is needed.
CRs-Fixed: 1085031
Change-Id: Ic04e73510140e6c00ee18107a8edc9ead0b53863
Signed-off-by: Sujeev Dias <sdias@codeaurora.org>
MHI host requires clients to provide maximum payload size
during active transfer so MHI host can pre-allocate bounce
buffers.
CRs-Fixed: 1110280
Change-Id: I5dd38fc49a98629f77cdb7879942b7b1993e43b8
Signed-off-by: Sujeev Dias <sdias@codeaurora.org>
MHI host is not always the bus master. Add support to
operate on slave mode.
CRs-Fixed: 1095436
Change-Id: I4af92c8171cf9ba38267afa753cec33f291d55eb
Signed-off-by: Sujeev Dias <sdias@codeaurora.org>
Add support for MHI host to directly upload firmware
to compatible devices using MHI protocol.
CRs-Fixed: 1095436
Change-Id: Iff7043f1f9afc4824edeaeccc46ed427ce7ee291
Signed-off-by: Sujeev Dias <sdias@codeaurora.org>
In order to support multiple MHI devices connected
to same host we have, re-organize struct mhi_device_ctxt
such that all information related to device is included inside
struct mhi_device_ctxt. Created an abstract power management
layer to operate MHI in bus master, and slave mode. PCIe bus,
device, slot are extracted from DT to identify physical device.
CRs-Fixed: 1086301
Change-Id: I27a12b7412db75e4843794d80146ca7475b02fdc
Signed-off-by: Sujeev Dias <sdias@codeaurora.org>
The source split detection logic looks at only consecutive
layers in the layer list. This change looks at all previous
layers in the list instead of just the previous one.
Change-Id: I8b135a10ef1e5062d87c0784515a9eeb6ea4a450
Signed-off-by: Rajkumar Subbiah <rsubbia@codeaurora.org>
Add efuse register to be read for VFE dual camera limitation.
Change-Id: I1562b4555aadd0fde8f644cc3aa61e9d45f98ef0
Signed-off-by: Venu Yeshala <vyeshala@codeaurora.org>
Remove gt9xx goodix touch driver from the kernel code
as it has never been used in any of the recent platforms.
Change-Id: If9ebe97dee81d7a95a64c560b605c2e1d02b837c
Signed-off-by: Shantanu Jain <shjain@codeaurora.org>
Change required descriptors settings to pass as wireless RNDIS
so that driver will be auto-detected by windows. This installs
RNDIS driver automatically without manual intervention, when USB
tethering is enabled.
Change-Id: Ib4a8ab166cac212e041f13ed13d8ac5f59aec425
Signed-off-by: Vijayavardhan Vennapusa <vvreddy@codeaurora.org>