Commit Graph

1525 Commits

Author SHA1 Message Date
Huang Yiwei
63d17b94ea ARM: dts: msm: Add platform_mpam slc node for sun
Add platform_mpam slc node for sun.

Change-Id: Iacf470e2a8ca60277a817a4f8d159b5c75b80bc6
Signed-off-by: Huang Yiwei <quic_hyiwei@quicinc.com>
2024-08-14 10:54:04 +08:00
QCTECMDR Service
8fe431f13c Merge "dt-bindings: Move qcom,cycle-cntr.yaml to correct location" 2024-08-13 19:13:25 -07:00
Gokul krishna Krishnakumar
8791d1c355 ARM: dts: msm: sun: add interconnects for soccp rproc
APPS needs to place proxy votes to ddr and cnoc when the SOCCP is in D0.

Change-Id: Idfa93910b51c6df033ea010480c1a8adeacd4af5
Signed-off-by: Gokul krishna Krishnakumar <quic_gokukris@quicinc.com>
2024-08-13 13:41:39 -07:00
Gokul krishna Krishnakumar
f7f2a9a731 ARM: dts: msm: sun: Add SOCCP_SOCCP_SPARE_REG0 to check SOCCP status
SOCCP_SOCCP_SPARE_REG0 is used to check D0 status of SOCCP.
TCSR_SOCCP_SLEEP_STATUS is used to check D3 status of SOCCP.

Change-Id: Icee37cddb0b7ef303962cab0d9a8f37a211a05da
Signed-off-by: Gokul krishna Krishnakumar <quic_gokukris@quicinc.com>
2024-08-13 13:40:10 -07:00
QCTECMDR Service
a42a64bb1e Merge "ARM: dts: msm: Update SLC SCID Heuristics property" 2024-08-13 12:29:04 -07:00
QCTECMDR Service
3a282c5a09 Merge "ARM: dts: msm: Add pmic-glink support and its clients for tuna" 2024-08-13 12:29:04 -07:00
Sai Harshini Nimmala
f0f1c41d9d dt-bindings: Move qcom,cycle-cntr.yaml to correct location
Bindings file for WALT cycle counter driver is in incorrect location.
Move it to the correct location where all other bindings files are
present.

Change-Id: I9e8ef0a87ac6b311931535a82ccf3c784bcdc896
Signed-off-by: Sai Harshini Nimmala <quic_snimmala@quicinc.com>
2024-08-13 11:46:25 -07:00
Hrishabh Rajput
e5e656ad48 ARM: dts: msm: Fix trust_ui_vm_mem alignment for Parrot
Parrot need to follow non-relocatable absolute addresses for VM due to
firmware constraints. VM kernel load address is the start address of the
vm_mem_region and build system requires the load address of the kernel
to be 2MB aligned.

This patch adjusts the start address of the trust_ui_vm_mem region for
Parrot to align to 2MB. This also means reducing its size by 1MB.

Change-Id: I1816ec5f6ff18f55ecc4dec39958d442151f8cb0
Signed-off-by: Hrishabh Rajput <quic_hrishabh@quicinc.com>
Signed-off-by: Swetha Chikkaboraiah <quic_schikk@quicinc.com>
2024-08-13 01:51:58 -07:00
Avinash Philip
12d8a87783 ARM: dts: qcom: Add Nodes for SLC MPAM support
Support for MPAM SLC support.

Change-Id: Id98cc9e2d346d536905d92d0ef15ecf90ca8d162
Signed-off-by: Avinash Philip <quic_avinashp@quicinc.com>
2024-08-13 06:46:01 +05:30
QCTECMDR Service
6932695c34 Merge "ARM: dts: msm: Remove cpusys_vm region on sun" 2024-08-12 14:14:24 -07:00
Avinash Philip
55be01b6fc ARM: dts: msm: Update SLC SCID Heuristics property
Update vendor prefix qcom for heuristics SCID property.

Change-Id: I9a683f6ac543a2a7108986abd68f21c1df8a54bb
Signed-off-by: Avinash Philip <quic_avinashp@quicinc.com>
2024-08-12 23:58:10 +05:30
QCTECMDR Service
ff92656556 Merge "ARM: dts: msm: Add hdcp device node for ravelin" 2024-08-12 10:34:26 -07:00
Swetha Chikkaboraiah
a191ae962a ARM: dts: msm: Add initial device tree for parrot/ravelin vm
Add initial device tree support for parrot/ravelin vm target.
This is a snapshot of dtsi files as of KP.1.0
'commit <370d8eab7cc6> ("Merge "ARM: dts: qcom:
Disable cnss-kiwi SOL on anorak platform"")'.

