Commit Graph

774 Commits

Author SHA1 Message Date
David Collins
5f5e161ac1 ARM: dts: qcom: add PMIC PON log device for Sun
Add a PMIC PON log parser device which reads the log stored in
PMK8550 SDAM5 and SDAM6.

Change-Id: I944df2186b27ebb42cf2d4dc8f51dbf7b40cea9b
Signed-off-by: David Collins <quic_collinsd@quicinc.com>
2023-10-13 14:17:49 -07:00
Sahitya Tummala
583aa96f35 ARM: dts: msm: Add swiotlb command line parameter for VMs
With the recent kernel upgrade to 6.4, swiotlb_init() path is taken
because of the new kernel config CONFIG_DMA_BOUNCE_UNALIGNED_KMALLOC,
which is enabled by default. But this should not done for trusted VMs
supported on Sun and Pineapple VMs, as these VMs would be using carveout
swiotlb memory set up separately by virtio mmio driver through the
feature CONFIG_SWIOTLB_NONLINEAR. Hence, add swiotlb=noforce kernel
command line to disable generic swiotlb setup/init for VMs. Without
this option set, VM boot up failure is observed.

Change-Id: Ia35cd9a2f95f41b0b0daa6cf75799fd4432a95bd
Signed-off-by: Sahitya Tummala <quic_stummala@quicinc.com>
2023-10-13 20:54:17 +05:30
Yuanfang Zhang
970fa586c4 dt-bindings: add dt-binding for qcom coresight qmi and uetm
Add devicetree bindings for qcom coresight qmi and uetm.

Change-Id: I35a08db4398dd63dfbd9867a502995cb7e90b8f5
Signed-off-by: Yuanfang Zhang <quic_yuanfang@quicinc.com>
2023-10-13 13:34:13 +08:00
qctecmdr
234066ce47 Merge "dt-bindings: Add snapshot of virtio-mem documentation" 2023-10-12 22:21:40 -07:00
qctecmdr
be9be4327d Merge "ARM: dts: msm: Update system cma pool size for sun" 2023-10-12 22:21:39 -07:00
qctecmdr
2e9b8500a6 Merge "ARM: dts: qcom: add TEMP_ALARM devices for PMICs used on Sun boards" 2023-10-12 22:21:39 -07:00
qctecmdr
71f002d2ff Merge "ARM: dts: qcom: add alt_sleep_clk pinctrl configuration for Sun" 2023-10-12 22:21:39 -07:00
Jishnu Prakash
f3901bee1b dt-bindings: iio: qcom,spmi-vadc: Add SW-calibrated ADC bindings
Add bindings for SW-calibrated ADC used on PMR735A/PMR735B on
targets which don't have PMK8350 running in master mode.

Change-Id: I753b3caf1e52ac9920a9df32cbef465277409700
Signed-off-by: Jishnu Prakash <quic_jprakash@quicinc.com>
[quic_amelende@quicinc.com: Converted binding change from .txt to .yaml]
Signed-off-by: Anjelique Melendez <quic_amelende@quicinc.com>
2023-10-12 17:07:37 -07:00
Gokul krishna Krishnakumar
c74ff91ab3 ARM: dts: qcom: pineapple: spss: Remove duplicate node
There were 2 entries for spss, remove one.

Change-Id: Ia7aae336809953377f9a9da6457289262fb2524a
Signed-off-by: Gokul krishna Krishnakumar <quic_gokukris@quicinc.com>
2023-10-12 00:52:25 -07:00
Bao D. Nguyen
72179f28c0 dt-bindings: soc: qcom: Add documentation for ufs-phy-qmp-v4-sun
Add documentation for ufs-phy-qmp-v4-sun phy driver.

Change-Id: I5238ad385f7833e9de3a4c85a9a2936d3dc6a8f4
Signed-off-by: Bao D. Nguyen <quic_nguyenb@quicinc.com>
2023-10-11 17:08:43 -07:00
Gokul krishna Krishnakumar
52826bae6e ARM: dts: qcom: pineapple: Update the remoteproc DT for pineapple Soc
Adding the firmware name and updating the additional memory assign node
for remoteproc's to be compatible with the driver.

