Commit Graph

2491 Commits

Author SHA1 Message Date
Hrishabh Rajput
40dcea4020 bindings: firmware: scm: Add bindings for waitqueue-aware firmware
Some firmware images support the processing of SMC calls via the
waitqueue mechanism. Add compatible string to support this feature.

Change-Id: I2ccc760a886d1fb9bd0f2a1581933ac93aa0e276
Signed-off-by: Hrishabh Rajput <quic_hrishabh@quicinc.com>
2023-11-07 21:27:33 +05:30
Meena Pasumarthi
01d92b6ef4 ARM: dts: msm: gunyah: Add vcpu sched test for pineapple
Add vcpu sched test msgq in TUIVM vdevice node to validate
gunyah vcpu scheduling.

Change-Id: I16c0d9e17d8421413e0ea4203e7a71834050f1b6
Signed-off-by: Meena Pasumarthi <quic_pasumart@quicinc.com>
2023-11-07 19:32:09 +05:30
Yuanfang Zhang
01986ee6f6 ARM: dts: msm: add dump table for sun
Add memory dump table for sun.

Change-Id: I1ed6ad897b7bf1be878821475c5270a406efb3d7
Signed-off-by: Yuanfang Zhang <quic_yuanfang@quicinc.com>
2023-11-07 02:40:59 -08:00
Hrishabh Rajput
f038d31c35 ARM: dts: msm: Add tlmm VM test driver for Sun
Add tlmm VM test driver device tree support for Sun.

Change-Id: I131fcdaec94b6551d99753108276cfc8126187db
Signed-off-by: Hrishabh Rajput <quic_hrishabh@quicinc.com>
2023-11-07 14:29:13 +05:30
Hrishabh Rajput
1b846fd98d ARM: dts: msm: Add panic notif and ddump nodes for Sun
Add Gunyah panic notifier and dmesg dumper nodes for Sun.

Change-Id: Iae136b6c98f983ac228f59b81af700878b8bf426
Signed-off-by: Hrishabh Rajput <quic_hrishabh@quicinc.com>
2023-11-07 14:15:22 +05:30
qctecmdr
c66475eb27 Merge "dt-bindings: Add snapshot of remote debugger driver" 2023-11-06 20:48:31 -08:00
qctecmdr
c73e2984f6 Merge "ARM: dts: msm: Add CRM device for camera and PCIe for sun" 2023-11-06 20:48:31 -08:00
Rashid Zafar
42bffb9d18 ARM: dts: qcom: Add CPU hotplug and pause cooling device for sun
Add CPU hotplug and pause cooling device to hotplug or pause any
CPU under thermal conditions on sun. Added the respective pause and
hotplug cooling maps to the CPUs and added cooling-cells property for
each CPU.

Change-Id: I6753ee0d77511d58ba313707381f2e0b9114eeed
Signed-off-by: Rashid Zafar <quic_rzafar@quicinc.com>
2023-11-06 19:00:49 -08:00
Patrick Daly
17f571cf08 Revert "ARM: dts: msm: sun: Disable GPU node"
This reverts commit 989e04083d.

Change-Id: Iff198c54ec7857869348be7f2fbd251925daba2c
Signed-off-by: Patrick Daly <quic_pdaly@quicinc.com>
2023-11-06 17:34:10 -08:00
qctecmdr
7387cd6f99 Merge "ARM: dts: msm: Allow memory from lower 4G for adsp/cdsp/modem" 2023-11-06 17:25:16 -08:00
qctecmdr
0f2ad8cdae Merge "ARM: dts: msm: Enable tlmm VM mem nodes for Sun" 2023-11-06 17:25:16 -08:00
qctecmdr
a32c54a6ab Merge "dt-bindings: soc: qcom: Add binding for adsp_sleepmon driver" 2023-11-06 17:25:16 -08:00
qctecmdr
1cb510caf6 Merge "ARM: dts: msm: Add swiotlb command line parameter for OEMVMs" 2023-11-06 17:25:16 -08:00
qctecmdr
d77d0e6125 Merge "bindings: Update TLMM VM documentation for Sun" 2023-11-06 17:25:16 -08:00
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
qctecmdr
f933d01fd2 Merge "bindings: Add bindings for the gunyah panic notifier" 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
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
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
e4199f6cf9 ARM: dts: qcom: Add uses_level_shifter for sun
When this "qcom,uses_level_shifter" DT entry is present
but "qcom,external-fb-clk" is not present, the SD card's
HS50 mode is run at 37.5MHz clock. This is to work around
a latency issue caused by the addition of the Level Shifter
logic. In order to use the 50MHz clock in HS50 mode, there
are two ways:
- Keep "qcom,uses_level_shifter" and "qcom,external-fb-clk"
  and make sure the Feedback Clock (FB CLK) connection between
  the Level Shifter and the MSM must be good.

- Remove "qcom,uses_level_shifter" from DT.

Please note that the "qcom,external-fb-clk" depends on
"qcom,uses_level_shifter", only set "qcom,external-fb-clk"
would not take effect.

Change-Id: Ib3a4cf5c9c20e2094556c3196d91b7e9723e0a1e
Signed-off-by: Ziqi Chen <quic_ziqichen@quicinc.com>
2023-11-05 18:47:03 -08:00
Ziqi Chen
46406e9db9 ARM: dts: qcom: Add is_rumi for sun RUMI
Due to RUMI limitations only HS mode is supported on RUMI for SD cards,
add DT flag is_rumi for sun RUMI to enable SD card on HS mode.

Change-Id: Ib962ddb24cf89f2058760d1cfbff80db058fd216
Signed-off-by: Ziqi Chen <quic_ziqichen@quicinc.com>
2023-11-05 18:46:27 -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