Commit graph

894,511 commits

Author SHA1 Message Date
Aniket Randive
bebc6b630d usb: dwc3-msm: Do not powerdown SSPHY if auto suspend is disabled
On certain platforms, due to a HW issue, the SSPHY keeps
transitioning in and out of p3 whenever we perform any HS
transfers. This leads to a storm of PWR_EVNT irgs.
Fix this by disabling SSPHY autosuspend on such platforms.
Autosuspend will be enabled as part of dwc3_msm_prepare_suspend
so that SSPHY gets a chance to go into P3.

Change-Id: I4e674f780a72a8c4abcb3e6c9f083f23b1faa196
Signed-off-by: Aniket Randive <arandive@codeaurora.org>
2021-03-09 05:08:30 -08:00
Ajay Agarwal
805c7cc16e usb: dwc3: Write necessary registers for dual port enablement
In line with the sequence for primary port, update proper fields
of DWC3_GUSB2PHYCFG and DWC3_GUSB3PIPECTL registers for the
second port of the dual port controller. Update other registers
as required.
While at it, also avoid enabling SSPHY autosuspend if
dis_u3_susphy_quirk is set.

Change-Id: Ib79dba4c6d854fa2bf33a1b7cecf06f988250662
Signed-off-by: Ajay Agarwal <ajaya@codeaurora.org>
Signed-off-by: Harsh Agarwal <harshq@codeaurora.org>
2021-03-09 04:14:56 -08:00
Ajay Agarwal
76c3eb34d1 usb: dwc3-msm: Add support for 2nd set of wakeup IRQs
Certain targets may have a dual port capable host controller.
Add support for the PHY IRQs for the second port. Since the SSPHY
autosuspend will be disabled for such controllers, remove the
support of pwr_evnt_irq as a mandatory IRQ and allow SSPHY to go
into P3 as a part of suspend sequence. Handle the logic
gracefully to maintain single port controllers.

Change-Id: I5a53d6e23f64bec7ae940d23923df310309a28da
Signed-off-by: Ajay Agarwal <ajaya@codeaurora.org>
Signed-off-by: Harsh Agarwal <harshq@codeaurora.org>
2021-03-09 04:14:30 -08:00
Ajay Agarwal
3081acb9e8 usb: dwc3: Add support for 4 PHYs for dual port controller
Add 2 new PHY instances (HS and SS) in dwc3 and dwc3-msm
structures. Probe and initialize them when the controller is
dual port capable. This capability is advertised by cores
supporting only host mode using the DT flag 'qcom,dual-port'.

Update PHY1 flags wherever applicable while maintaining single
port controller support.

Avoid workaround of SSPHY powerdown as a part of HS device
connect because of the known HW issue of the other SSPHY going in
and out of P3 when data transfers are being done.

Change-Id: If52fd6383cc2da8b763c774d2ad688448f90aea0
Signed-off-by: Ajay Agarwal <ajaya@codeaurora.org>
Signed-off-by: Harsh Agarwal <harshq@codeaurora.org>
2021-03-09 17:34:58 +05:30
qctecmdr
a1cfa2594c Merge "cnss2: Check for BT Enable GPIO in QCA6390" 2021-03-09 02:40:38 -08:00
Mohammed Siddiq
712e346e96 cnss2: Check for BT Enable GPIO in QCA6390
QCA6390 requires synchronization between BT and WLAN enable gpio
to avoid power up issue. Add support for QCA6390 in gpio sync
code.

Change-Id: Id2183ff324c9c3059ea81e9137fa49c803feb183
Signed-off-by: Mohammed Siddiq <msiddiq@codeaurora.org>
2021-03-08 12:35:45 -08:00
Shreyas K K
7ceab32885 defconfig: sdmsteppeauto: Enable SCHED_WALT
Enable SCHED_WALT to add support for scheduler
features like WALT, core_ctl, etc.

Change-Id: I7a3c4494b5c2e6545821491e1aee8bf6c4ac3345
Signed-off-by: Shreyas K K <shrekk@codeaurora.org>
2021-03-09 00:29:02 +05:30
Shreyas K K
26a1ed16aa defconfig: gen3auto: Enable SCHED_WALT
Enable SCHED_WALT to add support for scheduler
features like WALT, core_ctl, HMP, etc.

