Commit Graph

550 Commits

Author SHA1 Message Date
Minghao Zhang
a91ab8db67 dt-bindings: Add snapshot of sys-pm-violators documentation
Snapshot the sys-pm-violators documentation from
qcom-6.1 'commit <16ac1827ff37> ("bindings: arm: msm:
Add sys-pm-violators bindings for monaco_au")'.

Updates:
	- Add entry to support for sun.

Change-Id: I1a8cd4652b6680ff4b87199a6fc22b1ddbcd9614
Signed-off-by: Minghao Zhang <quic_minghao@quicinc.com>
2023-10-23 15:41:21 +08:00
Anil Veshala Veshala
2e6858f742 dt-bindings: platform: msm: Add i3c msm geni bindings for Sun
Add i3c msm geni driver binding for Sun device.

Change-Id: I3bb5c66bd182fe8d527c72c95aa88ee746ce4127
Signed-off-by: Anil Veshala Veshala <quic_aveshala@quicinc.com>
2023-10-18 23:02:55 -07:00
Anil Veshala Veshala
7f491b9af4 dt-bindings: platform: msm: Add gpi bindings for Sun
Add gpi driver binding for Sun device.

Change-Id: I6667f73eb4258b107eb0a5060efeffd55a9075a6
Signed-off-by: Anil Veshala Veshala <quic_aveshala@quicinc.com>
2023-10-18 22:59:54 -07:00
Unnathi Chalicheemala
9b576e5ddb dt-bindings: soc: qcom: Add documentation for SHM
Add documentation for System Helath Monitor driver.

Change-Id: Id91b9144b56dc18612626ba39d504faba002b20c
Signed-off-by: Unnathi Chalicheemala <quic_uchalich@quicinc.com>
2023-10-18 22:16:13 -07:00
Lijuan Gao
2e885f132f ARM: dts: msm: Add initial device trees for Sun QRD SKU1 & SKU2 SoC
Add initial device trees to support Sun QRD sku1 and sku2 SoC
and it's platforms.

Change-Id: Ibf28cbc9f33f19908c4d8ac1b431d17632c43e6b
Signed-off-by: Lijuan Gao <quic_lijuang@quicinc.com>
2023-10-18 15:39:03 +08:00
Xubin Bai
ad62d3ca63 ARM: dts: msm: Enable clock rpmh device node for Sun
Remove fixed-factor-clock and enable device node for rpmh
clocks under apps_rsc in place of fixed clocks.

Change-Id: I9c4d242882f29f616574e339581722b65f27a74f
Signed-off-by: Xubin Bai <quic_xubibai@quicinc.com>
2023-10-17 23:59:46 -07:00
Xubin Bai
b535b64615 dt-bindings: clock: Add rpmh-clk bindings for Sun
Add rpmh clock bindings for Sun.

Change-Id: Ib49451eebb4d9959375b55570b4bd4893401d3ec
Signed-off-by: Xubin Bai <quic_xubibai@quicinc.com>
Signed-off-by: Vivek Aknurwar <quic_viveka@quicinc.com>
2023-10-17 23:59:46 -07:00
Vivek Aknurwar
e4710386ff ARM: dts: msm: Use correct UFS ref_clk on RUMI for Sun
Add RPMH_CXO_CLK as ref_clk to UFS for Sun on pre-sil.
On Rumi ref_clk is to UFS PHY is 19.2MHz and actual device
it is 38.4MHz.
Also update correct gcc header file for sun.

Change-Id: I78ed60095e5229405e7962f4676bfab7b7556676
Signed-off-by: Vivek Aknurwar <quic_viveka@quicinc.com>
2023-10-17 23:59:28 -07:00
Patrick Daly
b23b7f7056 ARM: dts: msm: Enable virtio-mem device on PineappleVM
Describe the properties of the memory region virtio-mem supports.