Change-Id: Iaf69c882974f38b69d9edd671d675f14dfb9774d
Signed-off-by: Swetha Chikkaboraiah <quic_schikk@quicinc.com>
2024-08-12 21:34:51 +05:30
Kavya Nunna
0cac1b3f87 ARM: dts: msm: Add pmic-glink support and its clients for tuna
Add pmic-glink support and its clients like qti-battery-charger,
altmode, ucsi and pmic-glink-adc support for tuna.

Change-Id: Ib2dd7cee63e6697e744783aabf954b62814b7ad8
Signed-off-by: Kavya Nunna <quic_knunna@quicinc.com>
2024-08-12 11:46:13 +05:30
Kavya Nunna
c81f508a2b ARM: dts: msm: add primary SPMI Arbiter and SPMI debug bus for tuna boards
Add spmi-pmic-arb devices for the primary and secondary SPMI buses
found on tuna.  The primary bus operates at 19.2 MHz and is used
for most of the PMICs. The secondary bus operates at 4.8 MHz
and is used exclusively for charging PMICs. Note that the
secondary bus is not used so it is kept disabled.

Add SPMI debug device and associated child devices for the primary
SPMI interface. This provides consumers with unrestricted access
to the PMIC registers on pre-production devices. This helps
make debugging easier.

Change-Id: I9efadb5082389a519f76f7b5db43f0bde84f2239
Signed-off-by: Kavya Nunna <quic_knunna@quicinc.com>
2024-08-12 11:46:04 +05:30
Sachin Patil
e893ebd3c0 ARM: dts: qcom: intent redistribution of sensor glink channel
Currently, 4 glink intents are used by sensors channels
Not enough for handling large no. of transactions between aon
and hal. Increase the no. of glink intents such that more
no. of transactions can be supported between aon and hal.

Change-Id: I676021e1f3968639c542a921bd213942cb2c8e2a
Signed-off-by: Sachin Patil <quic_sachpati@quicinc.com>
2024-08-11 22:42:32 +05:30
QCTECMDR Service
4625e901da Merge "ARM: dts: msm: Add UFS nodes for tuna pre-sil" 2024-08-09 11:05:36 -07:00
QCTECMDR Service
a9da76801b Merge "ARM: dts: msm: SLC SCID Heuristics support for sun" 2024-08-09 11:05:36 -07:00
Avinash Philip
b340945a35 ARM: dts: msm: SLC SCID Heuristics support for sun
Enables HEURISTICS SCID for sun.

Change-Id: I1f52aeb0000c5835236bf6c04cc3c51e87cdfedf
Signed-off-by: Avinash Philip <quic_avinashp@quicinc.com>
2024-08-09 14:56:28 +05:30
Ajit Pandey
2e025643d4 ARM: dts: msm: Add support for camera clock controllers on Tuna
Add support for CAMCC and CAM_BIST_MCLK_CC clock controller nodes
on Tuna platform. While at it, move camcc gdsc's to real.

Change-Id: I14e7add272a549cd21c39083a26baac4c50de31e
Signed-off-by: Ajit Pandey <quic_ajipan@quicinc.com>
2024-08-09 12:17:50 +05:30
Manish Pandey
d06b485834 ARM: dts: msm: Add UFS nodes for tuna pre-sil
Add UFS host controller and PHY nodes for tuna soc.

Change-Id: I27f7c09355c54de15d7f9544918db830496e6c1f
Signed-off-by: Manish Pandey <quic_mapa@quicinc.com>
2024-08-09 10:51:50 +05:30
QCTECMDR Service
9a62421626 Merge "ARM: dts: qcom: Remove cpu pause action on boot core" 2024-08-07 17:37:30 -07:00
QCTECMDR Service
cda4e3edf8 Merge "ARM: dts: msm: Update PMIC adc_tm nodes for ravelin" 2024-08-07 17:37:30 -07:00
QCTECMDR Service
f89f566c43 Merge "ARM: dts: msm: Increase virtio-mem maximum size" 2024-08-07 17:37:30 -07:00
QCTECMDR Service
f7095458d1 Merge "ARM: dts: msm: Reduce common CMA region size for monaco" 2024-08-07 11:35:52 -07:00
QCTECMDR Service
93a4367340 Merge "dt-bindings: Document qcom,initial-movable-zone-size property" 2024-08-07 11:35:52 -07:00
QCTECMDR Service
55f61a7aad Merge "ARM: dts: msm: Add interconnect devices for TUNA" 2024-08-07 03:15:13 -07:00
Shashikala Katthi
59adcc8931 ARM: dts: msm: Add hdcp device node for ravelin
This change add device tree node for hdcp smcinvoke interface
for ravelin.

