Commit Graph

43 Commits

Author SHA1 Message Date
Mukesh Ojha
8e39e7601f ARM: dts: msm: Mention class cpus as cpu phandles for sun/pineapple
Remove the hard coded class cpus and replace them with their
phandles.

Change-Id: I283ac79d64d945e12477f61a67b058574bde7031
Signed-off-by: Mukesh Ojha <quic_mojha@quicinc.com>
2024-07-22 22:40:36 -07:00
Manish Pandey
58f53c4529 ARM: dts: msm: Add UFS ESI CPU mask for pineapple
Add CPUs for each CQ in qcom,esi-affinity-mask.

Change-Id: I0f19b4b162f91f5a9e6a194fcb194fed4902fce4
Signed-off-by: Manish Pandey <quic_mapa@quicinc.com>
2024-06-28 04:52:57 -07:00
Patrick Daly
840ca8a672 ARM: dts: msm: Add qcom,msgq-names property on pineapple
Probe of mem-buf device fails unless this property is present.

Fixes: c811ad67a6 ("ARM: dts: msm: Add support for mem-buf-msgq between oemvm and pvm")
Change-Id: I8ec7302fb79f554edf20e55b2d15ae61486f6d0c
Signed-off-by: Patrick Daly <quic_pdaly@quicinc.com>
2024-06-13 12:51:06 -07:00
Manish Pandey
b3aca64a14 ARM: dts: qcom: Enable UFS MCQ on Pineapple platforms
Enable the UFS MCQ feature on the Pineapple platforms.

Change-Id: I205f0c0444d5579333cac28a504a89985b95b469
Signed-off-by: Manish Pandey <quic_mapa@quicinc.com>
2024-05-30 23:30:21 -07:00
qctecmdr
1114e90d02 Merge "ARM: dts: msm: add ufs wrapped key support to pineapple" 2024-05-21 22:13:48 -07:00
qctecmdr
d449e86e8d Merge "ARM: dts: msm: save 2M vmemmap of memory on pineapple and sun" 2024-05-21 15:47:49 -07:00
Gaurav Kashyap
be93ae4eca ARM: dts: msm: add ufs wrapped key support to pineapple
Add support for ice wrapped keys to the UFS DTSI entry
on pineapple targets.

Change-Id: I3e04b07438b3859ef7e1545b73d0361406948aa2
Signed-off-by: Gaurav Kashyap <quic_gaurkash@quicinc.com>
2024-05-21 10:10:26 -07:00
Patrick Daly
7a1837b93e ARM: dts: msm: save 2M vmemmap of memory on pineapple and sun
There is 16K of DDR in a section memory and the rest is carveout in a
memory region [0x98000000 a0000000).  As section size is 128M, which
require 2M of memmap. Lose this 16K to save (2M - 16K) of memory.

Change-Id: Ibca933768e89a978b97fe37a07938a08141d2e87
Signed-off-by: Patrick Daly <quic_pdaly@quicinc.com>
2024-05-17 13:39:10 -07:00
Huang Yiwei
647c86e751 ARM: dts: msm: Remove MPAM node for pineapple
New MPAM driver is not compatible with pineapple, so remove
MPAM node for pineapple.

Change-Id: I365a12057dfa0f8e8b609d2ad36793354119ac43
Signed-off-by: Huang Yiwei <quic_hyiwei@quicinc.com>
2024-05-14 10:18:05 +08:00
Minghao Zhang
9de5032b87 ARM: dts: msm: Add CRMV regs pcie and camera on pineapple
CRMV regs have status captured for various commands/voltage levels.
Map CRMV registers in device so that driver can dump when required.

Change-Id: I69558336a81ae3f89140ebaf515528dd15ca66e9
Signed-off-by: Maulik Shah <quic_mkshah@quicinc.com>
Signed-off-by: Minghao Zhang <quic_minghao@quicinc.com>
2024-05-07 14:59:17 +08:00
Mukesh Ojha
04f005dbd8 ARM: dts: msm: Drop redundant signal-aop property for both pineapple/Sun
signal-aop is an redundant property and is not being used in pas
driver and used only in qcom_spss driver however, it is an redundant
property. Drop this property and let qcom_spss manage does necessary
change to live without it.

