Commit Graph

851 Commits

Author SHA1 Message Date
qctecmdr
f8a0784d34 Merge "ARM: dts: msm: Add CRM display device for sun" 2023-12-13 15:48:03 -08:00
Tony Truong
0b7cc56210 ARM: dts: msm: Add memshare for sun
Add memshare nodes for client ids 5 and 6 which will be used for the
qmc use case. One of these nodes will allocate memory from a reserved
memory range while the other allocates from system cma.

Change-Id: I9deda5ba526c9d7e44e639fd97ca0825a1de357f
Signed-off-by: Tony Truong <quic_truong@quicinc.com>
2023-12-13 11:21:25 -08:00
qctecmdr
c526c104a8 Merge "ARM: dts: msm: sun: Update arch timer frequencies for VM's" 2023-12-13 04:41:13 -08:00
Minghao Zhang
9dc406c3ad dt-bindings: Add bindings for max31760 fan controller
Add a bindings file for max31760 fan controller.

Change-Id: Id6d885d3678a6ffb1b1797b85e37dae121b66fa8
Signed-off-by: Minghao Zhang <quic_minghao@quicinc.com>
2023-12-13 15:27:08 +08:00
David Collins
f1387aade5 ARM: dts: qcom: add gh-watchdog dependency to pmic-pon-log device for Sun
Add a dependency between the gh-watchdog and pmic-pon-log devices
for Sun boards.  This ensures that during system boot-up, the driver
responsible for the gh-watchdog device initializes before the one
responsible for the pmic-pon-log device.

This behavior is critical to ensuring that a PMIC warm-reset correctly
occurs in the situation that the qcom,pmic-fault-panic property is
specified for the pmic-pon-log device and the previous system
power-off was caused by a PMIC fault.

Change-Id: I8c40b19ce150ca5bb3cb9514c7d293481a5009af
Signed-off-by: David Collins <quic_collinsd@quicinc.com>
2023-12-12 17:27:56 -08:00
qctecmdr
65b397a982 Merge "ARM: dts: msm: Add qcedev node for sun" 2023-12-12 16:21:49 -08:00
qctecmdr
7daaf4cf75 Merge "Revert "ARM: dts: qcom: Disable UFS LPM features"" 2023-12-12 14:09:20 -08:00
Amir Vajid
d195191226 ARM: dts: msm: Update bwmon llcc gold node name for sun
Update llcc gold bwmon name to correctly distinguish
its base address.

Change-Id: Id8c431e4093894c719731e88cd807b9a30de7559
Signed-off-by: Amir Vajid <quic_avajid@quicinc.com>
2023-12-12 12:54:48 -08:00
Rashid Zafar
e11de548be ARM: dts: msm: Add CRM display device for sun
Add CRM device for display.

Change-Id: I5a44ab13d114a83de5fb355017636171f2c6bbeb
Signed-off-by: Rashid Zafar <quic_rzafar@quicinc.com>
2023-12-12 12:06:35 -08:00
qctecmdr
f85755715b Merge "ARM: dts: qcom: add AMOLED ECM device for PMD802X" 2023-12-12 11:54:41 -08:00
qctecmdr
21e01c9487 Merge "ARM: dts: msm: Enable cam_ife BCM voters for Sun" 2023-12-12 11:54:41 -08:00
qctecmdr
e0350f4bad Merge "ARM: dts: qcom: enable thermal mitigation for sun boards" 2023-12-12 11:54:41 -08:00
qctecmdr
0a0b61e190 Merge "ARM: dts: msm: add touch node for sun qrd" 2023-12-12 11:54:41 -08:00
Yuanfang Zhang
7072a33acc dt-bindings: add dt-binding for qcom coresight static tpdm
Add devicetree bindings for qcom coresight static tpdm.

Change-Id: I06c39c798beec3a09f68b5363d21f4e6af047bb2
Signed-off-by: Yuanfang Zhang <quic_yuanfang@quicinc.com>
2023-12-12 02:48:38 -08:00
Hrishabh Rajput
39dd838f5b ARM: dts: msm: Add gunyah rm booster node on Sun
Add gunyah rm booster node on pineapple to accelerate vm bootup.

