Commit Graph

1163205 Commits

Author SHA1 Message Date
qctecmdr
7d23892e0b Merge "bazel: Add SHOW RESUME IRQ module" 2024-01-16 01:39:54 -08:00
qctecmdr
4c2668e9dd Merge "usb: dwc3-msm-core: Enable Sparse Control transaction for controller" 2024-01-16 01:39:53 -08:00
qctecmdr
c7fd23507f Merge "remoteproc: soccp: Introducing SoCCP" 2024-01-16 01:39:52 -08:00
qctecmdr
b063ebd3f1 Merge "defconfig: sdmsteppeauto: Enable SHOW_RESUME_IRQ" 2024-01-16 01:39:51 -08:00
Akhil Budampati
ef376e0763 defconfig: pitti: enable fbe modules
Enable the following modules which enables
data encryption (FBE) using wrapped keys.
CONFIG_QTI_CRYPTO_COMMON
CONFIG_SCSI_UFS_CRYPTO_QTI.

Change-Id: I4bbd01f3f559be6cc8a82d011938cb7684b08919
Signed-off-by: Akhil Budampati <quic_abudampa@quicinc.com>
2024-01-16 15:01:20 +05:30
Ya Tang
07042f75e2 soc: qcom: hgsl: Enable hgsl driver for auto gvm
Enable hgsl driver for auto gvm.

Change-Id: Ic9e5751c973a89b57bda09ce431d0f3eae1066af
Signed-off-by: Ya Tang <quic_yatang@quicinc.com>
2024-01-16 15:46:48 +08:00
Wasim Nazir
8f52f725e9 module.list: Add watchdog support for pitti
Add core support and virt-wdog in firststage.

Change-Id: If764fef0ee0785a63b7018b9819c156cebefeb59
Signed-off-by: Wasim Nazir <quic_wasimn@quicinc.com>
2024-01-16 12:20:30 +05:30
Wasim Nazir
bf084736ff arm64: defconfig: Enable watchdog for pitti
Enable watchdog and related configs for pitti SoC.

Change-Id: Ic6307941495078416efa5036953f4325b0dbcdf6
Signed-off-by: Wasim Nazir <quic_wasimn@quicinc.com>
2024-01-16 12:20:25 +05:30
Manish Pandey
54a5e33dbc defconfig: Enable CONFIG_CHR_DEV_SG for Pitti
Enable SCSI Generic Kernel Module support for Pitti
to enable communication from kernel for underlying
storage devices using the SCSI protocol.

Change-Id: Ibb80ae11692e2fbf16172dba1759e33d20a1f89f
Signed-off-by: Manish Pandey <quic_mapa@quicinc.com>
2024-01-15 21:36:34 -08:00
qctecmdr
d99781c593 Merge "usb: phy: snps: Add support to vote/unvote ref_clk" 2024-01-15 20:34:47 -08:00
Krishna Kurapati
a4ae0beaf4 usb: dwc3: msm-ops: Set maxpacket limit in usb_ep_set_limit call
In the latest builds, the dwc3_gadget_init_in/out_endpoint functions
seem to be inline. Modify msm ops to use usb_ep_set_maxpacket_limit
call to set this ep limit to 1024 for non-zero endpoints.

Change-Id: Ic1c965b85a5a3fb7cf4fafb3dc4273fd6f29e729
Signed-off-by: Krishna Kurapati <quic_kriskura@quicinc.com>
2024-01-15 05:26:44 -08:00
Prasad Kumpatla
6058abbf28 wcd_usbss: remove support for wcd_usbss for pitti
wcd_usbss is not support on pitti, so remove.

Change-Id: I1a0648fd5a5c55bab03ed14d8e81e266996f26d5
Signed-off-by: Wasim Nazir <quic_wasimn@quicinc.com>
Signed-off-by: Prasad Kumpatla <quic_pkumpatl@quicinc.com>
2024-01-14 11:01:05 +05:30
qctecmdr
906e2cded9 Merge "interconnect: qcom: bcm-voter: Fix perf_mode handling from LTS merge" 2024-01-12 18:39:04 -08:00
qctecmdr
deb37748b8 Merge "arm64: defconfig: Enable GPU scan dump skip cooling device driver" 2024-01-12 18:39:03 -08:00
qctecmdr
30ecd79fa0 Merge "defconfig: pitti: Enable IOMMU related configs" 2024-01-12 09:39:21 -08:00
Mike Tipton
cf9bc8d751 interconnect: qcom: bcm-voter: Fix perf_mode handling from LTS merge
The perf_mode flag doesn't exist upstream yet, so the new
bcm_aggregate_mask() brought in from the LTS merge doesn't handle it.
Add back the perf_mode support.

