Commit graph

585316 commits

Author SHA1 Message Date
Hemant Gupta
7a160be0dc HID: Remove playstation4 as special driver
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>
2017-03-12 22:33:25 -07:00
Utkarsh Saxena
284c4e80bd ARM: dts: msm: Fix RPM_AGGR2_NOC_CLK name change for SDM660/SDM630
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>
2017-03-13 10:58:50 +05:30
Charan Teja Reddy
b8c9470476 ARM: dts: msm: add voter clock to anoc2_smmu on sdm660/630
Add the proper aggr2_noc voter clock, AGGR2_NOC_SMMU_CLK, for correct
operation of anoc2 SMMU.

Change-Id: I8e9a5a455626f73ea15fbe16dd63b8fc8b26c4f0
Signed-off-by: Charan Teja Reddy <charante@codeaurora.org>
2017-03-12 22:22:38 -07:00
Tirupathi Reddy
f02b26a729 regulator: core: Fix voltage change propagations to supply regulators
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>
2017-03-13 10:07:25 +05:30
Divya Ojha
54344baed6 ASoC: codecs: Add PM suspend routines for digital codec
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>
2017-03-12 06:05:07 -07:00
Dany Rybnikov
9f07864f81 msm: camera: Remove exit on error conditions for smmu apis
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>
2017-03-12 01:34:27 -08:00
Sujeev Dias
32baae206b mhi: mhi_rmnet: pass maximum payload size to mhi during registration
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>
2017-03-11 14:00:00 -08:00
Sujeev Dias
8ac488be9e msm: mhi_rmnet: remove headroom reservation
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>
2017-03-11 13:47:06 -08:00
Sujeev Dias
3d0bc07b5b mhi: mhi_uci: pass max payload size to mhi during mhi registration
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>
2017-03-11 13:43:31 -08:00
Sujeev Dias
6f370e6a8b mhi: core: add support for MHI host managing firmware upload
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>
2017-03-11 11:58:46 -08:00
Sujeev Dias
2583f4c5d6 mhi: core: Add support for multiple MHI devices
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>
2017-03-11 11:50:50 -08:00
Sujeev Dias
b1fa567f04 ARM: dts: msm: mhi: document mhi-chan-cfg settings
Add a detail explanation for mhi-chan-cfg
configuration settings.

CRs-Fixed: 1022868
Change-Id: I89a1ea3e8ac6b1b210df245e8bd199206cdbb649
Signed-off-by: Sujeev Dias <sdias@codeaurora.org>
2017-03-11 11:50:44 -08:00
Linux Build Service Account
51740526b9 Merge "msm: camera: isp: support LPM on dualcamera" 2017-03-11 10:08:13 -08:00
Linux Build Service Account
7ea0306f70 Merge "defconfig: msm: Enable camera for SDM660 32bit variant" 2017-03-11 10:08:12 -08:00
Linux Build Service Account
23bb0f5efd Merge "msm: camera: Bound check for num_of_stream." 2017-03-11 10:08:10 -08:00
Linux Build Service Account
a2adda724d Merge "msm: camera: Prevent info leak in kernel driver." 2017-03-11 10:08:10 -08:00
Linux Build Service Account
e35eb8badb Merge "msm: camera: isp: fix for enqueue buffer failure" 2017-03-11 10:08:09 -08:00
Linux Build Service Account
9c2eff9b87 Merge "qcom: smb138x: Reduce die temperature samples for initial readings" 2017-03-10 20:14:37 -08:00
Linux Build Service Account
8dd0576877 Merge "qcom: qpnp-smb2: update POWER_SUPPLY_PROP_CHARGER_TEMP read logic" 2017-03-10 20:14:36 -08:00
Linux Build Service Account
da248ad284 Merge "defconfig: msm: Enable RCU_STALL_WATCHDOG_BITE flag" 2017-03-10 20:14:35 -08:00
Linux Build Service Account
3c49ad5543 Merge "ARM: dts: msm: Enable continuous splash on sdm630" 2017-03-10 20:14:35 -08:00
Linux Build Service Account
3bb80849e2 Merge "ARM: dts: msm: Allow modem MBA to be loaded in carveout for MSM8998" 2017-03-10 20:14:33 -08:00
Linux Build Service Account
25c8a028f5 Merge "Perf: arm64: Use all 6 counters in tracecounters" 2017-03-10 20:14:32 -08:00
Linux Build Service Account
1f02bcefe4 Merge "ARM: dts: msm: Add VFE efuse support for SDM630" 2017-03-10 11:05:11 -08:00
Linux Build Service Account
4f0f7a3d7d Merge "ARM: dts: msm: set pm660 L6/L9/L19 to not follow HW_EN1 for wcn3990" 2017-03-10 11:05:10 -08:00
Linux Build Service Account
b7207bf00e Merge "rcu: Induce msm watchdog bite for rcu stalls" 2017-03-10 11:05:09 -08:00
Linux Build Service Account
ddf1974359 Merge "cnss_prealloc: Update pre-alloc table" 2017-03-10 11:05:08 -08:00
Linux Build Service Account
bff9fbab18 Merge "ARM: dts: msm: use updated clock handle to USB dt node on sdm660" 2017-03-10 11:05:07 -08:00
Linux Build Service Account
4c2c203412 Merge "msm: wlan: Define CFG80211_CONNECT_TIMEOUT_REASON_CODE" 2017-03-10 11:05:05 -08:00
Venu Yeshala
1d1da6b2fc ARM: dts: msm: Add VFE efuse support for SDM630
Add efuse register to be read for VFE dual camera limitation.

