Commit Graph

766 Commits

Author SHA1 Message Date
Anjelique Melendez
6a2078911c dt-bindings: iio: adc: qcom,spmi-vadc: Add qcom,adc5-gen4 property
Add new "qcom,adc5-gen4" property to flag ADC5 GEN4 channels.

Change-Id: I271b6e74d36721f6c38bd1f3d68e47bc5393b04d
Signed-off-by: Anjelique Melendez <quic_amelende@quicinc.com>
2023-12-19 17:50:32 -08:00
qctecmdr
e8f3adbd42 Merge "ARM: dts: msm: Define qcom,display heap for sun" 2023-12-08 21:39:09 -08:00
qctecmdr
ab98ba3855 Merge "ARM: dts: msm: Add ATP DT overlay to build files" 2023-12-07 03:32:37 -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
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
qctecmdr
9eabd511d3 Merge "ARM: dts: msm: Add RCM DT support for Sun" 2023-12-04 09:21:14 -08:00
qctecmdr
8e20164259 Merge "ARM: dts: qcom: keep the DT format aligned for SDCC" 2023-12-03 19:35:10 -08:00
qctecmdr
e5947a1890 Merge "ARM: dts: msm: Add register lists to DCC for Sun" 2023-12-02 17:25:01 -08:00
qctecmdr
013bde9898 Merge "ARM: dts: msm: Add ATP variant DT support for Sun" 2023-12-02 17:25:00 -08:00
qctecmdr
ba30e69c6d Merge "ARM: dts: msm: Add soccp node for Sun" 2023-12-02 17:25:00 -08:00
qctecmdr
1b32bc85f9 Merge "ARM: dts: msm: Correct SID range for qtbs" 2023-12-02 17:25:00 -08:00
qctecmdr
fff48bd226 Merge "ARM: dts: msm: Update llcc memlat miss-ev for sun" 2023-12-02 16:12:49 -08:00
qctecmdr
e76f662001 Merge "ARM: dts: qcom: add FMD SDAM configuration in pmk8550" 2023-12-02 16:12:49 -08:00
qctecmdr
80c434d743 Merge "ARM: dts: qcom: Add modem thermal sensors and cooling devices for sun" 2023-12-02 16:12:49 -08:00
qctecmdr
2a9bc76730 Merge "ARM: dts: msm: Update the ADSP/CDSP nodes" 2023-12-02 14:52:02 -08:00
qctecmdr
a05f1268db Merge "ARM: dts: msm: Remove extra space in pin function name for Sun" 2023-12-02 14:52:02 -08:00
qctecmdr
4a9e1730ea Merge "ARM: dts: msm: Add qrtr gunyah in sun" 2023-12-02 14:52:02 -08:00
qctecmdr
6496049d8c Merge "ARM: dts: msm: add memory region for hwfence_shbuf addr on sun" 2023-12-02 14:52:02 -08:00
qctecmdr
b98395468c Merge "ARM: dts: msm: Add qrtr node for sun vm" 2023-12-02 14:52:02 -08:00
qctecmdr
008418ebf9 Merge "ARM: dts: qcom: Enable low power modes for sun" 2023-12-02 14:52:02 -08:00
qctecmdr
2ff1d3b11b Merge "ARM: dts: msm: Add eud extcon node to sun" 2023-12-02 14:52:01 -08:00
qctecmdr
6047a96bdc Merge "ARM: dts: qcom: add PMIC device support for sun V8 power grid boards" 2023-12-02 14:52:01 -08:00
Unnathi Chalicheemala
538ab267ef ARM: dts: msm: Add RCM DT support for Sun
Add DT support for RCM platform on Sun SoC.

Change-Id: I1dc5b3b432b2126b0a380437a2a19854aa1db5f1
Signed-off-by: Unnathi Chalicheemala <quic_uchalich@quicinc.com>
2023-12-01 17:21:57 -08:00
Oreoluwa Babatunde
0f1d2e46c3 ARM: dts: msm: Correct SID range for qtbs
Correct the SID ranges for the cam_hf qtb and the mdp_hf
qtbs.

Change-Id: I0d6127248bbfac122d14ca2c600dd81d3a7d5550
Signed-off-by: Oreoluwa Babatunde <quic_obabatun@quicinc.com>
2023-12-01 10:15:32 -08:00
Yuanfang Zhang
4a2663c641 ARM: dts: msm: add coresight gladiator for sun
Add coresight gladiator node for sun.

