Commit Graph

293 Commits

Author SHA1 Message Date
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
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
9378b893fb Merge "ARM: dts: msm: Add GDSC supply to USB node for sun" 2023-08-02 09:25:03 -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
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