Change-Id: I1dfa561ffa92f95b1a46a6f8453a8c9c8b2c7a3b
Signed-off-by: Hrishabh Rajput <quic_hrishabh@quicinc.com>
2023-12-12 16:04:40 +05:30
Gaurav Kashyap
c02a003c03 ARM: dts: msm: add ufs wrapped key support to sun
Add support for ice wrapped keys to the UFS DTSI entry
on sun targets.

Change-Id: I12687b90be6615e38eaeba959c477ac91b2a4377
Signed-off-by: Gaurav Kashyap <quic_gaurkash@quicinc.com>
2023-12-11 18:56:55 -08:00
qctecmdr
1567c4e1e4 Merge "ARM: dts: msm: Provide a 16 MB CMA region to be used by qmc" 2023-12-11 15:02:24 -08:00
Mike Tipton
de60ed4220 ARM: dts: msm: Enable cam_ife BCM voters for Sun
Enable the cam_ife BCM voters.

Change-Id: I285d171a3e69a720e34dfde1da9c66a6c1dc2f35
Signed-off-by: Mike Tipton <quic_mdtipton@quicinc.com>
2023-12-11 11:56:52 -08:00
qctecmdr
7ba91058ec Merge "ARM: dts: msm: Add boot stats node for Sun" 2023-12-11 09:10:19 -08:00
Rui Chen
cc0d636fb9 ARM: dts: msm: add touch node for sun qrd
Add touch node for sun qrd.

Change-Id: I0a5b59232d76e5e84ecbaefe8c290df85546b530
Signed-off-by: Rui Chen <quic_ruc@quicinc.com>
2023-12-11 08:48:29 -08:00
qctecmdr
d1911c2045 Merge "ARM: dts: msm: Fix disp_rsc device size for sun" 2023-12-11 04:19:37 -08:00
Mukesh Ojha
d2c19a450f ARM: dts: msm: Add boot stats node for Sun
Add boot stats node for Sun SoC.

Change-Id: Ia94e6a5eb254dfaf2e2f0f1722ce96e4d7b46380
Signed-off-by: Mukesh Ojha <quic_mojha@quicinc.com>
2023-12-11 02:07:30 -08:00
Mukesh Ojha
86be4f238d ARM: dts: msm: sun: Update arch timer frequencies for VM's
Since, we are settle down with 19.2 MHZ for Arch timer frequency
for Sun target, let's do it for VM as well.

Change-Id: I456015fefd6fb7df53cb1d0258e2ee988fd5c88f
Signed-off-by: Mukesh Ojha <quic_mojha@quicinc.com>
2023-12-11 13:43:29 +05:30
Rashid Zafar
95756d62ed ARM: dts: msm: Fix disp_rsc device size for sun
Update disp_rsc device to use correct 0x1000 size instead of 0x10000
for sun.

Change-Id: I81607aaf202ff18032fa117dfbb6f47f4e4ebb40
Signed-off-by: Rashid Zafar <quic_rzafar@quicinc.com>
2023-12-10 22:22:17 -08:00
Vivek Aknurwar
bd2c99f69a ARM: dts: msm: Add dispcc crmc device for Sun
Add dispcc crmc node for Sun.

Change-Id: I3d2835d1c7f00d50527cfeb975442e3e9c5eaa32
Signed-off-by: Vivek Aknurwar <quic_viveka@quicinc.com>
2023-12-10 21:56:06 -08:00
qctecmdr
30a945eb67 Merge "ARM: dts: msm: Add devicetree bindings for bootstat driver" 2023-12-10 17:20:09 -08:00
Daniel Perez-Zoghbi
9f4627e0cc ARM: dts: msm: Add qcedev node for sun
Add qcedev crypto support for sun platforms.

Change-Id: Id558a7d0620afa40c8d9b8e43161d8f6ca09e810
Signed-off-by: Daniel Perez-Zoghbi <quic_dperezzo@quicinc.com>
2023-12-10 18:12:50 +05:30
qctecmdr
e8f3adbd42 Merge "ARM: dts: msm: Define qcom,display heap for sun" 2023-12-08 21:39:09 -08:00
Patrick Daly
2f896b15ad ARM: dts: msm: Provide a 16 MB CMA region to be used by qmc
Provide a contiguous region for use by qmc. Unless explicitly
instructed, this region should not be used by external customers.

