Commit graph

893,870 commits

Author SHA1 Message Date
Hemant Kumar
7d060f0e12 Revert "pci: msm: msm_pcie_iatu_config API clean"
This reverts commit b9b4ade986.
Older ver of SNPS core needs viewport registers as it does not
have separate iATU region. Hence keep the viewport support.

Change-Id: Ic863eb3332c54df433726064591a01dc50d29565
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
2021-02-10 10:15:09 -08:00
qctecmdr
d03a80d9e6 Merge "cnss2: Add WLAN device OTP version debug print" 2021-02-10 03:35:48 -08:00
qctecmdr
d29dae0d9e Merge "drivers: edac: Add support to re-enable edac on cpu hotplug" 2021-02-10 03:35:47 -08:00
qctecmdr
ee54228ff1 Merge "defconfig: gen3auto: enable PCA954x & SX150X driver for sa8155/sa8195" 2021-02-10 03:35:47 -08:00
qctecmdr
45e50c18be Merge "dt-binding: clock: add 7nm/14nm display pll headers for Gen3" 2021-02-10 03:35:47 -08:00
qctecmdr
c589225bc3 Merge "msm: kgsl: Avoid slumber if interrupt is pending" 2021-02-10 03:35:46 -08:00
qctecmdr
775a0853af Merge "msm: pci: Update VREG info fron DT" 2021-02-10 03:35:45 -08:00
Zhiqiang Liu
676d6f86bb dt-binding: clock: add 7nm/14nm display pll headers for Gen3
Add 7nm/14nm display pll clock headers for Gen3 platforms.

Change-Id: I5b77a9d8d243eca25264fabbee12207c374908cc
Signed-off-by: Zhiqiang Liu <zhiqliu@codeaurora.org>
2021-02-08 13:44:50 -08:00
qctecmdr
db5f5ed622 Merge "sched/walt: Move scheduler techpack to kernel" 2021-02-07 22:42:28 -08:00
qctecmdr
14507f613f Merge "cnss2: Use CONFIG_PCI_MSM to protect MSM PCIe APIs" 2021-02-07 22:42:28 -08:00
qctecmdr
0667a1b5dc Merge "usb: dwc3: Issue ENDTRANSFER cmd on ep0 unconditionally" 2021-02-07 15:30:41 -08:00
qctecmdr
b80f916238 Merge "drivers: soc: qcom: rimps_memlat: check cpu in idle path" 2021-02-07 11:45:28 -08:00
qctecmdr
aeeaa66033 Merge "input: touchscreen: focaltech: use proper dev" 2021-02-07 11:45:27 -08:00
qctecmdr
baeb717e11 Merge "net: cnss: add snapshot of cnss platform driver" 2021-02-07 11:45:27 -08:00
qctecmdr
5b34e22e77 Merge "usb: phy: qusb: Use scm call to update LVL_SHIFTER register" 2021-02-07 11:45:26 -08:00
qctecmdr
c1813e9149 Merge "cnss2: Update qdss config file name" 2021-02-07 11:45:26 -08:00
qctecmdr
86401a1787 Merge "arm64: defconfig: enable qcom_scm/fastscvp on gen3auto" 2021-02-06 22:12:47 -08:00
qctecmdr
238b1e37b4 Merge "perf: Add exclude_idle support for armv7 PMU" 2021-02-06 05:10:46 -08:00
qctecmdr
68fd89baf1 Merge "leds: leds-qti-tri-led: Don't print error log for -EPROBE_DEFER" 2021-02-06 05:10:46 -08:00
qctecmdr
9e93c40032 Merge "usb: phy: snps: Ensure SIDDQ is disabled for proper functioning" 2021-02-06 05:10:46 -08:00
qctecmdr
46bb8e6b35 Merge "pinctrl: add restore function for sx150x" 2021-02-06 05:10:45 -08:00
qctecmdr
ac5c618ac5 Merge "net: qrtr: fix tx flow memory leak" 2021-02-06 05:10:45 -08:00
qctecmdr
dc655ccb0e Merge "soc: qcom: Reset watchdog before setting bite time" 2021-02-06 05:10:44 -08:00
qctecmdr
fec650e1be Merge "cnss2: Fix error case print for dev_boot debugfs" 2021-02-06 05:10:44 -08:00
Laisheng Hu
6152c18649 arm64: defconfig: enable qcom_scm/fastscvp on gen3auto
enable qcom_scm and fastcvpd for vidc driver.