Change-Id: I27d03ceceb55816c1d26735c8b3713fc32bbd9c2
Signed-off-by: Mike Tipton <quic_mdtipton@quicinc.com>
2024-01-12 07:15:59 -08:00
qctecmdr
cbfb0ced90 Merge "Niobe: Enable kernel configs to support wlan compilation" 2024-01-12 05:51:12 -08:00
qctecmdr
4581deb5ae Merge "drivers: thermal: Add support for gpu scan dump skip cooling device driver" 2024-01-12 05:51:11 -08:00
qctecmdr
a0e6a3e958 Merge "ufs: ufs-qcom: WA for VCCQ LDO OCP in shutdown" 2024-01-12 05:51:10 -08:00
qctecmdr
f31a5e1662 Merge "soc: qcom: rpmh-rsc: Move the lock before resetting the batch_cache" 2024-01-12 05:51:09 -08:00
Android Build Coastguard Worker
daf56c44bb Snap for 11304306 from 4f69d90375 to android14-6.1-keystone-qcom-release
Change-Id: Ic94479ee357d11b6b2113be8c588c4755d900850
Signed-off-by: Coastguard Worker <android-build-coastguard-worker@google.com>
2024-01-12 09:05:50 +00:00
Jaskaran Singh
39944fd954 defconfig: pitti: Enable IOMMU related configs
Enable the fastmap, ECATS debug, TLB sync timeout debug and
iommu logger features through related configs for pitti.

Change-Id: Ie854215fb42754500bc1e4f7cc54d5b8f0fc140c
Signed-off-by: Jaskaran Singh <quic_jasksing@quicinc.com>
2024-01-11 23:02:46 -08:00
qctecmdr
d2285b31af Merge "net: stmmac: Disable/Enable GDSC regulators on LPM" 2024-01-11 22:52:35 -08:00
qctecmdr
c9a91ddc20 Merge "wcd939x-i2c: wait wcd usbss device for complete resume" 2024-01-11 22:52:34 -08:00
qctecmdr
acd14111c2 Merge "defconfig: Enable uncached system heap for Pitti" 2024-01-11 22:52:34 -08:00
qctecmdr
3cf24ef401 Merge "modules-list: Add memory dump and DCC modules for pitti" 2024-01-11 22:52:33 -08:00
qctecmdr
3d7e083a2a Merge "arm64: defconfig: Enable clock drivers for NIOBE" 2024-01-11 22:52:32 -08:00
Uttkarsh Aggarwal
373bca6abf usb: phy: snps: Add support to vote/unvote ref_clk
Move XO clock in phy driver to remove the dependency on
dwc3 glue driver. Add the votes required for phy to
be operational using the optional ref_clk.

Change-Id: Ieb081ad1bbf9a00c4029ae9abdc1c58eaff81462
Signed-off-by: Uttkarsh Aggarwal <quic_uaggarwa@quicinc.com>
2024-01-11 22:25:40 -08:00
Uttkarsh Aggarwal
442f25ff98 usb: dwc3-msm-core: Enable Sparse Control transaction for controller
Some devices are slow in responding to Control transfers. Scheduling
multiple transactions in one microframe/frame can cause these devices
to misbehave.

This change enables Sparse Control transaction so that the host
controller schedules each phase of a Control transfer in different
microframes/frames.

Change-Id: I6b1320d980852e6d85b0bb39fd566d6fdfaa54e9
Signed-off-by: Uttkarsh Aggarwal <quic_uaggarwa@quicinc.com>
2024-01-11 21:51:12 -08:00
Gokul krishna Krishnakumar
d09952f5fa remoteproc: soccp: Introducing SoCCP
The SoC Control Processor (SoCCPP) is small RISCV subsystem providing
support for general SoC infrastructure management that cannot be
effectively managed by the CPU or larger DSPs. It provides a solution
for control-plane processing, reducing per-subsystem microcontroller
reinvention.
SoCCP driver borrows the unprepare/start/stop/load/coredump callback
from the pas client driver and in addition adds an API (rproc_set_state),
this API is exposed to the SoCCP client drivers to control the power
modes of SoCCP. The power modes controlled by the clients are dormant
and active.
rproc_set_state is refcounted and the request to set to dormant state
is sent to SoCCP only if there are no active clients for SoCCP.
set_state_soccp is blocking API which polls on the config register for
the requested state change.