Change-Id: If7016f281c753a38f9f1c4b35238de5a96db4c89
Signed-off-by: Mukesh Ojha <quic_mojha@quicinc.com>
2024-03-22 23:41:09 +05:30
Mukesh Ojha
561adf361b ARM: dts: msm: Enable ftrace in minidump for Sun/Pineapple
Add ftrace_dump_on_oops in kernel cmdline to enable capture
of ftrace in minidump for pineapple/sun SoCs.

Change-Id: I1d07d01dbd5f4240f12eba53a252ec8941262623
Signed-off-by: Mukesh Ojha <quic_mojha@quicinc.com>
2024-02-21 03:21:01 -08:00
quic_anane
ce6a542ad5 ARM: dts: msm: pineapple: Remove fastrpc glink node
FastRPC node is added under glink node to provide intent
information. With fastrpc driver migrating to upstream
driver, this property will be overlayed from out of
kernel. Also update glink label for cdsp.

Change-Id: Id1e3aa0ebf13a894a9420c8a97f195bd906c4f7f
Signed-off-by: quic_anane <quic_anane@quicinc.com>
2024-01-29 04:09:57 -08:00
Unnathi Chalicheemala
e9608835b6 ARM: dts: msm: Add LLCC broadacst register mappings on Pineapple
Add mappings for LLCC Broadcast_OR, Broadcast_AND regions on
Pineapple SoC.

Change-Id: Ic807d4e5c8e84b94957336acf71c98a6b870782f
Signed-off-by: Unnathi Chalicheemala <quic_uchalich@quicinc.com>
2024-01-16 15:17:46 -08:00
Mukesh Ojha
65dbcea72c ARM: dts: msm: remove dload,mode device for both pineapple/Sun
qcom,dload-mode platform device is created from scm driver on
scm driver probe and now there is no need to maintain their
device tree node in SoC specific device tree.

Change-Id: Id79e5f67c57940b37bdfa151c90a9e1b02eb8192
Signed-off-by: Mukesh Ojha <quic_mojha@quicinc.com>
2023-12-28 17:11:25 +05:30
Mukesh Ojha
e6235a7c09 ARM: dts: msm: put dependency of dma-heap on SCM
Enforce dependency of dma heap driver on SCM driver
without which it will not work and this is in
the preparation of adding interconnect voting
in SCM node which if it gets added without this
change dma heap driver can result in NULL pointer
issue.

Change-Id: I654e69398643b2e78d180c7167b29b62e7914f77
Signed-off-by: Mukesh Ojha <quic_mojha@quicinc.com>
2023-12-22 02:56:55 -08:00
Mukesh Ojha
48a34fba6b ARM: dts: msm: Remove some redundant bootargs from pineapple
There are some bootargs are redundant and unnecessary getting
carried from older target they are useless and need not be
carried on current targets like service_locator.enable=1.
While some like ftrace_dump_on_oops need to be enable when
minidump gets enabled.

Change-Id: Ib73d1cb7f7e2242dd52524520164c3c89b79083e
Signed-off-by: Mukesh Ojha <quic_mojha@quicinc.com>
2023-12-07 12:12:27 +05:30
Sai Harshini Nimmala
21dbaa2e2c ARM: dts: msm: Add a node for cpufreq cycle counter driver
Add cpufreq cycle counter register information to devicetree in a
separate node for use by associated driver.

Change-Id: If1b45003a1ce4faca372db2954293493bc45bbb6
Signed-off-by: Sai Harshini Nimmala <quic_snimmala@quicinc.com>
2023-11-12 10:22:45 -08:00
qctecmdr
7387cd6f99 Merge "ARM: dts: msm: Allow memory from lower 4G for adsp/cdsp/modem" 2023-11-06 17:25:16 -08:00
qctecmdr
2266fdd708 Merge "ARM: dts: msm: gunyah: Add msgq,dbl,irq test node for pineapple" 2023-11-06 17:25:15 -08:00
Meena Pasumarthi
909b17e5d0 ARM: dts: msm: gunyah: Add msgq,dbl,irq test node for pineapple
1. Add message-queue, doorbell test node to pineapple.dtsi,
   pineapple-vm.dtsi, pineapple-oemvm.dtsi.
2. Add irq lend test node to pineapple.dtsi and pineapple-vm.dtsi.
3. These nodes validate hypervisor message-queue,doorbell and
   irq lend functionalities respectively.

