Commit Graph

740 Commits

Author SHA1 Message Date
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
qctecmdr
e908235d5f Merge "ARM: dts: msm: disable tpdm-sdcc2 on sun" 2024-02-25 23:35:06 -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
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
Mike Tipton
baa9d42f02 ARM: dts: msm: Add cpufreq_thermal device for Sun
This device is necessary to notify the scheduler about CPU thermal
pressure.

Change-Id: Ibf1e636dfee32ab8b7c3b9202264603d638c577a
Signed-off-by: Mike Tipton <quic_mdtipton@quicinc.com>
2024-02-21 10:25:09 -08:00
Mukesh Ojha
561adf361b ARM: dts: msm: Enable ftrace in minidump for Sun/Pineapple
Add ftrace_dump_on_oops in kernel cmdline to enable capture
of ftrace in minidump for pineapple/sun SoCs.

Change-Id: I1d07d01dbd5f4240f12eba53a252ec8941262623
Signed-off-by: Mukesh Ojha <quic_mojha@quicinc.com>
2024-02-21 03:21:01 -08:00
Yuanfang Zhang
a4fed79f2a ARM: dts: msm: add dcc sram offset on Sun
Set dcc sram offset to 0x800 on Sun.

Change-Id: I3881a71fc5aab9cb42451ac815864e86930e3afa
Signed-off-by: Yuanfang Zhang <quic_yuanfang@quicinc.com>
2024-02-21 14:45:22 +08:00
Manaf Meethalavalappu Pallikunhi
b3f9d8a1f4 ARM: dts: qcom: Update BCL ibat settings for qrd sku1 platform for sun
Update BCL ibat settings for qrd sku1 platform based on latest
recommendation.

Change-Id: I0a21d7fb9af9b464d0dd56c5652bcced865417a6
Signed-off-by: Manaf Meethalavalappu Pallikunhi <quic_manafm@quicinc.com>
2024-02-20 22:35:25 -08:00
qctecmdr
399e6c75bf Merge "ARM: dts: msm: Update to newest memory map for sun" 2024-02-15 17:27:56 -08:00
qctecmdr
bc74cd84e2 Merge "ARM: dts: msm: enable trusted touch on sun mtp v8" 2024-02-15 17:27:56 -08:00
qctecmdr
b77648da9e Merge "ARM: dts: msm: Increase secure display heap size" 2024-02-15 17:27:55 -08:00
qctecmdr
bb3930a423 Merge "ARM: dts: msm: Add support of mosi, clk gpios and doorbell interrupt" 2024-02-15 17:27:55 -08:00
qctecmdr
20e15c53b1 Merge "ARM: dts: msm: change compatible of ETM on Sun" 2024-02-15 17:27:55 -08:00
qctecmdr
85a09f3813 Merge "ARM: dts: msm: Fix config values for QMP PHY" 2024-02-15 17:27:55 -08:00
qctecmdr
e7dd8e1415 Merge "ARM: dts: qcom: Update tsens hardware mapping for sun-v2" 2024-02-15 15:07:00 -08:00
qctecmdr
cc774f04b5 Merge "ARM: dts: qcom: Enable UFS MCQ on Sun platforms" 2024-02-15 15:07:00 -08:00
qctecmdr
542e66c4b8 Merge "ARM: dts: msm: Define tmecrashdump offset for tz-log node for sun" 2024-02-15 15:07:00 -08:00
qctecmdr
9158112b17 Merge "ARM: dts: msm: Update SW DRV IDs for sun" 2024-02-15 15:06:59 -08:00
qctecmdr
471bd58409 Merge "ARM: dts: qcom: Add TRNG node for Sun" 2024-02-15 12:45:40 -08:00
Ritesh Kumar
b7c746fc49 ARM: dts: msm: enable trusted touch on sun mtp v8
Enable trusted touch on sun mtp v8 platform.

Change-Id: I44c5fdeae221f075586767f06582b8da4caabc8e
Signed-off-by: Ritesh Kumar <quic_riteshk@quicinc.com>
2024-02-15 14:37:14 +05:30
Jyothi Kumar Seerapu
671acbec76 ARM: dts: msm: Add support of mosi, clk gpios and doorbell interrupt
Add mosi, clock gpios and doorbell interrupt for Q2SPI wakeup support
for Sun.

Change-Id: I199a1cd41b8e69799f3fc8cc1caebd67406e8744
Signed-off-by: Jyothi Kumar Seerapu <quic_jseerapu@quicinc.com>
2024-02-14 16:46:51 +05:30
Ronak Vijay Raheja
29471c0db8 ARM: dts: msm: Fix config values for QMP PHY
Fix values for QMP PHY configs according to updates from Hardware
Settings team which allow resolving Host mode enumeration issues for
SuperSpeed devices.

