Commit Graph

128 Commits

Author SHA1 Message Date
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
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
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
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
qctecmdr
c3ebfa0666 Merge "ARM: dts: msm: add coresight component DT file for sun" 2023-09-22 13:30:55 -07:00
qctecmdr
46ceb889f4 Merge "ARM: dts: qcom: Add TSENS device for sun" 2023-09-22 10:10:39 -07:00
Gokul krishna Krishnakumar
db32d03865 ARM: dts: qcom: Add crmb/crmc to cesta device for pineapple
Add crmb and crmc register space for cesta devices on pineapple.

Change-Id: Ia8ec195ca1683e652b31a5daa2ab271e8bcec321
Signed-off-by: Gokul krishna Krishnakumar <quic_gokukris@quicinc.com>
2023-09-20 14:28:36 -07:00
Yuanfang Zhang
2964e2edd2 ARM: dts: msm: add coresight component DT file for sun
Add coresight component devicetree file for sun.

Change-Id: I28b8b6a2142fc89ed457553f039eca785064007b
Signed-off-by: Yuanfang Zhang <quic_yuanfang@quicinc.com>
2023-09-19 23:21:39 -07:00
qctecmdr
9ffd7a80ef Merge "ARM: dts: qcom: Adding msm_sharedmem DT entry" 2023-09-15 14:41:22 -07:00
qctecmdr
11ec13ccb4 Merge "ARM: dts: msm: Add GCC phandle to GDSC driver for Sun" 2023-09-14 14:43:45 -07:00
qctecmdr
5824a01a26 Merge "ARM: dts: msm: Add interconnect properties for apps_smmu for sun" 2023-09-14 14:43:45 -07:00
qctecmdr
8355d2ecbd Merge "ARM: dts: qcom: keep VDD_MMCX and VDD_MXC supplies always on for Sun RUMI" 2023-09-14 12:52:12 -07:00
qctecmdr
75dc06d124 Merge "dt-bindings: Add aliases label" 2023-09-14 12:52:12 -07:00
Rashid Zafar
2d5aaa7b2b ARM: dts: qcom: Add TSENS device for sun
Add TSENS device and respective TSENS thermal zone configuration for
sun.

Change-Id: I41d2d44d7898c60fc600d34306ef5e107e3fe15c
Signed-off-by: Rashid Zafar <quic_rzafar@quicinc.com>
2023-09-13 12:11:22 -07:00
Vivek Aknurwar
3ad392617c ARM: dts: msm: Add GCC phandle to GDSC driver for Sun
GCC needs to probe before GDSC regulator driver as driver will be
unable to read registers without required gcc config ahb clocks. These
config ahb clocks are enabled in GCC probe. Thus GCC needs to probe
before GDSC driver. Adding GCC phandles to sequence the probe order
during kernel boot.

Change-Id: Icd13d18f07540f96cb4175edc5bd41526b6a3841
Signed-off-by: Vivek Aknurwar <quic_viveka@quicinc.com>
2023-09-12 13:46:16 -07:00
Marc Guillaume
d678c24cfe ARM: dts: qcom: Adding msm_sharedmem DT entry
Port of the DT entry which provides configuration settings for the
msm_sharedmem driver. This is needed for correct operation of
MPSS RFS/EFS.

Change-Id: Ic08e19398f10908920f8ac1d7e4670109de5e356
Signed-off-by: Marc Guillaume <quic_mguillau@quicinc.com>
2023-09-11 16:54:32 -07:00
Eric Rosas
1e720dfa08 dt-bindings: Add audio codec bindings for sun
Add bindings for WCD and WSA in pinctrl dt
file for sun.

Change-Id: Icb1fd6fb5950c5814cb4039d369647baac93ddf3
Signed-off-by: Eric Rosas <quic_erosas@quicinc.com>
2023-09-08 16:19:40 -07:00
Eric Rosas
f66ad61238 dt-bindings: Add aliases label
Audio kernel depends on the aliases label being defined
from the top level. Add label to aliases node to allow
for proper compilation of audio kernel.

Change-Id: Idb88dd470ca0dec31670adef8546e34fee14a4d7
Signed-off-by: Eric Rosas <quic_erosas@quicinc.com>
2023-09-08 14:24:12 -07:00
Patrick Daly
554a5c2bd0 ARM: dts: msm: Add interconnect properties for apps_smmu for sun
Enable bus bandwidth voting.