Change-Id: Iff5d8652b55c3d32adf92b3c16e501e85db75a49
Signed-off-by: Meena Pasumarthi <quic_pasumart@quicinc.com>
2023-11-06 11:42:35 +05:30
Mukesh Ojha
851140def4 ARM: dts: msm: Allow memory from lower 4G for adsp/cdsp/modem
For VM bootup the scm device needs to have memory from above 4GB, but for
PIL boot the Metadata memory needs to be limited to 32 bit. This is
because the authentication software for the metadata in the secure world
works with only 32 bit addresses. Add support for only 32 bit addresses
for PIL and memory from anywhere for other memory allocation from SCM
device.

Currently, this is being enabled for ADSP/CDSP/MSS however, this limitation
 was applicable only for modem and not with ADSP/CDSP but there was some
issue observed with above 4G addresses allocated for ADSP/CDSP and it
was analyzed that it could be only issue on emulation platform and will
not observed on Silicon. So, we could revert this change for ADSP/CDSP
if the issue is not observed on Silicon.

Change-Id: I398158a76207f4ef43770ed60210d1f155263850
Signed-off-by: Mukesh Ojha <quic_mojha@quicinc.com>
2023-11-02 10:48:42 +05:30
Satya Durga Srinivasu Prabhala
63b5b62c9b ARM: dts: msm: add Modem DSM region info to IMEM
IMEM gets updated with Modem DSM memory region info when Modem taken out
of reset by APPS and the info is used for collection of coredumps.

Change-Id: I313d374772bcc95495e9965b7fa1f455ac36a82a
Signed-off-by: Satya Durga Srinivasu Prabhala <quic_satyap@quicinc.com>
2023-11-01 11:30:09 -07:00
qctecmdr
432ded0756 Merge "ARM: dts: msm: Add clock phandles for debugcc on Pineapple" 2023-10-31 16:15:16 -07:00
qctecmdr
76c3ffc776 Merge "ARM: dts: msm: Add mem-offline device for sun" 2023-10-31 16:15:15 -07:00
Mike Tipton
0ebf20c3c5 ARM: dts: msm: Add clock phandles for debugcc on Pineapple
These clock phandles are necessary to ensure the clock devices probe
before debugcc. Debugcc needs its parent clock devices to probe first,
otherwise it'll invalidate their associated mux_sels during
clk_debug_mux_init() and they can't be measured.

Change-Id: I30d1a9e24ae1ac5a9efc7d8f8e0740ebdce8e1b0
Signed-off-by: Mike Tipton <quic_mdtipton@quicinc.com>
2023-10-24 19:27:23 -07:00
Patrick Daly
9b676ba16e ARM: dts: msm: Add mem-offline device for sun
Describe the communication channel used to communicate with the
firmware which supports onlining and offlining of memory.

Keep the device in a disabled state for now until a conflict
between THP and memory-hotplug features can be resolved.

Change-Id: I3d74d9d3d58d379b2a91ee976a72dddfb7a221c6
Signed-off-by: Patrick Daly <quic_pdaly@quicinc.com>
2023-10-24 13:14:52 -07:00
qctecmdr
210bd6a5b0 Merge "ARM: dts: qcom: pineapple: spss: Remove duplicate node" 2023-10-24 09:15:47 -07:00
qctecmdr
aca7538a7a Merge "ARM: dts: qcom: pineapple: Update the remoteproc DT for pineapple Soc" 2023-10-16 17:04:15 -07:00
Gokul krishna Krishnakumar
c74ff91ab3 ARM: dts: qcom: pineapple: spss: Remove duplicate node
There were 2 entries for spss, remove one.

Change-Id: Ia7aae336809953377f9a9da6457289262fb2524a
Signed-off-by: Gokul krishna Krishnakumar <quic_gokukris@quicinc.com>
2023-10-12 00:52:25 -07:00
Gokul krishna Krishnakumar
52826bae6e ARM: dts: qcom: pineapple: Update the remoteproc DT for pineapple Soc
Adding the firmware name and updating the additional memory assign node
for remoteproc's to be compatible with the driver.

Change-Id: I3787fd0c97c039821a91e15bc6e554caccf071a8
Signed-off-by: Gokul krishna Krishnakumar <quic_gokukris@quicinc.com>
2023-10-11 16:44:34 -07:00
qctecmdr
84b64338d0 Merge "ARM: dts: qcom: Adding msm_sharedmem DT entry for lanaiDevSp" 2023-10-11 14:58:57 -07:00
qctecmdr
1523c85584 Merge "ARM: dts: qcom: Update pmic_glink device compatible string for pineapple" 2023-10-10 10:25:56 -07:00
qctecmdr
fa5f0ba24f Merge "ARM: dts: msm: Enable tlmm VM mem nodes for Pineapple" 2023-10-10 10:25:56 -07:00
Marc Guillaume
1006b28674 ARM: dts: qcom: Adding msm_sharedmem DT entry for lanaiDevSp
LanaiDevSp counterpart of following change:
commit d678c24cfe ("ARM: dts: qcom: Adding msm_sharedmem DT entry").

