Commit Graph

766 Commits

Author SHA1 Message Date
Ziqi Chen
a40b3852a1 ARM: dts: qcom: keep the DT format aligned for SDCC
Common DT format for sd card changes across targets.

Change-Id: I6d3fc5141ed8e73882dcf0f95706501b8208164b
Signed-off-by: Ziqi Chen <quic_ziqichen@quicinc.com>
2023-11-29 17:15:03 +08:00
Kishore Kumar Ravi
fcc5b36f19 ARM: dts: msm: Add qrtr node for sun vm
Add qrtr node to enable qrtr communication with the primary
vm from the trusted vm.

Change-Id: I05d3a75efebfbefc1e782f7ff7c7b01abe7e0245
Signed-off-by: Kishore Kumar Ravi <quic_kiskum@quicinc.com>
2023-11-28 21:42:59 -08:00
Unnathi Chalicheemala
c338bd73b2 Revert "ARM: dts: msm: Support for APQ variant on Sun SoC"
This reverts commit 3afa08eaed.

Reason for revert: Techpacks haven't added DT support for APQ variant.

Change-Id: Id856d733375f3bf3fb5497855f2269b34c3f3dcd
Signed-off-by: Unnathi Chalicheemala <quic_uchalich@quicinc.com>
2023-11-28 20:49:35 -08:00
qctecmdr
b0d167753a Merge "Revert "ARM: dts: qcom: Enable UFS MCQ on Sun platforms"" 2023-11-28 17:03:13 -08:00
qctecmdr
eb10a088e3 Merge "ARM: dts: msm: Add nodes for qmsgq gunyah on sun" 2023-11-28 10:51:46 -08:00
Bao D. Nguyen
826a6b132f Revert "ARM: dts: qcom: Enable UFS MCQ on Sun platforms"
This reverts commit b57a26b88e.
There is an issue with MCQ mode. We need some time to fix
the issue, so revert to legacy UFS mode for now.

Change-Id: Iaf9a3332ba23fe3bd2be4900c79698ed32903efc
Signed-off-by: Bao D. Nguyen <quic_nguyenb@quicinc.com>
2023-11-28 10:27:10 -08:00
Gokul krishna Krishnakumar
a851d169b5 ARM: dts: msm: Update the ADSP/CDSP nodes
With commit (851140def4: Allow memory from lower 4G for adsp/cdsp/modem)
We were limiting addresses to below 4GB for ADSP/CDSP metadata passed to
TZ. The issue with S1/S2 mapping is caused by a flag in the hyp config
file, removing the restriction for ADSP/CDSP metadata memory.

Change-Id: Id42350a8ab2ddff3c74104f610d83a70681c23c6
Signed-off-by: Gokul krishna Krishnakumar <quic_gokukris@quicinc.com>
2023-11-28 10:15:00 -08:00
qctecmdr
edfde0edfd Merge "dt-bindings: Add bindings for qmsgq gunyah transport" 2023-11-28 06:14:19 -08:00
Anil Veshala Veshala
48ee3a2d4c ARM: dts: msm: Correct the dma nodes for i3c instances
Corrected/rectified dma nodes for qup2 i3c instances,
and also added ibi-controller id changes.

Change-Id: I2bbc7391fce38c231c57327547573e0de0d774c0
Signed-off-by: Anil Veshala Veshala <quic_aveshala@quicinc.com>
2023-11-28 05:34:43 -08:00
qctecmdr
dfcfd7ac0a Merge "ARM: dts: msm: Enable virtio-mem device for sun-vm" 2023-11-28 04:40:06 -08:00
Anil Veshala Veshala
d281341763 ARM: dts: msm: Remove extra space in pin function name for Sun
In pinctrl file there is extra space in function name for
qup1_se0_l1, which is leading to ios lines not in good state.
To solve the removed extra space.

Change-Id: I79b34f15bcf3eb52ac950876b3339c77d036983d
Signed-off-by: Anil Veshala Veshala <quic_aveshala@quicinc.com>
2023-11-28 04:16:11 -08:00
Yuanfang Zhang
dd56609d88 ARM: dts: msm: disable tpdm pcie-rscc and spss on sun
Disable tpdm pcie-rscc and spss because some related clk can not
be enabled from kernel side.

