Commit Graph

2218 Commits

Author SHA1 Message Date
Udipto Goswami
4fabf45b25 ARM: dts: msm: Add High Speed USB support on Kera
Currently, the node for eusb2_phy0 is defined but not used by controller
which makes the associated resources to be consumed. Therefore if phy
probes doesn't happen the controller goes into core soft reset failure.

Fix this by utilizing the node in the controller. This will call the
phy's probe and hence clocks & regulators will be initialized.

Change-Id: Ica46af01154d5e583e011e4f2d84a80fb0589ac8
Signed-off-by: Udipto Goswami <quic_ugoswami@quicinc.com>
2024-12-27 23:22:09 +05:30
Manish Pandey
8e42a691ce ARM: dts: msm: Update ref_clk_src for kera UFS 2.x platforms
Update ref_clk_src to source 19.2MHz clock to UFS 2.x Platforms.

Change-Id: I0f8a2307bc700a4eac2caa5e9ff5d0bfaac1b163
Signed-off-by: Manish Pandey <quic_mapa@quicinc.com>
2024-12-27 23:22:01 +05:30
Rajeev Nandan
db1db4f764 ARM: dts: msm: add trusted touch properties for kera
Add trusted touch properties for tuna on CDP, MTP platforms.

Change-Id: I93d85e4b21387835cffc08ebfd7376cb1d98f95d
Signed-off-by: Rajeev Nandan <quic_rajeevny@quicinc.com>
2024-12-27 23:21:54 +05:30
Anaadi Mishra
eca7fe7ef3 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-27 23:21:46 +05:30
Anaadi Mishra
6fc3e14b6a 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-27 23:21:29 +05:30
Anaadi Mishra
3744a89825 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-27 23:21:19 +05:30
Anaadi Mishra
ff82b07c78 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-27 23:21:11 +05:30
Prasanna S
50eef2747b 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-27 23:21:03 +05:30
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
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
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
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