Change-Id: Idb17a079e1472e1d2a853d2ea68da6933768d7e1
Signed-off-by: Laisheng Hu <laisheng@codeaurora.org>
2021-02-06 04:33:58 -08:00
Pratham Pratap
42a90ced12 usb: dwc3: Issue ENDTRANSFER cmd on ep0 unconditionally
Consider a case where ep0 is not in setup stage and composition
switch happens. Currently DWC3_DEPCMD_ENDTRANSFER command is not
issued on ep0 which means that the transfers are not flushed out
and driver clears the run/stop bit hence stopping the controller.
Now as soon as driver sets the run/stop bit controller tries to
access the trb from the previous session which is already unmapped
resulting in SMMU fault.

Fix this by unconditionally issuing DWC3_DEPCMD_ENDTRANSFER
command on ep0. Although it is not specified in the data book
but if we know for sure that we are anyway going to stop the
controller then we can issue ENDTRANSFER command on ep0.

Change-Id: Ic6ee570acc8926897d3b6042181a501a47438d92
Signed-off-by: Pratham Pratap <prathampratap@codeaurora.org>
2021-02-05 22:31:13 -08:00
qctecmdr
9a855e1c71 Merge "pci: switch: Add snapshot of PCIe switch driver" 2021-02-05 18:01:29 -08:00
qctecmdr
47d8e027d9 Merge "usb: dwc3: core: Select UTMI clock before core_soft_reset" 2021-02-05 18:01:28 -08:00
qctecmdr
64f86ae513 Merge "pci: msm: msm_pcie_iatu_config API clean" 2021-02-05 18:01:28 -08:00
qctecmdr
9d0e285207 Merge "msm: pcie: provide client the ability to control PCIe target_link_speed" 2021-02-05 18:01:28 -08:00
qctecmdr
d8ba3161ed Merge "cnss2: Add support for PCI wake GPIO" 2021-02-05 18:01:27 -08:00
Yue Ma
2dc22bc62d cnss2: Use CONFIG_PCI_MSM to protect MSM PCIe APIs
This can ease the complexity to port CNSS2 driver to non-MSM
platforms while still be able to maintain the compatibility.

Change-Id: I268cdd90c59085b34aa2fe3c3b845d60c4e2a417
Signed-off-by: Yue Ma <yuem@codeaurora.org>
2021-02-05 17:31:07 -08:00
Yue Ma
dc0ecaca75 cnss2: Set initial target PCIe link speed to Gen2 for QCA6490
Since there may be link issues if QCA6490 device boots up with Gen3
link speed, always set initial target PCIe link speed to Gen2. Device
is able to change it (back) later at any time if needed.

Change-Id: I9d617d71926fe98e59e67aff772984878e0a2689
Signed-off-by: Yue Ma <yuem@codeaurora.org>
2021-02-05 17:30:27 -08:00
Dennis Cagle
878506879e defconfig: sdxlemur: Remove slub debug config
Remove CONFIG_SLUB_DEBUG_ON from debug variant for performance
reasons. Also remove redundant HARDENED_USERCOPY from debug config
since this gets copied over from the standard config.

Change-Id: I7c6fc8620290cf126ced046f82811e9e39bc2a60
Signed-off-by: Dennis Cagle <dcagle@codeaurora.org>
2021-02-05 14:35:31 -08:00
Tony Truong
d0cb56ec45 msm: pcie: provide client the ability to control PCIe target_link_speed
There are usecases where clients want to change the maximum GEN
speed that PCIe can link up with. Provide clients the ability to
control the maximum PCIe GEN speed to for such usecases.

Change-Id: I834bee2063133546c9b0ebac2d5328ffbc5ceac6
Signed-off-by: Tony Truong <truong@codeaurora.org>
2021-02-05 12:54:14 -08:00
Manikandan Mohan
a95b7ebf3b cnss2: Add WLAN device OTP version debug print
Rearrange target capability debug print message to provide WLAN
device OTP version.

Change-Id: Id68ff83eb55f4dd3ba3851006f8fc04faa91bc52
Signed-off-by: Manikandan Mohan <manikand@codeaurora.org>
2021-02-05 12:15:23 -08:00
Elson Roy Serrao
eabbb7f853 usb: dwc3: core: Select UTMI clock before core_soft_reset
In HS Only mode of dwc3 controller version 1.9A, UTMI clock needs
to be selected before core soft reset as per the HPG sequence.
Or else the core soft reset fails, leading to enumeration
failure. Hence select UTMI clock before performing
SOFT_RESET operation.

