Commit Graph

414 Commits

Author SHA1 Message Date
Rashid Zafar
d8c7742e43 ARM: dts: qcom: Enable low power modes for sun
Enable low power modes for sun through kernel command
line parameters.

Change-Id: Ifd4b8fcce8d6b2c0b4f6a4c2dcb088ae8c8fa661
Signed-off-by: Rashid Zafar <quic_rzafar@quicinc.com>
2023-11-29 10:02:14 -08:00
Ziqi Chen
a40b3852a1 ARM: dts: qcom: keep the DT format aligned for SDCC
Common DT format for sd card changes across targets.

Change-Id: I6d3fc5141ed8e73882dcf0f95706501b8208164b
Signed-off-by: Ziqi Chen <quic_ziqichen@quicinc.com>
2023-11-29 17:15:03 +08:00
Bao D. Nguyen
826a6b132f Revert "ARM: dts: qcom: Enable UFS MCQ on Sun platforms"
This reverts commit b57a26b88e.
There is an issue with MCQ mode. We need some time to fix
the issue, so revert to legacy UFS mode for now.

Change-Id: Iaf9a3332ba23fe3bd2be4900c79698ed32903efc
Signed-off-by: Bao D. Nguyen <quic_nguyenb@quicinc.com>
2023-11-28 10:27:10 -08:00
Gokul krishna Krishnakumar
a851d169b5 ARM: dts: msm: Update the ADSP/CDSP nodes
With commit (851140def4: Allow memory from lower 4G for adsp/cdsp/modem)
We were limiting addresses to below 4GB for ADSP/CDSP metadata passed to
TZ. The issue with S1/S2 mapping is caused by a flag in the hyp config
file, removing the restriction for ADSP/CDSP metadata memory.

Change-Id: Id42350a8ab2ddff3c74104f610d83a70681c23c6
Signed-off-by: Gokul krishna Krishnakumar <quic_gokukris@quicinc.com>
2023-11-28 10:15:00 -08:00
qctecmdr
6e80050181 Merge "ARM: dts: msm: Add logbuf vendor hook node for Sun" 2023-11-28 00:27:13 -08:00
Wesley Cheng
952db5fded ARM: dts: msm: Set EUD UTMI switch delay for sun
Set the proper EUD UTMI switch delay for when EUD moves between modes.
This allows for the delay to be decreased, which addresses USB core soft
reset timeouts.

Change-Id: Id3f02ad4f14b68977baa3393c692360a762b0ee2
Signed-off-by: Wesley Cheng <quic_wcheng@quicinc.com>
2023-11-27 18:49:11 -08:00
Rashid Zafar
24941dbe11 ARM: dts: msm: Add pcie-pdc device for sun
Add pcie-pdc device to allow configuring wakeup gpios at PCIe PDC
for sun.

Change-Id: I57722d564c2c39e7d2d7c35c967f826465d8dd5d
Signed-off-by: Rashid Zafar <quic_rzafar@quicinc.com>
2023-11-27 14:20:19 -08:00
qctecmdr
0eaa3ab6c1 Merge "ARM: dts: msm: Update bootargs for Sun SoC" 2023-11-24 16:18:13 -08:00
Mukesh Ojha
4685457043 ARM: dts: msm: Update bootargs for Sun SoC
Update bootargs for Sun SoC to align with existing SoCs.

Change-Id: I50c16ddabc4559b84f815d10956c36b63dbafd00
Signed-off-by: Mukesh Ojha <quic_mojha@quicinc.com>
2023-11-24 21:42:55 +05:30
Kishore Kumar Ravi
42eb600576 ARM: dts: msm: Add qrtr gunyah in sun
Enable the qrtr gunyah transport for sun. This enables the QRTR
Gunyah transport on the primary VM which kickstarts the qrtr protocal
between tuivm and pvm.

