Commit Graph

1124 Commits

Author SHA1 Message Date
Gokul krishna Krishnakumar
911086ca2e ARM: dts: qcom: SOCCP wdog INT is EDGE triggered HIGH
Fix the interrupt line for wdog INT to EDGE triggered.

Change-Id: Id9ca3f3a632b95bfa17cedacda0936845413ded1
Signed-off-by: Gokul krishna Krishnakumar <quic_gokukris@quicinc.com>
2024-03-11 15:32:14 -07:00
Mukesh Ojha
aa1ca3fb0b ARM: dts: msm: Enable qcom,ramoops device
qcom,ramoops driver takes memory dynamically
available from a given range and give it to
ramoops for its usage.

Change-Id: I94ece0f9d25719e240ecb5c7f47a3b1fe83fbab1
Signed-off-by: Mukesh Ojha <quic_mojha@quicinc.com>
2024-03-11 11:08:53 -07:00
Yuanfang Zhang
19eeb27fad ARM: dts: msm: add qdss CTI for sun
Add coresight qdss CTI for sun.

Change-Id: Ie72bb747946a498164ee0d1ae7b554194a4e3615
Signed-off-by: Yuanfang Zhang <quic_yuanfang@quicinc.com>
2024-03-11 03:17:12 -07:00
qctecmdr
89b1f712d0 Merge "ARM: dts: msm: Increase TA memory from 16MB to 20 MB" 2024-03-11 03:10:27 -07:00
Akhil Budampati
0abea575a1 ARM: dts: msm: Increase TA memory from 16MB to 20 MB
Loadable section memory of FingerPrint(FP) Sensor TA
has to be increased which requires increase in qseecom_ta mem.

Change-Id: Ie0a31662cd7b05f3aff0a41c275089ed7684d8b0
Signed-off-by: Akhil Budampati <quic_abudampa@quicinc.com>
2024-03-10 23:27:26 -07:00
qctecmdr
c74c241705 Merge "ARM: dts: msm: Add PCIe SM debug registers to PCIe dt node" 2024-03-08 17:13:06 -08:00
Prudhvi Yarlagadda
1b00a46e8d ARM: dts: msm: Add PCIe SM debug registers to PCIe dt node
Add the list of PCIe SM registers that need to be dumped
to the PCIe dt node in sun.

Change-Id: Ic2e0518ac611ef5e409f88dcd0f69eb2ce4d8566
Signed-off-by: Prudhvi Yarlagadda <quic_pyarlaga@quicinc.com>
2024-03-08 11:28:47 -08:00
qctecmdr
82081464cc Merge "ARM: dts: msm: Add videocc support for Sun v2" 2024-03-08 10:16:07 -08:00
qctecmdr
62c7c1f073 Merge "ARM: dts: qcom: Revert SP-PBL related register from sun dtsi" 2024-03-08 06:04:03 -08:00
qctecmdr
cfa5ac46df Merge "ARM: dts: qcom: update modem tj mitigation for sun" 2024-03-07 22:47:44 -08:00
qctecmdr
e184a829e0 Merge "ARM: dts: qcom: keep L1F and L3G active-only regulators always-on for Sun" 2024-03-07 20:45:42 -08:00
qctecmdr
3fcc471c1e Merge "ARM: dts: qcom: Add pm8550_pa_therm2 ADC channel for sun" 2024-03-07 20:45:42 -08:00
qctecmdr
0a3fb8ada4 Merge "ARM: dts: qcom: Add qcom,ship-mode-immediate property for Sun platforms" 2024-03-07 18:41:13 -08:00
Mike Tipton
c16332ce65 ARM: dts: msm: Add videocc support for Sun v2
Update the compatible string for v2.

Change-Id: I3b525d54ce9aa2dabd4434d2cb4a553ea4a0e3ea
Signed-off-by: Mike Tipton <quic_mdtipton@quicinc.com>
2024-03-07 17:43:20 -08:00
Magesh M
c41d01f245 ARM: dts: qcom: Revert SP-PBL related register from sun dtsi
Removed SP PBL Patch Version Register from sun dtsi
since it is no longer used.

