Add playback and capture support when an analog wired
accessory is inserted into USB Type-C receptacle through
an USB type-c to 3.5mm analog audio adapter.
CRs-Fixed: 1102048
Change-Id: I36126ecdb0d2683d27d78dea9256bee0be67c1a6
Signed-off-by: Phani Kumar Uppalapati <phaniu@codeaurora.org>
SDM660 and SDM630 support wifi offload. So, enable it.
Change-Id: I82a509b8f8b07b0537f050a62c4b605ac6806837
Acked-by: Mohammed Javid <mjavid@qti.qualcomm.com>
Signed-off-by: Utkarsh Saxena <usaxena@codeaurora.org>
We need to move panel settings from sdm660-qrd.dtsi to
sdm660-qrd.dts to separate LCD & AMOLED panel as they use
sdm660-qrd.dtsi for some common settings for sdm660 QRD.
Change-Id: I447f70c4953e5ba0ee30bb76fa08a5f640360d9c
Signed-off-by: Yahui Wang <yahuiw@codeaurora.org>
Conversion of a 64 bit int variable to void pointer is illegal
operation when compiling for 32 bit architecture.
Added explicit conversion to uintprt_t, so that 32 bit conversion
can be done.
CRs-Fixed: 1107920
Change-Id: I3854fcb460308c9a77a17198dcb604dd4da135ac
Signed-off-by: Dhoat Harpal <hdhoat@codeaurora.org>
Enable MSM_TIMER_LEAP config flag in both sdm660_defconfig
and sdm660-perf_defconfig files. This option enables check
for architecture timer leaps, when all least significant 32bits
of CNTVCT or CNTPCT counter is set and rereads counters.
Change-Id: I643fad053b560e689c9ffd00e1f02790435a9e8c
Signed-off-by: Venkatesh Yadav Abbarapu <vabbar@codeaurora.org>
Make change to pass the iotcl param to reset_stats
instead of NULL to avoid NULL pointer access.
Change-Id: Ie5fe6d3dd530ac2efc0fe670cccd20b9a2fbe968
Acked-by: Chaitanya Pratapa <cpratapa@qti.qualcomm.com>
Signed-off-by: Utkarsh Saxena <usaxena@codeaurora.org>
Add the following support on sdm660:
1. Panel timings, power supplies, backlight settings for sharp
wqxga panel.
2. Panel timings for dsc video and command mode for truly panel.
Change-Id: I4f3a6794b8856f4df53717f81f980cf7ab1b73db
Signed-off-by: Ashish Garg <ashigarg@codeaurora.org>
Modify DCC RAM size for sdm660. DCC RAM is used to
store captured information locally in DCC.
CRs-fixed: 1112955
Change-Id: I6c1a48e11c97be31c575aa9ec4cf024dc4a33fa8
Signed-off-by: Amey Telawane <ameyt@codeaurora.org>
Sometimes drivers already looked up, or know out-of-band
from their device, which station transmitted a given RX
frame. Allow them to pass the station pointer to mac80211
to save the extra lookup.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac80211-next.git
Git-commit: d63b548fffdbd239a5e65bb89424be19229048ba
CRs-Fixed: 1112914
[rsirasan@codeaurora.org: pulled changes only in kernel header
file and mac80211 subsystem]
Change-Id: Ie35906d1e9df1ebe7f72e7a6df3293117abdec57
Signed-off-by: Rajeev Kumar Sirasanagandla <rsirasan@codeaurora.org>
An IPA header or processing context can be added once
and later deleted once from user space.
Multiple deletion may cause invalid state of the headers
software cache.
Change-Id: Ic0b8472b7fd8a76233a007d90c832af726184574
CRs-fixed: 1097714
Signed-off-by: Ghanim Fodi <gfodi@codeaurora.org>
USB client needs 19.2MHz frequency support for utmi clock, so that it could
be requested for. Add support for the same.
Change-Id: Icdbf9c5155bdd0ec02d357182d6e020c06a70648
Signed-off-by: Taniya Das <tdas@codeaurora.org>
Enabling deferred resume feature on SDM660. With this feature
enabled, MMC devices won't be resumed as part of the system
resume. It will be resumed only when there's a request to be
processed.
Change-Id: I901a888269b8bc0de006c8174546fd5f5c30baa8
Signed-off-by: Veerabhadrarao Badiganti <vbadigan@codeaurora.org>
It is observed that some PD-capable sink devices have a
longer start-up delay before responding to the Source
Capabilities message with a Request. Since it is PD capable
we'd like to wait until after entering PE_SRC_Ready and VDM
Discovery to start USB host mode. Accommodate these devices by
increasing the number of failed attempts of sending the message
from 5 to 10 before treating it as a non-PD device and starting
host mode.
Change-Id: Ia555699e78729b75dc118cbb929f7c4c4f2d1279
Signed-off-by: Jack Pham <jackp@codeaurora.org>
This reverts commit 85cc38fca2 ("usb: pd: Add support to set the
maximum speed via extcon") which unnecessarily restricted starting
USB host mode to high-speed only. Relax this so that USB host can
start in SuperSpeed when DFP mode is entered.
However, the only exception is if DisplayPort mode is discovered,
we need to drop down to high-speed only due to current hardware
limitations. This is handled during the VDM discovery stage.
Also use this opportunity to refactor all extcon_set_state_() calls
to helper functions that start/stop USB host/peripheral modes.
Change-Id: I2f32f70c57a8a6e2c34c8daf59dea931b445422f
Signed-off-by: Jack Pham <jackp@codeaurora.org>
Configure QRD8998HB analog and digital voltage to correct value.
CRs-Fixed: 1112314
Change-Id: I15d26582a87c9613c2ada010912b53e15e383b18
Signed-off-by: Jin Fu <jinf@codeaurora.org>
Add support to identify fake battery/debug board and suspend the USB
input path when this is detected.
CRs-Fixed: 1107245
Change-Id: Icaa936e4e5b3c9381bc92b6664b32547a820b9c3
Signed-off-by: Ashay Jaiswal <ashayj@codeaurora.org>
In some devices, qcom-i2c-pmic driver fails probe from the initial
poke failure of attached SEM slave.
As software workaround, this issue can be recovered by retrying to
ensure the unresponsive device is powered.
CRs-Fixed: 1083672
Change-Id: Ie828ba236f42b24a3d2acefdf069445cc72503f1
Signed-off-by: Harry Yang <harryy@codeaurora.org>
Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>
The gcc_gpu_bimc_gfx_src_clk and gcc_gpu_snoc_dvm_gfx_clk need
to left at their default state of ON. Remove controlling them
from the linux clock driver to avoid disabling them during
late_init.
Change-Id: Iefc033998bf87fcc98dfaa1b7321d9cc33dedd5e
Signed-off-by: Taniya Das <tdas@codeaurora.org>
clk_prepare would hold a mutex and as clk_debug_mux_measure_rate has
already acquired a spinlock it would result in a BUG from sleeping context.
Avoid this by moving the prepare_enable before acquiring spinlock.
Change-Id: Ia405c884663ef80e87ae066df09f1c30134faf2e
Signed-off-by: Taniya Das <tdas@codeaurora.org>
The 's' flag is supposed to indicate that a softirq is running. This
can be detected by testing the preempt_count with SOFTIRQ_OFFSET.
The current code tests the preempt_count with SOFTIRQ_MASK, which
would be true even when softirqs are disabled but not serving a
softirq.
Link: http://lkml.kernel.org/r/1481300417-3564-1-git-send-email-pkondeti@codeaurora.org
Change-Id: I084531ce806e0f7d42a38be0a7ad45977c43d158
Signed-off-by: Pavankumar Kondeti <pkondeti@codeaurora.org>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Git-commit: c59f29cb144a6a0dfac16ede9dc8eafc02dc56ca
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git