Commit Graph

123 Commits

Author SHA1 Message Date
qctecmdr
307d4c114b Merge "ARM: dts: msm: Add GDSC proxy consumers for Sun" 2023-08-02 09:25:02 -07:00
qctecmdr
3524dbea8f Merge "ARM: dts: qcom: switch to RPMh control of ARC regulators on Sun" 2023-08-01 13:06:23 -07:00
qctecmdr
db4bf6882a Merge "ARM: dts: msm: Enable pmu on sun" 2023-08-01 13:06:23 -07:00
qctecmdr
cc280a3fc2 Merge "ARM: dts: msm: Enable dma heap headers for pineapple" 2023-08-01 13:06:23 -07:00
qctecmdr
85bb807b95 Merge "ARM: dts: msm: Support for Sun v2 SoC" 2023-08-01 13:06:22 -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
Mukesh Ojha
335d933823 ARM: dts: msm: Enable dma heap headers for pineapple
Enable dma heap headers which was commented due to unmet
dependencies.

Change-Id: I46b380ff564a602cb85826407c76bf7c9324f50c
Signed-off-by: Mukesh Ojha <quic_mojha@quicinc.com>
2023-07-25 11:56:10 +05:30
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
qctecmdr
7adba75d52 Merge "ARM: dts: msm: Remove ucsi port remote-endpoint with USB pineapple" 2023-07-22 09:46:07 -07:00
Ronak Vijay Raheja
ad851ab8e5 ARM: dts: msm: Add GDSC supply to USB node for sun
Add the USB3_GDSC-supply property to the usb device to vote for GDSC and
avoid it being turned off in sync-state.

Change-Id: I33e88f1f3e2c0843f5a049cc3b22d348d261f3e2
Signed-off-by: Ronak Vijay Raheja <quic_rraheja@quicinc.com>
2023-07-21 16:30:02 -07:00
David Collins
d2d054b645 ARM: dts: qcom: switch to RPMh control of ARC regulators on Sun
Replace the stub-regulator devices for ARC managed PMIC regulators
with rpmh-regulator devices.  This ensures that consumers are able
to modify the physical state of these PMIC regulators.  This is
particularly important for VDD_MMCX as it gates many multimedia
blocks in hardware.

Change-Id: I1287233d2e6aa22ef5ebd23951e5c61b8a1acae1
Signed-off-by: David Collins <quic_collinsd@quicinc.com>
2023-07-20 10:54:58 -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
Mukesh Ojha
14101e9d2e ARM: dts: msm: Remove ucsi port remote-endpoint with USB pineapple
USB controller device doesn't probe due to remote-endpoint depedency
with ucsi device. ucsi device won't be probed as ADSP firmware is
not being loaded. Hence remove ucsi port related remote-endpoint
configuration on pineapple.

While at it, also remove dependency on EUD driver.

Change-Id: I161afb62e63ebeeb13ee5af7b43408c697fd59d6
Signed-off-by: Mukesh Ojha <quic_mojha@quicinc.com>
2023-07-19 00:58:21 -07:00
qctecmdr
1b13ee85bc Merge "ARM: dts: msm: Add SD card support" 2023-07-18 21:33:36 -07:00
Unnathi Chalicheemala
25cd1caa2b ARM: dts: msm: Support for Sun v2 SoC
Added initial Sun v2 device tree support.
Added v2 support in MTP, CDP, QRD overlays.

Change-Id: I47f7bb69bac837dc9f6c646130240b562ce7c827
Signed-off-by: Unnathi Chalicheemala <quic_uchalich@quicinc.com>
2023-07-18 10:57:19 -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
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