Commit Graph

26 Commits

Author SHA1 Message Date
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