Commit Graph

566 Commits

Author SHA1 Message Date
Anjelique Melendez
6af8d8d6cf ARM: dts: qcom: add flash/torch/switch devices for Sun boards
Add flash, torch, and switch devices from PM8550 flash LED device to
support camera flash use cases on Sun boards.

Change-Id: Ieb78a7ab63709f04489024e8fcaf8f14de90347e
Signed-off-by: Anjelique Melendez <quic_amelende@quicinc.com>
2023-11-06 12:55:41 -08:00
Ronak Vijay Raheja
1fb24b5e92 ARM: dts: msm: Add M31 HS and QMP SS USB PHY configuration on sun
Add M31 eUSB2 and QMP SS PHY nodes to sun. Add required dependencies in
pinctrl as well for HW based SS lane detection.

Change-Id: Ib1546aa7d92853a88a05d0bbc836ec4caac40960
Signed-off-by: Ronak Vijay Raheja <quic_rraheja@quicinc.com>
2023-11-06 11:14:37 -08:00
Chandana Kishori Chiluveru
3087b9c59a dt-bindings: platform: msm: Add Q2SPI msm geni bindings for Sun
Add DT bindings for SPI which provides the resource management details
for the Q2SPI geni msm driver.

Change-Id: I1142c87b437177ec7587f8c0f1a823fbdb1c7fbb
Signed-off-by: Chandana Kishori Chiluveru <quic_cchiluve@quicinc.com>
2023-11-06 09:29:13 -08:00
Sheik Anwar Shabic Y
b8bc34e76c ARM: dts: msm: Add entry for hdcp smcinvoke enablement
Add entry for hdcp smcinvoke interface enablement.

Change-Id: Id815d8c4577bdf8f68f6b0f20844bbcc3b4f716e
Signed-off-by: Sheik Anwar Shabic Y <quic_sheikanw@quicinc.com>
2023-11-06 05:36:46 -08:00
Chandana Kishori Chiluveru
96fb2799a5 ARM: dts: msm: Add Qupv3 Q2SPI instance for SUN
This change adds Q2SPI support on Qupv3_2 SE5 Instance.

Change-Id: I3af596d38e9997b6744f28e484f93325bbc613be
Signed-off-by: Chandana Kishori Chiluveru <quic_cchiluve@quicinc.com>
2023-11-06 00:22:01 -08:00
Meena Pasumarthi
909b17e5d0 ARM: dts: msm: gunyah: Add msgq,dbl,irq test node for pineapple
1. Add message-queue, doorbell test node to pineapple.dtsi,
   pineapple-vm.dtsi, pineapple-oemvm.dtsi.
2. Add irq lend test node to pineapple.dtsi and pineapple-vm.dtsi.
3. These nodes validate hypervisor message-queue,doorbell and
   irq lend functionalities respectively.

Change-Id: Iff5d8652b55c3d32adf92b3c16e501e85db75a49
Signed-off-by: Meena Pasumarthi <quic_pasumart@quicinc.com>
2023-11-06 11:42:35 +05:30
Hrishabh Rajput
b6d1e80068 ARM: dts: msm: Enable tlmm VM mem nodes for Sun
Enable tlmm VM mem access device tree nodes for Sun.

Change-Id: Ibb4ec4d8b4e50ba5b52b0af9346c8c6c32dfb5d2
Signed-off-by: Hrishabh Rajput <quic_hrishabh@quicinc.com>
2023-11-06 11:23:45 +05:30
Patrick Daly
d1ea2dcffd ARM: dts: msm: Upgrade memory map to v3
Update to the latest memory map v3.

Change-Id: I6bf5d68cb7585a372118c5509fbe85ed86ac158a
Signed-off-by: Patrick Daly <quic_pdaly@quicinc.com>
2023-11-05 20:11:14 -08:00
Ziqi Chen
d1de22a32a ARM: dts: qcom: Add SD card support for sun platforms
Add SD card support for mtp/cdp/qrd sun platforms.

Change-Id: I40ea8c28354040dd7417d6401d60613226c495f4
Signed-off-by: Ziqi Chen <quic_ziqichen@quicinc.com>
2023-11-06 10:44:25 +08:00
qctecmdr
7c6eec62b8 Merge "bindings: soc: qcom: Add v2, v3 and v4 bindings" 2023-11-05 18:20:09 -08:00
qctecmdr
b9642d6a79 Merge "dt-bindings: buses: Add SPS (Smart Peripheral Switch) bindings for SUN" 2023-11-05 10:59:11 -08:00
qctecmdr
be9cb5bbff Merge "ARM: dts: msm: Add SPS node for SUN" 2023-11-05 10:59:11 -08:00
qctecmdr
fb52675156 Merge "ARM: dts: qcom: add primary SPMI debug bus for Sun boards" 2023-11-04 17:39:20 -07:00
Devender Kaushik
3bece2fe38 dt-bindings: Add snapshot of remote debugger driver
The Remote Debugger driver allows a debugger running
on a host PC to communicate with a remotestub running
on peripheral subsystems.
This snapshot was taken as of msm-4.14 commit.

Change-Id: I30ef2c9b67904f80867df82552572978ab09a05c
Signed-off-by: Devender Kaushik <quic_dkaushik@quicinc.com>
2023-11-04 14:31:30 +05:30
qctecmdr
f78fe0ea4c Merge "ARM: dts: msm: add wcd_usbss and sdam_71 nodes for sun" 2023-11-03 19:34:10 -07:00
qctecmdr
416f4cf765 Merge "ARM: dts: qcom: Add SLIMBUS and BAM dtsi nodes for SUN" 2023-11-03 19:34:09 -07:00
qctecmdr
219d35cf5c Merge "ARM: dts: qcom: switch to RPMh control of VRM regulators on Sun" 2023-11-03 19:34:09 -07:00
qctecmdr
f2d205a2e9 Merge "dt-bindings: Add USB QMI audio DT bindings" 2023-11-03 19:34:09 -07:00
qctecmdr
e35e6ed8d0 Merge "ARM: dts: msm: sun: Add cpu vendor hooks node" 2023-11-03 19:34:09 -07:00
Rashid Zafar
4ae21fec65 ARM: dts: msm: Disable low power modes for sun
Disable low power modes for sun through kernel command
line parameters.

Change-Id: Icbd6d6637f5532380048b51c5cbba5a790526c5b
Signed-off-by: Rashid Zafar <quic_rzafar@quicinc.com>
2023-11-03 16:00:06 -07:00
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
Chandana Kishori Chiluveru
250af492a7 ARM: dts: msm: Add Qupv3 Q2SPI instance for pineapple
This change adds Q2SPI support on Qupv3_2 SE5 Instance.

Change-Id: Ib1700b42c04600cc335d560d2991099ea12f8b7e
Signed-off-by: Chandana Kishori Chiluveru <quic_cchiluve@quicinc.com>
2023-11-01 11:40:39 -07:00
Bao D. Nguyen
a8049f5aa9 ARM: dts: qcom: Correct CPU masks for sun platforms
Correct the prime and silver cores mapping.
Enable the smmu's iommu-dma-addr-pool to reduce memory usage.
Enable the smmu's dma-coherent.

Change-Id: I4c28c48b59cc8cf4159969f89d7983d574921a4f
Signed-off-by: Bao D. Nguyen <quic_nguyenb@quicinc.com>
2023-11-01 11:36:41 -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