Commit Graph

165 Commits

Author SHA1 Message Date
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
qctecmdr
db0f58347d Merge "ARM: dts: msm: Add psci node and change enable method on sun" 2023-06-30 20:09:35 -07:00
qctecmdr
a6bb486ea9 Merge "ARM: dts: msm: Add stdout to chosen node for sun and set maxcpus to 1" 2023-06-30 19:37:10 -07:00
qctecmdr
55399d224e Merge "ARM: dts: msm: Add USB device nodes for sun" 2023-06-30 18:09:19 -07:00
Melody Olvera
9f2ed04bf3 ARM: dts: msm: Add psci node and change enable method on sun
Add the psci node and change the cpu enable method to psci
on the sun SoC.

Change-Id: I86f747a87169172ac215885c6de0e19be921f99f
Signed-off-by: Melody Olvera <quic_molvera@quicinc.com>
2023-06-30 16:26:33 -07:00
Satya Durga Srinivasu Prabhala
ae310f7035 ARM: dts: msm: Add tz-log node for Sun
Add tz-log node for Sun which gets updated by Resource Manager.
With out this node, device tree overlay fails.

Change-Id: I9d54da4cf32272176e12d3cd49bc21f20e688f30
Signed-off-by: Satya Durga Srinivasu Prabhala <quic_satyap@quicinc.com>
2023-06-30 16:26:26 -07:00
Melody Olvera
4cc6340f34 ARM: dts: msm: Add stdout to chosen node for sun and set maxcpus to 1
Add stdout to chosen node for sun SoC and set maxcpus to 1.

Change-Id: I2633e4f96f3f9cbc047334200fc42921a5f5d6f7
Signed-off-by: Melody Olvera <quic_molvera@quicinc.com>
2023-06-30 16:25:59 -07:00
Ronak Vijay Raheja
de8649c8e1 ARM: dts: msm: Add USB device nodes for sun
Enable USB related properties for USB functionality on sun.

Change-Id: Ibb522859494c0e939b46a6b790448fc2e62bd37e
Signed-off-by: Ronak Vijay Raheja <quic_rraheja@quicinc.com>
2023-06-28 18:41:20 -07:00
qctecmdr
30d9738720 Merge "ARM: dts: msm: Unstub Evacc on Sun" 2023-06-23 16:23:10 -07:00
qctecmdr
e4563f77a4 Merge "ARM: dts: msm: Unstub camcc on Sun" 2023-06-22 13:49:38 -07:00
Melody Olvera
4a43518539 ARM: dts: msm: Add LLCC node for sun SoC
Add LLCC node for sun SoC.

Change-Id: I081811835d1ae383747d322e0c5675bb4df80aa4
Signed-off-by: Melody Olvera <quic_molvera@quicinc.com>
2023-06-21 16:15:37 -07:00
Melody Olvera
34baffc09d ARM: dts: msm: Add ipcc and ipcc-self-ping nodes for sun
Add ipcc and ipcc-self-ping nodes for sun SoC.

Change-Id: Ib5df260528abb33a5b25dbb1b2e22013cdcd2ee1
Signed-off-by: Melody Olvera <quic_molvera@quicinc.com>
2023-06-16 15:26:58 -07:00
Xubin Bai
29a2c17de9 ARM: dts: msm: Unstub Evacc on Sun
Unstub the Evacc device on Sun.

Change-Id: I994faee1d80028a734740fdb09792561561f97bc
Signed-off-by: Xubin Bai <quic_xubibai@quicinc.com>
2023-06-14 21:43:03 -07:00
Xubin Bai
d9475f6f2a ARM: dts: msm: Unstub camcc on Sun
Unstub the camcc device so that it starts controlling HW.

Change-Id: I41c88ef6692d7f24b2bf759ac16b6af880f09cf2
Signed-off-by: Xubin Bai <quic_xubibai@quicinc.com>
2023-06-14 19:59:51 -07:00
Xubin Bai
173d0e5119 ARM: dts: msm: Update and enable gcc clock controller on Sun
Enable global clock controller on Sun. Enable GCC GDSCs
and update PCIE, UFS, USB30 gdsc in respective device entries.

Change-Id: I48f8fdd536657104f5e2e238aed3383e58f29fd3
Signed-off-by: Xubin Bai <quic_xubibai@quicinc.com>
2023-05-29 21:53:43 -07:00