Change-Id: I12d4a992872eecbfc38825282559cd4d592c3896
Signed-off-by: Elson Roy Serrao <eserrao@codeaurora.org>
2021-02-05 11:12:16 -08:00
Zhiqiang Liu
e72f0db3bf defconfig: gen3auto: enable PCA954x & SX150X driver for sa8155/sa8195
Enable i2c mux chip PCA954x driver and pinctrl chip SX150X driver for
DSI-to-DP bridge chip ANX7625 driver on platform sa8155/sa8195.

Change-Id: I081c1f8a6e7e84ff40bb3e17034f9df6f7ad44ce
Signed-off-by: Zhiqiang Liu <zhiqliu@codeaurora.org>
2021-02-05 16:07:46 +08:00
qctecmdr
47f285b88f Merge "cfg80211: Indicate support for configuring PMKSA timer params" 2021-02-04 23:09:29 -08:00
qctecmdr
40fb7865c8 Merge "defconfig: Configure MaxPower to 900mA on sdxnightjar" 2021-02-04 23:09:28 -08:00
qctecmdr
a38ac852dc Merge "Revert "cnss2: Dump mhi debug regs on receiving mhi WAKE event cb"" 2021-02-04 23:09:28 -08:00
qctecmdr
c390f8a32f Merge "regulator: qpnp-lcdb: remove workaround for LCDB regulation issue" 2021-02-04 23:09:28 -08:00
qctecmdr
9a5704feb8 Merge "ANDROID: GKI: Enable DRM_GEM_SHMEM_HELPER" 2021-02-04 23:09:27 -08:00
qctecmdr
5a47f69464 Merge "clk: qcom: clk-rpmh: Fix overflow in BCM vote" 2021-02-04 23:09:27 -08:00
Yue Ma
ea814047ba cnss2: Add support for PCI wake GPIO
For non-MSM platforms, PCI wake GPIO may not be handled by PCI root
complex driver so add support to handle it in device driver.

Change-Id: Ief6bc6b25bdc5b93887af1cc626acc721f9fa85a
Signed-off-by: Yue Ma <yuem@codeaurora.org>
2021-02-04 22:28:28 -08:00
Yue Ma
112dc33583 cnss2: Use CONFIG_INTERCONNECT to protect icc related APIs
This makes sure CNSS2 driver is able to work in the platforms and
kernels which do not have on-chip interconnect management feature.

Change-Id: I282ef1a282fab9ce4910e7ab914f26789b34ba64
Signed-off-by: Yue Ma <yuem@codeaurora.org>
2021-02-04 22:02:30 -08:00
Yue Ma
872b48bc98 cnss2: Use CONFIG_QCOM_COMMAND_DB to protect MSM command DB APIs
This makes sure CNSS2 driver is able to work in non-MSM platforms
which do not have command DB feature.

Change-Id: I9551bfc639e6db0256e475a27db5dec87bce74ed
Signed-off-by: Yue Ma <yuem@codeaurora.org>
2021-02-04 22:02:18 -08:00
Yue Ma
a7ae359deb cnss2: Use CONFIG_IPC_LOGGING to protect MSM IPC logging APIs
This makes sure CNSS2 driver is able to work in non-MSM platforms
which do not have IPC logging feature.

Change-Id: I4c8fe3eb45e38fd106f47c28f0e4da82b0bdf76f
Signed-off-by: Yue Ma <yuem@codeaurora.org>
2021-02-04 22:02:07 -08:00
Yue Ma
9c8b92051d cnss2: Use proper flags to protect MSM memory dump APIs
This makes sure CNSS2 driver is able to work in non-MSM platforms
which do not have memory dump and mini dump features.

Change-Id: I5193deed941ff8e2e2ca2693150396a53eb3db7d
Signed-off-by: Yue Ma <yuem@codeaurora.org>
2021-02-04 22:01:57 -08:00
Yue Ma
e0af665bc1 cnss2: Abstract of_reserved_mem_device_init() API
Currently in MSM platform reserved memory is attached to PCI
device of_node which may not apply to other non-MSM platforms.
Hence abstract the API using CONFIG_ARCH_QCOM flag.

Change-Id: Ic02b087c188b8dcb0959e17c80e72bb4021a725c
Signed-off-by: Yue Ma <yuem@codeaurora.org>
2021-02-04 22:01:25 -08:00