Commit Graph

455 Commits

Author SHA1 Message Date
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
qctecmdr
187aad5410 Merge "ARM: dts: msm: Add tlmm VM test driver for Sun" 2023-11-08 14:30:25 -08:00
qctecmdr
6d46ec97c3 Merge "ARM: dts: msm: Upgrade memory map to v3" 2023-11-08 14:30:24 -08:00
qctecmdr
66eb5e14ab Merge "ARM: dts: msm: Disable low power modes for sun" 2023-11-08 14:30:24 -08:00
Melody Olvera
ebe5a1dd5f ARM: dts: msm: sun: Add node for download mode
Add download mode node for sun SoC.

Change-Id: I802ed153ddec1b74d17e5357d0ca69cb5b02b59f
Signed-off-by: Melody Olvera <quic_molvera@quicinc.com>
2023-11-08 13:10:28 -08:00
songrui
ff6f9a62f4 ARM: dts: qcom: Enable the proxy node for HLOS
Enable the HLOS SMMU proxy driver.

Change-Id: Ic4f7acc8bf64f63ee14dc224d57e3c3e0b82c8bc
Signed-off-by: Cong Zhang <quic_congzhan@quicinc.com>
Signed-off-by: songrui <quic_songrui@quicinc.com>
2023-11-08 16:06:26 +08:00
Minghao Zhang
45d58dfabd ARM: dts: msm: Add qcom_stats for sun
This change adds qcom_stats device node.

Change-Id: I924cbe57872c315632bd0421bfcdde2e21e37b94
Signed-off-by: Minghao Zhang <quic_minghao@quicinc.com>
2023-11-08 14:35:49 +08:00
Hrishabh Rajput
f038d31c35 ARM: dts: msm: Add tlmm VM test driver for Sun
Add tlmm VM test driver device tree support for Sun.

Change-Id: I131fcdaec94b6551d99753108276cfc8126187db
Signed-off-by: Hrishabh Rajput <quic_hrishabh@quicinc.com>
2023-11-07 14:29:13 +05:30
Hrishabh Rajput
1b846fd98d ARM: dts: msm: Add panic notif and ddump nodes for Sun
Add Gunyah panic notifier and dmesg dumper nodes for Sun.

Change-Id: Iae136b6c98f983ac228f59b81af700878b8bf426
Signed-off-by: Hrishabh Rajput <quic_hrishabh@quicinc.com>
2023-11-07 14:15:22 +05:30
qctecmdr
c66475eb27 Merge "dt-bindings: Add snapshot of remote debugger driver" 2023-11-06 20:48:31 -08:00