Commit Graph

544 Commits

Author SHA1 Message Date
Rashid Zafar
d5963677a9 ARM: dts: msm: Add CRM device for camera and PCIe for sun
Add CRM device for camera and PCIe.

Change-Id: I61c78a4c645f8e05402767a40ebb41fdcf0119d1
Signed-off-by: Rashid Zafar <quic_rzafar@quicinc.com>
2023-11-03 16:00:06 -07:00
Rashid Zafar
2809c63c37 ARM: dts: msm: Update apps_rsc, add disp_rsc and cam_rsc devices for sun
Update apps_rsc to include new tsc-distance field to the specify the
TCS distance offset for each DRV for sun. Add disp_rsc and cam_rsc
devices for RPMh communication and add new tcs-distance property for
each DRV on sun.

Change-Id: Iad900a9b60cd8f52b99f29e4db0c85397c723ecf
Signed-off-by: Rashid Zafar <quic_rzafar@quicinc.com>
2023-11-03 16:00:06 -07:00
Rashid Zafar
4421ee38ec dt-bindings: soc: qcom: Add documentation for crm-v2
Add documentation for crm-v2 device.

Change-Id: If2855bb1cf13843fe098f349b2fa5d3907f81927
Signed-off-by: Rashid Zafar <quic_rzafar@quicinc.com>
2023-11-03 16:00:06 -07:00
Rashid Zafar
64241d5d55 dt-bindings: Update rpmh devicetree bindings
Document tcs-distance property needed in devicetree for RSC devices.
This is an optional property which defines the distance between each
TCS for a DRV.

Change-Id: I8c01632597f40ff6856242b888610e61f7b3f15f
Signed-off-by: Rashid Zafar <quic_rzafar@quicinc.com>
2023-11-03 16:00:06 -07:00
Nurit Lichtenstein
bcf5d03433 ARM: dts: qcom: Add SPU related DMA heaps to sun dtsi
Needed for SPU shared memory on sun dtsi.

Change-Id: I7871182d7ee4f5d41f8afc37f1811dacd988c50b
Signed-off-by: Nurit Lichtenstein <quic_nuritl@quicinc.com>
Signed-off-by: Gokul krishna Krishnakumar <quic_gokukris@quicinc.com>
2023-11-03 15:15:07 -07:00
Maulik Shah
21d4b65465 bindings: soc: qcom: Add v2, v3 and v4 bindings
Document v2, v3 and v4 compatible for various stats devices.

Change-Id: I5ba43732c07af93f7e4889d06503d4f96a2664f6
Signed-off-by: Maulik Shah <quic_mkshah@quicinc.com>
2023-11-03 13:28:35 -07:00
qctecmdr
0d591b74e2 Merge "ARM: dts: msm: Add nodes for minidump for sun" 2023-11-03 10:26:24 -07:00
Chandana Kishori Chiluveru
2668cb53b8 ARM: dts: msm: Add SPS node for SUN
Add SPS module to device tree. SPS (Smart Peripheral System)
enables the support of all BAMs in the system which provide DMA
functionality to various peripherals for SUN.

Change-Id: I4b69ad41de0a27921b5cd050b589e7ab7af406e3
Signed-off-by: Chandana Kishori Chiluveru <quic_cchiluve@quicinc.com>
2023-11-03 10:22:58 +05:30
Chandana Kishori Chiluveru
976ea69bfe ARM: dts: qcom: Add SLIMBUS and BAM dtsi nodes for SUN
Add Slimbus and BAM dtsi nodes for SUN.

Change-Id: Ic4e97121cb030e2e34dd0db56a49f2c95917e005
Signed-off-by: Chandana Kishori Chiluveru <quic_cchiluve@quicinc.com>
2023-11-03 10:17:50 +05:30
Melody Olvera
b7a4eaa9f1 ARM: dts: msm: sun: Add cpu vendor hooks node
Add cpu vendor hooks node for sun SoC.

