Commit Graph

51 Commits

Author SHA1 Message Date
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
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
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
qctecmdr
5d6cb31087 Merge "ARM: dts: qcom: add ufs support for Sun" 2023-07-04 18:07:15 -07:00
qctecmdr
64fba314e3 Merge "ARM: dts: msm: Enable SMMU for USB on sun" 2023-07-04 01:19:22 -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
Ronak Vijay Raheja
6c59e20876 ARM: dts: msm: Enable SMMU for USB on sun
Switch to enable SMMU for the USB controller on sun.

Change-Id: I9b43a167beb2ab971ce48bbc5f03bf62512addc2
Signed-off-by: Ronak Vijay Raheja <quic_rraheja@quicinc.com>
2023-06-30 17:39:46 -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
Melody Olvera
8aea2d5fc7 ARM: dts: msm: Change sun rumi to compile as overlay
Change the sun rumi dt file to compile as an overlay.

Change-Id: I56dcc5349eac12c660981da0fc75f0173b27197a
Signed-off-by: Melody Olvera <quic_molvera@quicinc.com>
2023-06-30 16:26:26 -07:00
Melody Olvera
8f71e16f99 ARM: dts: msm: Adjust RUMI arch timer and memtimer frequencies on sun
Adjust arch timer and memtimer frequencies on the sun RUMI to stop
IRQ storms during boot.

Change-Id: Ic34a125763701ec115db82cd5ed5259fb3bd9a28
Signed-off-by: Melody Olvera <quic_molvera@quicinc.com>
2023-06-30 16:26:26 -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
15f95daade Merge "ARM: dts: msm: Add qcom,qsmmu-v500 device for sun" 2023-06-27 10:05:22 -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
Patrick Daly
e69b9b255f ARM: dts: msm: Add qcom,qsmmu-v500 device for sun
Describe the registers of the QTB devices, and also add
devices for test purposes.

Change-Id: Ieee39df8ac89d62479a10b92c8a8c4421fcf88fc
Signed-off-by: Patrick Daly <quic_pdaly@quicinc.com>
2023-06-21 23:18:22 -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
Prasanna S
cef56baa85 ARM: dts: msm: Add QUPv3 UART console node for sun
Enable console support on sun.

Change-Id: If6c1b2a81e2e18bbfee793c9188afb82dcf6f596
Signed-off-by: Prasanna S <quic_prass@quicinc.com>
2023-05-26 00:17:23 -07:00
Mukesh Ojha
e9b9d27ee3 ARM: dts: msm: Add snapshot of pineapple device tree
Add snapshot of pineapple device tree files as of devicetree/qcom-6.1
commit 8bc1219b2b23 ("Merge "ARM: dts: msm: update memlat tables for
pineapple"").

Change-Id: If62ee45b1f3e7e8a5744f25b8c67a9768950c960
Signed-off-by: Mukesh Ojha <quic_mojha@quicinc.com>
2023-05-25 18:34:55 +05:30
qctecmdr
d86fa8483b Merge "ARM: dts: msm: Add stub interconnect devices for Sun" 2023-05-24 03:30:27 -07:00
David Collins
dd4580033b ARM: dts: qcom: add stub regulator devices for Sun
Add stub regulator devices for the SMPS, LDO, and BOB regulators
found on the PMIC chips which are used on Sun boards.  This
ensures that consumers can use the regulators successfully.

Change-Id: I23a02c960adbb46b09c7648458d7c367636993c3
Signed-off-by: David Collins <quic_collinsd@quicinc.com>
2023-05-22 11:19:24 -07:00
Melody Olvera
ca4e3bc19b ARM: dts: qcom: Add pinctrl file for sun
Add pinctrl dtsi file for sun.

Change-Id: I72c684d233d2c9e9d7a0d7bdde322a20fea8e9e0
Signed-off-by: Melody Olvera <quic_molvera@quicinc.com>
2023-05-16 15:38:30 -07:00
Xubin Bai
da99d1b26e ARM: dts: msm: Add stub interconnect devices for Sun
Add stub interconnect devices. This will allow consumers
to get their path and set bandwidth constraints on them.

Change-Id: I6f2adf0ba4fd5f34fc6119fd5f0a7314cc92691d
Signed-off-by: Xubin Bai <quic_xubibai@quicinc.com>
2023-05-09 20:02:23 -07:00
qctecmdr
0b545d9b0f Merge "ARM: dts: msm: Add stub clocks and gdsc nodes for Sun Soc" 2023-05-08 15:49:04 -07:00
qctecmdr
e0e62729fb Merge "ARM: dts: msm: Add tlmm node" 2023-05-04 14:02:46 -07:00
Xubin Bai
ede45c2bcc ARM: dts: msm: Add stub clocks and gdsc nodes for Sun Soc
Add stub clock nodes are required for clocks client to
request, so add support for the same.

Change-Id: I9c26dcc16e90e79aaf2b7838d205f4c7c44b05bc
Signed-off-by: Xubin Bai <quic_xubibai@quicinc.com>
2023-05-04 05:55:32 -07:00
qctecmdr
2db3e6f58b Merge "ARM: dts: msm: Increase memreserve region for RUMI" 2023-05-03 14:45:26 -07:00
Melody Olvera
eebb932058 ARM: dts: msm: Add tlmm node
Add tlmm node for sun SoC.

Change-Id: I3d73fb607a40ae0b00e3c590f0c62bb9c8d777ec
Signed-off-by: Melody Olvera <quic_molvera@quicinc.com>
2023-05-02 13:28:15 -07:00
qctecmdr
75a2fd666c Merge "ARM: dts: msm: Add arm-smmu device for sun" 2023-05-02 12:33:17 -07:00
Melody Olvera
b3bc29442f ARM: dts: msm: Increase memreserve region for RUMI
Increase memreserve region on RUMI to match the reserved
memory region.

Change-Id: I353dc4d97cc0678a588b7fafb6732a4695dd6b52
Signed-off-by: Melody Olvera <quic_molvera@quicinc.com>
2023-05-02 11:44:31 -07:00
Patrick Daly
a93a4ec33d ARM: dts: msm: Add arm-smmu device for sun
Describe the registers and interrupts of the arm-smmu device.

Change-Id: Ib228045ccfdc4a16204428b9bdbf7e1d6ff06a92
Signed-off-by: Patrick Daly <quic_pdaly@quicinc.com>
2023-05-01 12:25:28 -07:00
Patrick Daly
15a824df86 ARM: dts: msm: Add memory map v1 for sun
Describe the chip memory map.

Change-Id: I44b4113a1c646072a744a0f7526d9b966b4595f4
Signed-off-by: Patrick Daly <quic_pdaly@quicinc.com>
2023-05-01 12:25:28 -07:00
Melody Olvera
0a98740590 ARM: dts: msm: Add firmware node and scm node
Add firmware node and scm node for Sun SoC.

Change-Id: I6f0c48638053ef07ac1fa393b1ff9b76478ed182
Signed-off-by: Melody Olvera <quic_molvera@quicinc.com>
2023-04-27 16:21:38 -07:00
Melody Olvera
0a6dffcb0d ARM: dts: msm: Update cpu ids, spin-table region, timer interrupts
Update cpu ids, spin-table region, and timer interrupts on sun
to enable multicore boot.

Change-Id: Ibc25a86992dddc997c58e8e10a749b3c79731244
Signed-off-by: Melody Olvera <quic_molvera@quicinc.com>
2023-04-26 11:39:17 -07:00