Commit Graph

1618 Commits

Author SHA1 Message Date
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
Shilpa Suresh
3e9b6564b4 ARM: dts: msm: Add qcom,old-i2c-freq-cfg for parrot/ravelin
For backward compatibility for parrot and ravelin targets, add the
qcom,old-i2c-freq-cfg property. This will ensure that the
legacy counter settings are used for the i2c frequency configuration
for communication with pm8008 chip.

Change-Id: I97eaa1cc240932c25d02c5422e6fb584816f8ece
Signed-off-by: Shilpa Suresh <quic_c_sbsure@quicinc.com>
2024-08-08 18:37:10 +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
QCTECMDR Service
ea9d62622e Merge "ARM: dts: msm: Add smem nodes for kera" 2024-07-30 21:02:58 -07:00
QCTECMDR Service
6f00fb2dd7 Merge "ARM: dts: msm: Remove unused SW DRVs for disp_crm device for sun" 2024-07-30 21:02:58 -07:00
Maulik Shah
d139cd2e2d ARM: dts: msm: Remove unused SW DRVs for disp_crm device for sun
Remove unused SW DRVs as keeping them makes them register
with IRQs and leading to spurious IRQs.

Change-Id: Iba8723b7ac734286668158fe793bde97f3f31eda
Signed-off-by: Maulik Shah <quic_mkshah@quicinc.com>
2024-07-30 03:01:37 -07:00
Kamal Wadhwa
781cb25b20 ARM: dts: qcom: Add NVMEM cells FMD_CNT2_STOP & FMD_CHG_PON for PMK8550
Add NVMEM cells FMD_CNT2_STOP and FMD_CHG_PON for supporting
Find-My-Device(FMD) feature.

- FMD_CNT2_STOP controls the number of FMD cycles after which the
feature will auto disable to save power in OFF mode.

- FMD_CHG_PON can be use to disable USB PON feature for testing
purpose.

Change-Id: I0f217d413f2ec8c5616956c4e56fd7e469c52d56
Signed-off-by: Kamal Wadhwa <quic_kamalw@quicinc.com>
2024-07-29 11:11:01 -07:00
Mukesh Ojha
eb19dd58e0 ARM: dts: msm: Add shutdown ack for each remoteproc processors
legacy SoCs had shutdown ack only available to modem DSP
since waipio, it is even available for ADSP and CDSP and since
we are adding shutdown ack timeout which would wait for these
ack interrupts. Let's add them for ADSP and CDSP as well.

Change-Id: I75c427be29d8d762617ccc1e595929edb9ff2c3b
Signed-off-by: Mukesh Ojha <quic_mojha@quicinc.com>
2024-07-29 14:37:44 +05:30
Imran Shaik
adef50b937 ARM: dts: msm: Add compatible for CPUFREQ HW DEBUG node on MONACO
Add compatible string for CPUFREQ HW DEBUG node on MONACO platform.

Change-Id: Ib9e7b96e3cc0a0b5ffb779d8d7e5f47034f30325
Signed-off-by: Imran Shaik <quic_imrashai@quicinc.com>
2024-07-29 10:52:59 +05:30
Raviteja Laggyshetty
c7f0e45be6 ARM: dts: msm: Add interconnect devices for TUNA
Add interconnect devices for clk_virt_noc, mc_virt_noc,
aggre1_noc, aggre2_noc, cnoc_cfg_noc, cnoc_main_noc, gem_noc,
lpass_ag_noc, lpass_lpiaon_noc, lpass_lpicx_noc, mmss_noc,
nsp_noc, pcie_anoc and system_noc. This will allow consumers
to get their path and set bandwidth constraints on them.

Change-Id: I0f5946c8f529dd7716ab9890221b3a32c4a55570
Signed-off-by: Raviteja Laggyshetty <quic_rlaggysh@quicinc.com>
2024-07-27 20:43:53 +05:30
Pranav Mahesh Phansalkar
9b090db434 ARM: dts: qcom: Add aoss, aop and tme nodes for kera
Add devicetree nodes to enable qmp communication with aop and tme.

Change-Id: I4e30e6854fcb1d29ea3733d9d59bb01acfe6667b
Signed-off-by: Pranav Mahesh Phansalkar <quic_pphansal@quicinc.com>
2024-07-27 09:44:57 +05:30