Commit Graph

367 Commits

Author SHA1 Message Date
Patrick Daly
e436ec070a ARM: dts: msm: Snapshot of pineapple vm smmu
Pineapple smmu devicetree snapshot from qcom-6.1 branch
commit 8ef379040bee ("bindings: interrupt-controller: Add bindings for mpm
irqchip for pitti").

Change-Id: Ieebd69268aa04a48cc9a6977b6c4b70fd3035834
Signed-off-by: Patrick Daly <quic_pdaly@quicinc.com>
2023-10-17 19:15:37 -07:00
qctecmdr
91593b8c04 Merge "ARM: dts: msm: Add swiotlb command line parameter for VMs" 2023-10-16 17:04:15 -07:00
qctecmdr
aca7538a7a Merge "ARM: dts: qcom: pineapple: Update the remoteproc DT for pineapple Soc" 2023-10-16 17:04:15 -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
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
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
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
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
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
Jishnu Prakash
17533b38e2 dt-bindings: iio: qcom,spmi-vadc: update prescale ratios
Update prescale ratios to support the new channels.

Change-Id: I4d37e9653962954e856f464df32297d9aa90757a
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-09-27 10:37:41 -07:00
Jishnu Prakash
ff8af86c1e dt-bindings: iio: qcom,spmi-vadc: Add compatible string for ADC lite driver
Add the compatible string for ADC-lite driver for
reading parallel charger current channel.

Change-Id: Ie0d3f90d06be4bf28661736058c5d1fb2af1ac8f
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-09-27 10:32:36 -07:00
qctecmdr
8dcf3ae18d Merge "dt-bindings: Add snapshot of gic interrupt router documentation" 2023-09-27 02:27:00 -07:00
Anjelique Melendez
3435bbb05c dt-bindings: thermal: Update dt-binding for spmi-adc-tm5
Update compatible string to support ADC channels that are registered to
thermal framework, without registering interrupts.

Change-Id: Ie2a1d59272434453c27f2daa2b758ab8a6c96db2
Signed-off-by: Anjelique Melendez <quic_amelende@quicinc.com>
2023-09-26 15:44:58 -07:00
Unnathi Chalicheemala
0ac00846bb ARM: dts: msm: Add support for Sun SoC + Kiwi
Add device tree files needed to support Sun SoC + Kiwi platforms.

Change-Id: Ie27eea504087f8da315ab6b0e90d1660d32e3815
Signed-off-by: Unnathi Chalicheemala <quic_uchalich@quicinc.com>
2023-09-26 08:59:11 -07:00