Change-Id: I6888e60c4bf9dc06a0361b94424ce75977b887ab
Signed-off-by: Patrick Daly <quic_pdaly@quicinc.com>
2023-09-08 10:01:32 -07:00
Patrick Daly
50b0262199 ARM: dts: msm: Add smmu ACLTR values for sun
Configure per-context bank pre-fetch settings.

Change-Id: I6e30bf2f202ab5e550dbb14b05311f4d775c3d46
Signed-off-by: Patrick Daly <quic_pdaly@quicinc.com>
2023-09-08 10:01:32 -07:00
Patrick Daly
ca8abb5d41 ARM: dts: msm: Add kgsl_smmu for sun
Describe the registers and interrupts of the kgsl_iommu device.

Change-Id: I632cdb3f204dda4af32829c0e373c15065f87af9
Signed-off-by: Patrick Daly <quic_pdaly@quicinc.com>
2023-09-08 10:01:32 -07:00
qctecmdr
10e42d9078 Merge "ARM: dts: msm: Define adsp_mem_heap region" 2023-09-07 08:17:19 -07:00
qctecmdr
86bdd50b20 Merge "ARM: dts: msm: Add smp2p for sun" 2023-09-06 17:54:55 -07:00
qctecmdr
51d6612124 Merge "ARM: dts: msm: Unstub Videocc for Sun" 2023-09-06 16:31:04 -07:00
qctecmdr
21f9c92153 Merge "ARM: dts: msm: Unstub Cambistmclkcc on Sun" 2023-09-06 16:31:04 -07:00
qctecmdr
53b2837ffd Merge "ARM: dts: msm: Unstub tcsrcc for Sun" 2023-09-06 16:31:04 -07:00
qctecmdr
682b8230cf Merge "ARM: dts: msm: sun: Add EUD node for sun SoC" 2023-09-06 16:31:03 -07:00
qctecmdr
2d890362b9 Merge "ARM: dts: msm: Add bi_tcxo_ao phandle for CCs on Sun" 2023-09-06 14:54:56 -07:00
Xubin Bai
6c074a4b4c ARM: dts: qcom: keep VDD_MMCX and VDD_MXC supplies always on for Sun RUMI
Set regulator-always-on for VDD_MMCX and VDD_MXC on Sun
RUMI. This ensures that clock controller register values
are maintained since RUMI isn't simulating register
retention across VDD_MMCX or VDD_MXC power collapse.

Change-Id: I5adaa243066df64f6f04f569a05eb124734d7611
Signed-off-by: Xubin Bai <quic_xubibai@quicinc.com>
2023-09-05 10:57:57 -07:00
Anirudh Raghavendra
ad2a8bc603 ARM: dts: msm: Define adsp_mem_heap region
Define adsp mem heap region for adsp-mem device. Also
add documentation for the same.

Change-Id: Icce88b87c28797ff51ba5b0d885706d3a903eee3
Signed-off-by: Anirudh Raghavendra <quic_araghave@quicinc.com>
2023-09-05 10:56:16 -07:00
qctecmdr
6fd4d30426 Merge "ARM: dts: msm: Unstub gpucc for Sun" 2023-09-01 03:09:39 -07:00
qctecmdr
830e38f129 Merge "ARM: dts: msm: Remove usb-role-switch for pineapple" 2023-08-31 15:36:39 -07:00
qctecmdr
8bdd062bb3 Merge "ARM: dts: qcom: Update flash led compatible for Pineapple files" 2023-08-31 12:34:05 -07:00
Xubin Bai
92f3bdac38 ARM: dts: msm: Add bi_tcxo_ao phandle for CCs on Sun
Add bi_tcxo_ao phandle for camcc, dispcc and evacc on Sun.

Change-Id: Ibece684c5010c9b32ec92228f4c2e9811e69e323
Signed-off-by: Xubin Bai <quic_xubibai@quicinc.com>
2023-08-31 04:02:04 -07:00
Bruce Levy
ffe8c802d5 ARM: dts: msm: Remove usb-role-switch for pineapple
Remove the usb-role-switch property for pineapple target.
USB SW driver will assume that the USB cable is connected and
enumerate w/the PC.

