Commit graph

891,100 commits

Author SHA1 Message Date
qctecmdr
603419fc7b Merge "defconfig: Enable smb1355 in defconfig" 2020-09-22 11:24:20 -07:00
qctecmdr
5a3cf79c1a Merge "clk: qcom: Add enable/disable to clk_regmap_mux_div_ops" 2020-09-22 11:24:20 -07:00
qctecmdr
d95a0da22f Merge "defconfig: sdxlemur: Enable EXTCON_QCOM_SPMI_MISC" 2020-09-22 11:24:19 -07:00
Guru Das Srinagesh
a1f3e11e0d defconfig: sdxlemur: Enable EXTCON_QCOM_SPMI_MISC
This enables the detection of VBUS going high or low on sdxlemur
platforms where USB peripheral uses VBUS_DET peripheral from PMX65.

Change-Id: I0a30944de02403ed7b777380c3e75708f033a5bc
Signed-off-by: Guru Das Srinagesh <gurus@codeaurora.org>
2020-09-22 09:58:13 -07:00
qctecmdr
75a9b99eb8 Merge "block: Fix use-after-free issue while accessing ioscheduler lock" 2020-09-22 05:18:15 -07:00
qctecmdr
19776fc1aa Merge "mmc: core: Fix issue of no clk scaling upon previous scaling failure" 2020-09-22 05:18:15 -07:00
Naveen Yadav
c7546e1c9d clk: qcom: Add enable/disable to clk_regmap_mux_div_ops
Add support for and enable and disable ops for regmap_mux_div clk, also
support for safe source for regmap_mux_div clock to park the clk to safe
source while disabling and restore to active rate when clk is enabled.

Change-Id: Ida765ec1853c2bdd17b6fce3e8012e294f4324fe
Signed-off-by: Naveen Yadav <naveenky@codeaurora.org>
2020-09-22 15:46:05 +05:30
Ashish Chavan
6126aff064 defconfig: Enable smb1355 in defconfig
Enable SMB1355 driver which controls the smb1355 parellel
charger.

Change-Id: I4b627c4fbed545d185a1b3de69738337d23dbdb0
Signed-off-by: Ashish Chavan <ashichav@codeaurora.org>
2020-09-22 02:45:31 -07:00
Shyam Kumar Thella
69966162ef power: supply: smb1355: Add support to make SMB1355 driver GKI compliant
Add support for "parallel" power supply which is not present in 5.4
kernel through IIO device and properties under it through IIO channels
under the IIO device.

Change-Id: I2f7fe8d96080ea927f1349a6742cd4e0a6ffc290
Signed-off-by: Shyam Kumar Thella <sthella@codeaurora.org>
Signed-off-by: Ashish Chavan <ashichav@codeaurora.org>
2020-09-22 15:11:08 +05:30
Shyam Kumar Thella
8bfdbcbc36 dt-bindings: iio: add IIO channels for smb1355 parallel charger
Add IIO channels required by smb1355 parallel charger device.

Change-Id: If13e445dd2d1ed8f90e17a43432858348b3c1c00
Signed-off-by: Shyam Kumar Thella <sthella@codeaurora.org>
Signed-off-by: Ashish Chavan <ashichav@codeaurora.org>
2020-09-22 15:11:07 +05:30
Ashish Chavan
6166aaf062 power: battery: Fix parallel charger iio-channel names
Get IIO failure may occur due to parallel charger's iio-channel
names conflicting with main-charger/qg channels. Fix this by adding
"pl_" prefix for all parallel charger's iio-channels name.

Change-Id: I20cb8f984b38d7053890380ea024a2ef15cf5789
Signed-off-by: Ashish Chavan <ashichav@codeaurora.org>
2020-09-22 15:10:58 +05:30
Ziqi Chen
ca56714204 mmc: core: Fix issue of no clk scaling upon previous scaling failure
If the current partition type is RPMB, clock switching may not
work properly. In this case, clk scaling up would be skipped but
clk_scaling->target_freq has been changed and then discard sub-
sequent clk scaling up requests till meet scaling down. Changing
judgement condition clk_scaling->target_freq == *freq to clk_scaling
->curr_freq == *freq in mmc_devfreq_set_target to avoid this issue.