Change-Id: Ifdc420d25c4fcf1acc93ccd82a80c89857b3c427
Signed-off-by: Patrick Daly <quic_pdaly@quicinc.com>
2023-10-17 19:16:39 -07:00
Patrick Daly
06f7171157 ARM: dts: msm: Add mem-buf device on PineappleVM
Describe the message queues and capabilities of the mem-buf device.

Change-Id: I9ff137c3cfee8d5f9e56930bf8ca9a81066e0150
Signed-off-by: Patrick Daly <quic_pdaly@quicinc.com>
2023-10-17 19:16:38 -07:00
Patrick Daly
505510c3a1 ARM: dts: msm: Include pineapple-vm-dma-heaps on pinapple-vm
Fix a missing include file.

Change-Id: I423fb43b5fef9257ff9bf2fe22e70dd8605fe7e7
Signed-off-by: Patrick Daly <quic_pdaly@quicinc.com>
2023-10-17 19:15:37 -07:00
Patrick Daly
e436ec070a ARM: dts: msm: Snapshot of pineapple vm smmu
Pineapple smmu devicetree snapshot from qcom-6.1 branch
commit 8ef379040bee ("bindings: interrupt-controller: Add bindings for mpm
irqchip for pitti").

Change-Id: Ieebd69268aa04a48cc9a6977b6c4b70fd3035834
Signed-off-by: Patrick Daly <quic_pdaly@quicinc.com>
2023-10-17 19:15:37 -07:00
Po-Jung Lai
fe2d0076e8 ARM: dts: msm: gunyah: Add qtmr binding
Add qtmr binding description and example.

Change-Id: Ifbfcfc86931b38d08f6edec87d7c7983122d051c
Signed-off-by: Po-Jung Lai <quic_pojulai@quicinc.com>
2023-10-17 15:42:13 -07:00
Po-Jung Lai
22c0c71a7c ARM: dts: msm: gunyah: Add gh-msgq-test binding
Add gh-msgq-test binding description and requirements which include
compatible, label and optional properties.

Change-Id: Ie894c1ca2179c9fed9b066893de03eff60749c81
Signed-off-by: Po-Jung Lai <quic_pojulai@quicinc.com>
2023-10-17 15:37:49 -07:00
Chandana Kishori Chiluveru
73c1325edd ARM: dts: msm: Add QUPv3 and GPI DT nodes on SUN
Add QUPv3(I2C, SPI, UART and I3C) and GPI DT nodes on SUN.

Change-Id: I2520da18d152eb0a30a9f735d879422e876d2d6a
Signed-off-by: Chandana Kishori Chiluveru <quic_cchiluve@quicinc.com>
2023-10-17 03:36:45 -07:00
Jyothi Kumar Seerapu
8894c3d7b3 dt-bindings: platform: msm: Add SPI msm geni bindings for Sun
Add DT bindings for SPI which provides the resource management details
for the SPI geni msm driver.

Change-Id: Ifcaccf747ee2efe41fba6d77660456916dcc099b
Signed-off-by: Jyothi Kumar Seerapu <quic_jseerapu@quicinc.com>
2023-10-17 14:54:41 +05:30
Prasanna S
94118e5df4 dt-bindings: buses: Add MSM geni serial bindings for Sun
Add msm geni serial binding for Sun device.

Change-Id: Ibe60f9ce579c8ed46ad542d265ca4b8164f9101e
Signed-off-by: Prasanna S <quic_prass@quicinc.com>
2023-10-17 14:10:00 +05:30
Prudhvi Yarlagadda
bc6d0ca2a9 ARM: dts: msm: Add device_type property for pcie node
Add device_type property for the pcie devicetree nodes
in sun.

This is needed to make sure that the pcie devicetree node
is associated with the pci bus when ranges property gets
parsed by the of/address.c driver.

And this change is mandatory for pci devicetree nodes with
the introduction of the following change in of/address.c
upstream commit <3d5089c4263d> "of/address: Add support
for 3 address cell bus".

Without this change, BAR address allocation failure will
happen as error logs below as the flags cell in ranges
property in devicetree will be read wrong.
pci-msm 1c00000.qcom,pcie:err 0x0060200000..0x00602fffff -> 0x0060200000.
pci-msm 1c00000.qcom,pcie:err 0x0060300000..0x0063ffffff -> 0x0060300000.
pci-msm 1c00000.qcom,pcie: non-prefetchable memory resource required.
pci 0000:00:00.0: BAR 0: no space for [mem size 0x00001000 64bit].
pci 0000:00:00.0: BAR 0: failed to assign [mem size 0x00001000 64bit].

Change-Id: I8b1591ea83784ffc19c928e1af73117657ac7f15
Signed-off-by: Prudhvi Yarlagadda <quic_pyarlaga@quicinc.com>
2023-10-16 20:15:04 -07:00
Prudhvi Yarlagadda
616915f5a1 ARM: dts: msm: Add device_type property for pcie nodes
Add device_type property for the pcie devicetree nodes
in pineapple.

This is needed to make sure that the pcie devicetree node
is associated with the pci bus when ranges property gets
parsed by the of/address.c driver.

And this change is mandatory for pci devicetree nodes with
the introduction of the following change in of/address.c
upstream commit <3d5089c4263d> "of/address: Add support
for 3 address cell bus".

Without this change, BAR address allocation failure will
happen as error logs below as the flags cell in ranges
property in devicetree will be read wrong.
pci-msm 1c00000.qcom,pcie:err 0x0060200000..0x00602fffff -> 0x0060200000.
pci-msm 1c00000.qcom,pcie:err 0x0060300000..0x0063ffffff -> 0x0060300000.
pci-msm 1c00000.qcom,pcie: non-prefetchable memory resource required.
pci 0000:00:00.0: BAR 0: no space for [mem size 0x00001000 64bit].
pci 0000:00:00.0: BAR 0: failed to assign [mem size 0x00001000 64bit].

Change-Id: I212e023880ed8373eb17379754da84b6947d1171
Signed-off-by: Prudhvi Yarlagadda <quic_pyarlaga@quicinc.com>
2023-10-16 20:14:47 -07:00
qctecmdr
91593b8c04 Merge "ARM: dts: msm: Add swiotlb command line parameter for VMs" 2023-10-16 17:04:15 -07:00
qctecmdr
aca7538a7a Merge "ARM: dts: qcom: pineapple: Update the remoteproc DT for pineapple Soc" 2023-10-16 17:04:15 -07:00
Ronak Vijay Raheja
b6bedcf437 dt-bindings: Add USB typeC and DP redriver bindings
Add ON Semiconductor USB Type-C and display port 10Gbps Linear Re-Driver
bindings used on MSM platforms.

Change-Id: Ia333a63a958a5a890f2743a3ec6dc51d7053b720
Signed-off-by: Ronak Vijay Raheja <quic_rraheja@quicinc.com>
2023-10-16 12:47:27 -07:00
Jyothi Kumar Seerapu
49f893e582 dt-bindings: platform: msm: Add I2C msm geni bindings for Sun
Add DT bindings for I2C which provides the resource management details
for the I2C geni msm driver.

Change-Id: I2bc39bf86e0760db595cd2a17e7c1fc6ee1f98cf
Signed-off-by: Jyothi Kumar Seerapu <quic_jseerapu@quicinc.com>
2023-10-16 16:46:53 +05:30
Satya Durga Srinivasu Prabhala
b38d73258d dt-bindings: msm: Add snapshot of IMEM document
This snapshot is taken from qcom-6.1 commit 5e1de6591957
("dt-bindings: IMEM: add binding for Modem DSM region").

Change-Id: Ie0af47ef3d0957ae3537a3b97912eaa85275bd86
Signed-off-by: Satya Durga Srinivasu Prabhala <quic_satyap@quicinc.com>
2023-10-15 13:01:32 -07:00
Rashid Zafar
35fe875fef ARM: dts: msm: Add cpu idle-states for sun
Update enable-method to PSCI. Add idle-states node and
update cpu node to include appropriate idle state.

Disabled all idle-states for rumi.

Change-Id: I313d52c60081ef1d568781e33d0f2fed1a1f2de4
Signed-off-by: Rashid Zafar <quic_rzafar@quicinc.com>
2023-10-13 23:21:50 -07:00
David Collins
731cfb12e9 ARM: dts: qcom: add regulator OCP notifier device for Sun
Add a regulator over-current (OCP) notifier device along with
supply properties to map from PMIC peripherals to specific
regulator devices.  This provides a mechanism to notify
consumers of a particular regulator when OCP occurs.

Change-Id: I17ee6af65492ece062722c41f97f3ea052970a25
Signed-off-by: David Collins <quic_collinsd@quicinc.com>
2023-10-13 14:18:20 -07:00
David Collins
d630ebaf69 ARM: dts: qcom: add DBO3 regulator device for Sun boards
Add a fixed regulator device for the DBO3 buck-boost regulator.
It is enabled via PM8550 GPIO 9 and outputs 3.6 V.

Change-Id: Iff6e0e1cceed6ad369fb67aca3926f5a808cf3e6
Signed-off-by: David Collins <quic_collinsd@quicinc.com>
2023-10-13 14:18:11 -07:00
David Collins
5f5e161ac1 ARM: dts: qcom: add PMIC PON log device for Sun
Add a PMIC PON log parser device which reads the log stored in
PMK8550 SDAM5 and SDAM6.

Change-Id: I944df2186b27ebb42cf2d4dc8f51dbf7b40cea9b
Signed-off-by: David Collins <quic_collinsd@quicinc.com>
2023-10-13 14:17:49 -07:00
Sahitya Tummala
583aa96f35 ARM: dts: msm: Add swiotlb command line parameter for VMs
With the recent kernel upgrade to 6.4, swiotlb_init() path is taken
because of the new kernel config CONFIG_DMA_BOUNCE_UNALIGNED_KMALLOC,
which is enabled by default. But this should not done for trusted VMs
supported on Sun and Pineapple VMs, as these VMs would be using carveout
swiotlb memory set up separately by virtio mmio driver through the
feature CONFIG_SWIOTLB_NONLINEAR. Hence, add swiotlb=noforce kernel
command line to disable generic swiotlb setup/init for VMs. Without
this option set, VM boot up failure is observed.

Change-Id: Ia35cd9a2f95f41b0b0daa6cf75799fd4432a95bd
Signed-off-by: Sahitya Tummala <quic_stummala@quicinc.com>
2023-10-13 20:54:17 +05:30
Yuanfang Zhang
970fa586c4 dt-bindings: add dt-binding for qcom coresight qmi and uetm
Add devicetree bindings for qcom coresight qmi and uetm.

Change-Id: I35a08db4398dd63dfbd9867a502995cb7e90b8f5
Signed-off-by: Yuanfang Zhang <quic_yuanfang@quicinc.com>
2023-10-13 13:34:13 +08:00
qctecmdr
234066ce47 Merge "dt-bindings: Add snapshot of virtio-mem documentation" 2023-10-12 22:21:40 -07:00
qctecmdr
be9be4327d Merge "ARM: dts: msm: Update system cma pool size for sun" 2023-10-12 22:21:39 -07:00
qctecmdr
2e9b8500a6 Merge "ARM: dts: qcom: add TEMP_ALARM devices for PMICs used on Sun boards" 2023-10-12 22:21:39 -07:00
qctecmdr
71f002d2ff Merge "ARM: dts: qcom: add alt_sleep_clk pinctrl configuration for Sun" 2023-10-12 22:21:39 -07:00
Jishnu Prakash
f3901bee1b dt-bindings: iio: qcom,spmi-vadc: Add SW-calibrated ADC bindings
Add bindings for SW-calibrated ADC used on PMR735A/PMR735B on
targets which don't have PMK8350 running in master mode.

Change-Id: I753b3caf1e52ac9920a9df32cbef465277409700
Signed-off-by: Jishnu Prakash <quic_jprakash@quicinc.com>
[quic_amelende@quicinc.com: Converted binding change from .txt to .yaml]
Signed-off-by: Anjelique Melendez <quic_amelende@quicinc.com>
2023-10-12 17:07:37 -07:00
Gokul krishna Krishnakumar
c74ff91ab3 ARM: dts: qcom: pineapple: spss: Remove duplicate node
There were 2 entries for spss, remove one.

Change-Id: Ia7aae336809953377f9a9da6457289262fb2524a
Signed-off-by: Gokul krishna Krishnakumar <quic_gokukris@quicinc.com>
2023-10-12 00:52:25 -07:00
Bao D. Nguyen
72179f28c0 dt-bindings: soc: qcom: Add documentation for ufs-phy-qmp-v4-sun
Add documentation for ufs-phy-qmp-v4-sun phy driver.

Change-Id: I5238ad385f7833e9de3a4c85a9a2936d3dc6a8f4
Signed-off-by: Bao D. Nguyen <quic_nguyenb@quicinc.com>
2023-10-11 17:08:43 -07:00
Gokul krishna Krishnakumar
52826bae6e ARM: dts: qcom: pineapple: Update the remoteproc DT for pineapple Soc
Adding the firmware name and updating the additional memory assign node
for remoteproc's to be compatible with the driver.

Change-Id: I3787fd0c97c039821a91e15bc6e554caccf071a8
Signed-off-by: Gokul krishna Krishnakumar <quic_gokukris@quicinc.com>
2023-10-11 16:44:34 -07:00
qctecmdr
f836b08b78 Merge "ARM: dts: msm: Correct the pcie dt property names on pineapple" 2023-10-11 14:58:57 -07:00
qctecmdr
e0e504a5cc Merge "ARM: dts: msm: Add PCIe Root port configuration for sun" 2023-10-11 14:58:57 -07:00
qctecmdr
84b64338d0 Merge "ARM: dts: qcom: Adding msm_sharedmem DT entry for lanaiDevSp" 2023-10-11 14:58:57 -07:00
qctecmdr
31a49c3864 Merge "ARM: dts: msm: Correct the pcie1 dt property names on pineapple" 2023-10-11 09:33:38 -07:00
qctecmdr
271762225d Merge "ARM: dts: msm: Make gx_clkctl_gx_gdsc depend on gpucc for Sun" 2023-10-11 09:33:38 -07:00
qctecmdr
6136a71333 Merge "ARM: dts: qcom: add PMIC devices for Sun" 2023-10-11 09:33:38 -07:00
qctecmdr
1523c85584 Merge "ARM: dts: qcom: Update pmic_glink device compatible string for pineapple" 2023-10-10 10:25:56 -07:00
qctecmdr
fa5f0ba24f Merge "ARM: dts: msm: Enable tlmm VM mem nodes for Pineapple" 2023-10-10 10:25:56 -07:00
qctecmdr
361bdc7c67 Merge "dt-bindings: thermal: Update dt-binding for spmi-adc-tm5" 2023-10-10 10:25:56 -07:00
qctecmdr
d52db63aaf Merge "dt-bindings: iio: qcom,spmi-vadc: update prescale ratios" 2023-10-10 10:25:56 -07:00
qctecmdr
c163efff9f Merge "ARM: dts: msm: sun: Add remoteproc node" 2023-10-10 10:25:56 -07:00
Hrishabh Rajput
da4b2e9e0b dt-bindings: Add TLMM VM test driver documentation
The driver provides the framework to test memory lend to VM.

Change-Id: I90c2b17181ce9e50c037fa4997f8f9a5f6b9154b
Signed-off-by: Hrishabh Rajput <quic_hrishabh@quicinc.com>
2023-10-10 20:29:53 +05:30