Change-Id: I7e2bf5e7c13afdb849a8008985a33b7d0f9b321a
Signed-off-by: Gokul krishna Krishnakumar <quic_gokukris@quicinc.com>
Signed-off-by: Kamati Srinivas <quic_kamasrin@quicinc.com>
2024-01-12 10:43:29 +05:30
Priyansh Jain
f13348072c arm64: defconfig: Enable GPU scan dump skip cooling device driver
Enable defconfig for GPU scan dump skip cooling device driver.

Change-Id: Ife16b8b2d4db707cbe6cdeecb7d8860dc16ac56e
Signed-off-by: Priyansh Jain <quic_priyjain@quicinc.com>
2024-01-11 20:10:03 -08:00
Chandana Kishori Chiluveru
7db05de615 q2spi-msm-geni: Add system suspend and resume support
This change will enable system suspend and resume support
in q2spi interface driver and allow the
device to enter low power modes.

Change-Id: I7d936fe3f9236c41f58907e34bf3e0a6b37e9432
Signed-off-by: Chandana Kishori Chiluveru <quic_cchiluve@quicinc.com>
2024-01-11 19:51:33 -08:00
Visweswara Tanuku
6847b77d95 q2spi-msm-geni: Prevent cr packet use after free
As part of 'commit 8519591b50
("q2spi-msm-geni: Fix memory leaks")' cr packet is
freed in q2spi_process_hrf_flow_after_lra which is
being accessed later in doorbell_work handler
resulting in use after free access.

Prevent the crash by not freeing cr packet in
q2spi_process_hrf_flow_after_lra.

Change-Id: I5051e95991ef59dc824b9299c94edf19b0a1ae21
Signed-off-by: Visweswara Tanuku <quic_vtanuku@quicinc.com>
2024-01-11 19:49:53 -08:00
Chandana Kishori Chiluveru
d56cc30909 q2spi-msm-geni: Use new rx_cb completion for doorbell
This change will add separate gsi rx callback function for
doorbell. Also added changes to serialise the mapping of
rx dma buffer for independent doorbell data from ganges first
and then map the rx dma buffer for next doorbell.

Change-Id: Ic4431d82ed17a0b2e764d8c374b54d4c86f0c6d3
Signed-off-by: Visweswara Tanuku <quic_vtanuku@quicinc.com>
Signed-off-by: Chandana Kishori Chiluveru <quic_cchiluve@quicinc.com>
2024-01-11 19:48:44 -08:00
qctecmdr
c94af56249 Merge "dt-bindings: phy: Add the register macros of usb3 phy for pitti" 2024-01-11 18:44:12 -08:00
qctecmdr
522dc2b55a Merge "defconfig: Enable ufs-phy driver for Pitti" 2024-01-11 18:44:12 -08:00
qctecmdr
0605fd3bf0 Merge "soc: qcom: hab: add non-blocking support for habmm_socket_send on virtio-hab" 2024-01-11 18:44:11 -08:00
Omkar Sai Sandeep Katadi
4f69d90375 Merge remote-tracking branch into HEAD
* keystone/mirror-android14-6.1-2023-12:
  FROMLIST: mm: migrate high-order folios in swap cache correctly

Change-Id: Id9cc2844d058d8fe25f59f07b09ad277cfbf6817
Signed-off-by: Omkar Sai Sandeep Katadi <okatadi@google.com>
2024-01-11 19:01:36 +00:00
Manish Pandey
fb9a496b8b ufs: ufs-qcom: WA for VCCQ LDO OCP in shutdown
Currently during system shutdown, power down command
is sent to ufs subsystem. After this we put all the
UFS rails in low power modes immediately but it seems
some ufs devices may still draw more than sleep current
from UFS rails (especially from VCCQ rail) at least for
some micro seconds. It causes OCP on VCCQ rail.

