Commit Graph

183 Commits

Author SHA1 Message Date
QCTECMDR Service
5786e16de3 Merge "ARM: dts: msm: Add usb-role-switch and eud on kera" 2025-01-02 05:43:34 -08:00
Priyansh Jain
3b62a4c338 ARM: dts: qcom: Add pmic die temp mitigation mapping for kera and tuna
Add pmic die temp mitigation mapping for kera and tuna.

Change-Id: I1ef3b8f4b775cd38b3c975ae47e4d90c640c30e1
Signed-off-by: Priyansh Jain <quic_priyjain@quicinc.com>
2024-12-31 01:58:31 -08:00
Uttkarsh Aggarwal
4f171bf25c ARM: dts: msm: Enable UCSI nodes for kera USB
To support cable detection events from UCSI, updates need to be made
to enable usb role switch and setting up a connection to the UCSI PMIC
glink node.

Change-Id: Ic3a848f882072a766b3efb872f943dd3f4220ba1
Signed-off-by: Uttkarsh Aggarwal <quic_uaggarwa@quicinc.com>
2024-12-31 12:05:50 +05:30
QCTECMDR Service
601e1716e8 Merge "ARM: dts: msm: enable QoS programming for KERA" 2024-12-30 12:30:34 -08:00
QCTECMDR Service
ee5804c0c7 Merge "ARM: dts: msm: Add support for cpufreq_hw node on KERA" 2024-12-29 23:25:19 -08:00
Swetha Chintavatla
ddb6fa1714 ARM: dts: msm: enable QoS programming for KERA
Enable QoS programming for kera and add necessary AXI and
AHB clock handles for programming QoS for USB, IPA and PCIE masters.

Change-Id: I51bcc6a841005b6daf8ab3f22a79e6704dc3b3ed
Signed-off-by: Swetha Chintavatla <quic_chintava@quicinc.com>
2024-12-28 06:14:15 -08:00
Wasim Nazir
cf4a2ab06a ARM: dts: msm: Add supply for remoteproc instances
Add supply for adsp/cdsp/modem instances.

Change-Id: I07d21eea5db9074c6fe952466ce2d9af88c3b4d7
Signed-off-by: Wasim Nazir <quic_wasimn@quicinc.com>
2024-12-27 12:49:47 +05:30
Ajit Pandey
6c751c7e73 ARM: dts: msm: Add support for cpufreq_hw node on KERA
Add support for cpufreq_hw and cpufreq_hw_debug nodes on kera platform.
While at it, set the default governor to performance on kera platform.

Change-Id: Id6fd146d3c80f686780591e5efa594bd76155bcd
Signed-off-by: Ajit Pandey <quic_ajipan@quicinc.com>
2024-12-25 22:30:29 +05:30
Anaadi Mishra
7037f12c76 ARM: dts: msm: Move the pcie_1 clocks to protected-clocks
Mark the pcie_1 clocks as protected and remove the pcie_1 gdsc
nodes.

Change-Id: I3102a52895a6531fb82a411bdb760073fc3c28f3
Signed-off-by: Anaadi Mishra <quic_anaadim@quicinc.com>
2024-12-25 22:30:13 +05:30
Anaadi Mishra
f28b0bdded ARM: dts: msm: Update gpucc node as GenPD provider
Mark gpucc clock node as GenPD provider and disable the
graphics GDSC regulator nodes.
While at it, keep the gdsc's as it is on rumi platform.

Change-Id: I91b4915723e26685e950de3ae575540ac3940036
Signed-off-by: Anaadi Mishra <quic_anaadim@quicinc.com>
2024-12-25 22:30:04 +05:30
QCTECMDR Service
27bac66d5d Merge "ARM: dts: msm: Update dispcc clock node as GenPD provider on Kera" 2024-12-25 02:41:15 -08:00
QCTECMDR Service
d2ebfa4670 Merge "ARM: dts: msm: Remove vm dma heaps dtsi for kera" 2024-12-24 17:04:49 -08:00
Vijayanand Jitta
0e53b492e5 ARM: dts: msm: Remove vm dma heaps dtsi for kera
The device tree for dma heaps on vm was incorrectly included.
so, remove it.