Change-Id: I3787fd0c97c039821a91e15bc6e554caccf071a8
Signed-off-by: Gokul krishna Krishnakumar <quic_gokukris@quicinc.com>
2023-10-11 16:44:34 -07:00
qctecmdr
f836b08b78 Merge "ARM: dts: msm: Correct the pcie dt property names on pineapple" 2023-10-11 14:58:57 -07:00
qctecmdr
e0e504a5cc Merge "ARM: dts: msm: Add PCIe Root port configuration for sun" 2023-10-11 14:58:57 -07:00
qctecmdr
84b64338d0 Merge "ARM: dts: qcom: Adding msm_sharedmem DT entry for lanaiDevSp" 2023-10-11 14:58:57 -07:00
qctecmdr
31a49c3864 Merge "ARM: dts: msm: Correct the pcie1 dt property names on pineapple" 2023-10-11 09:33:38 -07:00
qctecmdr
271762225d Merge "ARM: dts: msm: Make gx_clkctl_gx_gdsc depend on gpucc for Sun" 2023-10-11 09:33:38 -07:00
qctecmdr
6136a71333 Merge "ARM: dts: qcom: add PMIC devices for Sun" 2023-10-11 09:33:38 -07:00
qctecmdr
1523c85584 Merge "ARM: dts: qcom: Update pmic_glink device compatible string for pineapple" 2023-10-10 10:25:56 -07:00
qctecmdr
fa5f0ba24f Merge "ARM: dts: msm: Enable tlmm VM mem nodes for Pineapple" 2023-10-10 10:25:56 -07:00
qctecmdr
361bdc7c67 Merge "dt-bindings: thermal: Update dt-binding for spmi-adc-tm5" 2023-10-10 10:25:56 -07:00
qctecmdr
d52db63aaf Merge "dt-bindings: iio: qcom,spmi-vadc: update prescale ratios" 2023-10-10 10:25:56 -07:00
qctecmdr
c163efff9f Merge "ARM: dts: msm: sun: Add remoteproc node" 2023-10-10 10:25:56 -07:00
Hrishabh Rajput
da4b2e9e0b dt-bindings: Add TLMM VM test driver documentation
The driver provides the framework to test memory lend to VM.

Change-Id: I90c2b17181ce9e50c037fa4997f8f9a5f6b9154b
Signed-off-by: Hrishabh Rajput <quic_hrishabh@quicinc.com>
2023-10-10 20:29:53 +05:30
qctecmdr
af7449fe39 Merge "ARM: dts: msm: Add support for Sun SoC + Kiwi" 2023-10-09 15:31:41 -07:00
qctecmdr
bd04b76c85 Merge "ARM: dts: qcom: add SPMI bus controller for Sun" 2023-10-09 15:31:40 -07:00
David Collins
cff8f8f0ef ARM: dts: qcom: add TEMP_ALARM devices for PMICs used on Sun boards
Add qcom-spmi-temp-alarm devices for the TEMP_ALARM and TEMP_ALARM_LITE
PMIC peripherals found in PMICs PM8550VE_D, PM8550VE_G, PM8550VS_F,
PM8550VS_J, PMIH010X, and PMD802X which are used on Sun boards.  Each
TEMP_ALARM device can monitor the die temperature of a particular PMIC.