Change-Id: I4ad0ff3df8b8b8588679e93135aaac72c537015c
Signed-off-by: Ronak Vijay Raheja <quic_rraheja@quicinc.com>
2024-02-08 14:24:35 -08:00
Ronak Vijay Raheja
77314aed5c ARM: dts: msm: Use "iommu-addresses" property for sun
Use upstream compatible device smmu address space DT property
"iommu-addresses" in accordance to FR92369. Replace existing use of
"qcom,iommu-dma-addr-pool" with "iommu-addresses" for dwc3 node in usb0
for describing to the DMA API what IOVA addresses dwc3 cannot use.

Change-Id: Ia18d064649fb86e809023dbd61262c0e026acf73
Signed-off-by: Ronak Vijay Raheja <quic_rraheja@quicinc.com>
2024-02-08 14:20:21 -08:00
Manaf Meethalavalappu Pallikunhi
80b8c34c5c ARM: dts: qcom: Update tsens hardware mapping for sun-v2
Update tsens controller 1 and controller 3 sensor count and
update sensor id of impacted thermal zones for sun-v2.

Change-Id: I52cf2ecb0445ec9b4d1b2df16c4ea7002fff89eb
Signed-off-by: Manaf Meethalavalappu Pallikunhi <quic_manafm@quicinc.com>
2024-02-07 20:43:14 -08:00
Maulik Shah
c14c1cd136 ARM: dts: msm: Update SW DRV IDs for sun
There are 6 SW DRV IDs supported for display. Update same.

Change-Id: I5a58e7e81884e5201ef218f4418204aeed47e5ac
Signed-off-by: Maulik Shah <quic_mkshah@quicinc.com>
2024-02-08 10:04:56 +05:30
Yeshwanth Sriram Guntuka
095057ba6f ARM: dts: msm: sun: Add common iommu group for WCNSS and ADSP
Add common iommu group for WCNSS and ADSP for direct
link use case.

Change-Id: I031283713b4f89176d574580f5b11d44f870a0ca
Signed-off-by: Yeshwanth Sriram Guntuka <quic_ysriramg@quicinc.com>
2024-02-07 17:31:29 +05:30
Patrick Daly
491d8caf96 ARM: dts: msm: Increase secure display heap size
According to the camera team, this is required due to camera hw
architecture changes on sun.

Change-Id: Iaba200c194f9758cd506cd871bd4c4853542c028
Signed-off-by: Patrick Daly <quic_pdaly@quicinc.com>
2024-02-05 15:06:42 -08:00
qctecmdr
4175494b9a Merge "ARM: dts: msm: disable turing dpm1/dpm2 tpdm on sun" 2024-02-04 22:23:30 -08:00
Yuanfang Zhang
1a2eeaae79 ARM: dts: msm: change compatible of ETM on Sun
Change compatible of ETM to "arm,coresight-etm4x-sysreg" to use sysreg
access on Sun.

Change-Id: Ie7fbc759a96e0fb4fbe87c7f5467d301cef3405d
Signed-off-by: Yuanfang Zhang <quic_yuanfang@quicinc.com>
2024-02-05 14:09:41 +08:00
qctecmdr
f6135c12c7 Merge "ARM: dts: msm: add reg-names to cpucp device for sun" 2024-02-04 08:59:18 -08:00
Yuanfang Zhang
f5a7a87a21 ARM: dts: msm: disable turing dpm1/dpm2 tpdm on sun
Disable turing dpm1/dpm2 tpdm because some clocks can not be enabled
from kernel side.

Change-Id: I4c51b3dbfdba44f843617e788ccd7c7d559646fc
Signed-off-by: Yuanfang Zhang <quic_yuanfang@quicinc.com>
2024-02-04 14:47:34 +08:00
Amir Vajid
2c297e668b ARM: dts: msm: add reg-names to cpucp device for sun
Update cpucp device to include reg-names property.

Change-Id: I78d9d386971952511f66f455857adcc8ea9edf58
Signed-off-by: Amir Vajid <quic_avajid@quicinc.com>
2024-02-02 15:22:07 -08:00
qctecmdr
618d2eeaf3 Merge "ARM: dts: msm: Enable mem-buf driver on oemvm" 2024-02-01 21:30:28 -08:00
Patrick Daly
2356f0d9ac ARM: dts: msm: Enable mem-buf driver on oemvm
All transferring memory between tvm, oemvm and pvm.

Change-Id: I2016350893bf79cfc09a22741dfa69627c795840
Signed-off-by: Patrick Daly <quic_pdaly@quicinc.com>
2024-02-01 18:17:51 -08:00
qctecmdr
e2c3fd4898 Merge "ARM: dts: qcom: Added entry for smcinvoke driver" 2024-02-01 00:33:00 -08:00
qctecmdr
35bdcb680c Merge "ARM: dts: qcom: Add SPU related register to sun dtsi" 2024-01-31 19:30:06 -08:00