Commit graph

894,770 commits

Author SHA1 Message Date
Xiaoning Ma
8b5a8ca0aa Bluetooth: Update power sources for auto BT SoCs
This change will add all the power sources which are needed
for automotive BT SoCs QCA6574/QCA6595/QCA6696.

Change-Id: Icaa9d6fe9d8fc8f51a23caeaa6dd950757b6c7ef
Signed-off-by: Xiaoning Ma <mxiaonin@codeaurora.org>
2021-02-25 22:06:34 -08:00
Xiaoning Ma
45e3f9dc5b defconfig: gen3auto: enable btpower
Enable bt power driver for gen3auto targets.

Change-Id: Ia33c80d875cfde006f700e23c09a716dd127b5ad
Signed-off-by: Xiaoning Ma <mxiaonin@codeaurora.org>
2021-02-25 22:05:36 -08:00
Tushar Nimkar
52a14338ef soc: qcom: Add support to read apps stats from smem
The trustzone will write apps stats into smem. This change
adds support to read and display it when rpmh_unit_base is
not present.

Change-Id: Ifc3566018fd6722eb2d818d8d81370dc1f8cea19
Signed-off-by: Tushar Nimkar <tnimkar@codeaurora.org>
2021-02-26 11:07:12 +05:30
Umesh Vats
0e1a7fc53f Bluetooth: Free the XO clk GPIO after use
Add change to immediately free the XO Clk GPIO after its usage.

Change-Id: Ie54e55175898e0c3e799ff8db8f3399011559f25
Signed-off-by: Umesh Vats <uvats@codeaurora.org>
2021-02-25 20:44:12 -08:00
Prakash Gupta
5f1ea1aa0c iommu/arm-smmu: update debug logs for qsmmuv2 sync timeout
Add debug registers to dump in the event of sync timeout for qsmmuv2.

Change-Id: I18cc3296e74ca0e2cb6f68f8aca67032d493410b
Signed-off-by: Prakash Gupta <guptap@codeaurora.org>
2021-02-25 20:05:32 -08:00
Minghao Zhang
ad91bbcae9 drivers: MAX31760: disable VDD of MAX31760 and fan in RBC
Disable VDD of MAX31760 and fan in RBC to save power.

Change-Id: I5156c17927af5d89adc67503ea7323f662b198c6
Signed-off-by: Minghao Zhang <minghao@codeaurora.org>
2021-02-26 10:48:55 +08:00
Manikandan Mohan
329e3234c2 cnss2: Ignore calibration trigger if already in progress
Ignore calibration request if its already in progress.

Change-Id: I8b516393fa1169263021403cc2e10160eac06615
Signed-off-by: Manikandan Mohan <manikand@codeaurora.org>
2021-02-25 18:44:04 -08:00
Kai Liu
98eb7da2c0 cnss2: Export remote memory info
CNSS platform driver allocates host DDR memory for device.
This change exports these memory info to q5drv for QDSS streaming
feature.

Change-Id: I053704b0e146f50abd3940a91f2190ee1b2a7fe3
Signed-off-by: Kai Liu <kaliu@codeaurora.org>
2021-02-26 09:57:17 +08:00
Anant Goel
f752ceaff9 drivers: pinctrl: Add custom GPIO to PDC pin mapping list support
Add feature support where a user can provide a custom list of TLMM
GPIOs associated with PDC pins for direct connect interrupt support.
This feature is needed because the TLMM GPIO PDC map is fixed per target
which is restrictive for a usecase where a custom list of direct connect
interrupts for GPIOs is needed.

Change-Id: Idc6e07a3405c7900445f25e60d08570f7b350fcc
Signed-off-by: Anant Goel <anantg@codeaurora.org>
2021-02-25 14:02:49 -08:00
qctecmdr
278f89d3f9 Merge "clk: qcom: clk-debug: Add support to dump GDSC registers" 2021-02-25 11:46:50 -08:00
qctecmdr
5eec24fa1d Merge "phy: qcom-ufs: Fix LF markings" 2021-02-25 11:46:50 -08:00
qctecmdr
000532774d Merge "power: smb1351: Remove otg_vreg support for charger" 2021-02-25 11:46:50 -08:00
qctecmdr
9a4424e5a8 Merge "usb: typec: ucsi: Notify USB role switch only if partner supports USB data" 2021-02-25 11:46:49 -08:00
qctecmdr
3d7b513f5a Merge "usb: function: f_gsi: Allow line state ioctl query" 2021-02-25 11:46:48 -08:00
qctecmdr
48d3bb2778 Merge "clk: qcom: Update halt_check flags for UFS axi clocks" 2021-02-25 11:46:48 -08:00
Tony Truong
cc67592197 msm: msi: set enable_irq_wake for PCIe MSI IRQ
To guarantee PCIe client MSI can wake up APPS while its in LPM,
call enable_irq_wake on the parent MSI, PCIe MSI IRQ. Doing so
will make sure these IRQs are not disabled as part of APPS system
suspend.