Change-Id: I1562b4555aadd0fde8f644cc3aa61e9d45f98ef0
Signed-off-by: Venu Yeshala <vyeshala@codeaurora.org>
2017-03-10 05:33:00 -08:00
Shantanu Jain
768090d4d7 input: touchscreen: remove gt9xx goodix touch driver
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>
2017-03-10 17:41:42 +05:30
Linux Build Service Account
b8c4038d14 Merge "msm: mdss: Handling possible integer overflow" 2017-03-10 02:07:17 -08:00
Linux Build Service Account
0799e92cbd Merge "msm: vidc: Fix masking of QP values for different codecs in driver" 2017-03-10 02:07:16 -08:00
Linux Build Service Account
81de7e7c6e Merge "msm: media: Allocate extra memory for YUV buffers" 2017-03-10 02:07:15 -08:00
Linux Build Service Account
55de912103 Merge "arm64: Update correct config option for TLB handler" 2017-03-10 02:07:14 -08:00
Linux Build Service Account
3760a82752 Merge "msm: gsi: increase stop command timeout" 2017-03-10 02:07:13 -08:00
Linux Build Service Account
e2d2d61a3e Merge "ARM: dts: msm: Enable the GPU QTimer access" 2017-03-10 02:07:12 -08:00
Linux Build Service Account
8a259eb1ca Merge "msm: kgsl: Map GPU QTimer through GPU IOMMU" 2017-03-10 02:07:11 -08:00
Linux Build Service Account
bab6650e12 Merge "ARM: dts: msm: Enable midframe sampling timer on SDM660" 2017-03-10 02:07:11 -08:00
Linux Build Service Account
c03b5c2d1c Merge "arm64: dma-mapping: optimize unmap coherency check" 2017-03-10 02:07:10 -08:00
Linux Build Service Account
7577433126 Merge "input: touchscreen: fix buffer overflow issue in synaptics driver" 2017-03-10 02:07:09 -08:00
Linux Build Service Account
a08be13ed5 Merge "misc: qpnp-misc: add support for clients to read register from misc device" 2017-03-10 02:07:07 -08:00
Linux Build Service Account
0b59a6020b Merge "msm: IPA: add the check on intf query" 2017-03-10 02:07:06 -08:00
Ashay Jaiswal
44499b736a qcom: qpnp-smb2: update POWER_SUPPLY_PROP_CHARGER_TEMP read logic
The charger therm on RRADC only reads valid values if a charger is
present. Add a check accordingly.

Change-Id: I74c6c15e1e72d4d2ef3ffd698f130b7d0fce6df4
Signed-off-by: Ashay Jaiswal <ashayj@codeaurora.org>
2017-03-10 15:34:31 +05:30
Jayant Shekhar
053665087e ARM: dts: msm: Enable continuous splash on sdm630
Add splash memory node for sdm630 to enable continuous
splash.

Change-Id: Idf69b5af0ededd3a7f649cc49eaa889e4175751e
Signed-off-by: Jayant Shekhar <jshekhar@codeaurora.org>
2017-03-10 14:27:22 +05:30
Vijayavardhan Vennapusa
cd4b79bffc ARM: dts: msm: use updated clock handle to USB dt node on sdm660
Add the proper clock handle to USB dt node for noc_aggr_clk for
SDM660.

Change-Id: Id9ec52123ce2e45b466cc6cd74696f52154efdae
Signed-off-by: Vijayavardhan Vennapusa <vvreddy@codeaurora.org>
2017-03-09 23:49:57 -08:00
Govind Singh
0fcd027f7e ath10k: Increase the ring size of the CE4 ring
Increase the size of host to target CE4 ring
in order to hold more data packets in the ring and
avoid the unnecessary drops at hif layer.

CRs-Fixed: 2017758
Change-Id: Ib344c7035a79b0730a8b39d2441857b363e18efd
Signed-off-by: Govind Singh <govinds@codeaurora.org>
2017-03-10 12:58:49 +05:30
Govind Singh
8260e333ec ath10k: Fix TCP TX throttling issue
TCP TX throttling logic is changed a little after
3.19-rc1 kernel, the TCP sending limit will be smaller,
which will throttle the TCP packets to the host driver.
The TCP UP LINK throughput will drop heavily. In order to
fix this issue, need to orphan the socket buffer asap, which
will call skb's destructor to notify the TCP stack that the
SKB buffer is unowned. And then the TCP stack will pump more
packets to host driver.

The TX packets might be dropped for UDP case in the iperf
testing. So need to be protected by follow control

Change-Id: I1c77313fbdb579e708d4a5a6bcd063c7c34a6d39
Signed-off-by: Govind Singh <govinds@codeaurora.org>
2017-03-09 23:08:45 -08:00
Subbaraman Narayanamurthy
0ed3b2e19d misc: qpnp-misc: add support for clients to read register from misc device
On certain PMICs, PMIC peripheral drivers like haptics need to
read MISC peripheral register. Add support for clients to read
it by using qpnp_misc_read_reg().

Change-Id: Id5dfd9e440a8861b56572dab50839d1583535882
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
2017-03-09 20:03:05 -08:00
Linux Build Service Account
22fe1e7de0 Merge "msm: ipa: Fix incorrect wakelock handling" 2017-03-09 17:21:38 -08:00