Change-Id: Id0636e7c792c63156597d5db4e9087bd5fdc2621
Signed-off-by: Ziqi Chen <ziqichen@codeaurora.org>
2020-09-22 16:40:44 +08:00
qctecmdr
0e13e74f0c Merge "trace: Fix race in trace_open and buffer resize call" 2020-09-21 23:57:21 -07:00
qctecmdr
74fea8b624 Merge "clk: qcom: gpucc-shima: Keep POR enabled gpu_cc_cb_clk always ON" 2020-09-21 23:57:20 -07:00
qctecmdr
175ef591a8 Merge "msm: synx: handle callback deregistration failure" 2020-09-21 23:57:20 -07:00
qctecmdr
590a7b16ba Merge "fsa4480 : support Ananlog Audio over Type-c USB on holi" 2020-09-21 23:57:19 -07:00
qctecmdr
804a2d5b22 Merge "cnss2: Notify MHI to use already allocated images" 2020-09-21 21:02:51 -07:00
qctecmdr
88dd3569e6 Merge "clk: qcom: Update parent map to use parent_map struct" 2020-09-21 21:02:50 -07:00
qctecmdr
38df3556eb Merge "extcon: qcom-spmi: Add support for VBUS detection" 2020-09-21 18:12:27 -07:00
qctecmdr
2cb49d5ea4 Merge "hwmon: amoled-ecm: add support to re-enable ECM dynamically" 2020-09-21 18:12:26 -07:00
qctecmdr
838c5fc505 Merge "haven: irq_lend: add support for IRQ notifications" 2020-09-21 18:12:26 -07:00
Murali Nalajala
e98e9702f5 haven: irq_lend: add support for IRQ notifications
Currently IRQ APIs are combined with notifications to VMs for sharing the
handles. This limit the clients for managing the error handling from the
drivers. Hence separate the notifications from the actual APIs so that
clients manage the error handling better. Add support for notifications
like IRQ_LEND/ACCEPT/RELEASE from SVM to PVM when SVM accept the irq
handle shared by PVM.

Change-Id: I49999c2d9494c68b1542680e521c012a25e3f6a8
Signed-off-by: Murali Nalajala <mnalajal@codeaurora.org>
2020-09-21 15:14:37 -07:00
Yue Ma
fbef9467c3 cnss2: Notify MHI to use already allocated images
For firmware and RDDM images, notify MHI driver not to free them after
successful allocation. This can help avoid future memory allocation
failure.

Change-Id: Ic19d42c6d56707200099969e36da91f4afed0163
Signed-off-by: Yue Ma <yuem@codeaurora.org>
2020-09-21 15:08:57 -07:00
qctecmdr
ac50d9af8d Merge "dt-bindings: clock: Add support for clock ids for YUPIK" 2020-09-21 15:06:35 -07:00
qctecmdr
96d58914d1 Merge "msm: kgsl: Update the mailbox message and length for ACD QMP message" 2020-09-21 15:06:35 -07:00
qctecmdr
f0421cce01 Merge "msm: kgsl: Re-define maximum number of cmds for hwscheduling" 2020-09-21 15:06:34 -07:00
qctecmdr
1f6a7259ef Merge "ANDROID: cpufreq/schedutil: add up/down frequency transition rate limits" 2020-09-21 15:06:34 -07:00
qctecmdr
7a4254dd0a Merge "msm: cvp: Make CVP SMMU fault non-fatal error" 2020-09-21 15:06:33 -07:00
qctecmdr
17f803bda2 Merge "dt-bindings: iio: Add PMX65 PMIC7 ADC support" 2020-09-21 15:06:33 -07:00
qctecmdr
b9d5927b35 Merge "power: supply: qti_battery_charger: add support for wireless FW CRC check" 2020-09-21 15:06:32 -07:00
Hemant Kumar
407257c305 mhi: core: Add support to pre allocate image buffers
This allows controller to keep the memory allocated for bhi
vector table for rddm and fbc images. Memory remains allocated
after controller powers down. Add a controller flag to make the
decision for memory allocation.

Change-Id: Ic8aee54ae57f5f9351158b18cd96faf7eeb81429
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
2020-09-21 12:36:13 -07:00
qctecmdr
c55f25ccd9 Merge "arch: arm: Handle quirk structure after secure call return" 2020-09-21 11:51:05 -07:00
qctecmdr
646b042e70 Merge "mmc: sdhci-msm: Add SD card's err_stat sysfs entry" 2020-09-21 11:51:05 -07:00
qctecmdr
b6a3995c15 Merge "defconfig: msm: Enable minidump feature configs on holi" 2020-09-21 11:51:04 -07:00
qctecmdr
a9dae49894 Merge "msm: kgsl: Add support for GMU log streaming" 2020-09-21 11:51:04 -07:00
qctecmdr
423554d65f Merge "cnss2: Release qmi handle after server exit" 2020-09-21 09:03:13 -07:00
qctecmdr
5949b2625e Merge "msm: kgsl: Add timeline traces" 2020-09-21 09:03:13 -07:00
Mayank Grover
2839e6cbe4
defconfig: msm: Enable minidump feature configs on holi
Enabling minidump feature configs for holi target.