Change-Id: I98f651c835cf7fa19eba2bc209eb7b7807245877
Signed-off-by: Patrick Daly <quic_pdaly@quicinc.com>
2023-12-08 16:36:40 -08:00
qctecmdr
ab98ba3855 Merge "ARM: dts: msm: Add ATP DT overlay to build files" 2023-12-07 03:32:37 -08:00
Mukesh Ojha
48a34fba6b ARM: dts: msm: Remove some redundant bootargs from pineapple
There are some bootargs are redundant and unnecessary getting
carried from older target they are useless and need not be
carried on current targets like service_locator.enable=1.
While some like ftrace_dump_on_oops need to be enable when
minidump gets enabled.

Change-Id: Ib73d1cb7f7e2242dd52524520164c3c89b79083e
Signed-off-by: Mukesh Ojha <quic_mojha@quicinc.com>
2023-12-07 12:12:27 +05:30
Mukesh Ojha
4219d26120 ARM: dts: msm: Add devicetree bindings for bootstat driver
Add the device tree binding for mpm sleep counter
so that it device nodes can be added for respective
SoC where it is supported.

Change-Id: Ic503641c25a4be7121cbf00ccffe103e641cd2f8
Signed-off-by: Mukesh Ojha <quic_mojha@quicinc.com>
2023-12-06 21:30:15 -08:00
qctecmdr
10b90724b0 Merge "ARM: dts: msm: Add qcom,sensitive property for Sun VM" 2023-12-06 20:47:24 -08:00
qctecmdr
57c87bca8d Merge "dt-bindings: pci: Remove cesta-l1sub-timeout-ext-int property" 2023-12-06 18:16:01 -08:00
qctecmdr
015d0b199f Merge "ARM: dts: msm: Add high resolution PWM for PMK8550" 2023-12-06 18:16:01 -08:00
qctecmdr
d5ba507877 Merge "ARM: dts: msm: add coresight gladiator for sun" 2023-12-06 18:16:00 -08:00
qctecmdr
515031fa4d Merge "dt-bindings: Add devicetree bindings for qcedev" 2023-12-06 18:16:00 -08:00
qctecmdr
6b583247d0 Merge "ARM: dts: msm: disable tpdm pcie-rscc and spss on sun" 2023-12-06 18:16:00 -08:00
Prudhvi Yarlagadda
32a0054a70 dt-bindings: pci: Remove cesta-l1sub-timeout-ext-int property
Remove the qcom,cesta-l1sub-timeout-ext-int property as its no
longer required due to recent changes in the pcie driver using the
change commit b53d4aa20ee7 ("pci: msm: Add support to enable
PCIE CESTA clkreq config").

Initially this property was intended to be used to enable the BIT(3):
PARF_CESTA_L1SUB_TIMEOUT_EXT_INT_EN field of
PCIE0_PCIE_PARF_L1SUB_CESTA_CTRL register for platforms where CESTA
is enabled and the platform is not pineapple.

Currently the pcie driver will by default set this BIT(3) when CESTA is
enabled and the qcom,pcie-clkreq-offset property is present. Since the
qcom,pcie-clkreq-offset property will not be present when CESTA
is enabled on pineapple, pcie driver will not touch the
PCIE0_PCIE_PARF_L1SUB_CESTA_CTRL register.

Pcie driver will set only the BIT(0) PARF_CESTA_CLKREQ_SEL field when
qcom,pcie-clkreq-offset property is present and CESTA is not present
which is the case of pineapple platform when CESTA is enabled. And
this case is also taken care of by the pcie driver without the need
for qcom,pcie-clkreq-offset property.

Below are the required cases that needs to be taken care of by the
pcie driver.

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
| CESTA is enabled | BIT(0) set | BIT(3) set | platform      |
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
| YES              | need to set| need to set| non-pineapple |
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
| YES              | set by     | Not        | pineapple     |
|                  | default    | applicable |               |
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
| NO               | NO         | NO         | non-pineapple |
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
| NO               | need to    | Not        | pineapple     |
|                  |  unset     | applicable |               |
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.

Above mentioned cases are taken care by using the qcom,pcie-clkreq-offset
property in the following way.

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
| CESTA is enabled | qcom,pcie-clkreq-offset | platform      |
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
| YES              | YES                     | non-pineapple |
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
| YES              | NO                      | pineapple     |
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
| NO               | NO                      | non-pineapple |
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
| NO               | YES                     | pineapple     |
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.

Change-Id: I1bc4985be0080d295153233b0d5d4ce07e006818
Signed-off-by: Prudhvi Yarlagadda <quic_pyarlaga@quicinc.com>
2023-12-06 11:26:31 -08:00
Melody Olvera
185a10017a Revert "ARM: dts: msm: sun: Update arch and memtimer frequencies"
This reverts commit 704e2e0186.

Reason for revert: No longer needed once 1ns frequency is disabled.

Change-Id: I2355fff08acf5746efdce7562df99f83bba4696b
Signed-off-by: Melody Olvera <quic_molvera@quicinc.com>
2023-12-06 10:38:01 -08:00
Melody Olvera
714298d684 ARM: dts: msm: qcom: Update EUD dt node to route through pdc
EUD node was set to bypass the pdc since the pdc node was unavailable.
Now that it's available, set the interrupt parent to the pdc and adjust
the EUD node accordingly.

Change-Id: I2516315753a3452d66b9cad3e6bdc089bb8dcd6c
Signed-off-by: Melody Olvera <quic_molvera@quicinc.com>
2023-12-06 10:33:20 -08:00
Yuanfang Zhang
870a04eeb3 ARM: dts: msm: correct name of ext_cmb/turing/gcc tpdm on sun
Correct name of tpdm ext_cmb/gcc/turing/tmess, add tpdm ddr-shrm
and ddr-dpm, fix replicator-uc0/1 probe fail issue.

Change-Id: I90566cef447ebdd682cbcee5e82e9cc20dd318b0
Signed-off-by: Yuanfang Zhang <quic_yuanfang@quicinc.com>
2023-12-06 08:36:18 -08:00
Anjelique Melendez
a2c0f8ec34 ARM: dts: msm: Add high resolution PWM for PMK8550
PMK8550 has a couple of high resolution PWM channels which can support
from 8-bit to 15-bit PWM. Add it.

Change-Id: I277bca101546de07ffc8bb34380fc8bbdea10a92
Signed-off-by: Anjelique Melendez <quic_amelende@quicinc.com>
2023-12-05 15:42:19 -08:00
qctecmdr
562a4294a4 Merge "ARM: dts: msm: Remove ubwc-p tbu on sun" 2023-12-05 11:48:22 -08:00
qctecmdr
d90a1f8c9e Merge "ARM: dts: msm: Correct the dma nodes for i3c instances" 2023-12-05 11:48:21 -08:00
Unnathi Chalicheemala
50fd3728c1 ARM: dts: msm: Add ATP DT overlay to build files
Updating build files with ATP platform DT support on Sun SoC.

Change-Id: I6e0d614d5ea3c6d781c432e8e5dde900aa1aa02f
Signed-off-by: Unnathi Chalicheemala <quic_uchalich@quicinc.com>
2023-12-05 09:46:21 -08:00
Patrick Daly
cd0ea5f2f6 ARM: dts: msm: Define qcom,display heap for sun
The qcom,display heap is used for camera usecases.

Change-Id: Ib937670c33284fb2dc624258fd8e5978b4405ace
Signed-off-by: Vijay Kumar Tumati <vtumati@quicinc.com>
Signed-off-by: Patrick Daly <quic_pdaly@quicinc.com>
2023-12-04 22:03:17 -08:00
Patrick Daly
c9ddf16357 ARM: dts: msm: Automatically online memory to movable zone
After hotplugging in memory, automatically online it to the movable zone.

Change-Id: I1dde15451e78196fc261c0bd9b25cdfa91749c4c
Signed-off-by: Patrick Daly <quic_pdaly@quicinc.com>
2023-12-04 22:03:17 -08:00
qctecmdr
cb7bf25fb1 Merge "ARM: dts: msm: Add clock handles to CPU nodes for Sun" 2023-12-04 12:16:20 -08:00
Xubin Bai
6fbcfb8d22 ARM: dts: msm: Add camcc crmc device for Sun
Add camcc crmc node for Sun.

Change-Id: If04675749f5e43e890329cfe253ce832b1747cc9
Signed-off-by: Xubin Bai <quic_xubibai@quicinc.com>
Signed-off-by: Vivek Aknurwar <quic_viveka@quicinc.com>
2023-12-04 11:20:52 -08:00