Hence avoid turning off UFS VCCQ regulator in ufs
shutdown by putting an additional vote on VCCQ
LDO if 'qcom,vccq-shutdown' is defined in target
DTS. UFS device LDO would be turned off by PMIC
regulator itself.

Change-Id: Ibf5764152e9460a0dc96ec121345920c06b985a5
Signed-off-by: Manish Pandey <quic_mapa@quicinc.com>
2024-01-11 09:52:02 -08:00
Mao Jinlong
88c76efcc5 modules-list: Add memory dump and DCC modules for pitti
Memory dump and DCC modules need to be loaded at first stage to
setup the memory dump table and DCC link list early during boot
up.

Change-Id: Id5d4258ef7c8dafab218aac430aaf867546cfe6d
Signed-off-by: Mao Jinlong <quic_jinlmao@quicinc.com>
2024-01-11 07:34:20 -08:00
Mao Jinlong
33960da6c6 defconfig: Enable QDSS configs for pitti
Enable QDSS functions for debug trace collection, memory dump table
and DCC.

Change-Id: Ic2a7f721a4efe5a4c7b2b77c74bd119ca2adfa92
Signed-off-by: Mao Jinlong <quic_jinlmao@quicinc.com>
2024-01-11 07:30:05 -08:00
qctecmdr
cdd65ba050 Merge "modules.blocklist: Add limits_stress driver to block list for pitti" 2024-01-11 07:26:56 -08:00
qctecmdr
be9c6eeb3d Merge "defconfig: Enable USB QMI Audio for pitti" 2024-01-11 07:26:55 -08:00
qctecmdr
e97cac2064 Merge "soc: qcom: qmi_interface: Add default send timeout" 2024-01-11 04:57:32 -08:00
qctecmdr
8bfb987dc7 Merge "arm64: defconfig: Enable bus dcvs config in pitti" 2024-01-11 04:57:32 -08:00
qctecmdr
4ae43fd2d5 Merge "defconfig: Enable the secure buffer driver for Pitti" 2024-01-11 04:57:31 -08:00
Udipto Goswami
cd9a696159 defconfig: Enable QDSS Functions driver for Niobe
USB QDSS function driver is needed for axcercizing the usecases of
QDSS choosing USB and sink and dump the tracing directly to host PC.

The following defconfig enbled the function driver responsible for
acting as the transport layer. Also add it to the bzl file.

Change-Id: I353ded8bd50486c83147b87d5f0883a037181b21
Signed-off-by: Udipto Goswami <quic_ugoswami@quicinc.com>
2024-01-11 16:31:36 +05:30
Prashanth K
236d238c38 dt-bindings: phy: Add the register macros of usb3 phy for pitti
Add the register offset pair of USB3-DP phy for pitti.

Change-Id: Ia2a261fb88e6fb17fc772902f3fc17f5dbbc9ec7
Signed-off-by: Prashanth K <quic_prashk@quicinc.com>
2024-01-11 15:08:45 +05:30
Priyansh Jain
b63a7190dc drivers: thermal: Add support for gpu scan dump skip cooling device driver
Add support for gpu scan dump skip cooling device driver. This
driver will register with thermal framework as a cooling device.
This driver will enable the feature to update a PMIC SDAM and a
SOC cookie which will be checked in SDI path to disable GFX rail
and skip GPU Scan dump when ambient temperature is more than the
recommended threshold.

Change-Id: I8976a150e61254d98063ec9d5eabbfe733009fc6
Signed-off-by: Priyansh Jain <quic_priyjain@quicinc.com>
2024-01-11 14:38:54 +05:30
Khushal Bawankar
7c539936f9 clk: qcom: gcc-mdm9607: Update apss_ahb_clk_src freq table and parent
Change the apss_ahb_clk_src rate to 19.2MHz during probe and enable the
RCG to keep it always on. Also change parent from gcc_xo_gpll0 to
gcc_xo_gpll0_ao for preventing XO shutdown issues. Update the frequency
table by removing unneeded frequencies.

Change-Id: Ia96f907c8d1dc2dea2765116625a92944f5d66b8
Signed-off-by: Khushal Bawankar <quic_kbawanka@quicinc.com>
Signed-off-by: Shubham Diwane <quic_sanantad@quicinc.com>
2024-01-11 01:03:56 -08:00