Commit Graph

1921 Commits

Author SHA1 Message Date
Nitesh Kumar
acfc51f2dd ARM: dts: qcom: Remove sdpm clock driver support
Remove SDPM clock driver support from clarence gaming.
Remove cpu pause action on boot core.
Add cold temperature interrupt handling support in clarence.

Change-Id: I05da43e8a8e392f2bec8f425ac9750f559221953
Signed-off-by: Nitesh Kumar <quic_nitekuma@quicinc.com>
2024-08-22 22:53:04 -07:00
QCTECMDR Service
073b033833 Merge "ARM: dts: msm: Fix trust_ui_vm_mem alignment for Parrot" 2024-08-19 02:42:41 -07:00
QCTECMDR Service
ee84699fd2 Merge "ARM: dts: qcom: Add cold temperature mitigation cooling device" 2024-08-19 02:42:41 -07:00
QCTECMDR Service
30a6c6b4d7 Merge "ARM: dts: msm: Add platform_mpam slc node for sun" 2024-08-17 09:52:09 -07:00
QCTECMDR Service
63b45e34ec Merge "ARM: dts: msm: Add initial device tree for parrot/ravelin vm" 2024-08-17 06:34:05 -07:00
Nitesh Kumar
c6abca418a ARM: dts: qcom: Add cold temperature mitigation cooling device
Add cx regulator cooling device to handle cold interrupt case
in parrot, it gets activated when cold temperatures interrupt
triggers.

Change-Id: I75c350ac3b30304e97e7bb2f2450f197b0a34900
Signed-off-by: Nitesh Kumar <quic_nitekuma@quicinc.com>
2024-08-16 03:38:38 -07:00
QCTECMDR Service
a4b731a3d6 Merge "ARM: dts: qcom: Add Nodes for SLC MPAM support" 2024-08-14 03:25:38 -07:00
QCTECMDR Service
bf34df5bc6 Merge "ARM: dts: msm: Add a node for cpufreq cycle counter driver" 2024-08-13 22:14:21 -07:00
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
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
Avinash Philip
5993234e05 dt-bindings: Add new bindings for MPAM MSC
Binding document to support MPAM(Memory System Resource Partitioning
and Monitoring) MSC(Memory System Component) interface framework added
to support multiple MSC components. Currently SLC(System Level Cache)
MSC support integrated to MSC interface with API support to configure
SLC Capacity and monitors.

Change-Id: I866b0e8cd6106f86535baf004d25e81e406e3e12
Signed-off-by: Avinash Philip <quic_avinashp@quicinc.com>
2024-08-13 06:44:44 +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
Avinash Philip
13295ebc98 dt-bindings: arm: msm: qcom,llcc: Update property definitions
Vendor prefix qcom was updated for scid-heuristics properties.

Change-Id: I16c9e2197e348eac51d300258e482876bc51302e
Signed-off-by: Avinash Philip <quic_avinashp@quicinc.com>
2024-08-12 23:58:02 +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
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
QCTECMDR Service
acd9ab0bed Merge "ARM: dts: msm: Add support for camera clock controllers on Tuna" 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
Avinash Philip
f01e170291 dt-bindings: arm: msm: qcom,llcc: Add compatible for child node
Child node support for SCID heuristics compatible device.

Change-Id: Id1fb1e190181d39053dce629c6807262032744ad
Signed-off-by: Avinash Philip <quic_avinashp@quicinc.com>
2024-08-08 13:35:21 -07:00
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
QCTECMDR Service
e1668828f6 Merge "ARM: dts: msm: Add sw drv3 of disp_crm for sun" 2024-08-06 10:20:25 -07:00
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
QCTECMDR Service
c530fdee32 Merge "dt-bindings: interconnect: Add interconnect bindings for TUNA" 2024-08-06 02:48:58 -07:00
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
Patrick Daly
5a1d998abd dt-bindings: Document qcom,initial-movable-zone-size property
This property describes how large of a movable zone should be created
when the virtio_mem device probes.

Also, fix all errors reported by make dt_binding_check.

Change-Id: I487ad7592d54021ddbb3caddb20774d3e076c766
Signed-off-by: Patrick Daly <quic_pdaly@quicinc.com>
2024-08-05 16:27:18 -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
Huang Yiwei
0f6b6ee49a dt-bindings: Add new bindings for SLC MPAM
Add new bindings for SLC MPAM.

Change-Id: I21e19e73ff17916f84a25a52535e81ea97cae8d6
Signed-off-by: Huang Yiwei <quic_hyiwei@quicinc.com>
2024-08-04 18:45:53 -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