Commit graph

893,219 commits

Author SHA1 Message Date
qctecmdr
4f20029327 Merge "usb: xhci: Increase xhci halt timeout" 2020-12-31 21:57:35 -08:00
qctecmdr
3f83f41dfe Merge "clk: qcom: debugcc-shima: Remove measure support for unregistered clocks" 2020-12-31 21:57:34 -08:00
qctecmdr
270ab53fac Merge "usb: gsi: Fix runtime PM usage count for MBIM interface" 2020-12-31 21:57:34 -08:00
qctecmdr
3253e07071 Merge "regulator: Add snapshot of virtio regulator driver" 2020-12-31 21:57:33 -08:00
qctecmdr
9c5df45428 Merge "clk: qcom: Add snapshot of virtio clock driver" 2020-12-31 21:57:32 -08:00
qctecmdr
542bc66c71 Merge "cnss2: add check if wlan driver supported device existing" 2020-12-31 04:41:33 -08:00
qctecmdr
bb4160a82e Merge "scsi: ufs: Add UFS3.0 in ufs HCI version check" 2020-12-31 04:41:33 -08:00
qctecmdr
19ee4e1f60 Merge "soc: qcom: socinfo: Add soc information for Monaco" 2020-12-31 04:41:33 -08:00
qctecmdr
c8a24a5ba5 Merge "msm: pcie: Return EACCESS when link access is not allowed" 2020-12-31 04:41:32 -08:00
qctecmdr
d703eb2b30 Merge "icnss2: change to avoid device crash if RF card is not present" 2020-12-31 04:41:32 -08:00
qctecmdr
fbf1700c12 Merge "soc: fix macro definitions of subsystems" 2020-12-31 04:41:31 -08:00
qctecmdr
570af260d2 Merge "pinctrl: qcom: Update GPIO to PDC map for yupik" 2020-12-31 04:41:31 -08:00
Chandana Kishori Chiluveru
e9000bd1eb usb: gsi: Fix runtime PM usage count for MBIM interface
GSI Driver get the usage count in work handler when set_alt 1 happens
and this counter will decrement in disconnect work due to cable disconnect
or in gsi_suspend for suspended state.

In this case set alt to 0 came for MBIM interface and clear the
data_interface_up flag. After that suspend happens and does not decrement
the counter in gsi_suspend. This causes a mismatch of usage count and
usb not entering to low power mode.

Fix this by checking for USB_PROT_GPS_CTRL instead of data_interface_up.

Change-Id: Iaabf3de46ed72e33980d1e3e386e8ca0ae651c74
Signed-off-by: Chandana Kishori Chiluveru <cchiluve@codeaurora.org>
2020-12-31 15:07:42 +05:30
Jagadeesh Kona
327c0a3539 clk: qcom: debugcc-shima: Remove measure support for unregistered clocks
Remove debug measure support for clocks that are not registered with the
clock framework. While at it update the external clocks in debugcc to
measure only clocks.

Change-Id: Icd6d59a098d116074403d24d9bc990fdebd7bdd7
Signed-off-by: Jagadeesh Kona <jkona@codeaurora.org>
2020-12-31 13:43:16 +05:30
Harsh Agarwal
430a8df3f9 usb: xhci: Increase xhci halt timeout
Currently, certain controllers with lower core clock rates, takes
more than 32ms to set the halted bit. This results in XHCI halt
timeout.
Fix this by increasing the timeout to 48ms.

Change-Id: I2f2715a11a947e01303c659e257ef0cabb311cac
Signed-off-by: Harsh Agarwal <harshq@codeaurora.org>
2020-12-31 00:05:33 -08:00
qctecmdr
b22b60a089 Merge "clk: qcom: debugcc: Add support for CPU clock measure for SDXNIGHTJAR" 2020-12-30 06:11:58 -08:00
qctecmdr
bc6a760dd4 Merge "arm64: defconfig: enable cma debugfs" 2020-12-30 06:11:58 -08:00
qctecmdr
fd3064d1d5 Merge "defconfig: gen3auto: Enable arm smmu driver for gen3auto" 2020-12-30 06:11:58 -08:00
qctecmdr
afff9567ed Merge "clk: qcom: clk-alpha-pll: Replace hw->init in PLL code" 2020-12-30 06:11:58 -08:00
qctecmdr
414ed94edd Merge "defconfig: sdxlemur: Enable R8125 driver" 2020-12-30 06:11:57 -08:00
qctecmdr
8cd8f78e23 Merge "arm64: defconfig: Add support for CAMCC for YUPIK" 2020-12-30 06:11:57 -08:00
Sandeep Singh
ac7f6bdf53 icnss2: change to avoid device crash if RF card is not present
This changes avoids device crash if Rf card is not present
in device.