Change-Id: If9b0dde4db579d2b35fdd8d73f7d812771323878
Signed-off-by: Melody Olvera <quic_molvera@quicinc.com>
2023-11-02 16:36:20 -07:00
qctecmdr
2582200e00 Merge "dt-bindings: gunyah: Perform some correction on vm schema" 2023-11-02 16:09:56 -07:00
qctecmdr
cb754701df Merge "ARM: dts: msm: Add bus dcvs nodes for sun" 2023-11-02 16:09:56 -07:00
qctecmdr
cf983b5cbf Merge "ARM: dts: msm: add Modem DSM region info to IMEM" 2023-11-02 16:09:56 -07:00
qctecmdr
c240c923d9 Merge "ARM: dts: msm: add uetm/cti/qmi node for sun" 2023-11-02 16:09:56 -07:00
qctecmdr
0bc8c69d13 Merge "ARM: dts: msm: gunyah: Add gh-msgq-test binding" 2023-11-02 12:43:36 -07:00
qctecmdr
d1aafa39f4 Merge "ARM: dts: msm: gunyah: Add qtmr binding" 2023-11-02 12:43:36 -07:00
qctecmdr
982a4b3ee3 Merge "ARM: dts: qcom: Enable SPU nodes in sun dtsi" 2023-11-02 12:43:36 -07:00
qctecmdr
6919f12189 Merge "dt-bindings: Fix multi pattern support in DT_SCHEMA_FILES" 2023-11-02 12:43:36 -07:00
qctecmdr
ef7cdfc8a8 Merge "ARM: dts: msm: Add sys-pm-violators device for sun" 2023-11-02 12:43:36 -07:00
Anil Veshala Veshala
febeef3e10 dt-bindings: buses: Add SPS (Smart Peripheral Switch) bindings for SUN
Add SPS (Smart Peripheral Switch) bindings for SUN device.

Change-Id: Ib88a18bb5b720bb1f3c7ed40961eabcc9fd5d413
Signed-off-by: Chandana Kishori Chiluveru <quic_cchiluve@quicinc.com>
Signed-off-by: Anil Veshala Veshala <quic_aveshala@quicinc.com>
2023-11-01 23:29:57 -07:00
Mukesh Ojha
851140def4 ARM: dts: msm: Allow memory from lower 4G for adsp/cdsp/modem
For VM bootup the scm device needs to have memory from above 4GB, but for
PIL boot the Metadata memory needs to be limited to 32 bit. This is
because the authentication software for the metadata in the secure world
works with only 32 bit addresses. Add support for only 32 bit addresses
for PIL and memory from anywhere for other memory allocation from SCM
device.

Currently, this is being enabled for ADSP/CDSP/MSS however, this limitation
 was applicable only for modem and not with ADSP/CDSP but there was some
issue observed with above 4G addresses allocated for ADSP/CDSP and it
was analyzed that it could be only issue on emulation platform and will
not observed on Silicon. So, we could revert this change for ADSP/CDSP
if the issue is not observed on Silicon.

Change-Id: I398158a76207f4ef43770ed60210d1f155263850
Signed-off-by: Mukesh Ojha <quic_mojha@quicinc.com>
2023-11-02 10:48:42 +05:30
Wesley Cheng
f9d2f1d076 dt-bindings: Add USB QMI audio DT bindings
Introduce bindings for the USB QMI audio offload driver.  Defines the
required properties, as well as lists an example of the node definition.

Change-Id: I43a7dadc8ac45a26de00f295c0bed0ae20e6075c
Signed-off-by: Wesley Cheng <quic_wcheng@quicinc.com>
2023-11-01 17:38:39 -07:00
qctecmdr
996ce2d0c4 Merge "ARM: dts: msm: Add GLINK PKT nodes for sun" 2023-11-01 14:38:09 -07:00
qctecmdr
8cf370c356 Merge "dt-bindings: iio: qcom,spmi-vadc: Add PMIC5 GEN3 ADC bindings" 2023-11-01 14:38:09 -07:00
David Collins
494135fa9b ARM: dts: qcom: switch to RPMh control of VRM regulators on Sun
Replace the stub-regulator devices for VRM managed PMIC regulators
with rpmh-regulator devices.  This ensures that consumers are able
to modify the physical state of these PMIC regulators.