Change-Id: I17d393c5ccf757198632eba15f133aae0182a05e
Signed-off-by: Yuanfang Zhang <quic_yuanfang@quicinc.com>
2023-11-28 03:07:00 -08:00
qctecmdr
59207199dc Merge "ARM: dts: msm: Add mem-buf device on sun-vm" 2023-11-28 02:30:35 -08:00
qctecmdr
6e80050181 Merge "ARM: dts: msm: Add logbuf vendor hook node for Sun" 2023-11-28 00:27:13 -08:00
Kishore Kumar Ravi
7401ecc8dc dt-bindings: Add bindings for qmsgq gunyah transport
Add the bindings to describe a device node for the qmsgq gunyah
transport. This device enables communication between VMs through
gunyah message queues.

Change-Id: I4ee9b8b7d7069580a3f43eb9452b17ee13b74805
Signed-off-by: Kishore Kumar Ravi <quic_kiskum@quicinc.com>
2023-11-27 21:46:28 -08:00
Wesley Cheng
952db5fded ARM: dts: msm: Set EUD UTMI switch delay for sun
Set the proper EUD UTMI switch delay for when EUD moves between modes.
This allows for the delay to be decreased, which addresses USB core soft
reset timeouts.

Change-Id: Id3f02ad4f14b68977baa3393c692360a762b0ee2
Signed-off-by: Wesley Cheng <quic_wcheng@quicinc.com>
2023-11-27 18:49:11 -08:00
David Collins
3e728ec361 ARM: dts: qcom: add PMIC device support for sun V8 power grid boards
Sun boards that utilize the V8 power grid have a PM8550VE PMIC in
place of a PM8550VS one for the "F" PMIC at SPMI SID=5.  Several
FTSMPS regulators are ganged together differently and some supplies
are shuffled around.  These are the impacts for RPMh managed
regulator resources:

      V6 Power Grid     V8 Power Grid
S4J      WCN_CX              XX
S5F        XX              WCN_CX
S6F      VDD_MXA             XX
S8F        N/A             VDD_MXA

Update the device tree configurations for V8-specific overlays so
that the correct set of PMIC resources is present.

Change-Id: I035b8dfc87703b7681110a757952005bbdbf8a63
Signed-off-by: David Collins <quic_collinsd@quicinc.com>
2023-11-27 17:29:25 -08:00
David Collins
e13ba0f783 ARM: dts: qcom: add PMIC PM8550VE_F and its peripherals for Sun boards
Add a PMIC PM8550VE_F device along with its peripheral device
subnodes.  This PMIC is found on Sun boards that use the V8
power grid instead of PMIC PM8550VS_F.

Change-Id: Idf4de30a6ceb891f563341bad0e0da21dca38b69
Signed-off-by: David Collins <quic_collinsd@quicinc.com>
2023-11-27 17:28:54 -08:00
Rashid Zafar
78521c261b ARM: dts: qcom: Add modem thermal sensors and cooling devices for sun
Add modem related thermal sensors and mitigation devices for sun which
would be accessible over QMI. Add respective thermal zone and trips
for modem thermal sensors.

Change-Id: Iefef9a70d8c213a406d7eb98df43c61f46fddd87
Signed-off-by: Rashid Zafar <quic_rzafar@quicinc.com>
2023-11-27 14:20:19 -08:00
Rashid Zafar
24941dbe11 ARM: dts: msm: Add pcie-pdc device for sun
Add pcie-pdc device to allow configuring wakeup gpios at PCIe PDC
for sun.

Change-Id: I57722d564c2c39e7d2d7c35c967f826465d8dd5d
Signed-off-by: Rashid Zafar <quic_rzafar@quicinc.com>
2023-11-27 14:20:19 -08:00
qctecmdr
362840c89a Merge "ARM: dts: qcom: bindings: Add compatibility for soccp" 2023-11-26 10:33:56 -08:00
Kishore Kumar Ravi
1c5ce4e94c ARM: dts: msm: Add nodes for qmsgq gunyah on sun
Add the device nodes on sun oemvm and vm to enable qmsgq socket
communication over gunyah message queues.