Change-Id: I4b22ad0023a38e5b3ef49d6bf0e404b00c608115
Signed-off-by: Sandeep Singh <sandsing@codeaurora.org>
2020-12-30 05:26:35 -08:00
Harshal Ahire
cb979ec681 soc: fix macro definitions of subsystems
Fix subsystem macro definitions to support SSR/PDR.

Change-Id: I5ed9a8520600d68cd1b997f3cc4a22ca869a8b83
Signed-off-by: Vidyakumar Athota <vathota@codeaurora.org>
Signed-off-by: Harshal Ahire <hahire@codeaurora.org>
2020-12-30 18:00:18 +05:30
Vivek Pernamitta
a8cbb6a841 msm: pcie: Return EACCESS when link access is not allowed
Return EACCESS instead of EIO when link access is not
allowed at prevent l1, so client driver will procced
based on the return value.

Change-Id: Iee3b9a65609db1272be550089948d07527c7e134
Signed-off-by: Vivek Pernamitta <vpernami@codeaurora.org>
2020-12-30 17:52:34 +05:30
qctecmdr
53cbc770ba Merge "cnss2: Add new API to get QMI related timeouts" 2020-12-30 01:29:22 -08:00
qctecmdr
b31e09bdd8 Merge "cnss2: Kconfig: Add CONFIG_CNSS_WCN7850 flag" 2020-12-30 01:29:21 -08:00
qctecmdr
ed275f783d Merge "defconfig: Enable icnss2 config for Yupik" 2020-12-30 01:29:21 -08:00
qctecmdr
afaf0dd0ad Merge "i2c-msm-geni: Initialize completion variable before txfer request" 2020-12-30 01:29:21 -08:00
qctecmdr
ab416fc7c2 Merge "coresight: Add snapshot of Coresight Fuse driver" 2020-12-30 01:29:20 -08:00
qctecmdr
3572600b5b Merge "usb: dwc3-msm: Add support for snps SSPHY suspend in system suspend" 2020-12-30 01:29:20 -08:00
qctecmdr
ceec7e5038 Merge "msm: adsprpc: Copy correct size for async job" 2020-12-30 01:29:20 -08:00
Nitin Rawat
b2531733b8 scsi: ufs: Add UFS3.0 in ufs HCI version check
UFS controller in the newer target supports UFS HCI specs
version 3.0. Hence Adding UFS3.0 in UFS HCI version check
to avoid logging the error message.

Change-Id: Ibbbb482a26a3ffd50667615bf2795404381a4111
Signed-off-by: Nitin Rawat <nitirawa@codeaurora.org>
2020-12-30 12:20:44 +05:30
qctecmdr
5183288436 Merge "defconfig: Enable SOCINFO config for sdxnightjar target" 2020-12-29 19:19:54 -08:00
qctecmdr
617a6ca32e Merge "drivers: lpm-levels: Return correct value while suspend" 2020-12-29 19:19:53 -08:00
qctecmdr
1bbfb84274 Merge "Merge android11-5.4.61+ (e0b1644) into msm-5.4" 2020-12-29 19:19:53 -08:00
qctecmdr
1ac401219b Merge "interconnect: qcom: Add OSM L3 support on SCSHRIKE" 2020-12-29 19:19:53 -08:00
qctecmdr
629b150b59 Merge "icnss2: Clear SMP2P data during SSR" 2020-12-29 19:19:52 -08:00
qctecmdr
d6c74bdc8a Merge "usb: f_gsi: Increase GPS EP maxpacket size to 64bytes" 2020-12-29 19:19:52 -08:00
qctecmdr
ddd209806d Merge "usb: f_gsi: Disable function remote wake-up capability for DPL" 2020-12-29 19:19:52 -08:00
qctecmdr
aeffceb7f7 Merge "cnss2: Add config to disable time sync feature" 2020-12-29 19:19:51 -08:00
qctecmdr
d8a0d0db56 Merge "cnss2: Use proper DMA mask based on device ID" 2020-12-29 19:19:51 -08:00
Maulik Shah
eb3485b31c pinctrl: qcom: Update GPIO to PDC map for yupik
Update GPIO to PDC as per latest HW map.