Update all regulator voltage limits to match the latest hardware
guidance.

Remove references to regulator L3B since RPMh will not be providing
support for it.

Change-Id: Ieee28b3860d013837ca273c32606bf3e0b0d2a6b
Signed-off-by: David Collins <quic_collinsd@quicinc.com>
2023-11-01 14:27:32 -07:00
Satya Durga Srinivasu Prabhala
63b5b62c9b ARM: dts: msm: add Modem DSM region info to IMEM
IMEM gets updated with Modem DSM memory region info when Modem taken out
of reset by APPS and the info is used for collection of coredumps.

Change-Id: I313d374772bcc95495e9965b7fa1f455ac36a82a
Signed-off-by: Satya Durga Srinivasu Prabhala <quic_satyap@quicinc.com>
2023-11-01 11:30:09 -07:00
Phani Kumar Uppalapati
d88e9a61df ARM: dts: msm: add wcd_usbss and sdam_71 nodes for sun
Add device tree nodes for wcd usb subsystem and pmic
sdam_71 needed for usb analog audio, display functionality.

Change-Id: I35cb8e17efb1c7288330a1b125a03b23990a829b
Signed-off-by: Phani Kumar Uppalapati <quic_phaniu@quicinc.com>
2023-11-01 10:46:24 -07:00
qctecmdr
c15c13a04e Merge "ARM: dts: msm: Add dtsi entries for sun vm" 2023-11-01 03:25:57 -07:00
qctecmdr
e48a855b11 Merge "ARM: dts: qcom: Add SPU related nodes to sun dtsi" 2023-11-01 03:25:56 -07:00
qctecmdr
c7340cbb38 Merge "ARM: dts: msm: Add smp2p_sleepstate and qsee irq bridge" 2023-11-01 03:25:56 -07:00
Hrishabh Rajput
52b598b87a ARM: dts: msm: Add swiotlb command line parameter for OEMVMs
In 'commit 583aa96f35 ("ARM: dts: msm: Add swiotlb command line
parameter for VMs")', option "swiotlb=noforce" was appended to kernel
command line for trusted VMs. Extending the change to OEMVMs.

Change-Id: I3371bc3d077ef4a45d7a66779a77bdf434c0f5e0
Signed-off-by: Hrishabh Rajput <quic_hrishabh@quicinc.com>
2023-10-31 22:38:55 -07:00
qctecmdr
432ded0756 Merge "ARM: dts: msm: Add clock phandles for debugcc on Pineapple" 2023-10-31 16:15:16 -07:00
qctecmdr
059e89f545 Merge "ARM: dts: qcom: Add ufs support for sun platforms" 2023-10-31 16:15:15 -07:00
qctecmdr
aec5d10f3c Merge "dt-bindings: Have find traverse through symlink" 2023-10-31 16:15:15 -07:00
qctecmdr
9ca808cf63 Merge "bindings: buses: Update BAM driver bindings for Sun" 2023-10-31 16:15:15 -07:00
qctecmdr
76c3ffc776 Merge "ARM: dts: msm: Add mem-offline device for sun" 2023-10-31 16:15:15 -07:00
qctecmdr
949e2ccbd5 Merge "dt-bindings: net: Add bindings for the qrtr-mhi driver" 2023-10-31 16:15:15 -07:00
qctecmdr
38c1283453 Merge "dt-bindings: buses: Add slimbus driver bindings for Sun" 2023-10-31 16:15:14 -07:00
qctecmdr
cccc862bc6 Merge "ARM: dts: msm: Add dma-buf heaps for sun-vm" 2023-10-31 16:15:14 -07:00
qctecmdr
501a7fcfc5 Merge "ARM: dts: msm: Disable SW DRV for pcie in sun" 2023-10-31 15:55:52 -07:00
qctecmdr
80a9be92a5 Merge "dt-bindings: msm: Add snapshot of IMEM document" 2023-10-31 15:55:52 -07:00
qctecmdr
b3231b1467 Merge "ARM: dts: msm: Add phy gdsc for pcie node in sun" 2023-10-31 15:55:52 -07:00
Kishore Kumar Ravi
4f4abafb24 ARM: dts: msm: Add GLINK PKT nodes for sun
GLINK PKT provides a userspace interface to RPMSG GLINK through
character device node. Add the nodes and corresponding channel
devices to enable GLINK communication from userspace.