Change-Id: I52b28ed1a07676188a39c09b72c0e2364cfc0ac2
Signed-off-by: Magesh M <quic_murugan@quicinc.com>
2024-03-07 12:44:16 -08:00
Wesley Cheng
5b78782a51 ARM: dts: msm: Adjust USB redriver DP EQ settings
Based on the DisplayPort CTS PHY test, current EQ settings were not
sufficient to pass the test margins.  Adjust the EQ from 2dB to 0dB as
recommended by the display team based on the results.

Change-Id: Ib0b6c7f9ccb2d8385d57be0aceda704dc98f7f18
Signed-off-by: Wesley Cheng <quic_wcheng@quicinc.com>
2024-03-06 18:39:05 -08:00
Amir Vajid
38729f5369 ARM: dts: msm: Add PDP mailbox and logging nodes for sun
Add device nodes to configure PDP mailbox and add support
for PDP logging on both PDP cores.

Change-Id: I2393334d33373df3447f5140cc66cd7624faf0cd
Signed-off-by: Amir Vajid <quic_avajid@quicinc.com>
2024-03-06 09:44:26 -08:00
Anil Veshala Veshala
af6a958824 ARM: dts: msm: Correct the ibi interrupt number
Currently ibi gpii irq configured wrongly, due to this
ibi controller doesn't generates irq. To solve this
rectified the gpii irq number.

Change-Id: I05c7f41463c19ffbf095c2ec6d217210f8d2aa8f
Signed-off-by: Anil Veshala Veshala <quic_aveshala@quicinc.com>
2024-03-05 22:23:07 -08:00
Mukesh Kumar Savaliya
09858a4576 ARM: dts: msm: Change I3C pin functions to gpio mode for AON usecase
For AON usecase switching from HLOS to SSC needs TLMM function to be
non IBI, hence during sleep mode change function of the TLMM to QUP
mode so that SSC can work with IBI disable without any issue.

Also ensures to restore back the TLMM Function to IBI mode when HLOS
i3c usecase starts.

Change-Id: Id6a5cdeafe2c3ee50186c0020831e4eb8f329f95
Signed-off-by: Mukesh Kumar Savaliya <quic_msavaliy@quicinc.com>
2024-03-05 21:06:45 -08:00
Anjelique Melendez
ff3eff593b ARM: dts: qcom: Add qcom,ship-mode-immediate property for Sun platforms
Currently, charger FW configures and enables ship mode in parallel with
shutdown activity. This can cause a race condition leaving the device in
a bad state if the device is powering off while SW is still issuing SPMI
writes.

Add the battery charger "qcom,ship-mode-immediate" property on Sun
platforms so that ship mode will be configured immediately by charger FW
after user sets ship_mode_en.

Change-Id: I55a78c7b5c59b8b82519713fb4267d081c54a92f
Signed-off-by: Anjelique Melendez <quic_amelende@quicinc.com>
2024-03-04 12:20:22 -08:00
Anjelique Melendez
da637df205 ARM: dts: qcom: Add pm8550_pa_therm2 ADC channel for sun
Add the pm8550_pa_therm2 ADC channel as well as the corresponding
thermal zone device which can be used by thermal SW.

Change-Id: I2c583ca8c00a67a122b6c1b7622436bcf8058165
Signed-off-by: Anjelique Melendez <quic_amelende@quicinc.com>
2024-02-29 10:30:17 -08:00
Jagadeesh Kona
c0a6035e47 ARM: dts: msm: Mark GCC clock node as GenPD provider
Mark GCC clock node as GenPD provider and disable the
PCIE GDSC regulator nodes.

Change-Id: I98fc6709592c393259da77443d4b6e580e61a0b8
Signed-off-by: Jagadeesh Kona <quic_jkona@quicinc.com>
2024-02-29 16:42:16 +05:30
Jagadeesh Kona
733bef4648 ARM: dts: msm: Mark dispcc clock node as GenPD provider
Mark dispcc clock node as GenPD provider and disable the
display GDSC regulator nodes.

Change-Id: I91cf788254ca0bd78a02dc4b196745da380fb74b
Signed-off-by: Jagadeesh Kona <quic_jkona@quicinc.com>
2024-02-29 02:28:18 -08:00
Jagadeesh Kona
b10f0ee315 ARM: dts: msm: Mark videocc clock node as GenPD provider
Mark videocc clock node as GenPD provider and disable the
video GDSC regulator nodes.