Change-Id: I6cc9d73d087107de9153a781aea255a077f8ee0c
Signed-off-by: Kishore Kumar Ravi <quic_kiskum@quicinc.com>
2023-11-24 02:33:14 -08:00
qctecmdr
bb376686da Merge "ARM: dts: msm: qcom: Update scm node with dload-mode" 2023-11-22 18:47:24 -08:00
Unnathi Chalicheemala
d598ebab3f ARM: dts: msm: Add logbuf vendor hook node for Sun
Add logbuf vendor hook node for Sun SOC.

Change-Id: I95b07025b693b2aadd1d75e8ad1cf9012b2aea7a
Signed-off-by: Unnathi Chalicheemala <quic_uchalich@quicinc.com>
2023-11-22 16:32:12 -08:00
Melody Olvera
85ca810a1f ARM: dts: msm: qcom: Update scm node with dload-mode
Update scm node to include dload-mode register needed
to set the proper download mode.

Change-Id: I2f2075ec43f1ba452fff6077685afcf6dc7912be
Signed-off-by: Melody Olvera <quic_molvera@quicinc.com>
2023-11-21 20:15:14 -08:00
Mike Tipton
f2fddff3f5 ARM: dts: msm: Add proxy consumers for gx_gdsc dependencies on Sun
The gx_clkctl_gx_gdsc requires both gpu_cc_cx_gdsc and VDD_GX to access
its configuration registers. We access these registers during probe, so
we need to ensure these dependencies aren't disabled until after our
probe completes. Add proxy consumers for this.

After probe, the parent-supply will ensure VDD_GX is enabled before we
touch registers in the regulator_enable/disable paths. And for the CX
GDSC dependency, the client already enables it before the GX GDSC due to
historical functional requirements between the CX and GX sides.

Change-Id: I49f5654a8a86644074c76788de821eb8ae621d09
Signed-off-by: Mike Tipton <quic_mdtipton@quicinc.com>
2023-11-21 09:19:46 -08:00
qctecmdr
19c08e46f5 Merge "ARM: dts: qcom: Add SPU - HLOS shared DMA pool to sun dtsi" 2023-11-20 15:54:07 -08:00
qctecmdr
fbf94fefe4 Merge "ARM: dts: qcom: Enable UFS MCQ on Sun platforms" 2023-11-20 11:14:24 -08:00
qctecmdr
3b7efdf489 Merge "ARM: dts: msm: Add oemvm qrtr gunyah node for sun" 2023-11-20 11:14:24 -08:00
Nurit Lichtenstein
9a88cb73d7 ARM: dts: qcom: Add SPU - HLOS shared DMA pool to sun dtsi
Needed for SPU - HLOS communication.

Change-Id: Id529de99bf990da79855dc770d34eac9c4f55d0d
Signed-off-by: Nurit Lichtenstein <quic_nuritl@quicinc.com>
2023-11-20 10:33:35 -08:00
qctecmdr
b9215d3dc8 Merge "ARM: dts: msm: Add IMEM node for Sun" 2023-11-20 09:54:34 -08:00
Kishore Kumar Ravi
b228b1409c ARM: dts: msm: Add oemvm qrtr gunyah node for sun
Add the nodes for enable qrtr communication between primary vm and
oemvm on sun.

This adds platform devices and vdevice descriptions to start the
qrtr gunyah transport on both primary vm and oemvm device trees. This
also adds the device tree node to configure qrtr as node id 21 on oem
vm.

Change-Id: I1575853a67fe9edbcb751dbb71062b6da624d9be
Signed-off-by: Kishore Kumar Ravi <quic_kiskum@quicinc.com>
2023-11-20 12:50:36 +05:30
Bao D. Nguyen
b57a26b88e ARM: dts: qcom: Enable UFS MCQ on Sun platforms
Enable the UFS MCQ feature on the Sun platforms.

Change-Id: I6d58bb14ea085cfd792cfea0073cccfa8be38edb
Signed-off-by: Bao D. Nguyen <quic_nguyenb@quicinc.com>
2023-11-17 16:32:53 -08:00
qctecmdr
081aed5068 Merge "ARM: dts: qcom: Disable UFS LPM features" 2023-11-17 14:55:23 -08:00
Unnathi Chalicheemala
6eb2758895 ARM: dts: msm: Add IMEM node for Sun
Add IMEM node for Sun SoC.

