Commit Graph

363 Commits

Author SHA1 Message Date
qctecmdr
9cbd2205b0 Merge "ARM: dts: qcom: Add SD card support for sun platforms" 2023-11-06 17:25:16 -08:00
qctecmdr
2266fdd708 Merge "ARM: dts: msm: gunyah: Add msgq,dbl,irq test node for pineapple" 2023-11-06 17:25:15 -08:00
qctecmdr
2bef37bce6 Merge "ARM: dts: msm: Update sun device tree for adsp_sleepmon and cdsprm" 2023-11-06 17:25:15 -08:00
Rashid Zafar
56b0c9980a ARM: dts: qcom: Add dev freq cooling device for sun
Add dev freq cooling device and respective GPU cooling maps
for sun.

Change-Id: Iddc97a45a31804662c3db01730fa710e7eb7eecb
Signed-off-by: Rashid Zafar <quic_rzafar@quicinc.com>
2023-11-06 15:52:56 -08:00
Chaitanya Pratapa
3d59b3858c ARM: dts: msm: Enable IPA SMP2P nodes for Sun
Make changes to enable IPA SMP2P nodes for sun to
communicate with modem.

Change-Id: Ia2cf79f51ea3d164d82be5db53aa2163e0c5f799
Signed-off-by: Chaitanya Pratapa <quic_cpratapa@quicinc.com>
2023-11-06 12:56:01 -08:00
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
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
Vivek Aknurwar
fefc9206b3 ARM: dts: msm: Add gcc qcom-dummycc support for TVM on sun
For upstream and tvm qup common driver uses gcc phandles which
are common in dt and to avoid qup driver probe failure qcom-dummycc
is added as they are nop. This helps in avoiding additional logic
in qup driver to not conditionalize based on variant.

Change-Id: Ie91b01b583a4482d8fa5e6eb2922a8e914876657
Signed-off-by: Vivek Aknurwar <quic_viveka@quicinc.com>
2023-11-06 01:31:10 -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
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
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
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
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
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
982a4b3ee3 Merge "ARM: dts: qcom: Enable SPU nodes in sun dtsi" 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
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
qctecmdr
996ce2d0c4 Merge "ARM: dts: msm: Add GLINK PKT nodes for sun" 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
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
76c3ffc776 Merge "ARM: dts: msm: Add mem-offline device for sun" 2023-10-31 16:15:15 -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