Change-Id: Ib8bc940af6c50ac83c4687d63657de7fe36f2ad2
Signed-off-by: Yuanfang Zhang <quic_yuanfang@quicinc.com>
2023-12-01 02:56:28 -08:00
Hrishabh Rajput
7114f1493d ARM: dts: msm: Add qcom,sensitive property for Sun VM
Add qcom,sensitive property in vm-config node for Sun VM.

Change-Id: I5b2781df510f59d7c3f779eecb55c7bc64fad84c
Signed-off-by: Hrishabh Rajput <quic_hrishabh@quicinc.com>
2023-12-01 15:34:24 +05:30
Jerome Lee
df64193218 ARM: dts: msm: Add register lists to DCC for Sun
Add register lists to DCC for Sun.

Change-Id: Iffec4f0022a11be7fb5e0701e37975d71a1e9428
Signed-off-by: Jerome Lee <quic_jaewookl@quicinc.com>
2023-11-30 21:49:05 -08:00
Gokul krishna Krishnakumar
8f447bddcf ARM: dts: msm: Add soccp node for Sun
Add devicetree soccp node for Sun SoC. In addition to existing smp2p INT's
SOCCP H/W needs 2 more INT for controlling the power state of the H/W.
sleep bit and wakeup bit on master kernel corresponds to these INT.

Change-Id: I00d2f6a3fb76f306fa070df87f22bb2d07cb4c3b
Signed-off-by: Gokul krishna Krishnakumar <quic_gokukris@quicinc.com>
2023-11-30 21:43:53 -08:00
Unnathi Chalicheemala
0b991a4f15 ARM: dts: msm: Add ATP variant DT support for Sun
Add DT support for ATP variant on Sun SoC.

Change-Id: Icb07c87ca0ed07c81e0d3bf42e5c69147d6f1807
Signed-off-by: Unnathi Chalicheemala <quic_uchalich@quicinc.com>
2023-11-30 10:36:49 -08:00
Unnathi Chalicheemala
050593a973 dt-bindings: msm: Add ATP variant in MSM bindings for Sun
Add compatible string for ATP variant on Sun SoC.

Change-Id: Ibaa26b372af475afe291c78c57a1e32d4a76ea93
Signed-off-by: Unnathi Chalicheemala <quic_uchalich@quicinc.com>
2023-11-30 10:35:59 -08:00
qctecmdr
2fbb5b3c59 Merge "ARM: dts: msm: Set EUD UTMI switch delay for sun" 2023-11-30 09:05:59 -08:00
Patrick Daly
f5a25a9f6f ARM: dts: msm: Remove ubwc-p tbu on sun
This hw block is not supported.

Change-Id: I85e1f564a21563c7a959e8998a67f4fe6071ea76
Signed-off-by: Patrick Daly <quic_pdaly@quicinc.com>
2023-11-29 18:55:48 -08:00
Daniel Perez-Zoghbi
ec30ae1563 dt-bindings: Add devicetree bindings for qcedev
Add snapshot of devicetree bindings from commit (bb95f5ff94:
"ARM: dts: msm: Add probe dependency to PMIC PON Log driver")
for qcedev. Update the bindings from .txt to .yaml.

Change-Id: I7e46035c6ac66c14e932c009d4a1291ec6127001
Signed-off-by: Daniel Perez-Zoghbi <quic_dperezzo@quicinc.com>
2023-11-29 16:24:53 -08:00
Elson Roy Serrao
bec108c2c3 ARM: dts: msm: Add eud extcon node to sun
Add eud extcon node to sun to enable eud extcon notifications.

Change-Id: I40055adc80dd7d5e3b661b5f19bb3e4190795854
Signed-off-by: Elson Roy Serrao <quic_eserrao@quicinc.com>
Signed-off-by: Wesley Cheng <quic_wcheng@quicinc.com>
2023-11-29 15:56:58 -08:00
Amir Vajid
4564a016c9 ARM: dts: msm: Update llcc memlat miss-ev for sun
Use 0x17 pmu event as miss-ev in llcc memlat for sun.

Change-Id: Ifbd710d9fcb24f7442f2b6d6d8e94f858e48c326
Signed-off-by: Amir Vajid <quic_avajid@quicinc.com>
2023-11-29 11:18:20 -08:00
Rashid Zafar
d8c7742e43 ARM: dts: qcom: Enable low power modes for sun
Enable low power modes for sun through kernel command
line parameters.

Change-Id: Ifd4b8fcce8d6b2c0b4f6a4c2dcb088ae8c8fa661
Signed-off-by: Rashid Zafar <quic_rzafar@quicinc.com>
2023-11-29 10:02:14 -08:00
qctecmdr
bf4f4cd702 Merge "Revert "ARM: dts: msm: Support for APQ variant on Sun SoC"" 2023-11-29 09:48:08 -08:00