Change-Id: I0b4efd6e2127771be65c754fa35770ba359576bd
Signed-off-by: Shreyas K K <shrekk@codeaurora.org>
2021-03-09 00:26:43 +05:30
qctecmdr
be60e6e783 Merge "defconfig: autogvm: Enable CONFIG_VIRTIO_EAVB" 2021-03-08 06:54:54 -08:00
qctecmdr
4783892a2e Merge "defconfig: gen3auto: Add flag to see logging of interrupts" 2021-03-08 03:05:25 -08:00
qctecmdr
d4186e56fa Merge "power: supply: smb1398-charger: disable WIN_OV deglitch for SMB1394" 2021-03-08 03:05:25 -08:00
qctecmdr
dd0bfda085 Merge "defconfig: autogvm: move DEBUG_FS from perf to debug config" 2021-03-08 03:05:24 -08:00
qctecmdr
b23c0ca463 Merge "net: stmmac: Add support for smmu enablement" 2021-03-08 03:05:24 -08:00
qctecmdr
c30b722b43 Merge "msm: kgsl: Add Common Boot KPI marker" 2021-03-08 03:05:24 -08:00
qctecmdr
6b53b0396b Merge "defconfig: gen3auto: move DEBUG_FS from perf to debug config" 2021-03-08 03:05:23 -08:00
qctecmdr
983d9309f2 Merge "scm: enable audio memory api" 2021-03-08 03:05:23 -08:00
qctecmdr
50a886590b Merge "defconfig: autogvm: Enable ARM based SHA1" 2021-03-08 03:05:23 -08:00
qctecmdr
1fbbbe4089 Merge "mhi: dev: netdev: Update logic for valid access of dentry variable" 2021-03-08 03:05:22 -08:00
qctecmdr
c52023969b Merge "char: virtio_fastrpc: Add snapshot of virtio fastrpc driver" 2021-03-08 03:05:22 -08:00
Anuj Garg
b79b527a45 char: virtio_fastrpc: Add snapshot of virtio fastrpc driver
This snapshot is taken as of dev-sa8155 branch
commit 18dcf6bbb4a9 ("char: virtio_fastrpc: add dma handle support").

Change-Id: I3a918907a319ee397f99162e57644d07504a5dd6
Signed-off-by: Anuj Garg <anujgarg@codeaurora.org>
2021-03-08 13:12:46 +05:30
qctecmdr
32eb6f2bc1 Merge "soc: qcom: hgsl: decouple ifence and doorbell" 2021-03-07 23:15:51 -08:00
qctecmdr
5d1b67af09 Merge "usb: f_qdss: Avoid wait_for_completion if qdss_disable is called" 2021-03-07 23:15:51 -08:00
Nitesh Gupta
562e6c175b mhi: dev: netdev: Update logic for valid access of dentry variable
Variable "dentry" is valid only if "CONFIG_DEBUG_FS" is set.
Update logic such that "dentry" variable is accessed during
debugfs removal only in valid condition.

Change-Id: I2a1e3e7f312cf316c94e930e15e9528fbeedb9a1
Signed-off-by: Nitesh Gupta <nitegupt@codeaurora.org>
2021-03-08 12:41:50 +05:30
Vinay Sudra
b301d60880 defconfig: gen3auto: move DEBUG_FS from perf to debug config
Move CONFIG_DEBUG_FS from qgki config to debug config to
avoid android compilation issues.

Change-Id: I0ea781d92f7db79cd49f5fea884de2b023787b3a
Signed-off-by: Vinay Sudra <vsudra@codeaurora.org>
2021-03-08 12:41:06 +05:30
Vinay Sudra
23d1df3555 defconfig: autogvm: Enable ARM based SHA1
Enable ARM HW SHA1 Digest algorithm for faster
digest generation.

Change-Id: I6cad0d189c5c60fb8cffd16fc0e1b82903088350
Signed-off-by: Vinay Sudra <vsudra@codeaurora.org>
2021-03-08 12:38:19 +05:30
Suraj Jaiswal
9b43c39018 net: stmmac: Add support for smmu enablement
Add smmu enablement and smmu mapping for ethernet.