Change-Id: Ifdb74068a26eca7028667310d62df8b974e58927
Signed-off-by: Tony Truong <truong@codeaurora.org>
2021-02-25 10:00:40 -08:00
qctecmdr
eca62752fe Merge "defconfig: gen3auto: add qseecom driver support" 2021-02-25 06:25:39 -08:00
qctecmdr
af5eb471b0 Merge "defconfig: Enable serial console for sdxnightjar perf build" 2021-02-25 06:25:39 -08:00
qctecmdr
1265a866c9 Merge "switch: qcom: initialize parb_phase to 0" 2021-02-25 06:25:39 -08:00
qctecmdr
b3c9c0f233 Merge "arm-smmu: Fix iommu group refcount leak" 2021-02-25 06:25:39 -08:00
qctecmdr
e28d7965d1 Merge "icnss2: Add new ipc context to log smp2p related logs" 2021-02-25 06:25:38 -08:00
qctecmdr
c276cd7a48 Merge "drivers: soc: qcom: Add snapshot of virtual subsystem notification driver" 2021-02-25 06:25:38 -08:00
qctecmdr
406e430dc8 Merge "msm: pcie: remove unnecessary global PCI device table" 2021-02-25 06:25:38 -08:00
qctecmdr
fbc73ecea6 Merge "backlight: qcom-spmi-wled: update check for OVP fault in probe" 2021-02-25 06:25:37 -08:00
Karthik Rudrapatna
b16c0663ce msm: Add config option for Realtek R8125 IOSS glue driver
Add config option Realtek R8125 IOSS glue driver.

Change-Id: Ibf6d82c31a4711ec18b53fefca516c5bb875220a
Signed-off-by: Karthik Rudrapatna <krudrapa@codeaurora.org>
2021-02-25 06:10:53 -08:00
Rama Krishna Phani A
16f96a48fb msm: pcie: add support for gcc_aggre_noc_pcie_*_axi_clk
PCIe root complex(RC) driver needs to support enable/disable
gcc_aggre_noc_pcie*_axi_clk.

Change-Id: I80d7301033c9005afd50028aa1fecb8ca983dc93
Signed-off-by: Rama Krishna Phani A <rphani@codeaurora.org>
2021-02-25 06:09:13 -08:00
Rama Krishna Phani A
43c7adf4ea msm: pcie: Add support for fifth PCIe Controller instance
Few targets support 5 PCIe controller instances. Update logic
to support 5 PCIe RC controllers.

Change-Id: Iefe3c459e090226026ee03f5845f073cfe24e79f
Signed-off-by: Rama Krishna Phani A <rphani@codeaurora.org>
2021-02-25 19:36:34 +05:30
Jeya R
013c297747 msm: adsprpc: Do length check to avoid arbitrary memory access
Do length check while mapping ion buffers to
avoid arbitrary physical memory read on DSP
which can lead to DOS.

Change-Id: I6334d4ceac795595aa3dc4bc71e6c736d2461c51
Acked-by: Deepika Singh <dsi@qti.qualcomm.com>
Signed-off-by: Jeya R <jeyr@codeaurora.org>
2021-02-25 16:30:05 +05:30
Hiren Gohel
23b2d3bcec defconfig: sm6150: Enable SDC_QTI config flag
Enable SDC_QTI flag to add Qualcomm specific code to upstream
MMC driver.

Change-Id: I6121c683a00cdbce364e606a04d42e540ab8e894
Signed-off-by: Hiren Gohel <vhiren@codeaurora.org>
2021-02-25 14:22:09 +05:30
Nitin Rawat
64d3d9b49e scsi: ufs: remove voting for hw ice clk
We would only enable/disable hw ice clk, we won't
set the frequency of this clk from ufs driver.

Change-Id: I25a482387facbf3fbbeb201d9513c4c042f10a0e
Signed-off-by: Nitin Rawat <nitirawa@codeaurora.org>
2021-02-25 13:27:41 +05:30
Sayali Lokhande
b0e3c5571a scsi: ufs: Update UFS ICE clock enable/disable sequence
As per latest hardware programming guide, during
Hibern8 enter with power collapse:
SW should disable HW clock control for UFS ICE clock
(GCC_UFS_ICE_CORE_CBCR.HW_CTL=0), before ufs_ice_core_clk
is turned off (i.e GCC_UFS_*_ICE_CORE_CBCR[CLK_ENABLE]=0)
and vice versa during hibern8 exit.
This change updates UFS ICE clock disable sequence as per
recommended steps.

Change-Id: Ibe2036bb20a4e0ec368fc203da9553c10c02200d
Signed-off-by: Sayali Lokhande <sayalil@codeaurora.org>
Signed-off-by: Ram Prakash Gupta <rampraka@codeaurora.org>
2021-02-25 13:27:28 +05:30
Naman Padhiar
a9ff468711 pinctrl: Update GPIOs for wake capability disablement
Update GPIO 127 for wake capability disablement on
Yupik.

Change-Id: I0edd431c2705b06cfaed1eea7b6769f3adeab315
Signed-off-by: Naman Padhiar <npadhiar@codeaurora.org>
2021-02-25 13:12:07 +05:30
Jeya R
e35519488f msm: adsprpc: Fix double fetch from fastrpc HLOS driver
Fix possible Buffer overflow due to double fetch from
fastrpc HLOS driver.

