Commit Graph

479 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
Xubin Bai
1a2b543114 ARM: dts: msm: Unstub gpucc for Sun
Unstub gpucc for Sun device.

Change-Id: I11919b69830038bcd6c97a593191bdb08c6e4057
Signed-off-by: Xubin Bai <quic_xubibai@quicinc.com>
2023-08-08 10:11:51 -07:00
Xubin Bai
0f2864c72f ARM: dts: msm: Unstub Videocc for Sun
Unstub Videocc for Sun.

Change-Id: I0bdfbd02b8e321f02507214c6d0ec56e64911d8b
Signed-off-by: Xubin Bai <quic_xubibai@quicinc.com>
2023-08-07 05:15:57 -07:00
qctecmdr
89b6608129 Merge "ARM: dts: msm: sun: Remove maxcpus from cmdline" 2023-08-02 09:25:03 -07:00
qctecmdr
81c770167c Merge "ARM: dts: msm: Unstub and enable interconnect driver for Sun" 2023-08-02 09:25:02 -07:00
qctecmdr
307d4c114b Merge "ARM: dts: msm: Add GDSC proxy consumers for Sun" 2023-08-02 09:25:02 -07:00
Melody Olvera
5cb7097ec3 ARM: dts: msm: sun: Remove maxcpus from cmdline
Remove maxcpus from command line to boot all cores.

Change-Id: Ifaf03a66e36d7a0fc1236f22f8126a14513bbdf9
Signed-off-by: Melody Olvera <quic_molvera@quicinc.com>
2023-07-28 12:57:36 -07:00
Xubin Bai
9783c2f25a ARM: dts: msm: Unstub and enable interconnect driver for Sun
Enable apps_rsc nodes for bcm voter, enable interconnect
driver for Sun.

Change-Id: I26b3348fddcfc2ef2d5ccd7bf77de4bb576f79b5
Signed-off-by: Xubin Bai <quic_xubibai@quicinc.com>
2023-07-27 18:24:25 -07:00
Melody Olvera
ede7c77ac8 ARM: dts: msm: Enable pmu on sun
Add dt node for pmu on sun SoC.

Change-Id: If0a81ca8a0fc027e64fa40ed0abed68f99097c71
Signed-off-by: Melody Olvera <quic_molvera@quicinc.com>
2023-07-24 11:26:56 -07:00
qctecmdr
3885be950a Merge "ARM: dts: msm: Add apps_rsc device tree node for sun" 2023-07-22 09:46:07 -07:00
qctecmdr
aa3bbe1bbf Merge "ARM: dts: msm: Add dma-heap device for sun" 2023-07-22 09:46:07 -07:00
Bavyasritha Alahari
c068ebe79a ARM: dts: msm: Add apps_rsc device tree node for sun
Add apps_rsc device tree node for sun.

Change-Id: I026e45d95b77cce6e01672756f60cdb2751d103f
Signed-off-by: Bavyasritha Alahari <quic_alahari@quicinc.com>
2023-07-20 10:45:24 -07:00
Xubin Bai
af9ee05319 ARM: dts: msm: Unstub dispcc for Sun
Unstub the dispcc device so that it starts controlling HW.

Change-Id: I548b5eb65c80032057877f15fa4abe0be42417e1
Signed-off-by: Xubin Bai <quic_xubibai@quicinc.com>
2023-07-19 19:29:16 -07:00
Patrick Daly
2a05831b73 ARM: dts: msm: Add mem-buf device for sun
The mem-buf device provides memory related services for shared memory
between host and guest VMs.

Change-Id: Iade8224fbea6985c69af9cd30d1c441983e91147
Signed-off-by: Patrick Daly <quic_pdaly@quicinc.com>
2023-07-19 19:22:19 -07:00
Patrick Daly
09cd32e98e ARM: dts: msm: Add secure-buffer device for sun
Add the secure-buffer device, which supports hypervisor operations
to change the stage 2 permissions of memory.

Change-Id: I98576bc919aecada2e7ab7bc5dfeadc8979a111d
Signed-off-by: Patrick Daly <quic_pdaly@quicinc.com>
2023-07-19 19:22:11 -07:00
qctecmdr
1b13ee85bc Merge "ARM: dts: msm: Add SD card support" 2023-07-18 21:33:36 -07:00
Mike Tipton
547b3c161d ARM: dts: msm: Add GDSC proxy consumers for Sun
Some GDSCs are enabled from bootloaders and need the proxy-consumer to
ensure they stay on until after their associated CC has probed and
enabled clocks that depend on them.

