Commit Graph

2987 Commits

Author SHA1 Message Date
Vijayanand Jitta
45cfaa8fde ARM: dts: msm: Add power domain and interconnect for kgsl-smmu
Replace regulators with per-device genpd power domain and
add interconnect for kgsl-smmu on kera.

Change-Id: Ifcb5f866a49383b502ca9c39148fc20de46ac588
Signed-off-by: Vijayanand Jitta <quic_vjitta@quicinc.com>
2024-12-27 23:20:53 +05:30
Saranya R
fe3e98a245 ARM: dts: msm: Add Gaming variant soc-id for Ravelin VM
Add Gaming variant soc-id for Ravelin VM.

Change-Id: Ied6054a00e75e8f66572fcbae07468720c3f46d5
Signed-off-by: Saranya R <quic_sarar@quicinc.com>
2024-12-20 14:45:46 +05:30
Shivangi Kesharwani
396a58be1e ARM: dts: msm: added secure indicator UID
Added secure indicator UID in dts to provide access.

Signed-off-by: Shivangi Kesharwani <quic_skesharw@quicinc.com>
2024-12-20 14:44:09 +05:30
Prakash Yadachi
bcbf7bff43 ARM: dts: msm: Update static gpii mask for ravelin-vm
Currently, the static gpii mask for gpi_dma0 is incorrectly
set to 0x20, which is resulting in i2c read failure.

To prevent this i2c read failure, the static gpii mask
value for gpi_dma0 needs to be updated to 0x40.

'Fixes: 5d97d9eda4527 ("ARM: dts: msm: Add memory and clock
support for vm ravelin")'.

Change-Id: Id407264ac1d02d3bce0ebe4eba1c152f003d0db6
Signed-off-by: Prakash Yadachi <quic_pyadachi@quicinc.com>
2024-12-20 14:43:43 +05:30
Vishvanath Singh
356fe2b276 ARM: dts: msm: disable cpusys_vm
Change-Id: I8569f7eee92efee0289404fde2a9bfe96d121f73
Signed-off-by: Vishvanath Singh <quic_vishvana@quicinc.com>
2024-12-17 22:37:29 +05:30
Anaadi Mishra
f1b5000041 ARM: dts: msm: Update the gcc and display clock controllers to tuna-v1
Update the gcc and display clock controllers to tuna-v1.

Change-Id: Ib5ac5396315cdb876ad9d330f500b7c173c95259
Signed-off-by: Anaadi Mishra <quic_anaadim@quicinc.com>
2024-12-17 22:37:14 +05:30
Fenil Panwala
45ca3e5e38 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-17 22:37:04 +05:30
Kavya Nunna
766a223ba5 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-17 22:36:55 +05:30
Uttkarsh Aggarwal
5b8fceb52e ARM: dts: msm: Add eUSB2 repeater nodes for kera
Add the eUSB2 repeater node and references for PM7550BA and
PMIV010x.

pm7550ba -> ATP and MTP.
pmib010x -> QRD and CDP.

Change-Id: If971486537915c1f3b8e13a66d294e1fef2596cd
Signed-off-by: Uttkarsh Aggarwal <quic_uaggarwa@quicinc.com>
2024-12-17 22:36:45 +05:30
Wasim Nazir
4e88bb2a4d ARM: dts: msm: Update bootargs for kera pre-sil
Update bootargs to make it compatible
with pre-sil.

Change-Id: Ifed16d126603556a1a4e11e4ce4a630d8a50c978
Signed-off-by: Wasim Nazir <quic_wasimn@quicinc.com>
2024-12-17 22:36:35 +05:30
Vijayanand Jitta
6cfcc875bc 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-17 22:36:21 +05:30
Vijayanand Jitta
72e6574431 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-17 22:36:12 +05:30
Manish Pandey
59ba2b6609 ARM: dts: msm: Add ufs shutdown power supply for tuna
Add ufs proxy power supply to add an additional vote for VCCQ LDO.
In case of ufs shutdown, UFS VCCQ LDO would be turned off by PMIC
regulator itself.

Change-Id: I210474d8856f8b1160cc707db17898b1c0403093
Signed-off-by: Manish Pandey <quic_mapa@quicinc.com>
2024-12-17 22:36:02 +05:30
Niranjan Reddy Dumbala
0cb1ee4c31 Revert "ARM: dts: msm: Add eUSB2 repeater nodes for tuna"
This reverts commit a121d96ca2.

Signed-off-by: Niranjan Reddy Dumbala <quic_dnreddy@quicinc.com>
2024-12-17 22:34:20 +05:30
Niranjan Reddy Dumbala
7f2cb033d8 Revert "ARM: dts: msm: Add eUSB2 repeater nodes for Tuna MTP"
This reverts commit b9bc6af5a6.

