Commit Graph

218 Commits

Author SHA1 Message Date
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
Sayantan Chakraborty
332c4d4778 ARM: dts: msm: Add MPAM,NOC BW MPAM node for Kera
Add device nodes for MPAM,NOC BW MPAM node for
Kera.

Change-Id: I9c366e7460cbe23f1646026c77755c2ab93faa61
Signed-off-by: Sayantan Chakraborty <quic_saycha@quicinc.com>
2024-12-15 01:45:56 +05:30
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
Harshitha Sai Neelati
49ec475620 ARM: dts: msm: Add a stub GPU node for kera
Some devices refer to the GPU node that is populated in a GPU
overlay file. Provide a stub GPU dt node that can be used in the
kera devicetree.

Change-Id: Ic75d95521e0388a2c5617cf4b5fcfe82a0d9496e
Signed-off-by: Harshitha Sai Neelati <quic_hsaineel@quicinc.com>
2024-11-28 15:14:49 +05:30
QCTECMDR Service
9b93498e07 Merge "ARM: dts: qcom: Add cpufreq cycle counter for kera" 2024-11-26 15:54:59 -08:00
QCTECMDR Service
713e0d3d93 Merge "ARM: dts: msm: Adding SMMU Proxy for Kera" 2024-11-26 04:37:19 -08:00
Kavya Nunna
2ec17450f0 ARM: dts: msm: Add charger PMIC devices to kera
Add charger PMIC changes to the kera variants.

While at it add ADC channels for pmic_glink_adc and
debug channels for pmic_glink_debug for kera platforms.

Change-Id: Iab9f94b44eca9365b84bc78c2666e4f66a344455
Signed-off-by: Kavya Nunna <quic_knunna@quicinc.com>
2024-11-26 03:55:25 -08:00
Atul Pant
91ac0fb4e5 ARM: dts: qcom: Add cpufreq cycle counter for kera
Add cpufreq cycle counter register information to devicetree in a
separate node.

Change-Id: Ib9c21300cda585d4f25be12cb9527d719eb630ea
Signed-off-by: Atul Pant <quic_atulpant@quicinc.com>
2024-11-26 11:23:23 +05:30
QCTECMDR Service
4616cbfc2b Merge "ARM: dts: msm: Add SDCC support for kera" 2024-11-25 19:07:42 -08:00
QCTECMDR Service
8448614849 Merge "dt-bindings: soc: qcom: Add documentation for ufs-phy-qmp-v4-niobe" 2024-11-25 19:07:42 -08:00
QCTECMDR Service
f22050cf26 Merge "ARM: dts: msm: Add pinctrl support on Kera VM" 2024-11-25 15:19:02 -08:00
QCTECMDR Service
c13bdbe1b3 Merge "ARM: dts: msm: Update stdout-path with serial0 alias" 2024-11-25 04:11:05 -08:00
QCTECMDR Service
3ef28c69f8 Merge "ARM: dts: msm: Configure QoS and shared_ice for kera UFS" 2024-11-25 04:11:05 -08:00
Manish Pandey
e5af4b755e ARM: dts: msm: Update UFS_RESET pin for kera
Commit e3eceb0 (pinctrl:qcom:Add support for Kera SoC in pin control)
updates the UFS_RESET pin from 184 to 185. This commit updates kera
UFS 'reset-gpios' to 185 to ensure proper functioning of UFS.

Change-Id: I9b850a7c997303b467b6fea4a64bc19ec3e6372c
Signed-off-by: Manish Pandey <quic_mapa@quicinc.com>
2024-11-25 15:18:03 +05:30
Manish Pandey
c9b972e848 ARM: dts: msm: Add SDCC support for kera
Add SD Card support for tuna atp, cdp, mtp, rcm and qrd platform.

Change-Id: Iedace83cae3100624b4694845c4747994eb08f80
Signed-off-by: Manish Pandey <quic_mapa@quicinc.com>
2024-11-25 15:06:02 +05:30
Hrishabh Rajput
508b6dea79 ARM: dts: msm: Add pinctrl support on Kera VM
Add pinctrl support on Kera VM.

Change-Id: I7570749ffb8dd2048917498759eac241f4233abf
Signed-off-by: Hrishabh Rajput <quic_hrishabh@quicinc.com>
Signed-off-by: Pavankumar Kondeti <quic_pkondeti@quicinc.com>
2024-11-25 11:12:36 +05:30
Wasim Nazir
4082b0db86 ARM: dts: msm: Update stdout-path with serial0 alias
Use alias to reduce dev mistake of not using
proper path for serial console.

Change-Id: Ie588cc39b8f9e167b323abb9901114b547c278fc
Signed-off-by: Wasim Nazir <quic_wasimn@quicinc.com>
Signed-off-by: Mukesh Ojha <quic_mojha@quicinc.com>
2024-11-23 00:17:34 +05:30
QCTECMDR Service
2f4241ee98 Merge "ARM: dts: msm: kera: Add capacity and DPC properties" 2024-11-22 09:11:29 -08:00