Commit graph

891,146 commits

Author SHA1 Message Date
qctecmdr
f3dfd22d9b Merge "clk: qcom: cpu: Add CPU clock driver for SDXLEMUR" 2020-09-27 08:29:32 -07:00
qctecmdr
f47bea82c8 Merge "arm64: defconfig: Enable SPS driver for Holi" 2020-09-27 08:29:32 -07:00
qctecmdr
6e5219d5bc Merge "scsi: ufs: Don't skip UFS probe in emmc based bootdevice" 2020-09-26 18:44:24 -07:00
Ajay Prathi
40477dec73 arm64: defconfig: Enable SPS driver for Holi
Enable SPS driver for Lahaina GKI version.
SPS (Smart Peripheral System) enables the support of
all BAMs in the system which provide DMA
functionality to various peripherals.

Change-Id: I5eb575d594bbd2c4858f224fcd40f1c2a04643f7
Signed-off-by: Ajay Prathi <aprathi@codeaurora.org>
2020-09-26 14:57:37 +05:30
qctecmdr
da2e3647bf Merge "defconfig: lahaina: remove CONFIG_LEDS_CLASS_FLASH & CONFIG_LEDS_TRIGGER_TIMER" 2020-09-25 13:11:08 -07:00
qctecmdr
1276e88a08 Merge "icc: dt-bindings: add endpoint IDs for interconnects for YUPIK" 2020-09-25 10:11:38 -07:00
qctecmdr
6d09adc73b Merge "defconfig: msm: Enable support for SCSI Generic(Sg)" 2020-09-25 10:11:38 -07:00
qctecmdr
c1cbc356a9 Merge "msm: cvp: Avoid referencing uninitialized variable" 2020-09-25 10:11:38 -07:00
qctecmdr
f5ea7fb93e Merge "cnss2: Assert when power on retry reaches maximum" 2020-09-25 10:11:37 -07:00
qctecmdr
11cd834e3c Merge "cnss2: Log a message after assert/de-assert WLAN_EN GPIO" 2020-09-25 10:11:37 -07:00
qctecmdr
4e16ed70f3 Merge "power: qpnp-smb5: Modify the usage of INPUT_CURRENT_LIMIT in batt_psy" 2020-09-25 10:11:37 -07:00
qctecmdr
0d177e5dc6 Merge "dma-buf: Handle dentry->d_fsdata being NULL" 2020-09-25 10:11:36 -07:00
George Shen
9fcafd916f msm: cvp: Avoid referencing uninitialized variable
Initialize a local variable before referening it.

Change-Id: I469eb892b418fb1906ebf4c093ac28d249412cdd
Signed-off-by: George Shen <sqiao@codeaurora.org>
2020-09-23 16:31:04 -07:00
Yue Ma
74bb9a8d87 cnss2: Assert when power on retry reaches maximum
In order to catch the issue immediately, assert when power on retry
for PCIe resume reaches maximum.

Change-Id: Ie370e031e68721b531aae909f56bc45b9d9b59d8
Signed-off-by: Yue Ma <yuem@codeaurora.org>
2020-09-23 12:04:01 -07:00
Yue Ma
a3c77b62e8 cnss2: Log a message after assert/de-assert WLAN_EN GPIO
Print after successfully assert/de-assert WLAN_EN GPIO for
debug purpose.

Change-Id: I3094252cf2f14d7a5e438ea8a8983b9b30fc75ed
Signed-off-by: Yue Ma <yuem@codeaurora.org>
2020-09-23 11:49:16 -07:00
Nitin Rawat
b277b51bab defconfig: msm: Enable support for SCSI Generic(Sg)
This config enable the support for scsi generic driver.

Change-Id: Ib895134d3bd1635f612b9254900162160fbd67ea
Signed-off-by: Nitin Rawat <nitirawa@codeaurora.org>
2020-09-23 20:27:24 +05:30
Odelu Kukatla
1fb35297c9 icc: dt-bindings: add endpoint IDs for interconnects for YUPIK
Add master and slave ID constants for all Qualcomm Technologies, Inc.
Yupik interconnect providers which consumers can use to set bandwidth
constraints and find paths in the NoC (Network-On-Chip) topology.

Change-Id: I0098d170786dacc3869485b86917b1a0a7491bfc
Signed-off-by: Odelu Kukatla <okukatla@codeaurora.org>
2020-09-23 06:27:55 -07:00
qctecmdr
6a91a7d54b Merge "msm: pcie: Add additional logging in msm_pcie_drv_resume" 2020-09-22 21:18:49 -07:00
qctecmdr
c112c25edc Merge "cnss2: change for fixed link speed" 2020-09-22 21:18:48 -07:00
Hemant Kumar
0211a911fe msm: pcie: Add additional logging in msm_pcie_drv_resume
Add pcie logs to identify any possible latency in enabling
regulators, clks and icc as part of DRV resume.

Change-Id: I3cb72ce22773f0b6b52c9e704c9ec9a3a1de3d8c
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
2020-09-22 16:25:36 -07:00
Manikandan Mohan
baa52351d2 cnss2: change for fixed link speed
Change for fixed link speed.

Change-Id: If2584bd534b868171d53b0b880d65cc2eeb74410
Signed-off-by: Mohammed Siddiq <msiddiq@codeaurora.org>
Signed-off-by: Manikandan Mohan <manikand@codeaurora.org>
2020-09-22 15:35:39 -07:00
qctecmdr
b3e8514aef Merge "cnss2: Correct platform driver state for cnss2" 2020-09-22 11:24:20 -07:00
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
Anirudh Ghayal
679e0a56d3 power: qpnp-smb5: Modify the usage of INPUT_CURRENT_LIMIT in batt_psy
Use the property INPUT_CURRENT_LIMIT to suspend and un-suspend
USB and DC paths.

Change-Id: Id0636e7c792c63156597d5db4e9087bd5fdc262f
Signed-off-by: Anirudh Ghayal <aghayal@codeaurora.org>
2020-09-22 23:07:09 +05:30
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
3094b13953 clk: qcom: cpu: Add CPU clock driver for SDXLEMUR
Add support for sdxlemur CPU clock driver for
controlling cpu clocks.

Change-Id: I02325424dabfe96f7357844cb69a368fc04afba9
Signed-off-by: Naveen Yadav <naveenky@codeaurora.org>
2020-09-22 15:46:59 +05:30
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
Sandeep Singh
f1a76b8578 cnss2: Correct platform driver state for cnss2
Correct platform driver state for cnss2.

Change-Id: I5dda8b2737533cd3927a3178029b465ebe89fc64
Signed-off-by: Sandeep Singh <sandsing@codeaurora.org>
2020-09-22 11:57:27 +05:30
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