Commit Graph

841 Commits

Author SHA1 Message Date
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
Unnathi Chalicheemala
538ab267ef ARM: dts: msm: Add RCM DT support for Sun
Add DT support for RCM platform on Sun SoC.

Change-Id: I1dc5b3b432b2126b0a380437a2a19854aa1db5f1
Signed-off-by: Unnathi Chalicheemala <quic_uchalich@quicinc.com>
2023-12-01 17:21:57 -08:00
Subbaraman Narayanamurthy
f6aed2463d ARM: dts: qcom: add AMOLED ECM device for PMD802X
Add AMOLED ECM device for PMD802X so that AMOLED panel current
can be measured on need basis for Sun platforms.

Change-Id: Ic5e699fa5c4c595bbcc1b540c0197c1e63673c32
Signed-off-by: Subbaraman Narayanamurthy <quic_subbaram@quicinc.com>
2023-12-01 13:23:06 -08:00
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
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
Unnathi Chalicheemala
050593a973 dt-bindings: msm: Add ATP variant in MSM bindings for Sun
Add compatible string for ATP variant on Sun SoC.

Change-Id: Ibaa26b372af475afe291c78c57a1e32d4a76ea93
Signed-off-by: Unnathi Chalicheemala <quic_uchalich@quicinc.com>
2023-11-30 10:35:59 -08:00
qctecmdr
2fbb5b3c59 Merge "ARM: dts: msm: Set EUD UTMI switch delay for sun" 2023-11-30 09:05:59 -08:00
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
Daniel Perez-Zoghbi
ec30ae1563 dt-bindings: Add devicetree bindings for qcedev
Add snapshot of devicetree bindings from commit (bb95f5ff94:
"ARM: dts: msm: Add probe dependency to PMIC PON Log driver")
for qcedev. Update the bindings from .txt to .yaml.

Change-Id: I7e46035c6ac66c14e932c009d4a1291ec6127001
Signed-off-by: Daniel Perez-Zoghbi <quic_dperezzo@quicinc.com>
2023-11-29 16:24:53 -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
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