Commit Graph

557 Commits

Author SHA1 Message Date
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
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
qctecmdr
a64728c077 Merge "dt-bindings: net: Add snapshot for qrtr-genpool bindings" 2023-09-25 22:51:54 -07:00
qctecmdr
6512d19c20 Merge "dt-bindings: net: Add snapshot for qrtr-gunyah bindings" 2023-09-25 22:51:54 -07:00
qctecmdr
ee91009932 Merge "dt-bindings: iio: adc: Require generic channel name for channel nodes" 2023-09-25 17:40:03 -07:00
qctecmdr
6e1deceea3 Merge "dt-bindings: thermal: Add bindings for thermal devices" 2023-09-25 17:40:03 -07:00
qctecmdr
4c5cd691e3 Merge "ARM: dts: qcom: Add device tree entries for QTEE drivers" 2023-09-25 16:21:10 -07:00
qctecmdr
518228b9a2 Merge "dt-bindings: iio: adc: qcom,spmi-vadc: simplify compatible enum" 2023-09-25 16:21:10 -07:00
Melody Olvera
0c7716908d dt-bindings: Add snapshot of gic interrupt router documentation
Snapshot the gic interrupt router documentation from
qcom-6.1 commit e3266c8e04f8 ("dt-bindings: Add device-tree
bindings for gic-interrupt-router").

Change-Id: I5ad2acfe88680f77d85131bd52383674d118bcd3
Signed-off-by: Melody Olvera <quic_molvera@quicinc.com>
2023-09-25 14:18:36 -07:00
David Collins
0d4bfb44d3 ARM: dts: qcom: add SPMI bus controller for Sun
Add spmi-pmic-arb devices for the primary and secondary SPMI buses
found on Sun.  The primary bus operates at 19.2 MHz and is used for
most of the PMICs.

The secondary bus operates at 4.8 MHz and is used exclusively for
charging PMICs.  Note that the secondary bus is not connected to
the SoC on the board due to voltage level differences.  Therefore,
keep the secondary bus device disabled.

Change-Id: I6b2bb6b54e285fd9c333971b08134c3768087869
Signed-off-by: David Collins <quic_collinsd@quicinc.com>
2023-09-25 13:47:53 -07:00
Meena Pasumarthi
ba5f42abbc ARM: dts: msm: Add base TUIVM and OEMVM for Sun
Add base TUIVM and OEMVM device tree support for Sun RUMI platform.

Change-Id: I32598ce2c3488658e2c9caf0cd7a2368665c0b06
Signed-off-by: Meena Pasumarthi <quic_pasumart@quicinc.com>
Signed-off-by: Sahitya Tummala <quic_stummala@quicinc.com>
2023-09-25 09:50:18 +05:30
Meena Pasumarthi
02930b3391 ARM: dts: msm: Add base TUIVM and OEMVM for Pineapple
Add base TUIVM and OEMVM device tree support for all Pineapple platforms.

Change-Id: I7c3cc2112e122f25a2f0b573128e8fdfb86975c5
Signed-off-by: Meena Pasumarthi <quic_pasumart@quicinc.com>
Signed-off-by: Hrishabh Rajput <quic_hrishabh@quicinc.com>
2023-09-25 09:49:10 +05:30
Meena Pasumarthi
784b6afca3 bindings: Adding bindings to support vm on Sun
Adding bindings to support vm on Sun.

This is snapshot of bindings from 'commit 999a92cd8b38
("Merge "ARM: dts: qcom: Add platform support for VMs on
Cliffs"")' from device tree project msm-6.1 branch.

Change-Id: I47eda741b3451d38d215f7d95505a2bb4dd86565
Signed-off-by: Meena Pasumarthi <quic_pasumart@quicinc.com>
Signed-off-by: Sahitya Tummala <quic_stummala@quicinc.com>
2023-09-25 09:44:11 +05:30