Change-Id: I76ddbb543f0eb03b406eed488b50e34011140c90
Signed-off-by: Shashikala Katthi <quic_skatthi@quicinc.com>
2024-08-07 14:41:18 +05:30
Archana Sriram
fb44aa4c01 ARM: dts: msm: Update PMIC adc_tm nodes for ravelin
Modify pmk8350, pm7250b and pmi632 adc_tm nodes to suit
qcom-spmi-adc-tm5 thermal driver for ravelin.

Change-Id: I00fc712cda79b52b74a0e11da34bb2eae25414d4
Signed-off-by: Archana Sriram <quic_c_apsrir@quicinc.com>
2024-08-07 11:24:06 +05:30
Archana Sriram
0a427da568 ARM: dts: msm: Update PMIC adc_tm nodes for parrot
Modify pmk8350, pm7250b and pm6150l adc_tm nodes to
suit qcom-spmi-adc-tm5 thermal driver for parrot.

Change-Id: I66b5eadec9d926dd6fa9be1074611eda870cec50
Signed-off-by: Archana Sriram <quic_c_apsrir@quicinc.com>
2024-08-07 11:11:56 +05:30
Nitesh Kumar
0231442fdf ARM: dts: qcom: Remove cpu pause action on boot core
Remove cpu pause action on boot core in Parrot.

Change-Id: I59e4e6cfec9073cd94a5bf0fcff96158d4061835
Signed-off-by: Nitesh Kumar <quic_nitekuma@quicinc.com>
2024-08-06 21:42:54 +05:30
Maulik Shah
0455109209 ARM: dts: msm: Add sw drv3 of disp_crm for sun
SW drv3 may be used sometimes by display panel. Add it.

Change-Id: I03fc0bee08c44447caf689b747b054f4aa62ffca
Signed-off-by: Maulik Shah <quic_mkshah@quicinc.com>
2024-08-06 01:38:51 -07:00
Patrick Daly
44d258db88 ARM: dts: msm: Remove cpusys_vm region on sun
This feature is not supported on sun, and its memory region is now
reused by hypervisor for other purposes.

Change-Id: I027335e4f8358bed7cb692120ca0ba0b601b472e
Signed-off-by: Patrick Daly <quic_pdaly@quicinc.com>
2024-08-05 16:27:37 -07:00
Patrick Daly
cf2d1ea24d ARM: dts: msm: Increase virtio-mem maximum size
ZRAM is being disabled on tuivm due to observed stability issues due to
ZRAM's use of GFP_MEMALLOC. Increase maximum movable zone size to
compensate.

When kswapd swaps out pages, PF_MEMALLOC is set, which results in zram
ignoring the min_watermark, and lowmem_reserve. This is problematic
because we intend for movable memory to stay in ZONE_MOVABLE, rather
than falling back to ZONE_NORMAL. If the later occurs to such a high
degree that all ZONE_NORMAL memory is consumed, as is observed to be
the case during a "C2PA" testcase, attempts to plug in additional
ZONE_MOVABLE memory may fail due to requiring a small amount of
GFP_KERNEL memory.

Change-Id: Ic847e90514f80ccb91daa98849440d7a9b97f156
Signed-off-by: Patrick Daly <quic_pdaly@quicinc.com>
2024-08-05 16:27:37 -07:00
Patrick Daly
efdc753321 ARM: dts: msm: Add qcom,initial-movable-zone-size property
"qcom,initial-movable-zone-size" creates a movable zone of the given size
before userspace starts. This is useful in a system where a userspace
component (psi-daemon) is used to hotplug in memory on a on-demand basis.

With swap disabled, the current tvm carveout size (68 Mb) hits
out-of-memory condition before psi-deamon is started.

Once psi-daemon is running, it detects the number of blocks added to the
movable zone via "qti_virtio_mem/kernel_plugged" sysfs file, and
can reduce or increment the number as necessary.

Change-Id: I5b62b6227e8a357ba3012979ed4bf937f1810437
Signed-off-by: Patrick Daly <quic_pdaly@quicinc.com>
2024-08-05 16:27:37 -07:00
Gokul krishna Krishnakumar
5d91e5305c Revert "ARM: dts: qcom: Add ready ack to the list of soccp interrupts"
This reverts commit d7483f4aed.

