Commit Graph

603 Commits

Author SHA1 Message Date
qctecmdr
7850bd8a5f Merge "ARM: dts: msm: Add Qupv3 Q2SPI instance for SUN" 2023-11-09 07:43:32 -08:00
qctecmdr
4fc19d4822 Merge "ARM: dts: msm: Add PMIC ADC5 GEN3 channels for sun" 2023-11-09 07:43:31 -08:00
Anil Veshala Veshala
386d893603 ARM: dts: msm: add i2c/i3c gpio access to apps and adsp
To access gpios from apps and adsp, we have added apps and
remote flag in dtsi. To identify apps is busy or not, added
qcom-apps flag during active state and added qcom-remote flag
during suspend state, so other SS can use gpios during apps
in suspend state. with this flags in pinctrl file for respective
GPIOs will help eGPIO to work for AON camera usecase.

Change-Id: I621ae6be653fe89034245d80b650afd8893c7e41
Signed-off-by: Anil Veshala Veshala <quic_aveshala@quicinc.com>
2023-11-08 20:29:08 -08:00
Mike Tipton
78296310bf ARM: dts: msm: Add PCIe CRM bcm-voters for Sun
Add the PCIe CRM bcm-voters, which are required to support voting BW on
behalf of the PCIe CRM HW clients.

Change-Id: Ic02fe99d26f80c9f156268aed452073cafd768ee
Signed-off-by: Mike Tipton <quic_mdtipton@quicinc.com>
2023-11-08 18:35:00 -08:00
Rashid Zafar
478c4ffd02 ARM: dts: msm: Update CPUidle states for sun vm
Update cpuidle parameters like name, latency, residency, suspend
params and keep them disabled.

Change-Id: I37213e5713165ed72f1e079a90936aed87083b61
Signed-off-by: Rashid Zafar <quic_rzafar@quicinc.com>
2023-11-08 15:31:26 -08:00
qctecmdr
24ed8ce4ae Merge "ARM: dts: msm: Add panic notif and ddump nodes for Sun" 2023-11-08 14:30:25 -08:00
qctecmdr
4dee1fc1a6 Merge "ARM: dts: msm: Add entry for hdcp smcinvoke enablement" 2023-11-08 14:30:25 -08:00
qctecmdr
187aad5410 Merge "ARM: dts: msm: Add tlmm VM test driver for Sun" 2023-11-08 14:30:25 -08:00
qctecmdr
6d46ec97c3 Merge "ARM: dts: msm: Upgrade memory map to v3" 2023-11-08 14:30:24 -08:00
qctecmdr
8dbc6564c9 Merge "ARM: dts: msm: gunyah: Add vcpu sched test for pineapple" 2023-11-08 14:30:24 -08:00
qctecmdr
66eb5e14ab Merge "ARM: dts: msm: Disable low power modes for sun" 2023-11-08 14:30:24 -08:00
Prudhvi Yarlagadda
9a8cfbfe05 ARM: dts: msm: Modify the pcie dt node names for sun
Change the pcie devicetree node names to be in line with the
pci-bus.yaml format.

Change-Id: I46b56b7aee492c746554ac2a3575cd11c2108efb
Signed-off-by: Prudhvi Yarlagadda <quic_pyarlaga@quicinc.com>
2023-11-08 14:29:54 -08:00
Prudhvi Yarlagadda
1cd69cb62a ARM: dts: msm: Modify the pcie dt node names for pineapple
Change the pcie devicetree node names to be in line with the
pci-bus.yaml format.

Change-Id: Ic7d5158f988163e6053df27aa8084a1a1f5b8f0d
Signed-off-by: Prudhvi Yarlagadda <quic_pyarlaga@quicinc.com>
2023-11-08 14:27:24 -08:00
Melody Olvera
ebe5a1dd5f ARM: dts: msm: sun: Add node for download mode
Add download mode node for sun SoC.

Change-Id: I802ed153ddec1b74d17e5357d0ca69cb5b02b59f
Signed-off-by: Melody Olvera <quic_molvera@quicinc.com>
2023-11-08 13:10:28 -08:00
Yuanfang Zhang
ec1e4e821d ARM: dts: msm: rename node name for modem-diag on sun
Rename node name for modem-diag node and add memory-region
for modem-etr1 on sun.

Change-Id: I8430a422d3b2bbb2ea7ecd489b675bd946ef29c1
Signed-off-by: Yuanfang Zhang <quic_yuanfang@quicinc.com>
2023-11-08 05:53:20 -08:00
songrui
ff6f9a62f4 ARM: dts: qcom: Enable the proxy node for HLOS
Enable the HLOS SMMU proxy driver.