Fixes: 92398e011c ("ARM: dts: msm: Enable securemsm related nodes for kera")
Change-Id: Ib812725bedfd0510d6a998ecc83fe5df8619391c
Signed-off-by: Vijayanand Jitta <quic_vjitta@quicinc.com>
2024-12-24 18:29:46 +05:30
QCTECMDR Service
0c5c60b4fe Merge "ARM: dts: msm: Add pcie-pdc device for kera" 2024-12-24 03:03:42 -08:00
QCTECMDR Service
c8f55c5bd1 Merge "ARM: dts: msm: Fix for memory bootargs on kera" 2024-12-24 03:03:42 -08:00
Anaadi Mishra
fc794cac57 ARM: dts: msm: Update dispcc clock node as GenPD provider on Kera
Mark dispcc clock node as GenPD provider and disable the display GDSC
regulator nodes for kera platform.
While at it, keep the gdsc's as it is on kera-rumi platform and update
the compatible to align with freq plan.

Change-Id: If01f876b3d160cf5c1cfe6be13e3e4b42f62cfa6
Signed-off-by: Anaadi Mishra <quic_anaadim@quicinc.com>
2024-12-24 12:23:15 +05:30
Anaadi Mishra
8d7f1a22a8 ARM: dts: msm: Update videocc clock node as GenPD provider on Kera
Mark videocc clock node as GenPD provider and disable the video GDSC
regulator nodes for kera platform.
While at it, keep the gdsc's as it is on kera-rumi platform.

Change-Id: I4a41aacbaa7d144f72db48b9af3a336a92ef95aa
Signed-off-by: Anaadi Mishra <quic_anaadim@quicinc.com>
2024-12-24 12:23:15 +05:30
Anaadi Mishra
0a06675a87 ARM: dts: msm: Add support for RPMHCC and DEBUGCC on Kera platform
Add support for rpmh and debug clock controller nodes on Kera platform.
While at it, keep rpmhcc node as dummy for KERA rumi platform.

Change-Id: Ic11513d45bbc9b3f172a411f854a2348af4bfb94
Signed-off-by: Anaadi Mishra <quic_anaadim@quicinc.com>
2024-12-24 12:23:12 +05:30
Anaadi Mishra
202e2bbd82 ARM: dts: msm: Add support for graphics clock controller on KERA
Add support for GPU clock controller and move corresponding
gdsc's from dummy to real on Kera platform.
While at it, add the clocks property to camera and display gdscs.

Change-Id: If3061a7603035e799e7548f0e2a93b7ded0e3005
Signed-off-by: Anaadi Mishra <quic_anaadim@quicinc.com>
2024-12-23 21:33:11 +05:30
Sneh Mankad
3c56793f10 ARM: dts: msm: Add pcie-pdc device for kera
Add PCIe device to wakeup SoC from PCIe clk request gpio.

Change-Id: I6d1e3f123ac1fc6de30fc7ece6def57e44961103
Signed-off-by: Sneh Mankad <quic_smankad@quicinc.com>
2024-12-21 08:16:11 -08:00
QCTECMDR Service
598e55ab30 Merge "ARM: dts: qcom: Update HLOS Audio LPM memory region for kera" 2024-12-19 18:25:20 -08:00
Prasanna S
87876b303b ARM: dts: qcom: Update HLOS Audio LPM memory region for kera
Update the HLOS Audio LPM memory region for Kera to reflect
the updated Slimbus memory mapping.

Older Allocation:
HLOS Slimbus Driver : Address: 0x6C8E000 + 0x2000
Q6 Slimbus Driver : Address: 0x6C90000 + 0x2000
Remaining Memory for Audio Driver : From 0x6C80000 up to 56KB.

Updated Memory Layout:
HLOS Slimbus Driver: Address: 0x6C92000+ 0x2000
Q6 Slimbus Driver: Address: 0x6C91000 + 0x1000
Audio Driver: Remaining 68KB Memory.

Change-Id: I945fe7932ab8caa246bfca9cb1dcc02eb4bd903e
Signed-off-by: Prasanna S <quic_prass@quicinc.com>
2024-12-18 20:40:43 -08:00
Wasim Nazir
30c853eb89 ARM: dts: msm: Fix for memory bootargs on kera
Fix (4082b0db ARM: dts: msm: Update stdout-path with serial0 alias)
to re-enable (09b0fdef ARM: dts: msm: update kernel bootargs for kera).

While at it align the same bootargs on rumi files.

Change-Id: I032af3b9ea9a78418ef7360fc5d8b94885c6a8e6
Signed-off-by: Wasim Nazir <quic_wasimn@quicinc.com>
2024-12-16 01:31:24 -08:00
Manish Pandey
5f2a102d83 ARM: dts: msm: Add IOMMU geometry configuration to kera sdhc2
Add qcom,iommu-geometry property to the kera sdhc2 node.