Change-Id: Id54ae640c8ff967255ff9db68ccb509813fbcea4
Signed-off-by: Gokul krishna Krishnakumar <quic_gokukris@quicinc.com>
2024-08-05 15:07:09 -07:00
Patrick Daly
942e7f19e7 ARM: dts: msm: Fix dependency between virtio-mem and mem-buf-msgq
The virtio-mem device has always had a dependency on mem-buf for plugging
in memory. Previously, the ordering was not a concern, since hotplug was
not done until userspace was up. However, in subsequent patches we
will instead hotplug in memory as soon as the virtio-mem device probes.

Change-Id: I9c4e4728a15ab32d65ffaea0ba2681a816a4abf0
Signed-off-by: Patrick Daly <quic_pdaly@quicinc.com>
2024-08-05 11:40:04 -07:00
QCTECMDR Service
dba669a7e0 Merge "ARM: dts: qcom: Add aoss, aop and tme nodes for kera" 2024-08-03 00:05:08 -07:00
QCTECMDR Service
494a19a4ca Merge "ARM: dts: qcom: Add 3.5mm with Kiwi WLAN for MTP platform" 2024-08-02 21:13:26 -07:00
QCTECMDR Service
c0808eafeb Merge "ARM: dts: msm: ravelin: remove atomic in secure use case for ravelin" 2024-08-02 18:18:38 -07:00
QCTECMDR Service
c78f5dc38c Merge "ARM: dts: qcom: Update bootargs for parrot and ravelin" 2024-08-02 18:18:38 -07:00
QCTECMDR Service
67d061eb7d Merge "ARM: dts: msm: ravelin: Add msgq-names property for ravelin" 2024-08-02 18:18:38 -07:00
Satya Durga Srinivasu Prabhala
85b0e67e85 ARM: dts: qcom: Add APQ support for ATP & RCM platforms
APQ support is missing on ATP & RCM platforms, add it now.

Change-Id: Ib2e9c856b34988a8b0befebbe597154cb1aa9af8
Signed-off-by: Satya Durga Srinivasu Prabhala <quic_satyap@quicinc.com>
2024-08-02 17:26:33 -07:00
QCTECMDR Service
9cf9e56a8a Merge "ARM: dts: msm: Add compatible for CPUFREQ HW DEBUG node on MONACO" 2024-08-02 10:56:40 -07:00
Prakash Yadachi
20818089ae ARM: dts: qcom: Update bootargs for parrot and ravelin
Removed console=ttyMSM0,115200n8 form bootargs for
parrot and ravelin targets.

Change-Id: I7b1c942343e71e809d234800f7ea6d6469a4c306
Signed-off-by: Prakash Yadachi <quic_pyadachi@quicinc.com>
2024-08-02 04:55:14 -07:00
Srinivasarao Pathipati
5f6d4987b1 ARM: dts: msm: ravelin: remove atomic in secure use case for ravelin
Atomic and secure domains are not a legal combination so remove
atomic entry for secure use case.

Change-Id: Ibd163da686e0d982dcb085ab32d4f01cdb4fcf69
Signed-off-by: Srinivasarao Pathipati <quic_c_spathi@quicinc.com>
2024-08-01 16:20:52 +05:30
Srinivasarao Pathipati
69ee6cf4c7 ARM: dts: msm: ravelin: Add msgq-names property for ravelin
The commit 39dd329a019b ("mem-buf-msgq: Support multiple msgqs")
mandates to have 'msgq-names' property in node 'mem-buf-msgq'.
Adding default msgq entry to fix probe failure.

Change-Id: I9dc802604cabff1b808c08302e1b77bf61fd7b3f
Signed-off-by: Srinivasarao Pathipati <quic_c_spathi@quicinc.com>
2024-08-01 03:42:42 -07:00
Sayali Patil
cccca1d8ac ARM: dts: msm: Reduce common CMA region size for monaco
Reduce the common CMA region size for monaco to 16MB.

Change-Id: I1dce0f34b53fc03556caefb69c6ff97ff8b5de0c
Signed-off-by: Sayali Patil <quic_sayapati@quicinc.com>
2024-07-31 23:42:41 -07:00
QCTECMDR Service
a860d465c6 Merge "ARM: dts: msm: Enable memmap_on_memory on arm64 on sun-vm" 2024-07-31 10:10:15 -07:00
QCTECMDR Service
1efaf82eaf Merge "ARM: dts: msm: Add shutdown ack for each remoteproc processors" 2024-07-31 02:21:33 -07:00