Change-Id: I6801742fb80d62b16153a0973696b82972a22806
Signed-off-by: Mike Tipton <quic_mdtipton@quicinc.com>
2023-07-14 16:19:16 -07:00
Melody Olvera
a71a9dcd3a ARM: dts: msm: sun: Enable six cores rather than one
Enable cluster 0 cores from the command line instead of just
core 0.

Change-Id: I26b97122d353b3979467109babfded9a095b207d
Signed-off-by: Melody Olvera <quic_molvera@quicinc.com>
2023-07-12 16:20:17 -07:00
qctecmdr
6fc92bbf27 Merge "ARM: dts: msm: Increase linux,cma reserved memory for sun" 2023-07-11 16:15:12 -07:00
qctecmdr
20b114512f Merge "ARM: dts: msm: Update to memory map v2 for sun" 2023-07-11 16:02:27 -07:00
Xubin Bai
93c137095f ARM: dts: msm: Unstub Cambistmclkcc on Sun
Unstub Cambistmclkcc on Sun.

Change-Id: I15d4d2fef4e444a93d99b6f8d8c988bd51dd8021
Signed-off-by: Xubin Bai <quic_xubibai@quicinc.com>
2023-07-10 20:57:49 -07:00
Patrick Daly
bcfd666095 ARM: dts: msm: Add dma-heap device for sun
Create the system heap device for sun.

Change-Id: I7bbf10092c10149583b77f41b0b02e44a77d8263
Signed-off-by: Patrick Daly <quic_pdaly@quicinc.com>
2023-07-06 21:42:31 -07:00
Patrick Daly
14853d905f ARM: dts: msm: Increase linux,cma reserved memory for sun
With 16GB of DDR, existing drivers were trying to use 6Mb as follows:
2Mb: dma_atomic_pool_init(GFP_KERNEL)
2Mb: dma_atomic_pool_init(GFP_KERNEL | GFP_DMA32)
2Mb: qcom_iommu_util::dma_atomic_pool_init

Increase the reserved size to 12Mb to leave a small margin.

Change-Id: Id9bdfcca7560d40bddf3c9c526f9e3ee69ba9174
Signed-off-by: Patrick Daly <quic_pdaly@quicinc.com>
2023-07-06 21:42:31 -07:00
Patrick Daly
995920c7f9 ARM: dts: msm: Update to memory map v2 for sun
Update to the newest memory map version.

Change-Id: I1170604016947220f51c33887a87eef21b7ebd23
Signed-off-by: Patrick Daly <quic_pdaly@quicinc.com>
2023-07-06 11:24:39 -07:00
Xiaosen He
8bc7f9ce84 ARM: dts: msm: Add SD card support
Add SD card support for sun.

Change-Id: I6620b3671458cbbfce28fe880408e279434804f4
Signed-off-by: Xiaosen He <quic_xiaosenh@quicinc.com>
2023-07-06 00:35:20 -07:00
Melody Olvera
da81ed11fb ARM: dts: msm: Add smem compatible for sun
Add the device tree properties to the smem reserved memory region that
to match allows the smem driver to match and probe accordingly.

Change-Id: I4e0bdf3d26a9d0f7cf15a569e08988dddadf8183
Signed-off-by: Melody Olvera <quic_molvera@quicinc.com>
Signed-off-by: Chris Lew <quic_clew@quicinc.com>
2023-07-05 21:55:21 -07:00
qctecmdr
d9755d8e19 Merge "ARM: dts: msm: Add hwlock nodes for sun" 2023-07-05 19:31:19 -07:00
Melody Olvera
49fa3ec0af ARM: dts: msm: Add hwlock nodes for sun
Add hwlock nodes for sun SoC.

Change-Id: I2c7b7ee9e8dea0a77be56a9fd2c0a00922e3d55e
Signed-off-by: Melody Olvera <quic_molvera@quicinc.com>
2023-07-05 10:24:45 -07:00
Bao D. Nguyen
d941633583 ARM: dts: qcom: add ufs support for Sun
Add ufs support for Sun platforms.

Change-Id: I4de4b9fb2235192735e1069efea6d246b7960d3f
Signed-off-by: Bao D. Nguyen <quic_nguyenb@quicinc.com>
2023-07-03 10:16:19 -07:00