Change-Id: Ib28b1204006819ef9fe044586dbaada64d826b4a
Signed-off-by: Kishore Kumar Ravi <quic_kiskum@quicinc.com>
2023-11-25 05:06:12 -08:00
qctecmdr
0eaa3ab6c1 Merge "ARM: dts: msm: Update bootargs for Sun SoC" 2023-11-24 16:18:13 -08:00
Mukesh Ojha
4685457043 ARM: dts: msm: Update bootargs for Sun SoC
Update bootargs for Sun SoC to align with existing SoCs.

Change-Id: I50c16ddabc4559b84f815d10956c36b63dbafd00
Signed-off-by: Mukesh Ojha <quic_mojha@quicinc.com>
2023-11-24 21:42:55 +05:30
Kishore Kumar Ravi
42eb600576 ARM: dts: msm: Add qrtr gunyah in sun
Enable the qrtr gunyah transport for sun. This enables the QRTR
Gunyah transport on the primary VM which kickstarts the qrtr protocal
between tuivm and pvm.

Change-Id: I6cc9d73d087107de9153a781aea255a077f8ee0c
Signed-off-by: Kishore Kumar Ravi <quic_kiskum@quicinc.com>
2023-11-24 02:33:14 -08:00
qctecmdr
d8acfb2783 Merge "ARM: dts: msm: enable core etm on sun" 2023-11-23 12:17:07 -08:00
qctecmdr
7693df90a2 Merge "ARM: dts: msm: Enable UCSI nodes for sun" 2023-11-23 05:57:35 -08:00
qctecmdr
d657252e1a Merge "ARM: dts: msm: Vote for VDD parent regulator" 2023-11-23 05:57:35 -08:00
qctecmdr
9dd961faf9 Merge "ARM: dts: msm: Add PHY irqs to sun" 2023-11-22 18:47:24 -08:00
qctecmdr
bb376686da Merge "ARM: dts: msm: qcom: Update scm node with dload-mode" 2023-11-22 18:47:24 -08:00
Unnathi Chalicheemala
d598ebab3f ARM: dts: msm: Add logbuf vendor hook node for Sun
Add logbuf vendor hook node for Sun SOC.

Change-Id: I95b07025b693b2aadd1d75e8ad1cf9012b2aea7a
Signed-off-by: Unnathi Chalicheemala <quic_uchalich@quicinc.com>
2023-11-22 16:32:12 -08:00
Subbaraman Narayanamurthy
c62fdd1929 ARM: dts: qcom: add FMD SDAM configuration in pmk8550
Find my device (FMD) feature uses SDAM offset 0x9a for enabling
or disabling the feature in Sun platforms. Add the configuration
to support it.

Change-Id: I76cd1cc8146cdf08af544db474637858ab88211e
Signed-off-by: Subbaraman Narayanamurthy <quic_subbaram@quicinc.com>
2023-11-22 11:52:41 -08:00
Gokul krishna Krishnakumar
74340c98ff ARM: dts: qcom: bindings: Add compatibility for soccp
Update the compatibility to include soccp for sun SoC.

Change-Id: I40f694364589345d62589211ddac14713e4c3b0d
Signed-off-by: Gokul krishna Krishnakumar <quic_gokukris@quicinc.com>
2023-11-22 10:57:04 -08:00
qctecmdr
5a1f81a599 Merge "ARM: dts: msm: Add REFGEN_VDD_A_0P9 vote for UFS PHY" 2023-11-22 10:24:29 -08:00
qctecmdr
e2263772d1 Merge "ARM: dts: msm: Update the pcie BAR address in ranges property" 2023-11-22 10:24:29 -08:00
qctecmdr
32d33fc6d2 Merge "ARM: dts: msm: Add proxy consumers for gx_gdsc dependencies on Sun" 2023-11-22 10:24:29 -08:00
qctecmdr
f8264df88a Merge "ARM: dts: qcom: Enable the TVM SMMU proxy driver" 2023-11-22 04:20:10 -08:00
Melody Olvera
85ca810a1f ARM: dts: msm: qcom: Update scm node with dload-mode
Update scm node to include dload-mode register needed
to set the proper download mode.

Change-Id: I2f2075ec43f1ba452fff6077685afcf6dc7912be
Signed-off-by: Melody Olvera <quic_molvera@quicinc.com>
2023-11-21 20:15:14 -08:00
Elson Roy Serrao
b82ab7f190 ARM: dts: msm: Add PHY irqs to sun
Add SS phy and HS phy related irqs to sun.