Change-Id: I41022790f952fea70600fe4d22cd458873312070
Signed-off-by: Mayank Grover <groverm@codeaurora.org>
2020-09-21 20:32:16 +05:30
Ashish Bhimanpalliwar
3347f238c8
defconfig: msm: Enable QCOM_INITIAL_LOGBUF for holi
Enable CONFIG_QCOM_INITIAL_LOGBUF for Holi. This enables
copying of dmesg logs into separate buffer at 100 sec from
bootup.

Change-Id: I36b7addc6060fc6cea03cc2cf006d454c9a1a6d6
Signed-off-by: Ashish Bhimanpalliwar <abhiman@codeaurora.org>
2020-09-21 20:31:38 +05:30
Gaurav Kohli
15911b869f trace: Fix race in trace_open and buffer resize call
Below race can come, if trace_open and resize of
cpu buffer is running parallely on different cpus

CPUX                                CPUY
				    ring_buffer_resize
				    atomic_read(&buffer->resize_disabled)
tracing_open
tracing_reset_online_cpus
ring_buffer_reset_cpu

rb_reset_cpu
				    rb_update_pages
				    remove/insert pages

resetting pointer

This race can cause data abort or some times infine loop in rb_remove_pages
and rb_insert_pages while checking pages for sanity.

Take ring buffer lock in rb reset to avoid resetting of cpu buffer.

Change-Id: I1d3344cca99e936d4e04a0e430e0ef9a975404c8
Signed-off-by: Gaurav Kohli <gkohli@codeaurora.org>
2020-09-21 07:51:38 -07:00
qctecmdr
04dae11da1 Merge "msm: kgsl: Fix DMA API warnings" 2020-09-21 06:03:02 -07:00
qctecmdr
cbd5b7fafc Merge "usb: dwc3: Drive a pulse on DP on CDP detection" 2020-09-21 06:03:01 -07:00
qctecmdr
c9879ecde9 Merge "dt-bindings: msm: Add bindings for MP limit fuse support" 2020-09-21 06:03:01 -07:00
Fenglin Wu
cd3230bf33 hwmon: amoled-ecm: add support to re-enable ECM dynamically
When ECM is enabled, disable ECM if display goes blank, and reenable
ECM once display restores to unblank. This helps in keeping ECM HW
enabled only when display is active.

Meanwhile, update the logic a little bit on calculating the average
current. When any of the accumulated values is invalid, just ignore
the calculation instead of disabling the ECM.

Change-Id: Ibfe973df4dabd1b1cd48927ce567a094da6382a3
Signed-off-by: Fenglin Wu <fenglinw@codeaurora.org>
2020-09-21 19:14:23 +08:00
qctecmdr
c55c540878 Merge "soc: qcom: Add a die notifier for qcom watchdog" 2020-09-21 00:15:06 -07:00
qctecmdr
c0c76e1d77 Merge "dt-bindings: input: touchscren: add description for synaptics_dsx" 2020-09-21 00:15:06 -07:00
qctecmdr
b44e32c8f5 Merge "rpmsg: glink: Append glink irq name with remote edge name" 2020-09-21 00:15:06 -07:00
Deepak Kumar Singh
4ad4c3678c rpmsg: glink: Append glink irq name with remote edge name
Glink irq for all the remote edges are registered with same name
glink-native. It is difficult to distinguish each irq in logs.

Appending remote edge name to generic irq name.

Change-Id: I6ead87e0e4adae204535b599d07d9471387c861b
Signed-off-by: Deepak Kumar Singh <deesin@codeaurora.org>
2020-09-20 21:39:26 -07:00
Ravikanth Tuniki
9fed4d8bdd dt-bindings: input: touchscren: add description for synaptics_dsx
Add new file for synaptics_dsx touchscreen drive IC.

Change-Id: I92e089bfad8736e286fd308e98b5b5daf5fefeed
Signed-off-by: Ravikanth Tuniki <rtunik@codeaurora.org>
2020-09-20 20:51:28 -07:00
Linyu Yuan
a95ce1f890 usb: misc: nb7vpq904m: remove panic operation
it is an empty function.

Change-Id: I6b34ea0280f30169e93c819d037c323dcf1f8bee
Signed-off-by: Linyu Yuan <linyyuan@codeaurora.org>
2020-09-21 11:34:22 +08:00