Change-Id: Ic4f7acc8bf64f63ee14dc224d57e3c3e0b82c8bc
Signed-off-by: Cong Zhang <quic_congzhan@quicinc.com>
Signed-off-by: songrui <quic_songrui@quicinc.com>
2023-11-08 16:06:26 +08:00
Minghao Zhang
45d58dfabd ARM: dts: msm: Add qcom_stats for sun
This change adds qcom_stats device node.

Change-Id: I924cbe57872c315632bd0421bfcdde2e21e37b94
Signed-off-by: Minghao Zhang <quic_minghao@quicinc.com>
2023-11-08 14:35:49 +08:00
Anil Veshala Veshala
886152e70f ARM: dts: msm: add changes for tre size
Increased tre size to 1024 for i2c camera instance.

Change-Id: I60a7cd5bff7689a72fb6c82b224fb8ddb189205c
Signed-off-by: Anil Veshala Veshala <quic_aveshala@quicinc.com>
2023-11-07 22:19:55 -08:00
Anil Veshala Veshala
a4d7434bfe ARM: dts: msm: add qupv3 i3c/i2c pineapple changes
on KP4.0

On KP4.0 Pineapple changes for qupv3 doesn't have latest changes
when compared to KP3.0, updated all missing changes for i2c/i3c.

Change-Id: Iada78f857dde1f02565111fa92e5ad64ccd6b553
Signed-off-by: Anil Veshala Veshala <quic_aveshala@quicinc.com>
2023-11-07 22:13:20 -08:00
Unnathi Chalicheemala
fca71be370 ARM: dts: msm: Add v8 Power Grid DT support on Sun SoC
Add device tree support for v8 Power Grid on MTP, CDP, QRD
platforms for Sun SoC.

Change-Id: Iceac9ff05e97fb384f1bb0e641ad6ec568d75076
Signed-off-by: Unnathi Chalicheemala <quic_uchalich@quicinc.com>
2023-11-07 22:10:16 -08:00
Unnathi Chalicheemala
d19618b5c7 ARM: dts: msm: Add NFC support for Sun SoC
Add NFC support for MTP, CDP platforms on Sun SoC.

Change-Id: I93755e3861d5d075f020ea5856caed56d57db922
Signed-off-by: Unnathi Chalicheemala <quic_uchalich@quicinc.com>
2023-11-07 22:10:08 -08:00
Unnathi Chalicheemala
3afa08eaed ARM: dts: msm: Support for APQ variant on Sun SoC
Add v1 and v2 DT support for APQ variant on MTP, CDP
and QRD platforms.

Change-Id: Ifb447f14db06038d537951bd9b37f279c4757c0b
Signed-off-by: Unnathi Chalicheemala <quic_uchalich@quicinc.com>
2023-11-07 22:09:58 -08:00
Anjelique Melendez
a1134d3fc4 ARM: dts: msm: Add PMIC ADC5 GEN3 channels for sun
Add VADC channels provided by pmk8550 that are used by thermal clients
on Sun. Also, add the corresponding thermal zone devices.

Change-Id: Ia3113ff6f5c76cd7f4582808b1672d3ddecadab7
Signed-off-by: Anjelique Melendez <quic_amelende@quicinc.com>
2023-11-07 13:49:14 -08:00
Anjelique Melendez
388044d917 ARM: dts: msm: Update PM8550VS and PM8550VE VADC registers for pineapple
Currently, PM8550VS and PM8550VE ADC channels are using old macros for
register address. Update device nodes so that they use the new
PM8550VX_ADC5_GEN3_<channel>(sid) macros.

Change-Id: I151d965a3eb03ad318deb21dea47170e5806f37a
Signed-off-by: Anjelique Melendez <quic_amelende@quicinc.com>
2023-11-07 13:42:14 -08:00
Ronak Vijay Raheja
6b8cb6e8ba ARM: dts: msm: Add eUSB2 repeater nodes for sun
Add the eUSB2 repeater node and references for PMIH010x.

Change-Id: I7f4cbb0976510068e5347e0625e7c48e286286e7
Signed-off-by: Ronak Vijay Raheja <quic_rraheja@quicinc.com>
2023-11-07 12:03:43 -08:00
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
1cb510caf6 Merge "ARM: dts: msm: Add swiotlb command line parameter for OEMVMs" 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
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
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