Commit Graph

648 Commits

Author SHA1 Message Date
Oreoluwa Babatunde
0f1d2e46c3 ARM: dts: msm: Correct SID range for qtbs
Correct the SID ranges for the cam_hf qtb and the mdp_hf
qtbs.

Change-Id: I0d6127248bbfac122d14ca2c600dd81d3a7d5550
Signed-off-by: Oreoluwa Babatunde <quic_obabatun@quicinc.com>
2023-12-01 10:15:32 -08:00
Yuanfang Zhang
4a2663c641 ARM: dts: msm: add coresight gladiator for sun
Add coresight gladiator node for sun.

Change-Id: Ib8bc940af6c50ac83c4687d63657de7fe36f2ad2
Signed-off-by: Yuanfang Zhang <quic_yuanfang@quicinc.com>
2023-12-01 02:56:28 -08:00
Hrishabh Rajput
7114f1493d ARM: dts: msm: Add qcom,sensitive property for Sun VM
Add qcom,sensitive property in vm-config node for Sun VM.

Change-Id: I5b2781df510f59d7c3f779eecb55c7bc64fad84c
Signed-off-by: Hrishabh Rajput <quic_hrishabh@quicinc.com>
2023-12-01 15:34:24 +05:30
Jerome Lee
df64193218 ARM: dts: msm: Add register lists to DCC for Sun
Add register lists to DCC for Sun.

Change-Id: Iffec4f0022a11be7fb5e0701e37975d71a1e9428
Signed-off-by: Jerome Lee <quic_jaewookl@quicinc.com>
2023-11-30 21:49:05 -08:00
Gokul krishna Krishnakumar
8f447bddcf ARM: dts: msm: Add soccp node for Sun
Add devicetree soccp node for Sun SoC. In addition to existing smp2p INT's
SOCCP H/W needs 2 more INT for controlling the power state of the H/W.
sleep bit and wakeup bit on master kernel corresponds to these INT.

Change-Id: I00d2f6a3fb76f306fa070df87f22bb2d07cb4c3b
Signed-off-by: Gokul krishna Krishnakumar <quic_gokukris@quicinc.com>
2023-11-30 21:43:53 -08:00
Minghao Zhang
84e38c6fb7 ARM: dts: msm: Add PMIC ADC5 GEN4 channels for sun
Add VADC GEN4 channels provided by pmk8550 that are used by thermal
clients on Sun. Also, add the corresponding thermal zone devices.

Change-Id: Ia1eca3b4eb5e95612590ec2405bb366ed170c60a
Signed-off-by: Minghao Zhang <quic_minghao@quicinc.com>
Signed-off-by: Anjelique Melendez <quic_amelende@quicinc.com>
2023-11-30 16:07:11 -08:00
Subbaraman Narayanamurthy
5a8cf88567 ARM: dts: qcom: enable thermal mitigation for sun boards
Add thermal mitigation step for sun boards so that clients like
thermal SW can do thermal mitigation via charge_control_limit
property under battery power supply.

Change-Id: I0a4ec6e466d5cc52577a28334ec66eddcaf35ef5
Signed-off-by: Subbaraman Narayanamurthy <quic_subbaram@quicinc.com>
2023-11-30 12:27:02 -08:00
Unnathi Chalicheemala
0b991a4f15 ARM: dts: msm: Add ATP variant DT support for Sun
Add DT support for ATP variant on Sun SoC.

Change-Id: Icb07c87ca0ed07c81e0d3bf42e5c69147d6f1807
Signed-off-by: Unnathi Chalicheemala <quic_uchalich@quicinc.com>
2023-11-30 10:36:49 -08:00
qctecmdr
2fbb5b3c59 Merge "ARM: dts: msm: Set EUD UTMI switch delay for sun" 2023-11-30 09:05:59 -08:00
Aman Kanwar
2b15d9650b dt-bindings: Add QDSS clock node for LLCC Perfmon
Add QDSS clock entry for LLCC Perfmon node.

Change-Id: I1e7205e10c447f1ef8b94bf5a73a3f196d4b5b7c
Signed-off-by: Aman Kanwar <quic_akanwar@quicinc.com>
2023-11-30 11:35:29 +05:30
Patrick Daly
f5a25a9f6f ARM: dts: msm: Remove ubwc-p tbu on sun
This hw block is not supported.

Change-Id: I85e1f564a21563c7a959e8998a67f4fe6071ea76
Signed-off-by: Patrick Daly <quic_pdaly@quicinc.com>
2023-11-29 18:55:48 -08:00
Bao D. Nguyen
45a65975bc Revert "ARM: dts: qcom: Disable UFS LPM features"
This reverts commit 0d05778dbb.
Enable UFS LPM support.

Change-Id: I6e65310ad1ca98fc20fc148dac3f342375638841
Signed-off-by: Bao D. Nguyen <quic_nguyenb@quicinc.com>
2023-11-29 17:45:58 -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
Amir Vajid
4564a016c9 ARM: dts: msm: Update llcc memlat miss-ev for sun
Use 0x17 pmu event as miss-ev in llcc memlat for sun.

Change-Id: Ifbd710d9fcb24f7442f2b6d6d8e94f858e48c326
Signed-off-by: Amir Vajid <quic_avajid@quicinc.com>
2023-11-29 11:18:20 -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
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
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
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