Change-Id: I5c58288ce8b2bf21acd23bc0a0e606d09cd1a068
Signed-off-by: Manish Pandey <quic_mapa@quicinc.com>
2024-12-15 22:22:13 -08:00
QCTECMDR Service
3dbfc07979 Merge "ARM: dts: msm: Add memshare for Kera" 2024-12-11 22:01:56 -08:00
QCTECMDR Service
b8c06fccd8 Merge "ARM: dts: msm: Update pmic support for kera" 2024-12-11 22:01:56 -08:00
Fenil Panwala
ba56528079 ARM: dts: msm: Add memshare for Kera
Memshare driver allocates and share the memory with the modem
clients for their use. The device tree information for memshare
driver on tuna is added to specify client details.

Change-Id: I577cccac63d4aeb54dcf7a9470cd8672c6c016d4
Signed-off-by: Fenil Panwala <quic_fpanwala@quicinc.com>
2024-12-10 21:55:08 -08:00
QCTECMDR Service
33603dd1e0 Merge "ARM: dts: msm: Increase system cma size for kera" 2024-12-10 12:32:55 -08:00
Kavya Nunna
11e52c2729 ARM: dts: msm: Update pmic support for kera
1.Disable some pmic dt nodes/properties which are not required for kera.

2. update regulator voltage support for kera
as per latest HW recommendation.

3. Update i2c instance for kera for slave charger debug support.

Change-Id: Iebcf53837ff021db418fb2cbd16f1fb1ba494304
Signed-off-by: Kavya Nunna <quic_knunna@quicinc.com>
2024-12-10 17:37:56 +05:30
QCTECMDR Service
797c3c00d1 Merge "ARM: dts: qcom: Add thermal overlay support for kera and tuna" 2024-12-09 21:52:21 -08:00
Vijayanand Jitta
99725ac98c ARM: dts: msm: Increase system cma size for kera
Increase cma size by 4MB for use by memshare IMS usecase.
This is inline with sun.

Change-Id: I81f6da44aa02c00c895854d69dbd949b70f541ff
Signed-off-by: Vijayanand Jitta <quic_vjitta@quicinc.com>
2024-12-09 21:46:19 -08:00
Priyansh Jain
244a101b21 ARM: dts: qcom: Add thermal overlay support for kera and tuna
Add thermal overlay support for kera and tuna.

Change-Id: I87a87a173715e9d748e8bab7250d34530be03554
Signed-off-by: Priyansh Jain <quic_priyjain@quicinc.com>
2024-12-09 14:47:06 +05:30
QCTECMDR Service
e54311801d Merge "ARM: dts: msm: Disable mem-offline node" 2024-12-08 01:16:30 -08:00
QCTECMDR Service
efe0ce37e3 Merge "ARM: dts: msm: Remove CXM-UART2 reserevd GPIOs from kera" 2024-12-05 02:13:46 -08:00
QCTECMDR Service
50c6b2ff97 Merge "ARM: dts: msm: Add charger PMIC devices to kera" 2024-12-04 02:08:14 -08:00
QCTECMDR Service
9d30c27d4e Merge "ARM: dts: msm: Add ipcc_mproc_ns1 for kera TUIVM" 2024-12-04 02:08:14 -08:00
Vijayanand Jitta
2edfcbba9b ARM: dts: msm: Disable mem-offline node
Temporarily disable mem-offline node in tuna to resolve
bootup crash due to page allocation from movable zone.
The bad page state was reported for Movable zone

[ 84.281664][ T1622] BUG: Bad page state in process Jit thread pool pfn:a22bfe
[ 84.291750][ T1622] page:fffffffe268aff80 refcount:-1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0xa22bfe
[ 84.301978][ T1622] flags: 0x4000000000000000(zone=2|kasantag=0x0)
[ 84.312225][ T1622] page_type: 0xffffffff()
[ 84.342884][ T1622] page dumped because: nonzero _refcount
[ 84.385712][ T1622] page last allocated via order 0, migratetype Unmovable, gfp_mask 0x140dc2(GFP_HIGHUSER|GFP_COMP|GFP_ZERO),pid1462, tgid 1434 (binder:1434_1), ts 73871020589, free_ts 82485610563

<https://android-review.googlesource.com/c/kernel/common/+/3345971>
This fixes the bootup crash by TAO preventing page allocation
from movable zone but will land in QCOM branches through LTS.

Once landed revert back this temporary change.

Change-Id: Ibde1fab99236e3d44356ba412d53eac8da4cee03
Signed-off-by: Vijayanand Jitta <quic_vjitta@quicinc.com>
2024-12-04 15:37:48 +05:30
Wasim Nazir
65926860b5 ARM: dts: msm: Remove CXM-UART2 reserevd GPIOs from kera
Remove CXM UART2 GPIO(100,116) from list of reserved GPIOs
as it is not PORed.