Change-Id: I03cf94e7f6fef9c8765404a6da3da47fe3bedf8b
Acked-by: Deepika Singh <dsi@qti.qualcomm.com>
Signed-off-by: Jeya R <jeyr@codeaurora.org>
2021-02-25 11:06:01 +05:30
Kasin Li
38d2b9459f defconfig: quinvm: Enable HGSL
Enable Doorbell configure for virtual machine

Change-Id: Ic485618af9e25ed0663722d22575b54488462827
Signed-off-by: Kasin Li <donglil@codeaurora.org>
2021-02-25 13:11:24 +08:00
qctecmdr
cfc04e4928 Merge "pinctrl: qcom: spmi-gpio: Add compatible strings for pmi632 and pm6125" 2021-02-24 20:57:37 -08:00
qctecmdr
a833e5517a Merge "spi: spi-msm-geni: Set the mode1 for SPI slave" 2021-02-24 20:57:37 -08:00
qctecmdr
88c9d046cc Merge "mmc: core: Set host->bus_refs properly when card is set as corrupted" 2021-02-24 20:57:37 -08:00
qctecmdr
13bbc1f008 Merge "defconfig: quinvm: Enable IPA configs" 2021-02-24 20:57:37 -08:00
qctecmdr
18afa4d355 Merge "Merge android11-5.4.61+ (364ec3d) into msm-5.4" 2021-02-24 20:57:36 -08:00
qctecmdr
c2d5eb90f0 Merge "defconfig: Enable Qseecom driver compilation for scuba" 2021-02-24 20:57:36 -08:00
qctecmdr
6c2f5bec8a Merge "cpufreq: qcom-cpufreq-hw: Add support to dump EPSS registers" 2021-02-24 20:57:36 -08:00
Kasin Li
473c338694 msm: Add kernel header of hgsl
update bp for hgsl uapi driver

Change-Id: I29f8c162c9e6561a8509a4e33d90a612c15943cf
Signed-off-by: Kasin Li <donglil@codeaurora.org>
2021-02-25 12:47:22 +08:00
Kasin Li
dcc89bb292 soc: qcom: hgsl: Add doorbell support to gvm
Used under guest system, it submits GPU tasks into hardware while host
driver is unaware of it.

Hgsl communicates with GPU hardware using either GPU registers or
TCSR compute signaling hardware block.

Change-Id: I881941953ee2340a4c47f10e85e4b0a1dfb87a50
Signed-off-by: Kasin Li <donglil@codeaurora.org>
Signed-off-by: Hai Li <hali@codeaurora.org>
Signed-off-by: Thomas (Wonyoung) Yun <wyun@codeaurora.org>
2021-02-25 12:46:33 +08:00
Shreyas K K
ca7c75e584 pinctrl: qcom: Enable clock while configuring slpi tlmm registers
On some targets, the slpi pin controller seems to be un-clocked
while trying to configure it. Enable clocked access while configuring
the slpi tlmm registers. Also, move the initialization from arch_initcall
to module_initcall due to the dependency with clock initialization.

Change-Id: I678fbb790b3200c28227c58ee3611b37d655bb9f
Signed-off-by: Yadu MG <ymg@codeaurora.org>
Signed-off-by: Shreyas K K <shrekk@codeaurora.org>
2021-02-24 11:11:14 -08:00
Anant Goel
d4c4d565c6 drivers: soc: qcom: Add snapshot of virtual subsystem notification driver
Add snapshot of virtual subsystem notification driver
from msm-4.14. This snapshot is taken as of msm-4.14
commit 035eb1f641f7 ("drivers: soc: qcom: Add snapshot of
virtual subsystem notification driver").

Change-Id: I8006342906e80e10ce2b2579f0dd0d89a072a6c5
Signed-off-by: Anant Goel <anantg@codeaurora.org>
2021-02-24 10:10:27 -08:00
Mukesh Kumar Savaliya
95ef7c805f spi: spi-msm-geni: Keep IRQ disabled before irq registration
This change disables the interrupt while requesting the IRQ else it
may cause interrupt imbalance. We are following similar way for all
the buses drivers.

Change-Id: I92c7ca2a3e6d58ef6aff5bbb577553b85596bb8c
Signed-off-by: Mukesh Kumar Savaliya <msavaliy@codeaurora.org>
2021-02-24 08:12:23 -08:00
qctecmdr
03b56c71a2 Merge "cnss2: Add api to get pci reg dump for hang data" 2021-02-24 06:59:35 -08:00
qctecmdr
6ddda8325e Merge "icnss2: Add handler for SMMU faults" 2021-02-24 06:59:35 -08:00
qctecmdr
0ecf216555 Merge "defconfig: sdxlemur: Enable CONFIG_QCOM_MEMORY_DUMP_V2" 2021-02-24 06:59:35 -08:00
qctecmdr
c41a4908a0 Merge "defconfig: gen3auto: Enable boot stats and boot marker" 2021-02-24 06:59:34 -08:00