Change-Id: I52fe8cf5e2d2a2e85562a5cf9e8eed971d3c600d
Signed-off-by: Marc Guillaume <quic_mguillau@quicinc.com>
2023-10-04 11:31:15 -07:00
Unnathi Chalicheemala
d9c5c5ed56 ARM: dts: msm: Fix the base addresses of LLCC banks for Pineapple SoC
Based on upstream commit ee13b50 ("qcom: llcc/edac: Fix the base address
used for accessing LLCC banks"), the devicetree needs to be updated with
LLCC bank 0 through 3, instead of just the start LLCC bank 0 and the end
LLCC broadcast.

Change-Id: I7c2b62697721074660c6b7371e0d2b1bf195ba5d
Signed-off-by: Unnathi Chalicheemala <quic_uchalich@quicinc.com>
2023-10-04 09:25:59 -07:00
Hrishabh Rajput
87fdadbcb4 ARM: dts: msm: Enable tlmm VM mem nodes for Pineapple
Enable tlmm VM mem access device tree nodes for Pineapple.

Change-Id: I2bfbc22e8f9e933e3d0ec419b3fa67ff89b4fdad
Signed-off-by: Hrishabh Rajput <quic_hrishabh@quicinc.com>
2023-09-28 14:54:46 +05:30
Meena Pasumarthi
02930b3391 ARM: dts: msm: Add base TUIVM and OEMVM for Pineapple
Add base TUIVM and OEMVM device tree support for all Pineapple platforms.

Change-Id: I7c3cc2112e122f25a2f0b573128e8fdfb86975c5
Signed-off-by: Meena Pasumarthi <quic_pasumart@quicinc.com>
Signed-off-by: Hrishabh Rajput <quic_hrishabh@quicinc.com>
2023-09-25 09:49:10 +05:30
Gokul krishna Krishnakumar
db32d03865 ARM: dts: qcom: Add crmb/crmc to cesta device for pineapple
Add crmb and crmc register space for cesta devices on pineapple.

Change-Id: Ia8ec195ca1683e652b31a5daa2ab271e8bcec321
Signed-off-by: Gokul krishna Krishnakumar <quic_gokukris@quicinc.com>
2023-09-20 14:28:36 -07:00
Subbaraman Narayanamurthy
f07fa996b6 ARM: dts: qcom: Update pmic_glink device compatible string for pineapple
Since we use downstream pmic_glink drivers, use the right compatible
string for pmic_glink devices on pineapple to support battery
management.

Change-Id: Ia6375ec2c938149dd31ae073b906b1c09b37b21e
Signed-off-by: Subbaraman Narayanamurthy <quic_subbaram@quicinc.com>
2023-09-18 17:21:51 -07:00
Patrick Daly
410c7ae956 ARM: dts: qcom: Update memory map to V6
Update memory map to V6, from a baseline of V4.

Change-Id: I167de96b3a2f199188a4d8c995aa49ef6b83fee1
Signed-off-by: Patrick Daly <quic_pdaly@quicinc.com>
2023-08-15 11:51:49 -07:00
Mukesh Ojha
335d933823 ARM: dts: msm: Enable dma heap headers for pineapple
Enable dma heap headers which was commented due to unmet
dependencies.

Change-Id: I46b380ff564a602cb85826407c76bf7c9324f50c
Signed-off-by: Mukesh Ojha <quic_mojha@quicinc.com>
2023-07-25 11:56:10 +05:30
Mukesh Ojha
e9b9d27ee3 ARM: dts: msm: Add snapshot of pineapple device tree
Add snapshot of pineapple device tree files as of devicetree/qcom-6.1
commit 8bc1219b2b23 ("Merge "ARM: dts: msm: update memlat tables for
pineapple"").

Change-Id: If62ee45b1f3e7e8a5744f25b8c67a9768950c960
Signed-off-by: Mukesh Ojha <quic_mojha@quicinc.com>
2023-05-25 18:34:55 +05:30