Change-Id: I206ad77302fa8ece5b4efe28e20d8c1c23d9fac7
Signed-off-by: Jagadeesh Kona <quic_jkona@quicinc.com>
2024-02-29 02:22:59 -08:00
qctecmdr
a5680ad919 Merge "ARM: dts: msm: Add device trees for SunP HDK" 2024-02-27 12:36:37 -08:00
David Collins
be218faaea ARM: dts: qcom: keep L1F and L3G active-only regulators always-on for Sun
Configure the L1F and L3G active-only regulator to be always enabled
in high power mode (HPM).  These regulators power REFGENs and PLLs
used by the application processor itself.  Unconditional active-only
voting is needed since the software running on the application
processor won't be capable of removing L1F and L3G votes after the
application processor subsystem is power collapsed.

Change-Id: I750da467f408f35b6015a2286696609f234abdc4
Signed-off-by: David Collins <quic_collinsd@quicinc.com>
2024-02-27 11:17:45 -08:00
David Collins
7a007c4dd0 ARM: dts: qcom: add active and sleep L1F and L3G regulators for Sun
Add active-only and sleep-only regulator subnodes for rpmh-regulator
devices L1F and L3G on Sun boards.  This allows requests to be issued
for them that are tied to the application processor's power collapse
state.

Change-Id: Ia8fd8c3aef5c5abfec1044ba3287b1a59f1d5824
Signed-off-by: David Collins <quic_collinsd@quicinc.com>
2024-02-27 11:17:45 -08:00
Manaf Meethalavalappu Pallikunhi
a773ef60be ARM: dts: qcom: update modem tj mitigation for sun
Update modem tj thermal zone mitigation configuration
based on latest envelop recommendation.

Change-Id: I711241184501b8b2640204a136add356df9d18ab
Signed-off-by: Manaf Meethalavalappu Pallikunhi <quic_manafm@quicinc.com>
2024-02-27 15:10:12 +05:30
Lijuan Gao
873c63c36e ARM: dts: msm: Add device trees for SunP HDK
Add device trees for SunP HDK.

Change-Id: I1a0d06a62bd8c19b475db9a6d0a30a46d591a269
Signed-off-by: Lijuan Gao <quic_lijuang@quicinc.com>
2024-02-27 14:09:46 +08:00
qctecmdr
73ac2af873 Merge "ARM: dts: msm: add dynamic ATID support on sun" 2024-02-26 18:59:11 -08:00
qctecmdr
7186d56558 Merge "ARM: dts: qcom: use property “iommu-addresses” for SDC2" 2024-02-26 13:35:10 -08:00
qctecmdr
e908235d5f Merge "ARM: dts: msm: disable tpdm-sdcc2 on sun" 2024-02-25 23:35:06 -08:00
Yuanfang Zhang
85d70cf115 ARM: dts: msm: add dynamic ATID support on sun
Add dynamic ATID support for remote etm and non HLOS related TPDM.

Change-Id: Ib20d304b27377e19ca347e81eab587de41713ed0
Signed-off-by: Yuanfang Zhang <quic_yuanfang@quicinc.com>
2024-02-26 15:11:33 +08:00
qctecmdr
6f231e832d Merge "ARM: dts: msm: Add cpufreq_thermal device for Sun" 2024-02-23 19:06:20 -08:00
qctecmdr
396cdb66d1 Merge "ARM: dts: msm: Add minidump support for Sun TUIVM" 2024-02-23 10:24:00 -08:00
qctecmdr
ec26fa8460 Merge "ARM: dts: msm: Remove ufs bus voting entries" 2024-02-23 02:50:34 -08:00
Yuanfang Zhang
de97e78958 ARM: dts: msm: disable tpdm-sdcc2 on sun
Disable tpdm-sdcc2 on sun, because kernel can't enable some clocks of it.

Change-Id: I5f8a29a6991d1b59e82bce0caf4149f8e9993697
Signed-off-by: Yuanfang Zhang <quic_yuanfang@quicinc.com>
2024-02-23 16:11:48 +08:00
qctecmdr
0b732f4c7f Merge "ARM: dts: msm: Add MTP with QMP1000 support on Sun SoC" 2024-02-22 21:21:15 -08:00
Cong Zhang
561250bc37 ARM: dts: msm: Add minidump support for Sun TUIVM
Add minidump vdeivce in vm-config to support minidump for Sun TUIVM.

