Commit Graph

2757 Commits

Author SHA1 Message Date
QCTECMDR Service
cf9561dbd6 Merge "ARM: dts: msm: Update platform DT for kera" 2024-12-05 19:49:51 -08:00
QCTECMDR Service
72dfbc75e0 Merge "ARM: dts: msm: update S1G regulator support for tuna atp" 2024-12-05 02:13:46 -08:00
QCTECMDR Service
9b8a1fabf8 Merge "ARM: dts: msm: Add entry for qrtr-mhi for Tuna" 2024-12-05 02:13:46 -08:00
QCTECMDR Service
0a54729aec Merge "ARM: dts: msm: Disable mem-offline node" 2024-12-05 02:13:46 -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
b58c0ddc08 Merge "ARM: dts: msm: Ignore dependencies on children by PM framework" 2024-12-05 02:13:46 -08:00
Wasim Nazir
93c85556b4 ARM: dts: msm: Update platform DT for kera
Separate common files and create module specific files.
Common platform changes should go into platform specific
common files like kera-mtp.dtsi & module specific changes
should go into corresponding module specific files like
kera-mtp-wcn7750-ufs4.dtsi.

Change-Id: Ib8b9fa2609d7dfd883a155af9ffc54ff1fc93d79
Signed-off-by: Wasim Nazir <quic_wasimn@quicinc.com>
2024-12-05 14:37:56 +05:30
Panicker Harish
edeaedb760 ARM: dts: msm: Ignore dependencies on children by PM framework
Change https://lore.kernel.org/all/20230525113034.46880-1-tony@atomide.com
registers serial core controller as a child of msm uart device.

Since child should suspend first, due to the child's auto suspend
delay (SERIAL_PORT_AUTOSUSPEND_DELAY_MS), additional 500msecs
delay is added during msm_geni_serial_runtime_suspend.

Added new dtsi flag 'qcom,suspend-ignore-children', to ignore
dependencies on children by runtime PM framework, this helps to
exit quickly from msm_geni_serial_runtime_suspend and save power.

Signed-off-by: Visweswara Tanuku <quic_vtanuku@quicinc.com>
Signed-off-by: Panicker Harish <quic_pharish@quicinc.com>
2024-12-04 17:19:22 +05:30
QCTECMDR Service
271a3520cb Merge "ARM: dts: msm: Update eUSB2 init sequence value as per ver 1.0.2 for Tuna" 2024-12-04 02:08:14 -08:00
QCTECMDR Service
5edaaa0e31 Merge "ARM: dts: msm: Add dma-heaps for VM Kera" 2024-12-04 02:08:14 -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
ac939ff03f Merge "ARM: dts: msm: Define maximum number of USB XHCI interrupters" 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
3058bd1549 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: I18b72d87168671987168f905d2e14d85f8b109fe
Signed-off-by: Vijayanand Jitta <quic_vjitta@quicinc.com>
2024-12-03 22:56:09 -08:00
Pranav Mahesh Phansalkar
6bca3a5fbc ARM: dts: msm: Add entry for qrtr-mhi for Tuna
Add entries to specify the dev-id, net-id and low-latency fields
to configure forwarding in qrtr-mhi transport for HMT and HSP.
Forwarding via APPS qrtr-mhi should be disabled in case of HMT
(dev-id:1107) since there's a direct MHI satellite path between
ADSP and WLAN, and should be enabled for HSP (dev-id:1103).

Change-Id: I2aa50121134eceff403f5dc3ad9588820963e05f
Signed-off-by: Pranav Mahesh Phansalkar <quic_pphansal@quicinc.com>
2024-12-03 21:50:31 -08:00
Kavya Nunna
aa40060f89 ARM: dts: msm: update S1G regulator support for tuna atp
Update S1G regulator support for tuna atp as it has kiwi
by default.

While at it, Disable some unused nodes for tuna spmi debug bus.

Change-Id: I28f697b11c4bd5cdaf3cfd0eaa0a9397b415e3fa
Signed-off-by: Kavya Nunna <quic_knunna@quicinc.com>
2024-12-03 03:08:59 -08:00
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
Uttkarsh Aggarwal
73854ea60f ARM: dts: msm: Update eUSB2 init sequence value as per ver 1.0.2 for Tuna
eUSB2 HPG revision 1.0.2 recommends to program eusb register
USB_PHY_CFG_CTRL_1 to be programmed to 0x00 on phy init.

Since this divergence is only applicable for specific version therefore
updating the override sequence with the appropriate value.

Change-Id: I132acac6eaa0f2c5a718b63a089ff995a6be17ab
Signed-off-by: Uttkarsh Aggarwal <quic_uaggarwa@quicinc.com>
2024-12-03 00:48:54 -08:00
QCTECMDR Service
95d75ef0a9 Merge "dt-bindings: Add bindings for tuna7 llcc" 2024-12-02 23:12:22 -08:00
QCTECMDR Service
aec3a135de Merge "ARM: dts: msm: Add oemvm qrtr gunyah node for kera" 2024-12-02 23:12:22 -08:00
QCTECMDR Service
e8dff2b711 Merge "ARM: dts: qcom: Add llcc support for tuna7" 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
QCTECMDR Service
04637c5f12 Merge "ARM: dts: msm: Adding all the relevant usb changes in kera" 2024-12-02 23:12:22 -08:00
Pranav Mahesh Phansalkar
58d15eeee5 ARM: dts: msm: Add ipcc_mproc_ns1 for kera TUIVM
Add ipcc_mproc_n1 device tree node and entries to enable IPCC and mbox
communication between TUIVM and CDSP SecurePD on kera TUIVM.