Change-Id: Ic79e0afdef2fa1c5b67709f75be9dff73e92af18
Signed-off-by: Maulik Shah <mkshah@codeaurora.org>
2020-12-29 13:32:50 +05:30
Karthik Rudrapatna
b74c0a27e6 defconfig: sdxlemur: Enable R8125 driver
Enable R8125 driver.

Change-Id: I28b13e22c22822e5e2baa7f6c2e623a57b187d2e
Acked-by: Lakshit Tyagi <ltyagi@codeaurora.org>
Signed-off-by: Karthik Rudrapatna <krudrapa@codeaurora.org>
2020-12-28 10:28:30 -08:00
Taniya Das
d7293b4f0e clk: qcom: clk-alpha-pll: Replace hw->init in PLL code
The hw->init is no longer valid after the HW clock is registered with
the clock framework, thus clean up the clock enable/disable. While at it
update the list register offset.

Change-Id: I965cd1d5c14efd2bea8cc220f2b19ed1f3ddfb8c
Signed-off-by: Taniya Das <tdas@codeaurora.org>
2020-12-28 17:02:53 +05:30
Taniya Das
456857a0ef clk: qcom: clk-regmap: Add support for devm_clk_regmap_list_node
There can be cases where the clock providers have multiple regmaps and
directly registers to the clock framework. The clk regmap ops like list
registers/clk rate max would be registered only if the provider is added
to the regmap list node.
Thus expose this API for those providers to add to the list.

Change-Id: I1463c12eeed431d30e96404f2162dd75d202d4b9
Signed-off-by: Taniya Das <tdas@codeaurora.org>
2020-12-28 17:02:02 +05:30
Saurabh Ambulkar
55611bbd81 defconfig: gen3auto: Enable arm smmu driver for gen3auto
Enable arm smmu driver so that clients can use.

Change-Id: Ia1838b2d97e95c5fe224f735e42ce3e5bdbf008a
Signed-off-by: Saurabh Ambulkar <sambulka@codeaurora.org>
2020-12-28 16:21:34 +05:30
Rakesh Kota
133892d48d clk: qcom: debugcc: Add support for CPU clock measure for SDXNIGHTJAR
Add support for debug clock controller to measure
frequency of APCS mux clock.

Change-Id: I951c420c52aa62eb6a3cbfc0ccea9d244de6bb06
Signed-off-by: Rakesh Kota <kotarake@codeaurora.org>
2020-12-28 15:33:48 +05:30
Jeya R
593398e786 msm: adsprpc: Copy correct size for async job
Copy correct size in invoke2 for async job to avoid
stack out-of-bounds issue.

Change-Id: Ia4ba5acf372ef46ab89b860c7d9ce47f49a9672e
Acked-by: Deepika Singh <dsi@qti.qualcomm.com>
Signed-off-by: Jeya R <jeyr@codeaurora.org>
2020-12-28 14:14:14 +05:30
Ajay Agarwal
b595281eb8 usb: dwc3-msm: Add support for snps SSPHY suspend in system suspend
Currently the platforms using SNPS SSPHY do not suspend it so as
to receive SS wakeup events via pwr_event_irq. But certain
telematics platforms do not need SS wakeup in system suspend
scenario.
USB wakeup from PM suspend/hibernation is not a requirement for
automotive/telematics platforms. Use enable_wakeup parameter in
dwc3_msm_suspend call to allow SSPHY suspend to happen and also
to keep the IRQs enabled/disabled.

Change-Id: I691585e15539490e63a345fe2b3aacf182352399
Signed-off-by: Ajay Agarwal <ajaya@codeaurora.org>
Signed-off-by: Harsh Agarwal <harshq@codeaurora.org>
2020-12-27 22:38:08 -08:00
Ajay Agarwal
74b8a97e90 usb: host: Modify PM handling for USB interconnect platforms
Currently the PM handling power collapses the core and issues
reset-resume for all the connected devices, both during system
suspend-resume and hibernation-restore scenarios. But certain USB
interconnect platforms want the connected device to not undergo
reset-resume on system resume.
Modify the operations to keep the core powered up, PHY resources
ON and xhci_resume with hibernated flag as 'false' so that
suspend-resume of the connected device is done on resume from
system suspend. Keep the hibernation operation as is.
Also change the DT flag to 'qcom,ignore-wakeup-src-in-hostmode'.

Change-Id: I661494595a3e270890174e0952a67985db58706d
Signed-off-by: Ajay Agarwal <ajaya@codeaurora.org>
Signed-off-by: Harsh Agarwal <harshq@codeaurora.org>
2020-12-27 22:37:29 -08:00