Change-Id: I8aed4b1bec0b137bdcf8e103af59eb0cb70b999a
Signed-off-by: Cong Zhang <quic_congzhan@quicinc.com>
2024-02-23 10:36:26 +08:00
qctecmdr
649a54f424 Merge "ARM: dts: msm: Update pcie phy settings for sun" 2024-02-22 13:42:34 -08:00
qctecmdr
47c6a2b707 Merge "ARM: dts: qcom: Update BCL ibat settings for qrd sku1 platform for sun" 2024-02-22 13:42:34 -08:00
qctecmdr
146f56527f Merge "ARM: dts: msm: add dcc sram offset on Sun" 2024-02-22 13:42:34 -08:00
qctecmdr
9d4a54d341 Merge "ARM: dts: qcom: use property “iommu-addresses” for UFSHC" 2024-02-22 13:42:34 -08:00
qctecmdr
f32579f132 Merge "ARM: dts: msm: Enable ftrace in minidump for Sun/Pineapple" 2024-02-22 13:42:34 -08:00
Unnathi Chalicheemala
a73ccadad2 ARM: dts: msm: Add MTP with QMP1000 support on Sun SoC
Add device tree files to support v6 and v8 power grids
for MTP platform with QMP1000 on Sun SoC.

Change-Id: Ic8636091236e3bcedd5af1fb2c5742371483607d
Signed-off-by: Unnathi Chalicheemala <quic_uchalich@quicinc.com>
2024-02-22 09:13:29 -08:00
Bao D. Nguyen
aacd5dfda2 ARM: dts: msm: Remove ufs bus voting entries
Adopt the  upstream ufs bus voting implementation using
commit <03ce80a1bb8>
("scsi: ufs: qcom: Add support for scaling interconnects").
With this implementation, the Qualcomm's bus voting parameters
are moved to the driver source code. As a result, remove the bus
voting DT entries here.

Change-Id: I6366fe76fba4022cbd97bb757eaac2183274bcd2
Signed-off-by: Bao D. Nguyen <quic_nguyenb@quicinc.com>
2024-02-21 22:40:26 -08:00
Kuldeep Singh
dc3fd7726c ARM: dts: msm: Add tmecom node for sun
Add DT support for tmecom driver.

Change-Id: I91efa6fd0461144a84c14ba2a6393a8b866459ff
Signed-off-by: Kuldeep Singh <quic_kuldsing@quicinc.com>
2024-02-22 12:09:58 +05:30
Ziqi Chen
82e81bc907 ARM: dts: qcom: use property “iommu-addresses” for SDC2
The upstream commit <a5bf3cfce8cb7>
("iommu: Implement of_iommu_get_resv_regions()")
The upstream linux community has added a devicetree property
"iommu-addresses", which describes to the DMA api what IOVA
addresses a device can/cannot use. So we replace “qcom,iommu-
dma-addr-pool” by “iommu-addresses” since kernel 6.5 to follow
upstream.

Change-Id: If18f14d6cb13aa2ed67c1417295fc30723b0c932
Signed-off-by: Ziqi Chen <quic_ziqichen@quicinc.com>
2024-02-22 13:46:04 +08:00
Ziqi Chen
10d8b6507b ARM: dts: qcom: use property “iommu-addresses” for UFSHC
The upstream commit <a5bf3cfce8cb7>
("iommu: Implement of_iommu_get_resv_regions()")
has added a devicetree property "iommu-addresses", which
describes to the DMA api what IOVA addresses a device
can/cannot use. So we replace “qcom,iommu-dma-addr-pool”
by “iommu-addresses” since kernel 6.5 to follow upstream.

Change-Id: I9c99fc931fa9a59a472f371bfb59f615f83539f4
Signed-off-by: Ziqi Chen <quic_ziqichen@quicinc.com>
2024-02-22 13:45:46 +08:00
Prudhvi Yarlagadda
84b882a86f ARM: dts: msm: Update pcie phy settings for sun
Update pcie phy settings for sun to version 94.

Change-Id: I5af8d79cecba0ee1088f379b0d823f3a841e8420
Signed-off-by: Prudhvi Yarlagadda <quic_pyarlaga@quicinc.com>
2024-02-21 17:08:47 -08:00