Change-Id: I4cc2a1834cdeb9adf25a735bf41197be70a29a3b
Acked-by: Nagarjuna Chaganti <nchagant@qti.qualcomm.com>
Signed-off-by: Suraj Jaiswal <jsuraj@codeaurora.org>
2021-03-07 22:05:37 -08:00
Rituraj Raman
6e7ae2aaf4 msm: kgsl: Add Common Boot KPI marker
Add a boot marker to indicate the time when gpu
driver probe is completed and the device is ready,
and adreno driver is initialised and ready for a640.

Change-Id: I1bfd133b9f23dd497d2ab13cde4989b922ab47a7
Signed-off-by: Rituraj Raman <riturama@codeaurora.org>
2021-03-08 10:37:46 +05:30
Vinay Sudra
b8f83c634c defconfig: autogvm: move DEBUG_FS from perf to debug config
Move CONFIG_DEBUG_FS from qgki config to debug config to
avoid andorid compilation issues.

Change-Id: I78f404273dddcb03e9ec328842a6f5a3790f0453
Signed-off-by: Vinay Sudra <vsudra@codeaurora.org>
2021-03-08 10:18:42 +05:30
Suraj Jaiswal
6093778cb2 net: stmmac: Add function to read pinctrl names
Add function to read pinctrl names.
Fix print for the logs to include line number.

Change-Id: I65e341c14104aabec77edcc79cdf97358648914c
Acked-by: Nagarjuna Chaganti <nchagant@qti.qualcomm.com>
Signed-off-by: Suraj Jaiswal <jsuraj@codeaurora.org>
2021-03-07 20:34:18 -08:00
Vinay Sudra
02fe82dd25 defconfig: gen3auto: Add flag to see logging of interrupts
Enabling logging to see interrupts that could have caused resume.

Change-Id: Iecc5d71774c22c03ff3f3a18a955521a43eb2216
Signed-off-by: Vinay Sudra <vsudra@codeaurora.org>
2021-03-08 10:01:40 +05:30
Vinay Sudra
4c498c7723 defconfig: steppeauto: Set CONFIG_BLK_DEV_LOOP_MIN_COUNT to 16 for vts test
Set CONFIG_BLK_DEV_LOOP_MIN_COUNT=16 that pre-create loop
block devices at init time for vts_kernel_loopconfig_test.

Change-Id: Ie342467aa8208b367ca351d8989b7d166f6371e9
Signed-off-by: Vinay Sudra <vsudra@codeaurora.org>
2021-03-08 09:29:25 +05:30
Baowei Liu
b09bf1f388 defconfig: autogvm: Enable CONFIG_VIRTIO_EAVB
Enable EAVB frontend driver for quinvmauto target.

Change-Id: Ib6c4d174c08e73b4309f5c0abd0ca610ef2324a9
Signed-off-by: Baowei Liu <baowei@codeaurora.org>
2021-03-08 10:53:57 +08:00
qctecmdr
9efe49ec3a Merge "spmi: pmic_arb: Fix compile warning" 2021-03-07 07:18:14 -08:00
qctecmdr
18b25329ff Merge "defconfig: msm: Enable thermal drivers for sdmsteppeauto" 2021-03-07 07:18:13 -08:00
Manaf Meethalavalappu Pallikunhi
91790e9eab defconfig: msm: Enable thermal drivers for sdmsteppeauto
Enable thermal related sensor and cooling device drivers for
sdmsteppeauto.

Change-Id: Ie3ccc9edabc810d5c21b5de430c53a1528566d4b
Signed-off-by: Manaf Meethalavalappu Pallikunhi <manafm@codeaurora.org>
2021-03-07 16:46:46 +05:30
qctecmdr
d8ebf2b5c2 Merge "defconfig: autogvm: Enable QRTR for linux guest" 2021-03-06 23:43:32 -08:00
Venkata Rao Kakani
de8bd62671 defconfig: autogvm: Enable QRTR for linux guest
Enable QRTR for diag IPC in linux guest.

Change-Id: I50da5efb8d24e72ac692653e9cc217162225bdd6
Signed-off-by: Venkata Rao Kakani <vkakani@codeaurora.org>
2021-03-07 10:36:29 +05:30
qctecmdr
822e2263a6 Merge "defconfig: msm: Enable thermal drivers for autogen3 targets" 2021-03-06 19:24:51 -08:00
Kasin Li
2bf9abc13c soc: qcom: hgsl: decouple ifence and doorbell
In systems doorbell is not valid, could set db-off flag to 1. Then
the driver still could probe and disable doorbell and hfence commands.
ifence still works.