Change-Id: If112305d66109a098ee438fa36b6d11ae67d855b
Signed-off-by: Unnathi Chalicheemala <quic_uchalich@quicinc.com>
2023-11-16 13:54:48 -08:00
qctecmdr
0f27252f21 Merge "ARM: dts: qcom: Enable the proxy node for HLOS" 2023-11-16 13:28:39 -08:00
qctecmdr
21e172d18a Merge "dt-bindings: Add llcc_perfmon device node" 2023-11-15 17:05:22 -08:00
qctecmdr
73a05587d9 Merge "ARM: dts: msm: sun: Update arch and memtimer frequencies" 2023-11-15 17:05:22 -08:00
qctecmdr
a881b8420d Merge "ARM: dts: msm: Add debugcc device for Sun" 2023-11-15 17:05:22 -08:00
qctecmdr
f6f25cde63 Merge "ARM: dts: msm: sun: Add capacity related information" 2023-11-15 17:05:21 -08:00
Bao D. Nguyen
0d05778dbb ARM: dts: qcom: Disable UFS LPM features
For debug during SoD. Disable UFS LPMs.

Change-Id: I0bada089256cd4a89b13fb61b32d70d32c80d13f
Signed-off-by: Bao D. Nguyen <quic_nguyenb@quicinc.com>
2023-11-15 16:29:57 -08:00
Melody Olvera
704e2e0186 ARM: dts: msm: sun: Update arch and memtimer frequencies
Arch timer and memtimer frequencies were set incorrectly for
silicon, so set to 1 GHz.

Change-Id: I309c1d79712145a4c86d168d923f91d6a6792142
Signed-off-by: Melody Olvera <quic_molvera@quicinc.com>
2023-11-15 16:29:54 -08:00
Vivek Aknurwar
af41f8a078 ARM: dts: msm: Add debugcc device for Sun
Add device tree node for measure nodes and enable
debug cc driver on Sun.

Change-Id: I5475161d0f1d7ce488b6372d19ba1212dea238f5
Signed-off-by: Vivek Aknurwar <quic_viveka@quicinc.com>
2023-11-13 23:20:34 -08:00
Aman Kanwar
afb08d4f75 dt-bindings: Add llcc_perfmon device node
Add bindings for llcc_perfmon tool, populate llcc_perfmon
as child node of llcc cache-controller node.

Change-Id: Ib65da3295569297697cc039d39f3aef95887e482
Signed-off-by: Aman Kanwar <quic_akanwar@quicinc.com>
2023-11-14 12:21:11 +05:30
qctecmdr
2cbc777777 Merge "ARM: dts: msm: sun: Add node for gic interrupt router" 2023-11-13 21:23:26 -08:00
qctecmdr
5a4d047cf5 Merge "ARM: dts: msm: gunyah: Add irq lend test node for sun" 2023-11-13 21:23:26 -08:00
qctecmdr
9d95fa33b3 Merge "ARM: dts: msm: Add qcom_stats for sun" 2023-11-13 13:43:50 -08:00
qctecmdr
e398d870ef Merge "ARM: dts: msm: Add PCIe CRM bcm-voters for Sun" 2023-11-13 13:43:50 -08:00
qctecmdr
cbb208f60a Merge "ARM: dts: msm: sun: Add node for download mode" 2023-11-13 13:43:49 -08:00
Sai Harshini Nimmala
5f39e6b141 ARM: dts: msm: sun: Add capacity related information
The "capacity-dmips-mhz" and "dynamic-power-coefficient" are
used to build Energy Model and subsequently capacity values are derived
from them which in turn is used by EAS to take placement decisions.
Add these to sun devicetree.