Change-Id: I3e29ec91f50a5c27d4a8e581c9c17ad3ae09d187
Signed-off-by: David Collins <quic_collinsd@quicinc.com>
2023-10-09 13:50:41 -07:00
Patrick Daly
1b27f103d6 dt-bindings: Add snapshot of virtio-mem documentation
Snapshot the virtio-mem documentation from
qcom-6.1 commit a495f33fe39b ("ARM: dts: msm: Add ipcc_mproc_ns1 for
cliffs TUIVM").

Change-Id: I86b8c4c06d7c5c9ab2110b31f673f7414c43c66b
Signed-off-by: Patrick Daly <quic_pdaly@quicinc.com>
2023-10-09 12:11:22 -07:00
Patrick Daly
033d8fb6c7 ARM: dts: msm: Update system cma pool size for sun
Add an additional 8Mb for kgsl snapshot.

Change-Id: I442259190b11e39f715f852cf3e688e6b32df8b3
Signed-off-by: Patrick Daly <quic_pdaly@quicinc.com>
2023-10-06 11:53:08 -07:00
qctecmdr
59896c77b2 Merge "dt-bindings: msm: Change LLCC bindings for Pineapple and Sun" 2023-10-06 09:44:22 -07:00
qctecmdr
f205bf616e Merge "ARM: dts: msm: Fix the base addresses of LLCC banks for Pineapple SoC" 2023-10-06 09:44:21 -07:00
Subbaraman Narayanamurthy
0caf4c03db ARM: dts: qcom: add alt_sleep_clk pinctrl configuration for Sun
Specify a pinctrl configuration for PMK8550 GPIO 3 to enable
alt_sleep_clk output so that clients like WLAN and BT can
function properly.

Change-Id: I74506946647b55e391a8c848c44ccf20af966739
Signed-off-by: Subbaraman Narayanamurthy <quic_subbaram@quicinc.com>
2023-10-05 17:30:46 -07:00
Gokul krishna Krishnakumar
0cb93bbbaa ARM: dts: msm: sun: Add remoteproc node
Add nodes for remoteprocessors's: ADSP, CDSP, MPSS for sun SoC.

Change-Id: I056a5f17ff176274a7f63a5a0c29f0dc8aa71a81
Signed-off-by: Gokul krishna Krishnakumar <quic_gokukris@quicinc.com>
2023-10-05 10:36:06 -07:00
Gokul krishna Krishnakumar
640a1cbc33 ARM: dts: msm: bindings: Add cdsprm bindings
Add bingings for cdsprm.

Change-Id: I2507e176a38249e8e5da453a980f69e667166e63
Signed-off-by: Gokul krishna Krishnakumar <quic_gokukris@quicinc.com>
2023-10-05 10:35:58 -07:00
Gokul krishna Krishnakumar
87d73e7338 ARM: dts: msm: bindings: Add the fastrpc node and child nodes
Bindings for fastrpc nodes and the child nodes.

Change-Id: Ic967b92d2324d5f9671614f62973c5f9820d6b4b
Signed-off-by: Gokul krishna Krishnakumar <quic_gokukris@quicinc.com>
2023-10-05 10:34:04 -07:00
Prudhvi Yarlagadda
686f88670d ARM: dts: msm: Correct the pcie1 dt property names on pineapple
Correct the following pcie1 dt property names on pineapple
device as they are modified for this latest kernel devicetree
documentation.

clock-frequency -> qcom,pcie-clock-frequency.

Change-Id: I048275f388f31fe71b157f1f9ab4aaf5eec6131b
Signed-off-by: Prudhvi Yarlagadda <quic_pyarlaga@quicinc.com>
2023-10-04 14:17:56 -07:00
Marc Guillaume
1006b28674 ARM: dts: qcom: Adding msm_sharedmem DT entry for lanaiDevSp
LanaiDevSp counterpart of following change:
commit d678c24cfe ("ARM: dts: qcom: Adding msm_sharedmem DT entry").

Change-Id: I52fe8cf5e2d2a2e85562a5cf9e8eed971d3c600d
Signed-off-by: Marc Guillaume <quic_mguillau@quicinc.com>
2023-10-04 11:31:15 -07:00
Jishnu Prakash
9b823442e4 dt-bindings: iio: adc: qcom,spmi-vadc: Add scale function property
Update qcom,spmi-vadc bindings to include "qcom,scale-fn-type"
property for ADC7.

Change-Id: Ieb8ad5779b078dd77838c498b3a4e0bbcf907df8
Signed-off-by: Jishnu Prakash <quic_jprakash@quicinc.com>
[quic_amelende@quicinc.com: Converted binding change from .txt to .yaml
 and removed changes already captured in yaml]
Signed-off-by: Anjelique Melendez <quic_amelende@quicinc.com>
2023-10-04 10:54:49 -07:00
Unnathi Chalicheemala
8199522ad8 dt-bindings: msm: Change LLCC bindings for Pineapple and Sun
Following device tree register addresses change from upstream commit
ee13b50 ("qcom: llcc/edac: Fix the base address used for accessing LLCC
banks").
Change LLCC bindings for Pineapple and Sun SoC.

Change-Id: I60bdfd7e4bc19343a3eb6a1c0c597523f1c30963
Signed-off-by: Unnathi Chalicheemala <quic_uchalich@quicinc.com>
2023-10-04 10:36:14 -07:00
Unnathi Chalicheemala
04b52df658 ARM: dts: msm: Fix the base addresses of LLCC banks for Sun SoC
Based on upstream commit ee13b50 ("qcom: llcc/edac: Fix the base address
used for accessing LLCC banks"), the devicetree needs to be updated with
LLCC bank 0 through 3, instead of just the start LLCC bank 0 and the end
LLCC broadcast.

Change-Id: I1d2b758693f6a71338653fa677dbb833299475c6
Signed-off-by: Unnathi Chalicheemala <quic_uchalich@quicinc.com>
2023-10-04 09:36:56 -07:00
Unnathi Chalicheemala
d9c5c5ed56 ARM: dts: msm: Fix the base addresses of LLCC banks for Pineapple SoC
Based on upstream commit ee13b50 ("qcom: llcc/edac: Fix the base address
used for accessing LLCC banks"), the devicetree needs to be updated with
LLCC bank 0 through 3, instead of just the start LLCC bank 0 and the end
LLCC broadcast.

Change-Id: I7c2b62697721074660c6b7371e0d2b1bf195ba5d
Signed-off-by: Unnathi Chalicheemala <quic_uchalich@quicinc.com>
2023-10-04 09:25:59 -07:00
Anjelique Melendez
fd47ab2bae ARM: dts: qcom: add volume up gpio-keys device for Sun boards
Add a gpio-keys device for Sun MTP, CDP and QRD boards that use
PM8550 GPIO 6.

Change-Id: I3b6ec4f7cb826cd482e85cdbbcbea3db485284c1
Signed-off-by: Anjelique Melendez <quic_amelende@quicinc.com>
2023-10-03 11:36:20 -07:00
Anjelique Melendez
e6efa9e825 ARM: dts: qcom: Add LPG LED device for Sun
Add the LPG LED device for sun platforms. Currently, pm8550 LED
devices use the downstream leds-qti-tri-led driver. Update the LED
devices so that they use the upstream leds-qcom-lpg driver.

Change-Id: I6e9c80d9e7725e5978fbc8bebf02a7d66968d32e
Signed-off-by: Anjelique Melendez <quic_amelende@quicinc.com>
2023-10-03 11:28:38 -07:00
Gokul krishna Krishnakumar
989e04083d ARM: dts: msm: sun: Disable GPU node
Temporarily disable the GPU node causing access violation in 0x3dc0000.

Change-Id: I2759a37c36a9c6f62a94e23237f361a80680d3c4
Signed-off-by: Gokul krishna Krishnakumar <quic_gokukris@quicinc.com>
2023-10-03 09:36:24 -07:00
Melody Olvera
f7ace16966 ARM: dts: msm: Add nodes for minidump for sun
Add minidump nodes for sun SoC.

Change-Id: Iebcd2ceaeefceff7d60448d62ad6a98c4fa2d433
Signed-off-by: Melody Olvera <quic_molvera@quicinc.com>
2023-10-02 14:29:06 -07:00
Mike Tipton
0823b72d1b ARM: dts: msm: Make gx_clkctl_gx_gdsc depend on gpucc for Sun
The clock required to access this GDSC depends on a clock coming from
GPU_CC, which is enabled by default in gpucc probe. Add a phandle to
gpucc to ensure it probes first and enables the required clock.

Change-Id: I5aae1a6a1a3615cf1a8227b839a721a6af945243
Signed-off-by: Mike Tipton <quic_mdtipton@quicinc.com>
2023-10-02 13:58:05 -07:00
Prudhvi Yarlagadda
429926ac86 ARM: dts: msm: Correct the pcie dt property names on pineapple
Correct the following pcie dt property names on pineapple
device as they are modified for this latest kernel devicetree
documentation.

qcom,pcie-clkreq-gpio -> qcom,pcie-clkreq-pin.
clock-frequency -> qcom,pcie-clock-frequency.

Change-Id: I79454ef04a69d5427e32c45042304809cdcb886c
Signed-off-by: Prudhvi Yarlagadda <quic_pyarlaga@quicinc.com>
2023-09-29 11:40:33 -07:00
Hrishabh Rajput
87fdadbcb4 ARM: dts: msm: Enable tlmm VM mem nodes for Pineapple
Enable tlmm VM mem access device tree nodes for Pineapple.

Change-Id: I2bfbc22e8f9e933e3d0ec419b3fa67ff89b4fdad
Signed-off-by: Hrishabh Rajput <quic_hrishabh@quicinc.com>
2023-09-28 14:54:46 +05:30
Anjelique Melendez
0720a9afe6 ARM: dts: qcom: add PMIC devices for Sun
Add top level SPMI slave devices for PMD802x, PMIH010x, PM8550VE and
PM8550VS.

Change-Id: I7658cd5e9bb0c2801db10029380cb7a76a97abff
Signed-off-by: Anjelique Melendez <quic_amelende@quicinc.com>
2023-09-27 16:55:41 -07:00
Anjelique Melendez
ea8a9577b5 ARM: dts: qcom: Prepare to add PMIC devices for Sun
Sun and pineapple share certain PMICs. Prepare the shared PMIC devices
to be used for both Sun and Pineapple.

Change-Id: I378e781751b4ee42b3c0d4940dff30ffbd2b3e5a
Signed-off-by: Anjelique Melendez <quic_amelende@quicinc.com>
2023-09-27 16:55:09 -07:00
Anjelique Melendez
1f53824ca5 dt-bindings: pinctrl: qcom,pmic-gpio: Add PMIH010x and PMD802x bindings
Update the Qualcomm Technologies, INC. PMIC GPIO binding documentation
to include compatible strings for PMIH010x and PMD802x PMICs.

Change-Id: Icf07b2f657d0e6fd104ae36553d1631caadcdb70
Signed-off-by: Anjelique Melendez <quic_amelende@quicinc.com>
2023-09-27 16:54:19 -07:00