Change-Id: I8f5ae4d8a11434141deb429621225448aac76786
Signed-off-by: Elson Roy Serrao <quic_eserrao@quicinc.com>
2023-11-21 18:03:02 -08:00
Wesley Cheng
feaf29dcbb ARM: dts: msm: Enable UCSI nodes for sun
To support cable detection events from UCSI, updates need to be made to
enable usb role switch and setting up a connection to the UCSI PMIC glink
node.

Change-Id: Ib7b212ab00022ee4e559f046dddead7aaf7539af
Signed-off-by: Wesley Cheng <quic_wcheng@quicinc.com>
2023-11-21 17:14:07 -08:00
Prudhvi Yarlagadda
3f805a805c ARM: dts: msm: Update the pcie BAR address in ranges property
Update the pcie BAR address in ranges property for sun.

ADSP subsystem is not having access to the previously given
(0x60300000) memory region. So, moving to the lower memory
region to avoid NOC errors for adsp.

Change-Id: Id8223a78cf13d8f2c83095de30b193e85da6829d
Signed-off-by: Prudhvi Yarlagadda <quic_pyarlaga@quicinc.com>
2023-11-21 15:45:04 -08:00
Satya Durga Srinivasu Prabhala
8b87c84195 ARM: dts: msm: Add reboot reason node to sun SoC
Add reboot reason node to sun SoC.

Change-Id: I6be11e9eec88ff3b82485b22a73851ea812fba7a
Signed-off-by: Satya Durga Srinivasu Prabhala <quic_satyap@quicinc.com>
2023-11-21 15:29:29 -08:00
Melody Olvera
63a048bd89 dt-bindings: power: reset: Add documentation for reboot reason
Document the bindings for the reboot reason driver.

Change-Id: I30dacc4f2c9ca59ed12dc94eb81b5ef39a27d187
Signed-off-by: Melody Olvera <quic_molvera@quicinc.com>
2023-11-21 15:29:29 -08:00
Mike Tipton
f2fddff3f5 ARM: dts: msm: Add proxy consumers for gx_gdsc dependencies on Sun
The gx_clkctl_gx_gdsc requires both gpu_cc_cx_gdsc and VDD_GX to access
its configuration registers. We access these registers during probe, so
we need to ensure these dependencies aren't disabled until after our
probe completes. Add proxy consumers for this.

After probe, the parent-supply will ensure VDD_GX is enabled before we
touch registers in the regulator_enable/disable paths. And for the CX
GDSC dependency, the client already enables it before the GX GDSC due to
historical functional requirements between the CX and GX sides.

Change-Id: I49f5654a8a86644074c76788de821eb8ae621d09
Signed-off-by: Mike Tipton <quic_mdtipton@quicinc.com>
2023-11-21 09:19:46 -08:00
Yuanfang Zhang
670888549f ARM: dts: msm: enable core etm on sun
Enable core etm related components and some TPDMs and CTIs.

Change-Id: I1d7a581a9aad1bc4486685ae9b25a3323c53811d
Signed-off-by: Yuanfang Zhang <quic_yuanfang@quicinc.com>
2023-11-21 03:21:58 -08:00
qctecmdr
e83dd7572b Merge "ARM: dts: msm: Correct the IBI controller base address" 2023-11-21 02:08:02 -08:00
songrui
c5847df35b ARM: dts: qcom: Enable the TVM SMMU proxy driver
Enable the TVM smmu proxy driver.

Change-Id: I42965703749d2814c5b83dca7131314df9ac8e02
Signed-off-by: Cong Zhang <quic_congzhan@quicinc.com>
Signed-off-by: songrui <quic_songrui@quicinc.com>
2023-11-21 14:38:47 +08:00
Anil Veshala Veshala
5f120fa1f8 ARM: dts: msm: Correct the IBI controller base address
corrected/rectified IBI controller base address.

Change-Id: Ib8b8c107be80a27c0e046528133ff3078c216ca6
Signed-off-by: Anil Veshala Veshala <quic_aveshala@quicinc.com>
2023-11-20 20:40:52 -08:00
qctecmdr
2cd2e95689 Merge "ARM: dts: msm: add fts touch device nodes for Sun" 2023-11-20 20:37:23 -08:00
qctecmdr
445030433e Merge "bindings: firmware: scm: Add bindings for waitqueue-aware firmware" 2023-11-20 20:37:22 -08:00