Change-Id: If96b00b5ba1e211867ba9b44c5af5f2c9e65200f
Signed-off-by: Sai Harshini Nimmala <quic_snimmala@quicinc.com>
2023-11-12 10:22:46 -08:00
Sai Harshini Nimmala
3cf966f8c0 ARM: dts: msm: Add a node for gclk cycle counter driver
Add gclk cycle counter register information to devicetree in a
separate node for use by associated driver.

Change-Id: Ie27724dc04703d496a652729d61e03e0f4ff0115
Signed-off-by: Sai Harshini Nimmala <quic_snimmala@quicinc.com>
2023-11-12 10:22:45 -08:00
Bao D. Nguyen
6e8dc0c25f ARM: dts: qcom: Add smmu probe dependency for ufs
UFS has a dependency on smmu being probed first. Specify
this dependency in the ufs dt node to set this probing order.
Without this change, ufs may get probed first then start using
the smmu while smmu is being probed.

Change-Id: Idd99a19b3d407cd319addbc1cab27f8191dd9509
Signed-off-by: Bao D. Nguyen <quic_nguyenb@quicinc.com>
2023-11-10 11:08:36 -08:00
Melody Olvera
2e5af8d110 ARM: dts: msm: sun: Add node for gic interrupt router
Add node for gic interrupt router for sun SoC.

Change-Id: Id5690f286f89f6f15051477cf06ad8a390c69c7a
Signed-off-by: Melody Olvera <quic_molvera@quicinc.com>
2023-11-10 10:55:13 -08:00
Po-Jung Lai
976b3e2ad7 ARM: dts: msm: gunyah: Add irq lend test node for sun
Add irq lend test node to sun, sun-vm and sun-oemvm to validate
hypervisor irq lend functionality.

Change-Id: I2cc6fae7645c12920fe742f2c3c7ce8a166fe663
Signed-off-by: Po-Jung Lai <quic_pojulai@quicinc.com>
2023-11-09 13:50:18 -08:00
Po-Jung Lai
4ad12bb94f ARM: dts: msm: gunyah: Add msgq test node for sun
Add message-queue test node to sun.dtsi, sun-vm.dtsi and
sun-oemvm.dtsi to validate hypervisor message-queue functionality.

Change-Id: Id43f707d715ef8937d7497c95f2bce89e73202ac
Signed-off-by: Po-Jung Lai <quic_pojulai@quicinc.com>
2023-11-09 13:50:08 -08:00
Po-Jung Lai
5c87a553f3 ARM: dts: msm: gunyah: Add dbl test node for sun
Add doorbell test node to sun.dtsi, sun-vm.dtsi and
sun-oemvm.dtsi validate hypervisor doorbell functionality.

Change-Id: I8535600c66692b4254e54da773f4d2bb6e717583
Signed-off-by: Po-Jung Lai <quic_pojulai@quicinc.com>
2023-11-09 08:34:32 -08:00
qctecmdr
96351f54d0 Merge "ARM: dts: msm: Enable IPA SMP2P nodes for Sun" 2023-11-09 07:43:35 -08:00
qctecmdr
d8d174217f Merge "ARM: dts: qcom: Correct CPU masks for sun platforms" 2023-11-09 07:43:35 -08:00
qctecmdr
ad5716dcc1 Merge "ARM: dts: qcom: Add CPU hotplug and pause cooling device for sun" 2023-11-09 07:43:34 -08:00
Mike Tipton
78296310bf ARM: dts: msm: Add PCIe CRM bcm-voters for Sun
Add the PCIe CRM bcm-voters, which are required to support voting BW on
behalf of the PCIe CRM HW clients.

Change-Id: Ic02fe99d26f80c9f156268aed452073cafd768ee
Signed-off-by: Mike Tipton <quic_mdtipton@quicinc.com>
2023-11-08 18:35:00 -08:00
qctecmdr
24ed8ce4ae Merge "ARM: dts: msm: Add panic notif and ddump nodes for Sun" 2023-11-08 14:30:25 -08:00
qctecmdr
4dee1fc1a6 Merge "ARM: dts: msm: Add entry for hdcp smcinvoke enablement" 2023-11-08 14:30:25 -08:00