Commit Graph

442 Commits

Author SHA1 Message Date
qctecmdr
e76f662001 Merge "ARM: dts: qcom: add FMD SDAM configuration in pmk8550" 2023-12-02 16:12:49 -08:00
qctecmdr
80c434d743 Merge "ARM: dts: qcom: Add modem thermal sensors and cooling devices for sun" 2023-12-02 16:12:49 -08:00
qctecmdr
2a9bc76730 Merge "ARM: dts: msm: Update the ADSP/CDSP nodes" 2023-12-02 14:52:02 -08:00
qctecmdr
a05f1268db Merge "ARM: dts: msm: Remove extra space in pin function name for Sun" 2023-12-02 14:52:02 -08:00
qctecmdr
4a9e1730ea Merge "ARM: dts: msm: Add qrtr gunyah in sun" 2023-12-02 14:52:02 -08:00
qctecmdr
6496049d8c Merge "ARM: dts: msm: add memory region for hwfence_shbuf addr on sun" 2023-12-02 14:52:02 -08:00
qctecmdr
b98395468c Merge "ARM: dts: msm: Add qrtr node for sun vm" 2023-12-02 14:52:02 -08:00
qctecmdr
008418ebf9 Merge "ARM: dts: qcom: Enable low power modes for sun" 2023-12-02 14:52:02 -08:00
qctecmdr
2ff1d3b11b Merge "ARM: dts: msm: Add eud extcon node to sun" 2023-12-02 14:52:01 -08:00
qctecmdr
6047a96bdc Merge "ARM: dts: qcom: add PMIC device support for sun V8 power grid boards" 2023-12-02 14:52:01 -08:00
qctecmdr
2fbb5b3c59 Merge "ARM: dts: msm: Set EUD UTMI switch delay for sun" 2023-11-30 09:05:59 -08:00
Elson Roy Serrao
bec108c2c3 ARM: dts: msm: Add eud extcon node to sun
Add eud extcon node to sun to enable eud extcon notifications.

Change-Id: I40055adc80dd7d5e3b661b5f19bb3e4190795854
Signed-off-by: Elson Roy Serrao <quic_eserrao@quicinc.com>
Signed-off-by: Wesley Cheng <quic_wcheng@quicinc.com>
2023-11-29 15:56:58 -08:00
Rashid Zafar
d8c7742e43 ARM: dts: qcom: Enable low power modes for sun
Enable low power modes for sun through kernel command
line parameters.

Change-Id: Ifd4b8fcce8d6b2c0b4f6a4c2dcb088ae8c8fa661
Signed-off-by: Rashid Zafar <quic_rzafar@quicinc.com>
2023-11-29 10:02:14 -08:00
qctecmdr
bf4f4cd702 Merge "Revert "ARM: dts: msm: Support for APQ variant on Sun SoC"" 2023-11-29 09:48:08 -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
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
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
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
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
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
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