Change-Id: I6f2f1b292792bc064722fdeff3807ea4c3fa5a53
Signed-off-by: Bruce Levy <quic_blevy@quicinc.com>
2023-08-24 13:16:43 -07:00
Xubin Bai
9700e0ffe9 ARM: dts: msm: Unstub tcsrcc for Sun
Unstub tcsrcc for Sun. Also shrink the tlmm
region to avoid overlaps, but that tlmm doesn't
use anything past where we're shrinking it.

Change-Id: Id9f09105ad959ba9c9f44b2cb3912e1f93bba3b3
Signed-off-by: Xubin Bai <quic_xubibai@quicinc.com>
2023-08-23 21:33:50 -07:00
Chris Lew
830e4d7eb4 ARM: dts: msm: Add smp2p for sun
Add the smp2p nodes for lpaidsp, modem, cdsp and soccp for sun.

Change-Id: I9664b57fbb8f39e5edbadfad66882d97fe1634d3
Signed-off-by: Chris Lew <quic_clew@quicinc.com>
2023-08-22 17:22:58 -07:00
Chris Lew
b328de5242 ARM: dts: msm: Add AOSS and TME QMP nodes for sun
Add the nodes to describe the QMP devices to communicate with AOSS and
TME.

Change-Id: Iaac6b401e3554ce696a9faf5abaeb16717ff0907
Signed-off-by: Chris Lew <quic_clew@quicinc.com>
2023-08-22 17:22:44 -07:00
Rashid Zafar
b1b99b1e21 ARM: dts: msm: Add PDC irqchip for sun
Add PDC interrupt controller to support wake irqs.

Change-Id: I459a68079611f7ed08977b2296b7d4377eb649ee
Signed-off-by: Rashid Zafar <quic_rzafar@quicinc.com>
2023-08-22 01:37:44 -07:00
qctecmdr
6e5cf08b54 Merge "ARM: dts: qcom: Update memory map to V6" 2023-08-18 14:20:04 -07:00
qctecmdr
b0c3c517ad Merge "ARM: dts: msm: Add msm_gpu node for sun" 2023-08-18 14:20:04 -07:00
qctecmdr
d3a7e61018 Merge "ARM: dts: msm: Add EVA CDSP shared mem" 2023-08-18 14:20:04 -07:00
Anjelique Melendez
ac914eb179 ARM: dts: qcom: Update flash led compatible for Pineapple files
Flash LED compatible string has been updated from "qcom,pm8350c-flash-led"
to "qcom,qti-pm8350c-flash-led" in Sun. Update existing usage of the
old compatible from Pineapple dtsi files found in Sun.

Change-Id: Ib062510cd6561e57973cca336d2a5b04884ec5d8
Signed-off-by: Anjelique Melendez <quic_amelende@quicinc.com>
2023-08-18 11:57:30 -07:00
qctecmdr
d921ac1409 Merge "ARM: dts: msm: Unstub dispcc for Sun" 2023-08-17 18:12:13 -07:00
George Shen
527694888f ARM: dts: msm: Add EVA CDSP shared mem
For EVA DSP clients.

Change-Id: I694314287eb0b97c20ecae4d2860d826c6cdd3fa
Signed-off-by: George Shen <quic_sqiao@quicinc.com>
2023-08-17 14:59:45 -07:00
Hareesh Gundu
8590667d83 ARM: dts: msm: Add msm_gpu node for sun
Add msm_gpu node to detect sun gpu properties.

Change-Id: I5ce3a39b216681bd9b7386dd3f68a755abe0f197
Signed-off-by: Hareesh Gundu <quic_hareeshg@quicinc.com>
2023-08-16 11:13:06 -07:00
Patrick Daly
410c7ae956 ARM: dts: qcom: Update memory map to V6
Update memory map to V6, from a baseline of V4.

Change-Id: I167de96b3a2f199188a4d8c995aa49ef6b83fee1
Signed-off-by: Patrick Daly <quic_pdaly@quicinc.com>
2023-08-15 11:51:49 -07:00
Melody Olvera
8261384c4a ARM: dts: msm: sun: Add EUD node for sun SoC
Add EUD node for sun SoC.

Change-Id: If4105edc4c0426eab5168ed256d10ed28cfaa889
Signed-off-by: Melody Olvera <quic_molvera@quicinc.com>
2023-08-10 13:01:33 -07:00