Change-Id: I6d4e171d64dfc183f5d500fbd1180adb4b108a63
Signed-off-by: Kasin Li <donglil@codeaurora.org>
2021-03-06 18:54:09 -08:00
Asish Bhattacharya
f74f403d28 scm: enable audio memory api
This api is called once at boot.

Change-Id: Ic00d313d3f269195f7ea9647da6f641a4c014305
Signed-off-by: Asish Bhattacharya <asishb@codeaurora.org>
2021-03-07 00:11:57 +05:30
Manaf Meethalavalappu Pallikunhi
fddb58faa1 defconfig: msm: Enable thermal drivers for autogen3 targets
Enable thermal related sensor and cooling device drivers for
autogen3 targets.

Change-Id: Ib0b64fe8745ae41edc3e9a302a4dae6eda44f9d9
Signed-off-by: Manaf Meethalavalappu Pallikunhi <manafm@codeaurora.org>
2021-03-06 17:27:36 +05:30
Manaf Meethalavalappu Pallikunhi
1cd7a3f0da drivers: thermal: Add ipc logging support for bcl pmic5 driver
Add ipc logging enablement for bcl pmic5. It dumps bcl vbat, ibat
and bcl level status information to ipc logging during bcl interrupt
violation as well as during current value query from thermal
framework.

Change-Id: Ibc0b69b935465f7961a67d88db87536f86b88c77
Signed-off-by: Manaf Meethalavalappu Pallikunhi <manafm@codeaurora.org>
2021-03-06 17:16:44 +05:30
qctecmdr
d9b533eae2 Merge "defconfig: Enable TZ-log driver" 2021-03-05 23:55:24 -08:00
qctecmdr
81294f5b97 Merge "defconfig: Support for SSG HLOS drivers for msmsteppe" 2021-03-05 23:55:24 -08:00
Santosh Dronamraju
820b7f389f defconfig: Support for SSG HLOS drivers for msmsteppe
Enable QSEECOM,QRNG,smcinvoke config as modules.
Also enable the QTI crpto tz driver config,enable
QTI inline encryption and dependencies
supported on HW.
1.CONFIG_QSEECOM=m
2.CONFIG_HW_RANDOM_MSM_LEGACY=m
3.CONFIG_QCOM_SMCINVOKE=m
4.CONFIG_QTI_CRYPTO_TZ=m.
1.CONFIG_QSEECOM=m
2.CONFIG_SCSI_UFS_CRYPTO_QTI=m
3.CONFIG_HW_RANDOM_MSM_LEGACY=m
4.CONFIG_MMC_CQHCI_CRYPTO=m
5.CONFIG_MMC_CQHCI_CRYPTO_QTI=m
6.CONFIG_QCOM_SMCINVOKE=m
7.CONFIG_QTI_CRYPTO_COMMON=m
8.CONFIG_QTI_CRYPTO_TZ=m.

Change-Id: I4bb640a1ce53fbb9df9f13350e8328fd5776e8e9
Signed-off-by: Santosh Dronamraju <sdronamr@codeaurora.org>
2021-03-05 20:13:01 -08:00
Santosh Dronamraju
80d4cf9eac defconfig: Enable TZ-log driver
Enable TZ-log driver to access TZ Diag area.

Change-Id: Ia589fc4b8f60edf53b9242fe105a90b1cbbad80a
Signed-off-by: Santosh Dronamraju <sdronamr@codeaurora.org>
2021-03-05 20:12:52 -08:00
qctecmdr
64a6b508bc Merge "iio: qcom-spmi-adc5: update scaling ratios for SMB_ICHG and SMB_IIN" 2021-03-05 20:12:34 -08:00
qctecmdr
2be6831e06 Merge "defconfig: autogvm: Enable QUSB PHY used by SA6155" 2021-03-05 16:04:51 -08:00
qctecmdr
287d6c4225 Merge "pinctrl: qcom: Add support to disable gpio wakeup and direct connect" 2021-03-05 16:04:50 -08:00
qctecmdr
cc9bae59cb Merge "msm: kgsl: Correct gfp mask passed to kvcalloc" 2021-03-05 16:04:50 -08:00