Signed-off-by: Niranjan Reddy Dumbala <quic_dnreddy@quicinc.com>
2024-12-17 22:33:09 +05:30
Linux Build Service Account
a15cc3e3cd Merge "Merge commit 'cf9561dbd68ba8950b3db10ccde96dbff27901dd' into kernel.lnx.6.6.r1-rel" into kernel.lnx.6.6.r1-rel 2024-12-15 03:53:11 -08:00
Linux Build Service Account
dd9f15d817 Merge "Revert "ARM: dts: msm: Add MPAM,NOC BW MPAM node for Tuna"" into kernel.lnx.6.6.r1-rel 2024-12-15 03:53:11 -08:00
Linux Build Service Account
82f6e32915 Merge "Revert "ARM: dts: msm: Update RPMH regulator voltages for tuna"" into kernel.lnx.6.6.r1-rel 2024-12-15 03:53:10 -08:00
Niranjan Reddy Dumbala
85557b97d2 Merge commit 'cf9561dbd68ba8950b3db10ccde96dbff27901dd' into kernel.lnx.6.6.r1-rel
Signed-off-by: Niranjan Reddy Dumbala <quic_dnreddy@quicinc.com>
2024-12-15 17:02:48 +05:30
Niranjan Reddy Dumbala
3a10187308 Revert "ARM: dts: msm: Add MPAM,NOC BW MPAM node for Tuna"
This reverts commit 0a2767607c.

Signed-off-by: Niranjan Reddy Dumbala <quic_dnreddy@quicinc.com>
2024-12-15 16:56:13 +05:30
Niranjan Reddy Dumbala
d717d00abb Revert "ARM: dts: msm: Update RPMH regulator voltages for tuna"
This reverts commit 0d4f3b931f.

Signed-off-by: Niranjan Reddy Dumbala <quic_dnreddy@quicinc.com>
2024-12-15 16:55:54 +05:30
Niranjan Reddy Dumbala
edc5cce66c Revert "Revert "ARM: dts: msm: remove always-on for hap-swr-slave regulator""
This reverts commit dbf70c1d33.

Signed-off-by: Niranjan Reddy Dumbala <quic_dnreddy@quicinc.com>
2024-12-15 16:47:40 +05:30
Linux Build Service Account
7c4a6713f2 Merge "Revert "ARM: dts: msm: Add soccp node for Tuna"" into kernel.lnx.6.6.r1-rel 2024-12-12 23:52:27 -08:00
Linux Build Service Account
220c95d856 Merge "Revert "ARM: dts: msm: Disable mem-offline node for tuna"" into kernel.lnx.6.6.r1-rel 2024-12-12 23:52:27 -08:00
Linux Build Service Account
89a5d3bddb Merge "Revert "bindings: remoteproc: Add soccp remoteproc binding for Tuna"" into kernel.lnx.6.6.r1-rel 2024-12-12 23:52:27 -08:00
Rohit Jadhav
8632cfd871 Revert "ARM: dts: msm: Disable mem-offline node for tuna"
This reverts commit 072f63f263.

Reason for revert: ACtual fix will come through upmerge change : 5641321

Change-Id: Ia897e14d843fb0164b80e720faa88c67076f2541
Signed-off-by: Rohit Jadhav <quic_rbjadhav@quicinc.com>
2024-12-12 23:21:11 -08:00
Rohit Jadhav
33e85c82a3 Revert "ARM: dts: msm: Add soccp node for Tuna"
This reverts commit 8354671925.

Reason for revert: Reverting SOCCP changes from R1

Change-Id: I29c6a62c47349a787d09b91746d4dbf7dd0be895
Signed-off-by: Rohit Jadhav <quic_rbjadhav@quicinc.com>
2024-12-12 23:09:20 -08:00
Rohit Jadhav
af5c34a823 Revert "bindings: remoteproc: Add soccp remoteproc binding for Tuna"
This reverts commit ae8f7f9ec5.

Reason for revert: Reverting SOCCP changes from R1

Change-Id: Iad9451e38e37d634774369c725bf06384bab9df6
Signed-off-by: Rohit Jadhav <quic_rbjadhav@quicinc.com>
2024-12-12 23:07:31 -08:00
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
Linux Build Service Account
f5f8cbe29e Merge "ARM: dts: qcom: Remove no-amc tag for disp_bcm_voter" into kernel.lnx.6.6.r1-rel 2024-12-05 02:03:39 -08:00
quic_swarbu
d942d9bee3 ARM: dts: qcom: Remove no-amc tag for disp_bcm_voter
no-amc tag is intended to be used for camera voter
and using it with display voter will lead to display
underruns as AMC votes will not get committed.

Change-Id: I94df2e368d15d6266109cd83e473bb0b5dab4e08
Signed-off-by: Raviteja Laggyshetty <quic_rlaggysh@quicinc.com>
Signed-off-by: quic_swarbu <quic_swarbu@quicinc.com>
2024-12-05 01:48:45 -08:00
Prakash Yadachi
b1b405a436 ARM: dts: msm: Update static gpii mask for ravelin-vm
Currently, the static gpii mask for gpi_dma0 is incorrectly
set to 0x20, which is resulting in i2c read failure.

To prevent this i2c read failure, the static gpii mask
value for gpi_dma0 needs to be updated to 0x40.

'Fixes: 5d97d9eda4527 ("ARM: dts: msm: Add memory and clock
support for vm ravelin")'.

Change-Id: I729e053c8cb08d45badf59c374597e131969fb55
Signed-off-by: Prakash Yadachi <quic_pyadachi@quicinc.com>
2024-12-05 15:08:36 +05:30
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