Change-Id: I0b7c9b273df3201113095fba9c70d10599b8faf7
Signed-off-by: Kishore Kumar Ravi <quic_kiskum@quicinc.com>
2023-10-31 17:24:22 +05:30
Kishore Kumar Ravi
b27696bd54 ARM: dts: msm: Add smp2p_sleepstate and qsee irq bridge
Add the smp2p sleepstate and qsee_ipc_irq_bridge
nodes for sun.

Change-Id: Iecdde69fe89d883c87ea9cd527a6753355d2327d
Signed-off-by: Kishore Kumar Ravi <quic_kiskum@quicinc.com>
2023-10-31 17:21:21 +05:30
Chandana Kishori Chiluveru
c89ff6007c bindings: buses: Update BAM driver bindings for Sun
Update BAM driver binding for Sun device.

Change-Id: I571c2925e305f590dcbbbeb460d4ac7ae6b84618
Signed-off-by: Chandana Kishori Chiluveru <quic_cchiluve@quicinc.com>
2023-10-30 21:44:26 -07:00
Anmolpreet Kaur
91bc24856f ARM: dts: msm: Add dtsi entries for sun vm
Add dts entries for smcinvoke and
qtee shmbridge driver in sun vm.

Change-Id: I5ce5eddf5854735a676e1bf1bb0c5dfa67d569b6
Signed-off-by: Anmolpreet Kaur <quic_anmolpre@quicinc.com>
2023-10-30 13:16:24 -07:00
Nurit Lichtenstein
c2eaf10f3d ARM: dts: qcom: Enable SPU nodes in sun dtsi
Enable spcom and spss_utils.

Change-Id: I5066c10a6fad276f701cd6a6147c5e21471a8071
Signed-off-by: Nurit Lichtenstein <quic_nuritl@quicinc.com>
2023-10-30 22:07:58 +02:00
Hrishabh Rajput
1f2a22626c bindings: Update TLMM VM documentation for Sun
Pinctrl driver enables Top Level Mode Multiplexer block(TLMM)
on Sun VM. TLMM VM irqchip acts as parent interrupt controller
for TLMM on VM.

Change-Id: I36df331dc4af91a5ef1f46c7791ffaa79d8f289f
Signed-off-by: Hrishabh Rajput <quic_hrishabh@quicinc.com>
2023-10-30 16:17:26 +05:30
Madhu Pagadoju
263dd136b3 dt-bindings: soc: qcom: Add binding for adsp_sleepmon driver
Add binding for adsp_sleepmon driver in YAML.

Change-Id: Ifa285e4a4fb38ab83a354cb23bb1c6a3a65ba47b
Signed-off-by: Madhu Pagadoju <quic_mpagadoj@quicinc.com>
2023-10-30 10:21:54 +05:30
Mike Tipton
08133a1db7 ARM: dts: msm: Update video_cc_mvs0_gdsc parent-supply for Sun
The mvs0c_gdsc needs to be enabled first for mvs0_gdsc to turn on
reliably, so list it as a parent to enforce this relationship.

Change-Id: I2b6cf6861d1bf8ddb8eb764be3ba175edee9e3db
Signed-off-by: Mike Tipton <quic_mdtipton@quicinc.com>
2023-10-27 12:54:57 -07:00