Change-Id: I18eaacf40ce766dab0e2c546f62829a06384b84a
Signed-off-by: Wasim Nazir <quic_wasimn@quicinc.com>
2024-12-03 14:22:19 +05:30
QCTECMDR Service
aec3a135de Merge "ARM: dts: msm: Add oemvm qrtr gunyah node for kera" 2024-12-02 23:12:22 -08:00
QCTECMDR Service
5307057569 Merge "ARM: dts: msm: Add GLINK PKT nodes for kera" 2024-12-02 23:12:22 -08:00
Pranav Mahesh Phansalkar
a88842b772 ARM: dts: msm: Add qrtr gunyah tuivm node on kera SoC
Add qrtr gunyah tuivm node to enable communication between
PVM and TUIVM.

Change-Id: Ia81cca25f13d22f249350f5704264822c242123a
Signed-off-by: Pranav Mahesh Phansalkar <quic_pphansal@quicinc.com>
2024-12-02 21:15:04 -08:00
Pranav Mahesh Phansalkar
f2f6309548 ARM: dts: msm: Add oemvm qrtr gunyah node for kera
Add the nodes to enable qrtr communication between primary vm and
oemvm on kera.

This adds platform devices and vdevice descriptions to start the
qrtr gunyah transport on both primary vm and oemvm device trees. This
also adds the device tree node to configure qrtr as node id 21 on oem
vm.

Change-Id: Icdcfcb4872351df13561c2c6963f06094f46d8c6
Signed-off-by: Pranav Mahesh Phansalkar <quic_pphansal@quicinc.com>
2024-12-02 20:44:14 +05:30
Pranav Mahesh Phansalkar
80b0a9692b ARM: dts: msm: Add GLINK PKT nodes for kera
GLINK PKT provides a userspace interface to RPMSG GLINK through
character device node. Add the nodes and corresponding channel
devices to enable GLINK communication from userspace.

Change-Id: I2347b12c733459ead821db476e446fbde470c03a
Signed-off-by: Pranav Mahesh Phansalkar <quic_pphansal@quicinc.com>
2024-12-01 22:36:02 +05:30
QCTECMDR Service
3e0e327ce3 Merge "ARM: dts: msm: Remove duplicate reserved_memory nodes from Kera DT" 2024-12-01 03:34:32 -08:00
QCTECMDR Service
9dc9080fbd Merge "ARM: dts: msm: Add debug related nodes for Kera VM" 2024-12-01 03:34:32 -08:00
QCTECMDR Service
9748587c05 Merge "ARM: dts: msm: add remote debugger support" 2024-11-29 05:25:48 -08:00
Hrishabh Rajput
eaf9bf8863 ARM: dts: msm: Remove duplicate reserved_memory nodes from Kera DT
trust_ui_vm_mem and oem_vm_mem reserved memory nodes are added twice
for Kera. Remove one set of redundant nodes.

Change-Id: If17767b4f4dd6f75786bcb833eba6e10a34bc9ec
Signed-off-by: Hrishabh Rajput <quic_hrishabh@quicinc.com>
2024-11-29 17:23:20 +05:30
Hrishabh Rajput
3da6a3c42b ARM: dts: msm: Add debug related nodes for Kera VM
Add dmesg dumper and gunyah panic notifier nodes for Kera VM.

Change-Id: I476ae45395c297d04ba6ee0d4182551017cc71e7
Signed-off-by: Hrishabh Rajput <quic_hrishabh@quicinc.com>
2024-11-29 17:00:19 +05:30
Hrishabh Rajput
9e7a095af1 ARM: dts: msm: Add test nodes for Kera VMs
Add test nodes for Kera Trusted VM and OEMVM.

Change-Id: I8a5f22920a942df8e04818adee715d58abc74e04
Signed-off-by: Hrishabh Rajput <quic_hrishabh@quicinc.com>
2024-11-29 16:51:38 +05:30
Devender Kaushik
b39b006daa ARM: dts: msm: add remote debugger support
Add remote debugger device configuration. The Remote Debugger driver
allows a debugger running on a host PC to communicate with a remote
stub running on peripheral subsystems.

Change-Id: I23fa75b2f830a4877aafeeb3aa27d6d4275832ed
Signed-off-by: Devender Kaushik <quic_dkaushik@quicinc.com>
2024-11-28 21:44:08 +05:30