Change-Id: Ib06f11a0a8e218af0cd94288531f9789de9630d9
Signed-off-by: Pranav Mahesh Phansalkar <quic_pphansal@quicinc.com>
2024-12-02 21:39:20 -08:00
Pranav Mahesh Phansalkar
19fbf066ae ARM: dts: msm: Add nodes for qmsgq gunyah on kera
Add device nodes on kera oemvm and vm to enable qmsgq socket
communication over gunyah message queues.

Change-Id: Iaeeb89c70d613844133f4bb8a122a63967981089
Signed-off-by: Pranav Mahesh Phansalkar <quic_pphansal@quicinc.com>
2024-12-03 11:08:09 +05:30
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
Uttkarsh Aggarwal
6ee4081682 ARM: dts: msm: Adding all the relevant usb changes in kera
1. The high speed phy is required for USB to support HS
usecases. Add eusb node on tuna which includes the
necessary resources for the eusb phy to work.

2. Adds interconnects on KERA USB.

3. QMP phy is used for SS/SSP usb usecases as well as DP use cases
in a target. This change adds the basic resources required along
with the init sequence for functionality.

4. Adding the necessary audio node providing the necessary
resources of the qmi audio to get probed.

5. The GSI event buffers are required for the various GSI related
usecases which are excercised from the dwc3 glue driver.
Add the number of event buffers along with the register offsets
defined.

6. Adding a 4-byte register entry for tcsr_dyn-en-dis to enable/disable USB
dynamically from dwc3-msm-core.

Change-Id: Ia45a09d8d2a54e29ecd0811e97d71c6dd8eaecee
Signed-off-by: Uttkarsh Aggarwal <quic_uaggarwa@quicinc.com>
2024-12-02 01:48:48 -08:00
QCTECMDR Service
1af122e3b0 Merge "ARM: dts: qcom: Add socd and bcl support for pmih010x & pmiv010x" 2024-12-02 00:13:06 -08:00
QCTECMDR Service
b7a10c2860 Merge "ARM: dts: msm: add proxy properties to DSI supplies for Tuna" 2024-12-02 00:13:06 -08:00
QCTECMDR Service
7177a6990d Merge "ARM: dts: msm: Enable nb7vpq904m redriver on Tuna QRD platfrom" 2024-12-02 00:13:06 -08:00
Ravi Kumar Bokka
68eff5ba7e ARM: dts: msm: Add dma-heaps for VM Kera
adding dma-heaps for VM to validate QTVM platform test cases in kera.

Change-Id: I00d270165be4b0c4acecf7fc501d0ec35b459458
Signed-off-by: Ravi Kumar Bokka <quic_c_rbokka@quicinc.com>
2024-12-02 12:32:10 +05:30
Souradeep Chowdhury
b9531816c0 dt-bindings: Add bindings for tuna7 llcc
Add bindings for tuna7 llcc node.

Change-Id: Ic850db2a12a9ed7c8bb6f0ce18f5949213ac1ee8
Signed-off-by: Souradeep Chowdhury <quic_schowdhu@quicinc.com>
2024-12-01 22:14:33 -08:00
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
QCTECMDR Service
52c815da88 Merge "ARM: dts: msm: Update UFS PHY compatible for Kera SoC" 2024-11-29 05:25:48 -08:00
QCTECMDR Service
00182c20be Merge "ARM: dts: msm: Add a stub GPU node for kera" 2024-11-29 05:25:48 -08:00
QCTECMDR Service
773a25f282 Merge "ARM: dts: qcom: Enable UFS MCQ on Tuna platforms" 2024-11-29 05:25:48 -08:00
QCTECMDR Service
3b66c13343 Merge "ARM: dts: msm: Remove duplicate reserved_memory nodes from Tuna DT" 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
Uttkarsh Aggarwal
1040b85b03 ARM: dts: msm: Define maximum number of USB XHCI interrupters
DWC3 host and XHCI plat now communicates the maximum number of interrupters
the XHCI HCD will allocate.  Since platforms only require a limited number
of interrupters (i.e. 3) make sure XHCI doesn't allocate more than is
required.

Change-Id: I47ddfb603490afd2ab51d7c7fa9ecf844729eb62
Signed-off-by: Uttkarsh Aggarwal <quic_uaggarwa@quicinc.com>
2024-11-29 15:19:05 +05:30
QCTECMDR Service
97408563c6 Merge "ARM: dts: msm: Add dma-heaps for VM Tuna" 2024-11-29 00:46:00 -08:00
QCTECMDR Service
1b9831fca5 Merge "ARM: dts: msm: Add pcie, display and camera voter devices for TUNA" 2024-11-29 00:46:00 -08:00
Uttkarsh Aggarwal
b96b2b2d25 ARM: dts: msm: Enable nb7vpq904m redriver on Tuna QRD platfrom
Add nb7vpq904m related configurations including i2c device,
pinctrl, gpio and register sequences.

Change-Id: I7352cee2cc95830e4d6a3ee5859e0cb4bbaf39c7
Signed-off-by: Uttkarsh Aggarwal <quic_uaggarwa@quicinc.com>
2024-11-29 11:27:47 +05:30
Manish Pandey
3a9122b108 ARM: dts: qcom: Enable UFS MCQ on Tuna platforms
Enable the UFS MCQ feature on the Tuna platforms.

Change-Id: I0f420831e9af2c3965344c33a042b75196abc1d7
Signed-off-by: Manish Pandey <quic_mapa@quicinc.com>
2024-11-28 23:00:28 +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