Compare commits

...

535 Commits

Author SHA1 Message Date
kmiit
162770809f qcom: Build dtbos inline 2025-06-12 17:51:43 +08:00
kmiit
a1131dac0f Add 'qcom/wlan/' from WLAN.LA.1.0.r1-08000-pakala.0 of https://git.codelinaro.org/clo/la/platform/vendor/qcom-opensource/wlan/wlan-devicetree
git-subtree-dir: qcom/wlan
git-subtree-mainline: cc9d84727a
git-subtree-split: 551f3bbb6a
2025-06-12 16:45:14 +08:00
kmiit
cc9d84727a Add 'qcom/video/' from VIDEO.LA.5.0.r1-05900-pakala.0 of https://git.codelinaro.org/clo/la/platform/vendor/opensource/video-devicetree
git-subtree-dir: qcom/video
git-subtree-mainline: 8828ec5153
git-subtree-split: 54fe744ffb
2025-06-12 16:44:11 +08:00
kmiit
8828ec5153 Add 'qcom/synx/' from LA.VENDOR.15.4.0.r1-17000-pakala.0 of https://git.codelinaro.org/clo/la/platform/vendor/qcom-opensource/synx-devicetree
git-subtree-dir: qcom/synx
git-subtree-mainline: 128e94036b
git-subtree-split: 88e564cd7f
2025-06-12 16:42:23 +08:00
kmiit
128e94036b Add 'qcom/nfc/' from LA.VENDOR.15.4.0.r1-17000-pakala.0 of https://git.codelinaro.org/clo/la/platform/vendor/qcom-opensource/nfc-devicetree
git-subtree-dir: qcom/nfc
git-subtree-mainline: 629a5369ba
git-subtree-split: cb15fa6537
2025-06-12 16:41:04 +08:00
kmiit
629a5369ba Add 'qcom/mmrm/' from VIDEO.LA.5.0.r1-05900-pakala.0 of https://git.codelinaro.org/clo/la/platform/vendor/opensource/mmrm-devicetree
git-subtree-dir: qcom/mmrm
git-subtree-mainline: 1b15f14402
git-subtree-split: 40cf8f841b
2025-06-12 16:37:58 +08:00
kmiit
1b15f14402 Add 'qcom/mm/' from DISPLAY.LA.5.0.r1-06600-pakala.0 of https://git.codelinaro.org/clo/la/platform/vendor/opensource/mm-devicetree
git-subtree-dir: qcom/mm
git-subtree-mainline: ee7d6850f6
git-subtree-split: f9e97b38ab
2025-06-12 16:36:15 +08:00
kmiit
ee7d6850f6 Add 'qcom/graphics/' from GRAPHICS.LA.15.0.r1-06300-pakala.0 of https://git.codelinaro.org/clo/la/platform/vendor/qcom/opensource/graphics-devicetree
git-subtree-dir: qcom/graphics
git-subtree-mainline: 2bb579edb5
git-subtree-split: 96de6303a2
2025-06-12 16:24:49 +08:00
kmiit
2bb579edb5 Add 'qcom/eva/' from CV.LA.2.1.r1-03500-pakala.0 of https://git.codelinaro.org/clo/la/platform/vendor/opensource/eva-devicetree
git-subtree-dir: qcom/eva
git-subtree-mainline: c3510164c1
git-subtree-split: 39103355dd
2025-06-12 16:16:17 +08:00
kmiit
c3510164c1 Add 'qcom/eSE/' from LA.VENDOR.15.4.0.r1-17000-pakala.0 of https://git.codelinaro.org/clo/la/platform/vendor/qcom-opensource/eSE-devicetree
git-subtree-dir: qcom/eSE
git-subtree-mainline: a8cb8488c3
git-subtree-split: 69b45eb7d6
2025-06-12 16:09:30 +08:00
Linux Build Service Account
cb15fa6537 Merge 7c6ef40bfd on remote branch
Change-Id: I86592506da06773250d6ffcc6d5f5bd2625c7c48
2025-05-15 03:00:35 -07:00
Linux Build Service Account
88e564cd7f Merge 3099b0c2ee on remote branch
Change-Id: I179d2c7f196d5c3b30c54078f5eeac3fb49ee075
2025-05-15 03:00:29 -07:00
Linux Build Service Account
96de6303a2 Merge 9e199cf0d0 on remote branch
Change-Id: Icd00d9fa0c37653edcff3706ef96f30a0a3bf3a0
2025-05-15 01:12:10 -07:00
Linux Build Service Account
551f3bbb6a Merge 283b4aa71a on remote branch
Change-Id: I4a12a83dab4ce2841247e54a0ca1683fbbda8423
2025-05-15 01:01:52 -07:00
Linux Build Service Account
cc57a89292 Merge 5f951e9ff8 on remote branch
Change-Id: If5bfcfee870e3013d40fb2684c13ddfb9043363d
2025-05-01 22:53:32 -07:00
QCTECMDR Service
9e199cf0d0 Merge "ARM: dts: msm: Update Tuna GPU frequency plan" 2025-04-25 04:28:45 -07:00
yulong li
3099b0c2ee synx-devicetree: fix synx devicetree compile can not find sun_le.mk
add sun_le.mk to compile synx-devicetree

Change-Id: Id2d90d45b1efed41ad6e44598d469c5fbc34f5a2
2025-04-25 01:30:42 -07:00
Rohit Bhatia
283b4aa71a ARM: dts: msm: Added new soc-ID's to parrot target
Added new SOC-ID's to support parrot target

Change-Id: I386b3148fe115a17a43aacb16739a265e69243aa
2025-04-18 12:46:11 +05:30
Linux Build Service Account
18ee9e15a9 Merge 3f30376a36 on remote branch
Change-Id: I301b64f30b5d0f5932322ada43a16918d61cba0e
2025-04-17 06:01:07 -07:00
Linux Build Service Account
23b5bfc0da Merge f7e9e51aa9 on remote branch
Change-Id: Id5f86c7718bdadd0a6efca3f42b4bcadbf4884df
2025-04-17 03:00:41 -07:00
CNSS_WLAN Service
bbad3801da Merge "ARM: dts: msm: Add board id for SN220U for Canoe + Peach" into wlan-platform.lnx.2.0 2025-04-17 02:09:17 -07:00
Alan Z. Chen
29daf46c7d ARM: dts: msm: Add new pdc table to vote for mode for Canoe
Add a new pdc table for Canoe in order to make mode votes for the
L3K regulator.

Change-Id: Idce97babe07bb23a8354dc60382e945c0b6cf4e4
CRs-Fixed: 4110480
2025-04-14 09:38:47 -07:00
Amruth Naga
7c6ef40bfd [NFC][DT]: Added new soc-ID's to support parrot target.
- Added new SOC-ID's to support parrot target

Change-Id: I4aabae8970f735a157ad87f5a119bb41728058aa
2025-04-14 10:31:16 +05:30
CNSS_WLAN Service
5f951e9ff8 Merge "ARM: dts: msm: Add platform_name_required field for Canoe" into wlan-platform.lnx.2.0 2025-04-08 22:44:39 -07:00
Alan Z. Chen
55e9273e64 ARM: dts: msm: Add platform_name_required field for Canoe
Add platform_name_required field for Canoe in order to get platform
type.

Change-Id: I2cb1338e126e494469a17a771e95254821125236
CRs-Fixed: 4108935
2025-04-07 16:40:56 -07:00
CNSS_WLAN Service
f7e9e51aa9 Merge "ARM: dts: msm: Enlarge cnss iommu dma memory pool range" into wlan-platform.lnx.2.0 2025-04-02 19:32:37 -07:00
CNSS_WLAN Service
a92eda850b Merge "ARM: dts: qcom: Add load current in vote for L3K regulator for Canoe" into wlan-platform.lnx.2.0 2025-04-02 19:32:30 -07:00
Rohit Jadhav
d9ca0769d0 Merge commit '7633c0c31d0dd26888f36330a4bf3d86a4eb18c4' into gfx-devicetree-oss.lnx.1.0.r1-rel
Change-Id: I9d0f0f19be1b7a7e73c92b886a95e111392bcc57
Signed-off-by: Rohit Jadhav <quic_rbjadhav@quicinc.com>
2025-04-02 15:15:21 +05:30
Linux Build Service Account
b41ea74ae4 Merge e804cdf8e3 on remote branch
Change-Id: I3c16f3d849ac61805a71361f677c3126db816ffe
2025-04-02 01:40:59 -07:00
QCTECMDR Service
3f30376a36 Merge "ARM: dts: msm: Remove GPU model reference from Kera GPU" 2025-03-26 03:18:37 -07:00
Surabhi Vishnoi
60832f4ab0 ARM: dts: msm: Enlarge cnss iommu dma memory pool range
This change enlarges the iommu dma memory pool range for Milos
Ganges wlan attach.

Change-Id: I81f3db7d230c43d288725c89ac691ab7083fd8b5
CRs-Fixed: 4053659
2025-03-25 22:05:30 -07:00
Prateek Patil
30a7fa058e ARM: dts: msm: Add WLAN_EN GPIO Support through Linux pinctrl framework
Add WLAN_EN GPIO definition to be supported through Linux
pinctrl framework.

Using Linux pinctrl framework API add support to control
WLAN_EN GPIO:

1. Read WLAN_EN GPIO value
2. Change WLAN_EN GPIO value

Change-Id: Ic205814b6b38d515b23879673afe76882ad0098b
CRs-Fixed: 4093812
2025-03-24 01:58:18 -07:00
Gayathri Veeragandam
295adba43b ARM: dts: msm: Update Tuna GPU frequency plan
Update frequency plan as per the latest recommendation.
updating PS#5 of Ibdd4774022e90ebc0c670ce2cadc071b988698d4

Change-Id: I4aca1dfe66a24e80471ad22a5c1f373d7b2a4e16
Signed-off-by: Rohit Jadhav <quic_rbjadhav@quicinc.com>
2025-03-22 05:13:56 -07:00
Alan Z. Chen
850da8ba8b ARM: dts: qcom: Add load current in vote for L3K regulator for Canoe
Add load current in vote for L3K regulator for Canoe.

Change-Id: Ia93e58b9b9beb4c57277b0b30c4df280b6497359
CRs-Fixed: 4090262
2025-03-21 18:15:28 -07:00
Prateek Patil
e804cdf8e3 ARM: dts: msm: Add pinctrl string for SW_CTRL GPIO
Add pinctrl string for SW_CTRL GPIO.

Change-Id: I291c1c103ca0454b3616efb66b46c357494d19ae
CRs-Fixed: 4090490
2025-03-19 23:44:21 -07:00
Linux Build Service Account
99274db788 Merge b1cc355fcd on remote branch
Change-Id: Iac5f40f3b33f24af5e65d5e0503cb8a5d393a9cb
2025-03-17 14:41:46 -07:00
Linux Build Service Account
69b45eb7d6 Merge 6a08942a8f on remote branch
Change-Id: Ic05746aabf86dccf20e232cce6a71bf0ca3ab1e4
2025-03-17 08:28:00 -07:00
Alan Z. Chen
a7fd2c4313 ARM: dts: msm: Add board id for SN220U for Canoe + Peach
Add board id for SN220U for Canoe + Peach.

Change-Id: I68c9ebd5be74f6a3a4ac64286c532acdb68e1e1f
CRs-Fixed: 4085191
2025-03-14 10:36:19 -07:00
Sanjay Yadav
d259f15917 ARM: dts: msm: Remove GPU model reference from Kera GPU
Remove GPU model reference from Kera GPU.

Change-Id: I723b521c23386ed6f50cb32b87b3053cb712aed6
Signed-off-by: Sanjay Yadav <quic_sanjyada@quicinc.com>
2025-03-13 03:10:21 -07:00
Sanjay Yadav
ce5d522804 ARM: dts: msm: Remove GPU model reference from Kera GPU
Remove GPU model reference from Kera GPU.

Change-Id: I723b521c23386ed6f50cb32b87b3053cb712aed6
Signed-off-by: Sanjay Yadav <quic_sanjyada@quicinc.com>
2025-03-13 15:06:06 +05:30
Sanjay Yadav
4a42af5e4c ARM: dts: msm: Add Kera GPU ACD values
Add ACD control register values and support for Kera GPU.

Change-Id: Idfb20fe8b46655fadf121d2a8192a4fbc42c051c
Signed-off-by: Sanjay Yadav <quic_sanjyada@quicinc.com>
2025-03-12 22:47:22 -07:00
Sanjay Yadav
fd59987095 ARM: dts: msm: Add Kera GPU ACD values
Add ACD control register values and support for Kera GPU.

Change-Id: Idfb20fe8b46655fadf121d2a8192a4fbc42c051c
Signed-off-by: Sanjay Yadav <quic_sanjyada@quicinc.com>
2025-03-12 04:01:15 -07:00
Linux Build Service Account
81ee1745cf Merge "ARM: dts: msm: Update Tuna GPU frequency plan" into gfx-devicetree-oss.lnx.1.0.r1-rel 2025-03-11 03:03:04 -07:00
Gayathri Veeragandam
44360e21a9 ARM: dts: msm: Update Tuna GPU frequency plan
Update frequency plan as per the latest recommendation.

Change-Id: Ic44a74c73793f8874076e62ae231b7e6326e897d
Signed-off-by: Rohit Jadhav <rbjadhav@qti.qualcomm.com>
2025-03-11 02:45:56 -07:00
Kaushal Sanadhya
73f59b59a1 ARM: dts: msm: Add support for 1150MHz frequency in Kera GPU
Add support for 1150MHz frequency (Turbo L2) in Kera GPU.

Change-Id: Ibe95ea6dbfaae4090879d59e45d746ce94eff096
Signed-off-by: Kaushal Sanadhya <quic_ksanadhy@quicinc.com>
2025-03-11 02:31:32 -07:00
Rohit Jadhav
68698774fe Merge commit '9f996a9f8e9c6ca6081ab03b7f9d6a5e3ab11537' into gfx-devicetree-oss.lnx.1.0.r1-rel
Change-Id: If47c5cf1c599c4d88f9a188829e1b70e6b481889
Signed-off-by: Rohit Jadhav <quic_rbjadhav@quicinc.com>
2025-03-09 07:31:52 +05:30
Linux Build Service Account
b25f8771b8 Merge 565fe13eff on remote branch
Change-Id: Id333822600b8184755a55cffb3955b97c05464b3
2025-03-07 04:01:13 -08:00
CNSS_WLAN Service
0488cf9fab Merge "ARM: dts: msm: Change VREG mapping string names" into wlan-platform.lnx.2.0 2025-03-06 22:23:07 -08:00
Kaushal Sanadhya
7633c0c31d ARM: dts: msm: Add support for 1150MHz frequency in Kera GPU
Add support for 1150MHz frequency (Turbo L2) in Kera GPU.

Change-Id: Ibe95ea6dbfaae4090879d59e45d746ce94eff096
Signed-off-by: Kaushal Sanadhya <quic_ksanadhy@quicinc.com>
2025-03-06 01:46:32 -08:00
AMAN KUMAR
f6843ebbb7 ARM: dts: msm: support of KaM soc id for canoe
This change adds support of KaM soc

Change-Id: Id874bcdc187f9af814ba6db0f28cba0d3860298e
2025-03-05 10:58:53 +05:30
Alan Z. Chen
0f22551073 ARM: dts: msm: Change VREG mapping string names
Change VREG mapping string names to be in line with the
string names sent from FW.

Change-Id: Iea6e1e60295d212f367a686244e51f45f850cdf0
CRs-Fixed: 4074221
2025-03-03 16:20:41 -08:00
Gayathri Veeragandam
6b69abc54c ARM: dts: msm: Update Tuna GPU frequency plan
Update frequency plan as per the latest recommendation.

Change-Id: Ibdd4774022e90ebc0c670ce2cadc071b988698d4
Signed-off-by: Gayathri Veeragandam <quic_gveeraga@quicinc.com>
2025-03-03 13:06:43 +05:30
Akhil Budampati
80ab722e8d eSE-devicetree: Adding support for tuna harmonium devices
Added board id for Tuna MTP + kiwi WLAN + Harmonium devices.

Change-Id: Ib30994fd1a61d261fcc6e4db3279741292269d11
(cherry picked from commit 6a08942a8f)
2025-03-01 20:42:45 -08:00
AMAN KUMAR
b1cc355fcd ARM: dts: msm: Add opensource wlan device tree support for alor
This change adds wlan opensource dtsi files for alor-kiwi and
alor-wcn7750.

Change-Id: Ibab85d6b48ca5852d6dd7d89f688a931fd2ccb08
CRs-Fixed: 4061525
2025-02-27 15:13:35 +05:30
Linux Build Service Account
a0232540e3 Merge 8ed822a57e on remote branch
Change-Id: Iab122bff0d738a56d9552de42850b85c78092de1
2025-02-26 15:33:20 -08:00
Linux Build Service Account
36353b1e55 Merge 7d8bc87719 on remote branch
Change-Id: I988bdbb11d5bb26e20f9d13dace6586fbff08607
2025-02-25 17:56:43 -08:00
CNSS_WLAN Service
d7cd13b16d Merge "ARM: dts: msm: Add STSafe320 eSE support to volcano IOT platform" into wlan-platform.lnx.2.0 2025-02-24 07:26:04 -08:00
Surabhi Vishnoi
5b75d22385 ARM: dts: msm: Add STSafe320 eSE support to volcano IOT platform
Add subtype-11 board-id in WLAN volcano IOT dtsi to support
STSafe320 eSE feature.

Change-Id: Iba6a041f87480b5033bafbd9d879793fefd5efe9
CRs-Fixed: 4050248
2025-02-21 00:54:15 -08:00
CNSS_WLAN Service
565fe13eff Merge "ARM: dts: msm: Modify interconnect bus bw config based on DDR type" into wlan-platform.lnx.2.0 2025-02-18 17:50:55 -08:00
Gayathri Veeragandam
50079aa858 ARM: dts: msm: Update Tuna GPU frequency plan
Update frequency plan as per the latest recommendation.

Change-Id: Ibdd4774022e90ebc0c670ce2cadc071b988698d4
2025-02-18 04:44:55 -08:00
Prateek Patil
a168cc8b81 ARM: dts: msm: Modify interconnect bus bw config based on DDR type
Modify interconnect bus bw config based on DDR TYPE in tuna-wcn7750
kera-wcn7750 dtsi.

Change-Id: I6be90ea224c6cd1872ec399cf709f4736aa156e9
CRs-Fixed: 4057869
2025-02-16 21:46:13 -08:00
CNSS_WLAN Service
1b7959400f Merge "ARM: dts: msm: Update cooling device node name in dtsi" into wlan-platform.lnx.2.0 2025-02-16 10:24:31 -08:00
V S Ganga VaraPrasad (VARA) Adabala
eb839c09fb Merge commit '646a3acae6b9772b7ece423b8abb28cb35392697' into wlan-platform.lnx.1.0.r57-rel
Change-Id: I09637d4deef067909493c251df8a1dffc47342bb
2025-02-14 15:26:14 +05:30
Vara Adabala
52fab2e84e Revert "ARM: dts: msm: Add 1.2 io rail voting for wcn7750"
This reverts commit 283f5dc446.

Reason for revert: release branch 

Change-Id: I2e31f95864a3f264117ce19b280aa67ee34460b6
2025-02-14 15:24:18 +05:30
Linux Build Service Account
7cd7653444 Merge 895b45eac5 on remote branch
Change-Id: I9e6c5ade3946534c64ea4171383c45a46f547ceb
2025-02-12 13:15:52 -08:00
Linux Build Service Account
40cf8f841b Merge 2c1be65d15 on remote branch
Change-Id: Idf7f1ec7c97bf4c1a5aa01101a69076b73df5bbe
2025-02-12 09:17:12 -08:00
CNSS_WLAN Service
7d8bc87719 Merge "ARM: dts: msm: Add interconnect voting node for canoe kiwi/peach" into wlan-platform.lnx.2.0 2025-02-11 07:51:15 -08:00
Kartikey Arora
dbe8ff2b61 ARM: dts: msm: Update cooling device node name in dtsi
This change adds a new third cooling device node to support
BW mitigation request and updates existing cooling device
node name in dtsi to remove qcom, prefix so it is considered
as single node and not two due to comma separated while
parsing it in csv format.

Change-Id: I341a2412159d2af6123a3bc4f2323a38b7955b62
2025-02-11 14:31:05 +05:30
Srinivas Girigowda
41f8240269 ARM: dts: msm: Add interconnect voting node for canoe kiwi/peach
Add the interconnect voting node for canoe kiwi/peach, used
for bus bandwidth voting.

Change-Id: I4c1828ec5d6e8e8d2298f51f926338f977283a7e
CRs-Fixed: 4036509
2025-02-10 14:02:52 -08:00
Amruth Naga
8ed822a57e [NFC][DT]: Add DT support to ravelin target,
- Added DT support to ravelin 4GB DDR IDP and 4GB QRD targets.
 - Added all board IDs into single file.

Change-Id: Ibc70a684c8867b184ada4f8c339d394c787ec19c
2025-02-09 23:09:48 -08:00
QCTECMDR Service
9f996a9f8e Merge "ARM: dts: msm: Update Tuna GPU frequency plan" 2025-02-07 01:54:53 -08:00
AMAN KUMAR
92f8a37368 ARM: dts: msm: Fix iommu address and size properties for kiwi
Currently address and size cell property was set to 1, due to
that IOVA range that gets created was out of our expected range.
This change fixes size-cells and address-cells properties of
cnss_pci node to 2 on Canoe kiwi device tree.

Change-Id: I03d193fe50f3a17995c5a4b0eacd13b6c749e9f4
CRs-Fixed: 4048012
2025-02-07 01:08:21 -08:00
SIVA MULLATI
8aac1b0fcd ARM: dts: msm: Update Tuna GPU frequency plan
Update frequency plan as per the latest recommendation.

Change-Id: I5c904b148f149f094dea735ba0a975862538dad6
Signed-off-by: SIVA MULLATI <quic_smullati@quicinc.com>
2025-02-04 01:23:12 -08:00
Akhil Budampati
6a08942a8f eSE-devicetree: Adding support for tuna harmonium devices
Added board id for Tuna MTP + kiwi WLAN + Harmonium devices.

Change-Id: Ib30994fd1a61d261fcc6e4db3279741292269d11
2025-02-03 15:33:48 +05:30
Linux Build Service Account
99b7b90a12 Merge "ARM: dts: msm: Add the nvmem cells for gaming fuse on kera gpu" into gfx-devicetree-oss.lnx.1.0.r1-rel 2025-02-02 22:50:24 -08:00
Linux Build Service Account
268c349b03 Merge "Revert "ARM: dts: msm: add chipid for KERA gpu"" into gfx-devicetree-oss.lnx.1.0.r1-rel 2025-02-02 22:50:21 -08:00
Varun Kumar
d3f8de5d34 [NFC][DTS]: added board id for Tuna MTP + kiwi WLAN + Harmonium
added board id for Tuna MTP + kiwi WLAN + Harmonium

Change-Id: Ic8242b8592bc5795f4647dae186fdb2fa9097658
(cherry picked from commit 895b45eac5)
2025-02-02 22:44:52 -08:00
CNSS_WLAN Service
646a3acae6 Merge "ARM: dts: msm: Update load value for L2G/L3G regulator" into wlan-platform.lnx.2.0 2025-02-01 07:06:54 -08:00
CNSS_WLAN Service
f30af94c3c Merge "ARM: dts: msm: Reduce regulator voltage vote for tuna-wcn7750" into wlan-platform.lnx.2.0 2025-01-31 17:46:31 -08:00
Kaushal Sanadhya
abb7b6ebbd ARM: dts: msm: Add the nvmem cells for gaming fuse on kera gpu
Define the nvmem cells for gaming fuse support on kera gpu.

Change-Id: I3e316771845e01f1bba42040084be1f735099298
Signed-off-by: Kaushal Sanadhya <quic_ksanadhy@quicinc.com>
2025-01-31 06:19:27 -08:00
Vishvanath Singh
622f36bf2a Revert "ARM: dts: msm: add chipid for KERA gpu"
This reverts commit d69fe4603a.

Change-Id: I62cd9540a085f737395592a783a51a30d9d4b510
2025-01-31 06:02:01 -08:00
Linux Build Service Account
fc6cefdcec Merge "ARM: dts: msm: Add 1.8 io rail voting for qca6750" into wlan-platform.lnx.1.0.r57-rel 2025-01-31 04:48:15 -08:00
Megha Byahatti
94d2ad40f0 mmrm: drvier: Add mmrm devicetree support for tuna variant
Add mmrm devicetree support for tuna variant

Change-Id: I18339a06951c6b562a6b4e3b3b9058599d08540b
Signed-off-by: Megha Byahatti <quic_mbyahatt@quicinc.com>
2025-01-31 04:40:40 -08:00
Kartikey Arora
698938d087 ARM: dts: msm: Add 1.8 io rail voting for qca6750
This change adds 1.8 io rail voting for qca6750.

Change-Id: I786331ba394de843202425d6c72849619329712a
CRs-Fixed: 4026861
(cherry picked from commit 6fecf46ae7)
2025-01-31 04:32:15 -08:00
Kartikey Arora
283f5dc446 ARM: dts: msm: Add 1.2 io rail voting for wcn7750
This change adds 1.2 io rail voting for wcn7750.

Change-Id: I97bcc835af2f6b248db5633a8c030aa218ef893b
CRs-Fixed: 4019711
(cherry picked from commit 32049a7d63)
2025-01-31 04:30:10 -08:00
SIVA MULLATI
31cd596f9b ARM: dts: msm: Update Tuna GPU frequency plan
Update frequency plan as per the latest recommendation.

Change-Id: I5c904b148f149f094dea735ba0a975862538dad6
Signed-off-by: SIVA MULLATI <quic_smullati@quicinc.com>
2025-01-30 22:42:22 -08:00
AMAN KUMAR
1e834e9070 ARM: dts: msm: Update load value for L2G/L3G regulator
Add 30000 uA load for L2G/L3G regulator voting during
boot up before WLAN HW is brought out of reset.

Change-Id: Iff34b9cd735d42d8ee1c8bd5eee0bcd534fc3aee
CRs-Fixed: 4040675
2025-01-30 12:30:28 +05:30
Kaushal Sanadhya
a1c6877f85 ARM: dts: msm: Add freq limiter interrupt and reset support for Kera
Add frequency limiter interrupt and reset support for
GPU_CC_FREQUENCY_LIMITER_IRQ_CLEAR for Kera gpu.

Change-Id: I6145a638b9a0435dfcacbaf60859e1adbe1ee2dc
Signed-off-by: Kaushal Sanadhya <quic_ksanadhy@quicinc.com>
2025-01-29 22:33:55 -08:00
Prateek Patil
d60893d796 ARM: dts: msm: Reduce regulator voltage vote for tuna-wcn7750
This change reduces regulator voltage vote for tuna-wcn7750 due to AHC
feature enablement. The AHC algorithm adds an offset voltage of 16mV on
top of the voltage voted on each buck.

Change-Id: I1caf2d670927fe7cd4be2904d979c0ab8ca6505a
CRs-Fixed: 4040677
2025-01-29 21:51:15 -08:00
Linux Build Service Account
ce18e00986 Merge 85b956bfe3 on remote branch
Change-Id: I315e5dbb50f436399a4e4577bc2ee72944240561
2025-01-28 17:13:03 -08:00
Linux Build Service Account
c78cd3043a Merge 39e3b2a5bd on remote branch
Change-Id: Ic7c674f9bf23483998ea30c3a97fb31c20158750
2025-01-28 11:35:30 -08:00
Manikanta Pubbisetty
f9bf590c6d ARM: dts: msm: Reduce WLAN IB voting for tuna
Reduce WLAN IB voting for certain high bandwidth throughput cases
for tuna.

Change-Id: I61fd950c757d25f6fa0c77827fcd26c5e0441662
CRs-Fixed: 4038103
2025-01-27 17:57:25 -08:00
CNSS_WLAN Service
a89617b9b9 Merge "ARM: dts: msm: add kera-iot board support for kera CDP platform" into wlan-platform.lnx.2.0 2025-01-24 18:04:04 -08:00
Kaushal Sanadhya
980d714a76 ARM: dts: msm: Add the nvmem cells for gaming fuse on kera gpu
Define the nvmem cells for gaming fuse support on kera gpu.

Change-Id: I3e316771845e01f1bba42040084be1f735099298
Signed-off-by: Kaushal Sanadhya <quic_ksanadhy@quicinc.com>
2025-01-24 17:34:21 +05:30
Varun Kumar
895b45eac5 [NFC][DTS]: added board id for Tuna MTP + kiwi WLAN + Harmonium
added board id for Tuna MTP + kiwi WLAN + Harmonium

Change-Id: Ic8242b8592bc5795f4647dae186fdb2fa9097658
2025-01-24 10:58:24 +05:30
Bhasker Reddy Komatireddy
dd35131642 ARM: dts: msm: add kera-iot board support for kera CDP platform
add wlan dts support for kera-iot board on kera CDP platform.

Change-Id: I81ee9c55970967139d32aa0ca9305ce0e9c5c941
2025-01-22 20:14:44 -08:00
QCTECMDR Service
39e3b2a5bd Merge "ARM: dts: msm: Add tzone-names for Kera GPU" 2025-01-21 06:36:59 -08:00
QCTECMDR Service
a2fbbcb582 Merge "ARM: dts: msm: Enable GenPD support for Kera GPU" 2025-01-20 22:49:34 -08:00
CNSS_WLAN Service
0169c0111d Merge "ARM: dts: msm: Add 1.8 io rail voting for qca6750" into wlan-platform.lnx.2.0 2025-01-20 17:33:46 -08:00
CNSS_WLAN Service
6ca00202bd Merge "ARM: dts: msm: Add support for wcn_hw_version for kera" into wlan-platform.lnx.2.0 2025-01-20 09:32:08 -08:00
Rohit Bhatia
27f0d25e51 ARM: dts: msm: Add support for wcn_hw_version for kera
This change adds support for wcn_hw_version for kera target.

Change-Id: I63974149bcdbeaa798880a81f9152b319b60989f
CRs-Fixed: 4027509
2025-01-20 01:19:04 -08:00
Prateek Patil
1e9937d14b ARM: dts: msm: Add support for wcn_hw_version for wcn7750
This change adds support for wcn_hw_version for wcn7750 target.

Change-Id: I520533a008173c2013d7f53b84a62fc3e3836901
CRs-Fixed: 4027114
2025-01-19 22:57:14 -08:00
Linux Build Service Account
09bf39214e Merge b25bd778c0 on remote branch
Change-Id: If6820e62271c5ab9198dbc21520bf48daa54c3b7
2025-01-16 14:45:13 -08:00
Linux Build Service Account
9f1e302fee Merge dd07b1d6e5 on remote branch
Change-Id: I32564024260b5fdc0a87f697627ab9794e54f96d
2025-01-16 14:44:34 -08:00
Linux Build Service Account
6b923c45b3 Merge 2402d2ef62 on remote branch
Change-Id: I6f4299ba42ea8981fb0391f10d82e49e00ca8996
2025-01-16 09:32:55 -08:00
Megha Byahatti
2c1be65d15 mmrm: drvier: Add mmrm devicetree support for tuna variant
Add mmrm devicetree support for tuna variant

Change-Id: I18339a06951c6b562a6b4e3b3b9058599d08540b
Signed-off-by: Megha Byahatti <quic_mbyahatt@quicinc.com>
2025-01-16 14:48:53 +05:30
Kartikey Arora
6fecf46ae7 ARM: dts: msm: Add 1.8 io rail voting for qca6750
This change adds 1.8 io rail voting for qca6750.

Change-Id: I786331ba394de843202425d6c72849619329712a
CRs-Fixed: 4026861
2025-01-15 23:34:47 -08:00
Kartikey Arora
ce02976193 ARM: dts: msm: Update 1.2 io rail voting for wcn7750
This change updates 1.2 io rail voting config to set
load_ua to 0 for wcn7750.

Change-Id: Icb75e904a342825787363fd2182ffe90e65d3a0a
CRs-Fixed: 4022821
2025-01-13 02:49:43 -08:00
QCTECMDR Service
f2fb83454b Merge "ARM: dts: msm: Add support for Tuna7 GPU" 2025-01-10 03:47:30 -08:00
QCTECMDR Service
ffeafa69e7 Merge "ARM: dts: msm: Add dt support for TunaP gpu" 2025-01-10 01:53:39 -08:00
CNSS_WLAN Service
92adf60101 Merge "ARM: dts: msm: Add 1.2 io rail voting for wcn7750" into wlan-platform.lnx.2.0 2025-01-09 22:13:23 -08:00
QCTECMDR Service
d923f6f738 Merge "ARM: dts: msm: Add tzone-names for Tuna GPU" 2025-01-09 00:58:52 -08:00
CNSS_WLAN Service
3026b2797b Merge "ARM: dts: msm: Add support to set FUNC_SEL & wake set for GPIO" into wlan-platform.lnx.2.0 2025-01-09 00:51:05 -08:00
Siva Srinivas Venigalla
f033f869e1 ARM: dts: msm: Add tzone-names for Kera GPU
Add GPU tzone-names to get the GPU temperature on Kera gpu.

Change-Id: Id4f45ffc3b9d34d9019fdbc4b27820c5868590ab
Signed-off-by: Siva Srinivas Venigalla <quic_venigall@quicinc.com>
2025-01-08 22:59:54 -08:00
Prateek Patil
34cdb7bf46 ARM: dts: msm: Add support to set FUNC_SEL & wake set for GPIO
Add support to set function to "wcn_sw_ctrl" & set
mpm_wake_set for SW_CTRL GPIO so that, when this
GPIO goes high, PDC get interrupted and TCS sequence
(which enables RF_CLK) can be started.

Change-Id: Ifdff31f6ad6286a32c3a6f8b500cb6b55b97eb42
CRs-Fixed: 4020424
2025-01-08 09:33:55 -08:00
Amruth Naga
c8cfe0d848 [NFC][DT]: Add all board ID's kera target
- Added all board ID's kera

Change-Id: Ie747dd7d4c2e8c1a3fc15b3cf31c11a43f55a1ae
(cherry picked from commit b25bd778c0)
2025-01-07 23:59:14 -08:00
Kartikey Arora
32049a7d63 ARM: dts: msm: Add 1.2 io rail voting for wcn7750
This change adds 1.2 io rail voting for wcn7750.

Change-Id: I97bcc835af2f6b248db5633a8c030aa218ef893b
CRs-Fixed: 4019711
2025-01-07 22:51:37 -08:00
Alan Z. Chen
85b956bfe3 ARM: dts: msm: Remove board-id for Pictor from dts file
Remove board-id for Pictor from Canoe dts file, as WLAN is not supported
on Pictor.

Change-Id: I106a0ec65b6856758c4c27e823c8099e94737122
CRs-Fixed: 4018051
2025-01-06 19:49:43 -08:00
Vishvanath Singh
036a4827b7 Merge commit 'f0ff771164308e2fef1b9b6757cef9465bb3b3db' into ese-st-vendor.lnx.14.0.r3-rel
Change-Id: I641ba9d55e031aeb3d78748a312869b1bd17ae82
2025-01-05 15:04:17 +05:30
Vishvanath Singh
837faef419 Merge commit '32220770b5987a914411c862c84b08f5ab0e1ac5' into gfx-devicetree-oss.lnx.1.0.r1-rel
Change-Id: I29836cdca177ffd6c5e71b65d351aa69137f70e4
2025-01-05 10:37:11 +05:30
Linux Build Service Account
4eb748d159 Merge a3cf55a9ba on remote branch
Change-Id: I57366feeeac9f576a953092964a664024c9f88f8
2025-01-04 07:42:42 -08:00
Manikanta Pubbisetty
bf33508618 ARM: dts: msm: Update WLAN IB voting for legacy connections for tuna
Current WLAN DDR voting is not sufficient to meet the required
throughputs in legacy connection. Increase the DDR vote to meet
legacy throughputs.

CRs-Fixed: 4011534
Change-Id: I5153b0b50c15aeacf9776b6ca63b912fbc06cc07
2025-01-02 23:21:59 -08:00
AMAN KUMAR
2402d2ef62 ARM: dts: msm: Enable Open Loop CPR feature for Kiwi
Add config to enable regulator to PDC mapping and PMU
to regulator mapping for tuna kiwi.

Change-Id: I6f12521a895aae551400d5a426576e229d9c31e3
CRs-Fixed: 4010931
2025-01-01 22:47:07 -08:00
Amruth Naga
b25bd778c0 [NFC][DT]: Add all board ID's kera target
- Added all board ID's kera

Change-Id: Ie747dd7d4c2e8c1a3fc15b3cf31c11a43f55a1ae
2024-12-30 16:55:05 +05:30
vchollan
40ccf0476c msm: synx: Kera(Eliza) synx dtsi changes
Change-Id: I33af6c6314d020fd144835ebc1312a1d31c0bd10
Signed-off-by: vchollan <quic_vchollan@quicinc.com>
2024-12-29 01:52:28 -08:00
Linux Build Service Account
22959e1756 Merge changes Ib28e8f9d,Ia9b1a99c into gfx-devicetree-oss.lnx.1.0.r1-rel
* changes:
  ARM: dts: msm: add chipid for KERA gpu
  ARM: dts: msm: Enable GenPD support for Kera GPU
2024-12-29 00:22:44 -08:00
Linux Build Service Account
0837abe1dc Merge "ARM: dts: msm: Add SoC ID support for KeraP gpu" into gfx-devicetree-oss.lnx.1.0.r1-rel 2024-12-28 23:34:24 -08:00
Kaushal Sanadhya
d69fe4603a ARM: dts: msm: add chipid for KERA gpu
Change-Id: Ib28e8f9d1715ac6dd48c35bdcb3c4f69221d1bef
2024-12-28 19:33:48 +05:30
Harshitha Sai Neelati
3fb5444e6d ARM: dts: msm: Enable GenPD support for Kera GPU
Enable GenPD support for Kera GPU.

Change-Id: Ia9b1a99c694fc7d64f99c572d09388f82dc0a78c
Signed-off-by: Harshitha Sai Neelati <quic_hsaineel@quicinc.com>
2024-12-28 19:32:56 +05:30
Harshitha Sai Neelati
eb671c826b ARM: dts: msm: Add SoC ID support for KeraP gpu
Add the necessary SoC ID support for KeraP variant.

Change-Id: Id348e77a19835b09f7f54d3486e73e3c93530ca2
Signed-off-by: Harshitha Sai Neelati <quic_hsaineel@quicinc.com>
2024-12-28 19:32:49 +05:30
Harshitha Sai Neelati
a7ea1feb1b ARM: dts: msm: Add support for Kera GPU
Add support for Kera GPU.

Change-Id: I46ac3fd2e4a21a5b95e7f5d372e546ab2dec11ca
Signed-off-by: Harshitha Sai Neelati <quic_hsaineel@quicinc.com>
2024-12-28 19:32:04 +05:30
Kartikey Arora
bc9eca514b ARM: dts: msm: Update reg cfg and pdc cmd for Kera
This change updates the regulator config and
pdc init table in kera dtsi files.

Change-Id: I74140414c061ffe16b41a1f40ad67cf5f3aabe65
CRs-Fixed: 4000320
(cherry picked from commit 8cacdbf24b)
2024-12-28 03:31:41 -08:00
Harshitha Sai Neelati
bc0f760601 ARM: dts: msm: Enable GenPD support for Kera GPU
Enable GenPD support for Kera GPU.

Change-Id: Ia9b1a99c694fc7d64f99c572d09388f82dc0a78c
Signed-off-by: Harshitha Sai Neelati <quic_hsaineel@quicinc.com>
2024-12-26 12:11:20 +05:30
vchollan
dd07b1d6e5 msm: synx: Kera(Eliza) synx dtsi changes
Change-Id: I33af6c6314d020fd144835ebc1312a1d31c0bd10
Signed-off-by: vchollan <quic_vchollan@quicinc.com>
2024-12-23 11:36:18 -08:00
CNSS_WLAN Service
a3cf55a9ba Merge "ARM: dts: msm: Enable Open Loop CPR feature for Kiwi" into wlan-platform.lnx.2.0 2024-12-20 16:09:43 -08:00
CNSS_WLAN Service
8df1d11819 Merge "ARM: dts: msm: Add direct-link device node support for canoe" into wlan-platform.lnx.2.0 2024-12-19 11:43:57 -08:00
CNSS_WLAN Service
0f8d5142a1 Merge "ARM: dts: msm: Add direct link node dtsi entry" into wlan-platform.lnx.2.0 2024-12-19 11:43:55 -08:00
AMAN KUMAR
34ecda8daf ARM: dts: msm: Enable Open Loop CPR feature for Kiwi
Add config to enable regulator to PDC mapping and PMU
to regulator mapping for canoe kiwi devicetree.

Change-Id: I72dba4f6de2788aeb4860d35c83ae8540e6a9076
CRs-Fixed: 3998205
2024-12-18 22:12:58 -08:00
Manikanta Pubbisetty
c7e6793e97 ARM: dts: msm: Update WLAN IB voting for tuna
Currently the WLAN SNOC voting is set based on
PCIe SN4 BCM width as 16.The PCIe port width has been
updated to 8 for tuna. Hence, this change will
bring in the corresponding WLAN SNOC voting to support
the new width.

Also, update the DDR voting accordingly.

CRs-Fixed: 3999629
Change-Id: Iff5b87616f1f340257096826906ca77bdba4ce29
2024-12-19 10:32:38 +05:30
V S Ganga VaraPrasad (VARA) Adabala
1a78123807 eSE-devicetree: Resolving compilation failures for tuna
As eSE is present in multiple tuna boards, added the board and msm id's
for all the revellant tuna boards.

Change-Id: I97689ed94861ae890ec23eec1f9a0c6d19ea3dce
(cherry picked from commit 87ac151798)
2024-12-18 13:03:01 +05:30
Ravi Kumar Bokka
c05bfec592 eSE-devicetree: Added support for eSE on multiple tuna boards
As eSE is present in multiple tuna boards, added the board and msm id's
for all the revellant tuna boards.

Change-Id: Ia04cab5be445331bdd8c79ea3e4edb7566bfd74e
(cherry picked from commit 692ca5a0f9db8f55ee6dd7cd254ba55f067f3320)
2024-12-17 23:30:44 -08:00
Linux Build Service Account
f26111a5e4 Merge "ARM: dts: msm: Update gpio config for kera-wcn7750" into wlan-platform.lnx.1.0.r57-rel 2024-12-17 12:17:45 -08:00
Kartikey Arora
a692504391 ARM: dts: msm: Update gpio config for kera-wcn7750
Update gpio config in kera-wcn7750 dtsi file

Change-Id: Icdefbd0c1bad4dab593adb0d5617fe63a4ea47a2
CRs-Fixed: 3991373
(cherry picked from commit 1885f7f7ae)
2024-12-17 12:16:42 -08:00
Kartikey Arora
0ca651f412 ARM: dts: msm: Update kera dtsi file
This change updates the regulator config and
pdc init table in kera dtsi files.

Change-Id: I766d26f4505d4da717ca63e2b1bfd64de14bb79e
CRs-Fixed: 3988811
(cherry picked from commit e74c3e4143)
2024-12-17 12:16:23 -08:00
SIVA MULLATI
db0d4b3372 ARM: dts: msm: Add support for Tuna7 GPU
Add initial support for Tuna7 GPU in the devicetree.

Change-Id: I66ac7382ce0dfc10291a2318e0da3d9880c24790
Signed-off-by: SIVA MULLATI <quic_smullati@quicinc.com>
2024-12-18 01:19:40 +05:30
SIVA MULLATI
8231295e9b ARM: dts: msm: Add dt support for TunaP gpu
Add the necessary initial support for TunaP variant.

Change-Id: Iff04d6992010da8a496a53727378fc5e1e5cd88c
Signed-off-by: SIVA MULLATI <quic_smullati@quicinc.com>
2024-12-18 01:16:36 +05:30
V S Ganga VaraPrasad (VARA) Adabala
54fe744ffb Removed duplicate code
Change-Id: If02caf890b486bb901ef1019b185fcd394f9bf08
2024-12-17 23:53:50 +05:30
Rajathi S
b1adaad63e ARM: dts: msm: Added back dtbo for sun V2 device
- Adding dtbo for sun v2 devices

Change-Id: I408f3fb7b2e3ab307fdaf1748af7205dd101f544
2024-12-17 23:41:11 +05:30
Harshitha Sai Neelati
32220770b5 ARM: dts: msm: Add SoC ID support for KeraP gpu
Add the necessary SoC ID support for KeraP variant.

Change-Id: Id348e77a19835b09f7f54d3486e73e3c93530ca2
Signed-off-by: Harshitha Sai Neelati <quic_hsaineel@quicinc.com>
2024-12-17 16:23:23 +05:30
Harshitha Sai Neelati
45d0da9b27 ARM: dts: msm: Add support for Kera GPU
Add support for Kera GPU.

Change-Id: I46ac3fd2e4a21a5b95e7f5d372e546ab2dec11ca
Signed-off-by: Harshitha Sai Neelati <quic_hsaineel@quicinc.com>
2024-12-17 15:21:18 +05:30
Karthik Kantamneni
bb75f7e27b ARM: dts: msm: Add direct-link device node support for canoe
Add direct-link device node support for canoe. This device
node is used to program SID configuration by iommu driver.
This device shares the iommu domain with normal wlan device.

Change-Id: Ia54f3cea8b1bec4b9765413e562192ba22269b57
CRs-Fixed: 4001977
2024-12-16 08:54:51 -08:00
Linux Build Service Account
6c62b51466 Merge 829d426e90 on remote branch
Change-Id: If5fb88e036f784efe0efe17ce5df5f2f26782adf
2024-12-13 21:38:28 -08:00
Linux Build Service Account
39103355dd Merge e1ce3b24d4 on remote branch
Change-Id: Idd978fdc9970062518feb4f6e74789e2286a470f
2024-12-13 13:23:40 -08:00
Linux Build Service Account
503c40ee92 Merge 2dc320456d on remote branch
Change-Id: Idebd4d54f2a6db528f67087110d61b125f3c2ad9
2024-12-13 12:24:55 -08:00
Linux Build Service Account
9099163083 Merge 3e5e46ddf7 on remote branch
Change-Id: I0d14428db3a2744f24873544b718c0365af0ec34
2024-12-13 08:37:59 -08:00
SIVA MULLATI
af0e7a0660 ARM: dts: msm: Add support for Tuna7 GPU
Add initial support for Tuna7 GPU in the devicetree.

Change-Id: I66ac7382ce0dfc10291a2318e0da3d9880c24790
Signed-off-by: SIVA MULLATI <quic_smullati@quicinc.com>
2024-12-13 16:16:45 +05:30
SIVA MULLATI
1f4df4368b ARM: dts: msm: Add dt support for TunaP gpu
Add the necessary initial support for TunaP variant.

Change-Id: Iff04d6992010da8a496a53727378fc5e1e5cd88c
Signed-off-by: SIVA MULLATI <quic_smullati@quicinc.com>
2024-12-13 16:16:16 +05:30
Karthik Kantamneni
c3b3a3eb15 ARM: dts: msm: Add direct link node dtsi entry
Add direct link node dtsi entry, this shares iommu
domain with wlan device will be used in direct link
use case.

Change-Id: I9660bac1028087be02611ab7b9d16a09e3ad1323
CRs-Fixed: 4000587
2024-12-13 13:33:13 +05:30
Linux Build Service Account
7248cbdd80 Merge 5c8de517a1 on remote branch
Change-Id: I737d52302e0c1ba2ea2337a3213d3d0d4cb350c7
2024-12-12 23:49:07 -08:00
Kartikey Arora
8cacdbf24b ARM: dts: msm: Update reg cfg and pdc cmd for Kera
This change updates the regulator config and
pdc init table in kera dtsi files.

Change-Id: I74140414c061ffe16b41a1f40ad67cf5f3aabe65
CRs-Fixed: 4000320
2024-12-12 23:41:31 -08:00
CNSS_WLAN Service
468a3eaa3b Merge "ARM: dts: msm: Update iommu-geometry properties" into wlan-platform.lnx.2.0 2024-12-12 03:52:45 -08:00
SIVA MULLATI
b75b1742d6 ARM: dts: msm: Add tzone-names for Tuna GPU
Add GPU tzone-names to get the GPU temperature on Tuna gpu.

Change-Id: I71ab003259484ea0fa7f9c9613967909bef6c6c3
Signed-off-by: SIVA MULLATI <quic_smullati@quicinc.com>
2024-12-12 09:19:54 +05:30
CNSS_WLAN Service
e164b4a23c Merge "ARM: dts: msm: Add direct-link device node support" into wlan-platform.lnx.2.0 2024-12-11 01:59:57 -08:00
AMAN KUMAR
e5cf27c3de ARM: dts: msm: Update iommu-geometry properties
Update size-cells and address-cells properties of iommu-geometry
on Canoe kiwi device tree.

Change-Id: I6dc06c037a7e9fc955dd9ac5be9e41713aa21a82
CRs-Fixed: 3998028
2024-12-11 01:00:06 -08:00
AMAN KUMAR
fd93de97de ARM: dts: msm: Add pdc cmd from latest tcs sheet
Update regulator voting and add pdc cmd as per
latest tcs sheet for canoe kiwi.

Change-Id: Ideb2393238417f7f651d4585aa4f44d2260a4fb5
CRs-Fixed: 3992528
2024-12-08 09:33:49 -08:00
CNSS_WLAN Service
4bdb5e8fff Merge "ARM: dts: msm: Add direct link dt node for tuna" into wlan-platform.lnx.2.0 2024-12-07 16:14:36 -08:00
Alan Z. Chen
f43fdbf553 ARM: dts: msm: Add L3K regulator and pcie_rp support
Add L3K regulator support and change pcie0_rp to pcie_rp. In addition,
enable canoe dtsi compilation.

Change-Id: I2771e43d559c5ae67d5fad04b45eac7060c94d72
CRs-Fixed: 3986494
2024-12-07 11:07:02 -08:00
CNSS_WLAN Service
4ac99ae337 Merge "ARM: dts: msm: Disable wpss pil memory region for volcano peach target" into wlan-platform.lnx.2.0 2024-12-06 21:05:56 -08:00
Surabhi Vishnoi
75342a51c8 ARM: dts: msm: Disable wpss pil memory region for volcano peach target
Disable wpss PIL memory region for volcano peach target.

Change-Id: I0787e4a8b9380b5daea7de560e636e4aa4ce315c
CRs-Fixed: 3966034
2024-12-06 11:07:47 +05:30
QCTECMDR Service
2dc320456d Merge "ARM: dts: msm: Use genPD instead of regulators for GDSC" 2024-12-04 23:52:03 -08:00
Kartikey Arora
e74c3e4143 ARM: dts: msm: Update kera dtsi file
This change updates the regulator config and
pdc init table in kera dtsi files.

Change-Id: I766d26f4505d4da717ca63e2b1bfd64de14bb79e
CRs-Fixed: 3988811
2024-12-05 12:52:58 +05:30
Rajathi S
d5e06f7568 video: devicetree: Enable dt for kera target
-  Enable dt for kera target

Change-Id: I05f7bb3d08e42e06852bee11566da71da4c1f5b7
2024-12-05 12:10:26 +05:30
Karthik Kantamneni
640f3ccd8c ARM: dts: msm: Add direct-link device node support
Add support for direct-link device tree node, this
device will be used for configuring LPASS SID iommu
bank in direct-link use case.

Change-Id: I31ce562bd8cbdd4692d6c721325fc15627a3f624
CRs-Fixed: 3990401
2024-12-05 11:06:41 +05:30
Karthik Kantamneni
ac4f044344 ARM: dts: msm: Add direct link dt node for tuna
Add direct link dt node for tuna, this device will
be used in direct-link use case and required for
SID configuration and sharing IOMMU bank with
wlan platform device.

Change-Id: Ie8cff03866fe9f514f160ed02d0ddc72c4dc5b5d
CRs-Fixed: 3992469
2024-12-05 10:54:45 +05:30
SIVA MULLATI
2dbee85001 ARM: dts: msm: Update Tuna GPU
Enable cx_host_irq, genPD and update bus frequency
for Tuna GPU.

Change-Id: I192fccfe65191ea73d4be4cdca245d65830acc0e
Signed-off-by: SIVA MULLATI <quic_smullati@quicinc.com>
2024-12-04 17:47:38 +05:30
Kartikey Arora
1885f7f7ae ARM: dts: msm: Update gpio config for kera-wcn7750
Update gpio config in kera-wcn7750 dtsi file

Change-Id: Icdefbd0c1bad4dab593adb0d5617fe63a4ea47a2
CRs-Fixed: 3991373
2024-12-03 22:25:26 -08:00
QCTECMDR Service
f0ff771164 Merge "eSE-devicetree: Resolving compilation failures for tuna" 2024-12-03 05:01:09 -08:00
Aishanya Srivastava
b95184acc2 ARM: dts: msm: Use genPD instead of regulators for GDSC
From Pakala, clock driver moved the GDSC from regulator
framework to GenPd to match with upstream. Add support to
use GenPD using pm_runtime apis on Kera.

Signed-off-by: Aishanya Srivastava<quic_aishanya@quicinc.com>

Change-Id: Id4be9a5cd189b7c427663c3d1322fbcdb8549d37
2024-12-03 02:50:42 -08:00
Rajathi S
4ac5a97013 ARM: dts: msm: Added back dtbo for sun V2 device
- Adding dtbo for sun v2 devices

Change-Id: I408f3fb7b2e3ab307fdaf1748af7205dd101f544
2024-11-30 19:05:50 +05:30
CNSS_WLAN Service
829d426e90 Merge "ARM: dts: msm: Do not unvote S1L and S1K regulator in volcano" into wlan-platform.lnx.2.0 2024-11-29 22:34:23 -08:00
Surabhi Vishnoi
f1f051017c ARM: dts: msm: Do not unvote S1L and S1K regulator in volcano
AON and Digital supply regulator needs to be always voted if
wlan is on, so remove need_unvote bit for S1K and S1L for
volcano IOT (Brahma) target.

Change-Id: I156a8e7c7dcbeecbfd8c27bf0cb738b6e0b9300b
CRs-Fixed: 3984342
2024-11-28 19:41:19 -08:00
Amruth Naga
5c8de517a1 [NFC][DT]: Add DT support for kera target.
- Added NFC DT support for kera target

Change-Id: Ifd3e75972623154ff80e80720b060b8844fe0d7e
2024-11-27 12:39:33 +05:30
Rajathi S
96da0b0419 video: devicetree: Enable dt for tuna target
-  Enable dt for tuna target

Change-Id: I10b150c277e849a83a6505186bbc9f1a468e047a
Signed-off-by: Rajathi S <quic_rajathis@quicinc.com>
(cherry picked from commit fb56c188a7)
2024-11-26 22:50:09 -08:00
SIVA MULLATI
8e45dbe4a7 ARM: dts: msm: Update Tuna GPU
Enable cx_host_irq, genPD and update bus frequency
for Tuna GPU.

Change-Id: I192fccfe65191ea73d4be4cdca245d65830acc0e
Signed-off-by: SIVA MULLATI <quic_smullati@quicinc.com>
2024-11-26 02:11:42 -08:00
QCTECMDR Service
3f6e20fca0 Merge "video: devicetree: Enable dt for tuna target" 2024-11-25 09:45:02 -08:00
Rajathi S
b56f50c83d ARM: dts: msm: Use genPD instead of regulators for GDSC
From Sun target, clock driver moved the GDSC from regulator
framework to GenPd to match with upstream. Add support to
use GenPD using pm_runtime apis.

Change-Id: I19ed8a047f3aea4132be618c81e061b7cce7f9de
2024-11-24 18:34:41 +05:30
Rajathi S
99fd685469 video: devicetree: Add TunaP SoC to tuna target
- Add dt support for tunaP soc

Change-Id: If4b42e95d11b25db4ed33ece81017835848abb45
2024-11-24 18:34:27 +05:30
Linux Build Service Account
6dea9ca337 Merge "ARM: dts: msm: Add L3G regulator config in tuna-wcn7750.dtsi" into wlan-platform.lnx.1.0.r57-rel 2024-11-24 04:58:14 -08:00
SIVA MULLATI
f2f44ab4ad ARM: dts: msm: Add support for Tuna GPU
Add the devicetree files for the GPU on Tuna devices.

Change-Id: I3d651d6e665c2fe40dc4e7bced2ea6bd9dbdd185
Signed-off-by: SIVA MULLATI <quic_smullati@quicinc.com>
(cherry picked from commit 934446a6ac)
2024-11-24 04:49:54 -08:00
Prateek Patil
5ec34760c3 ARM: dts: msm: Add L3G regulator config in tuna-wcn7750.dtsi
This change adds L3G regulator config in tuna-wcn7750.dtsi.

Change-Id: I7262d0c507217cf5ef6e56929015bda8438048f7
CRs-Fixed: 3982014
(cherry picked from commit 26e91776a9)
2024-11-24 04:44:14 -08:00
Prateek Patil
646263b1b9 ARM: dts: msm: Update iommu sid to the correct value
This change updates the iommu sid to the correct value.

Change-Id: I0e18e2e3137aec8ad26f3cb781e0cd321da84c2c
CRs-Fixed: 3979551
(cherry picked from commit c363c6f81f)
2024-11-24 04:43:57 -08:00
CNSS_WLAN Service
bcaec0d057 Merge "ARM: dts: msm: Add L3G regulator config in tuna-wcn7750.dtsi" into wlan-platform.lnx.2.0 2024-11-23 03:26:24 -08:00
Akhil Budampati
87ac151798 eSE-devicetree: Resolving compilation failures for tuna
As eSE is present in multiple tuna boards, added the board and msm id's
for all the revellant tuna boards.

Change-Id: I97689ed94861ae890ec23eec1f9a0c6d19ea3dce
2024-11-22 23:21:44 +05:30
CNSS_WLAN Service
f2f5bd449c Merge "ARM: dts: msm: Add board id for wcn6750 in Milos target" into wlan-platform.lnx.2.0 2024-11-22 07:22:54 -08:00
Prateek Patil
26e91776a9 ARM: dts: msm: Add L3G regulator config in tuna-wcn7750.dtsi
This change adds L3G regulator config in tuna-wcn7750.dtsi.

Change-Id: I7262d0c507217cf5ef6e56929015bda8438048f7
CRs-Fixed: 3982014
2024-11-22 04:02:34 -08:00
QCTECMDR Service
3fcb98f55e Merge "video: devicetree: Add support for kera target" 2024-11-21 21:39:31 -08:00
Surabhi Vishnoi
cf34e162b5 ARM: dts: msm: Add board id for wcn6750 in Milos target
Add board id IDP3/4 with wcn6750 and enable icnss2 node for Milos target.

Change-Id: I22b260d938a712923bbc847b72843fd4cf02e330
CRs-Fixed: 3956703
2024-11-21 20:59:09 -08:00
Ravi Kumar Bokka
17b4ed6452 eSE-devicetree: Added support for eSE on multiple kera boards
As eSE is present in multiple kera boards, added the board and msm id's
for all the revellant kera boards.

Change-Id: I9f3e75c4c5570c1471a77f5c38226bd3bc6867c8
2024-11-21 05:18:47 -08:00
Prateek Patil
c363c6f81f ARM: dts: msm: Update iommu sid to the correct value
This change updates the iommu sid to the correct value.

Change-Id: I0e18e2e3137aec8ad26f3cb781e0cd321da84c2c
CRs-Fixed: 3979551
2024-11-20 04:31:08 -08:00
Linux Build Service Account
538f8846a5 Merge ff47fdaf56 on remote branch
Change-Id: I26d2fbb881483b56b840f941d1f49694a0bc0849
2024-11-19 10:46:22 -08:00
Linux Build Service Account
0c04d3488c Merge ca1b75bdda on remote branch
Change-Id: I275b8278e769ca9e5df71b1418b0649f84b37e41
2024-11-19 05:56:51 -08:00
Linux Build Service Account
6a2458af77 Merge 84e96845d0 on remote branch
Change-Id: I875c1328b6b94d43dcab34e2e3bc7b054cb56481
2024-11-19 02:25:23 -08:00
Linux Build Service Account
3c6d51ad82 Merge 4facd7acc9 on remote branch
Change-Id: I89752cba20b2a20d9661be3852a23a93ccc5e026
2024-11-19 02:23:13 -08:00
CNSS_WLAN Service
5b58c22b08 Merge "ARM: dts: msm: Update board id for canoe" into wlan-platform.lnx.2.0 2024-11-19 01:07:15 -08:00
Prateek Patil
8bec94f16f ARM: dts: msm: Add UFS2.2 board-id support for kera
This change adds UFS2.2 board-id support for kera in
wlan device tree.

Change-Id: I0352b4a60431dbfff5e007ffe50307c64b006c6b
CRs-Fixed: 3973754
2024-11-13 22:34:20 -08:00
Kartikey Arora
be3ada53c7 ARM: dts: msm: Add msm-id for TunaP SoC
This change updates msm-id in dt file for TunaP SoC.

Change-Id: Ie7a89ab9aaa1547257f1f39cb4a56ed50779da61
CRs-Fixed: 3969241
2024-11-07 03:19:49 -08:00
AMAN KUMAR
1ea2e7be92 ARM: dts: msm: Update board id for canoe
According to latest CDT updates, major version no. is being
used to differentiate between different boards instead of subtype.
Hence update board-ids to reflect these new CDTs.

Change-Id: Ia5440ebafe4c272a9df3b8e89aa02e1b8bce2347
CRs-Fixed: 3967186
2024-11-05 20:03:58 -08:00
Linux Build Service Account
258bfb803c Merge "ARM: dts: msm: Add support for Tuna GPU" into gfx-devicetree-oss.lnx.15.0 2024-11-05 12:05:58 -08:00
Kartikey Arora
c54bf768ce ARM: dts: msm: Add Kbuild change for kera-wcn7750
This change adds dtbo entry in Kbuild file for
kera-wcn7750 dts files.

Change-Id: I3f36835bc6b42a3b5daba6bbe9048f6213b4c186
CRs-Fixed: 3966013
2024-11-04 04:09:02 -08:00
vchollan
4facd7acc9 msm: synx: synx dts changes for tunaP variant
Change-Id: I99ad97ed1174beb4c19b1fc6cafceca90eee9544
Signed-off-by: vchollan <quic_vchollan@quicinc.com>
2024-11-04 02:08:32 -08:00
CNSS_WLAN Service
ca1b75bdda Merge "ARM: dts: msm: Update L2G mode for tuna-kiwi" into wlan-platform.lnx.2.0 2024-11-03 23:50:12 -08:00
Rajathi S
484d2d91e5 video: devicetree: Add support for kera target
- Add dt support for kera target

Change-Id: I71bc3cc08e89e458c218622b9ea969a5b61b9173
2024-11-02 17:14:25 +05:30
Rajathi S
884ab8ed96 ARM: dts: msm: Use genPD instead of regulators for GDSC
From Sun target, clock driver moved the GDSC from regulator
framework to GenPd to match with upstream. Add support to
use GenPD using pm_runtime apis.

Change-Id: I19ed8a047f3aea4132be618c81e061b7cce7f9de
2024-11-02 02:36:55 -07:00
CNSS_WLAN Service
33dd7e03ba Merge "ARM: dts: msm: Remove unused msm ids" into wlan-platform.lnx.2.0 2024-11-01 13:55:17 -07:00
CNSS_WLAN Service
e130e38262 Merge "ARM: dts: msm: Add opensource wlan device tree support for kera-wcn7750" into wlan-platform.lnx.2.0 2024-11-01 08:43:12 -07:00
CNSS_WLAN Service
5cc107e9a4 Merge "ARM: dts: msm: Add opensource wlan device tree support for kera-qca6750" into wlan-platform.lnx.2.0 2024-11-01 08:43:09 -07:00
Kartikey Arora
9e5b935436 ARM: dts: msm: Add opensource wlan device tree support for
kera-wcn7750

This change adds wlan related dt files for kera-wcn7750
which has icnss and wpss dtsi node enabled.

Change-Id: I5e9f9453a58bc7a79e153e10a15b25cf4a71fbb4
CRs-Fixed: 3962537
2024-11-01 15:18:55 +05:30
Mohammed Ahmed
04fc3f33ba ARM: dts: msm: Remove unused msm ids
Remove unused msm ids

Change-Id: I2992b35f9602bf0922183c34d06c76ac223e389f
CRs-Fixed: 3962711
2024-10-30 20:35:57 -07:00
Kartikey Arora
6c3e1ef1f2 ARM: dts: msm: Add opensource wlan device tree support for
kera-qca6750

This change adds wlan related dt files for kera-qca6750
which has icnss and wpss dtsi node enabled.

Change-Id: I2b10dfd91819ad8501479190823fe20b07382210
CRs-Fixed: 3960302
2024-10-29 22:29:55 -07:00
CNSS_WLAN Service
2bfd9cc9a3 Merge "ARM: dts: msm: Add canoe regulator values" into wlan-platform.lnx.2.0 2024-10-29 16:39:28 -07:00
Gopireddy Arunteja Reddy
e1ce3b24d4 ARM: dts: msm: Added msm-id for Bonito APQ
msm-id 694 added for APQ variants.

Change-Id: I551aa701a2e4db2b5909bc9a6000704c8ba7e7e0
Signed-off-by: Gopireddy Arunteja Reddy <quic_garuntej@quicinc.com>
2024-10-28 23:28:00 -07:00
Rajathi S
4db84e7e4a video: devicetree: Add TunaP SoC to tuna target
- Add dt support for tunaP soc

Change-Id: If4b42e95d11b25db4ed33ece81017835848abb45
2024-10-29 09:29:17 +05:30
Varun Kumar
84e96845d0 [NFC][DTS]: Added support for new soc for tuna
Added support for new soc for tuna

Change-Id: I8cc9417748492af5b36863fb835114d3cc737b33
2024-10-28 05:22:38 -07:00
AMAN KUMAR
ad418df137 ARM: dts: msm: Add canoe regulator values
Add regulator values for canoe target with kiwi derived from
previous targets.

Change-Id: I18b08024a06d50fd2ba1b40bc4c8463947ee406e
CRs-Fixed: 3958854
2024-10-26 12:47:00 -07:00
Kamal Agrawal
27a8290746 ARM: dts: msm: Add GMU CX GenPD instance
Currently, there is a race condition in GenPD framework where
GPU CX GDSC can remain ON if both GMU and KGSL SMMU devices are
suspending in parallel and are voting on the same power domain.
Use a dedicated power domain for CX GDSC voting as per latest
recommendation.

Change-Id: Iffeb9a7f24a5e3c31a425e57b021f87f8f94c7fb
Signed-off-by: Kamal Agrawal <quic_kamaagra@quicinc.com>
2024-10-26 21:58:36 +05:30
V S Ganga VaraPrasad (VARA) Adabala
f13aad44f1 Revert "ARM: dts: msm: Add GMU CX GenPD instance"
This reverts commit aacf97b953.

Change-Id: I3337457b06ba37da2cfa902e04de367195a4836a
Signed-off-by: V S Ganga VaraPrasad (VARA) Adabala <quic_vadabala@quicinc.com>
2024-10-26 21:57:48 +05:30
Prateek Patil
4d2c38c938 ARM: dts: msm: Update L2G mode for tuna-kiwi
This change updates l2g mode from LPM to RM for HMT.

Change-Id: I6607f164af7c84ef65195790e02f97b68d2148e9
CRs-Fixed: 3959644
2024-10-25 02:57:50 -07:00
CNSS_WLAN Service
b4abb482dd Merge "ARM: dts: msm: Add regulator voltage config for tuna-kiwi" into wlan-platform.lnx.2.0 2024-10-24 06:08:26 -07:00
vchollan
7625dce00e msm: synx: make file changes of synx-tuna Bringup
CONFIG_ARCH_TUNA is enabled for tuna and sun variants. Both tuna and sun dts files getting compiled, corresponding dts variant will be picked based on msm-id.

Change-Id: Iff3f77eb6ef22d897dfd08b4e9b919c92eaac43a
Signed-off-by: vchollan <quic_vchollan@quicinc.com>
2024-10-24 00:15:40 -07:00
Linux Build Service Account
6d195d47f9 Merge dc388a6fce on remote branch
Change-Id: I990fb3ad3d529188ef6e3945ba5de75b77a77c33
2024-10-23 09:14:48 -07:00
Linux Build Service Account
7833cbc9d5 Merge f939cc8753 on remote branch
Change-Id: I6a83a34a5e2682e3e0241b98db83a1daf6eb7878
2024-10-23 09:01:31 -07:00
Linux Build Service Account
fa8d412e37 Merge 225c932f8e on remote branch
Change-Id: Ice9c529100488b2abce31498c4c52d34a0b5d7c1
2024-10-23 07:27:05 -07:00
Linux Build Service Account
72c5e6fd29 Merge 13196ae45e on remote branch
Change-Id: I97450590a4d7151b1f7d20f14e99bdd0a466782b
2024-10-23 03:23:25 -07:00
SIVA MULLATI
934446a6ac ARM: dts: msm: Add support for Tuna GPU
Add the devicetree files for the GPU on Tuna devices.

Change-Id: I3d651d6e665c2fe40dc4e7bced2ea6bd9dbdd185
Signed-off-by: SIVA MULLATI <quic_smullati@quicinc.com>
2024-10-23 10:06:00 +05:30
Varun Kumar
a578356476 [NFC][DTS]: Added support for sun qrd with 3.5 mm
Added support for sun qrd with 3.5 mm

Change-Id: Ie25c88d9045fdef950dfd86a39f043eb0eb18e3d
2024-10-22 12:05:25 +05:30
Gopireddy Arunteja Reddy
315bdd85e5 ARM: dts: msm: clock rate change for Bonito
Max Low SVS_D1 and Max Low SVS clock rates got changed
for Bonito w.r.t Pakala.

Change-Id: I440153b6e6dbfc797759c4d9c7152fa1fc7b9d15
Signed-off-by: Gopireddy Arunteja Reddy <quic_garuntej@quicinc.com>
2024-10-21 20:46:32 -07:00
CNSS_WLAN Service
8785d324c3 Merge "ARM: dts: msm: Add opensource wlan devicetree support Tuna MTP" into wlan-platform.lnx.2.0 2024-10-21 13:44:20 -07:00
CNSS_WLAN Service
ca0a9492d6 Merge "ARM: dts: msm: Update wlan device tree support for Canoe" into wlan-platform.lnx.2.0 2024-10-21 13:44:17 -07:00
Prateek Patil
6416271921 ARM: dts: msm: Add regulator voltage config for tuna-kiwi
This change adds regulator voltage config for tuna-kiwi in
wlan dtsi file.

Change-Id: I9c418a93983b928ee03221094bf8669695fd165a
CRs-Fixed: 3954840
2024-10-21 04:47:05 -07:00
Varun Kumar
39dab7163a [NFC][DTS]: Added support for sun mtp with 3.5 mm
Added support for sun mtp with 3.5 mm

Change-Id: I64b69e07bdfe97c3682e77242bad7b3f54d5f3ab
2024-10-21 12:46:12 +05:30
Kartikey Arora
cfc1e73cc2 ARM: dts: msm: Add opensource wlan devicetree support Tuna MTP
Add device tree support for MTP harmonium and MTP SN220
platforms for Tuna SoC.

Change-Id: Ide7ee9b6e79b366d46c51a6d4c96f7027fbbfd7d
CRs-Fixed: 3952108
2024-10-17 04:40:52 -07:00
Varun Kumar
0486f7da17 [NFC][DTS]: added board id for mtp tuna
added board id for mtp tuna

Change-Id: I965948d2c0808406258518525f7149bed40fced2
2024-10-16 23:44:25 -07:00
CNSS_WLAN Service
e3646d145f Merge "ARM: dts: msm: Add canoe regulator values" into wlan-platform.lnx.2.0 2024-10-16 21:36:59 -07:00
Mohammed Ahmed
9ef7354c67 ARM: dts: msm: Add canoe regulator values
Add correct regulator values for canoe target

Change-Id: I6a5b2b6d95e4f2241845fcfdb45ebd64658c2b40
CRs-Fixed: 3947240
2024-10-16 11:02:39 -07:00
AMAN KUMAR
3059aac8f8 ARM: dts: msm: Update wlan device tree support for Canoe
Update wlan opensource device tree support for Canoe SOC.

Change-Id: If682b8d28cbb03a17572ea84be422070f5f47d64
CRs-Fixed: 3950204
2024-10-16 05:03:16 -07:00
Rajathi S
fb56c188a7 video: devicetree: Enable dt for tuna target
-  Enable dt for tuna target

Change-Id: I10b150c277e849a83a6505186bbc9f1a468e047a
Signed-off-by: Rajathi S <quic_rajathis@quicinc.com>
2024-10-16 04:50:36 -07:00
CNSS_WLAN Service
159d169239 Merge "ARM: dts: msm: Add dtbo file in Kbuild for tuna-kiwi" into wlan-platform.lnx.2.0 2024-10-15 21:35:53 -07:00
CNSS_WLAN Service
27e1bf935a Merge "ARM: dts: msm: Add opensource wlan device tree support for tuna-kiwi" into wlan-platform.lnx.2.0 2024-10-15 21:35:51 -07:00
CNSS_WLAN Service
27b00b70ac Merge "ARM: dts: msm: Update regulators config in tuna-wcn7750.dtsi" into wlan-platform.lnx.2.0 2024-10-15 21:35:49 -07:00
Ravi Kumar Bokka
2b4b16ef3c eSE-devicetree: Added support for eSE on multiple tuna boards
As eSE is present in multiple tuna boards, added the board and msm id's
for all the revellant tuna boards.

Change-Id: Ia04cab5be445331dbd8c79ea3e4edb7566bfd74e
2024-10-15 10:03:35 +05:30
Kamal Agrawal
3e5e46ddf7 ARM: dts: msm: Add GMU CX GenPD instance
Currently, there is a race condition in GenPD framework where
GPU CX GDSC can remain ON if both GMU and KGSL SMMU devices are
suspending in parallel and are voting on the same power domain.
Use a dedicated power domain for CX GDSC voting as per latest
recommendation.

Change-Id: Iffeb9a7f24a5e3c31a325e57b021f87f8f94c7fb
Signed-off-by: Kamal Agrawal <quic_kamaagra@quicinc.com>
2024-10-11 10:01:56 -07:00
CNSS_WLAN Service
cd0f0d2030 Merge "ARM: dts: msm: Add updated msm-id for soft sku in Milos target" into wlan-platform.lnx.2.0 2024-10-11 09:47:33 -07:00
Prateek Patil
6a57ec6f7f ARM: dts: msm: Add opensource wlan device tree support for
tuna-kiwi

This change adds wlan opensource dt files for tuna-kiwi.

Change-Id: Ieab01519346f3024a14dc766999488cea95b9ba2
CRs-Fixed: 3940905
2024-10-11 18:22:55 +05:30
Abhishek Mantha
2e9ba4dfeb ARM: dts: msm: Add dtbo file in Kbuild for tuna-kiwi
This change will include dtbo file in Kbuild for
tuna-kiwi.

Change-Id: I3b1d475751c1d0f7abd6529daa57674a7b7e939b
CRs-Fixed: 3946030
2024-10-11 02:28:00 -07:00
Kartikey Arora
123cc2aa91 ARM: dts: msm: Update regulators config in tuna-wcn7750.dtsi
This change adds regulator config in tuna-wcn7750.dtsi
and update pcie_anoc to pcie_noc in bus bandwidth config params.

Change-Id: I77e680aaed87b9b4faabb660202377abcd9777c1
CRs-Fixed: 3944462
2024-10-11 12:37:38 +05:30
Surabhi Vishnoi
e026734e7d ARM: dts: msm: Add updated msm-id for soft sku in Milos target
This change updates the msm-id in new format for soft sku
in Milos target.

Change-Id: Ic386689c82605cb0c287edb8d9fe63ecf806d558
CRs-Fixed: 3944573
2024-10-09 00:25:50 -07:00
Gopireddy Arunteja Reddy
ff47fdaf56 ARM: dts: msm: enabling cdsp memory heap for EVA
Added CDSP mmeory heap in tuna dtsi.

Change-Id: I7bc80010ff001be6d97a1af14d5c35cde30941ce
Signed-off-by: Gopireddy Arunteja Reddy <quic_garuntej@quicinc.com>
2024-10-08 22:55:54 -07:00
Varun Kumar
798c031c7c [NFC][DTS]: Added NFC DTS support for tuna
Added NFC DTS support for tuna

Change-Id: Ie19e9f1e7988f15b62f5c5dc53cc7a7bf44d82df
2024-10-09 11:03:13 +05:30
vchollan
fee1af2a6b msm: synx: Bonito synx dtsi changes
Change-Id: I01cd065cfb2b7148de8e05e00fa45c6e7da70ca5
Signed-off-by: vchollan <quic_vchollan@quicinc.com>
2024-10-08 07:03:50 -07:00
Kartikey Arora
548c30e08a ARM: dts: msm: Add opensource wlan device tree support for
tuna-wcn7750

This change adds wlan related dt files for tuna-wcn7750
which has icnss and wpss dtsi node enabled.

Change-Id: I59167fbff63c7a54836452f6f29e4ede14f3f4c7
CRs-Fixed: 3940163
2024-10-03 03:10:51 -07:00
CNSS_WLAN Service
f939cc8753 Merge "ARM: dts: msm: Add canoe target dts files" into wlan-platform.lnx.2.0 2024-10-02 22:58:18 -07:00
Carter Cooper
13196ae45e ARM: dts: msm: Add Turbo_L1 support to Sun V2 GPU freq plan
Ensure the Sun V2 GPU Turbo_L1 frequency is available
on AA and AB parts.

Change-Id: I45f6b804a81211584efe4fcb06e4c7b3dc848263
Signed-off-by: Carter Cooper <quic_ccooper@quicinc.com>
2024-10-02 20:58:05 -07:00
Mohammed Ahmed
09fde6cbb7 ARM: dts: msm: Add canoe target dts files
Add canoe target dts files

Change-Id: Iffee5ea6e1679c564e29a560c715b9a3c5df3300
CRs-Fixed: 3922164
2024-09-29 14:50:41 -07:00
Kamal Agrawal
aacf97b953 ARM: dts: msm: Add GMU CX GenPD instance
Currently, there is a race condition in GenPD framework where
GPU CX GDSC can remain ON if both GMU and KGSL SMMU devices are
suspending in parallel and are voting on the same power domain.
Guidance from genpd team is to use a dedicated power domain for
CX GDSC voting.

Change-Id: Iffeb9a7f24a5e3c31a325e57b021f87f8f94c7fb
Signed-off-by: Kamal Agrawal <quic_kamaagra@quicinc.com>
2024-09-26 05:20:54 -07:00
Khageswararao Rao B
225c932f8e Nfc Dts: add dt support Parrot WCN3990 IDP + AMOLED + RCM
Added dts support for Parrot WCN3990 IDP + AMOLED + RCM.

Change-Id: I4b143ec9edf876dc866e03a6034c430217eb9fdb
2024-09-25 17:09:20 +05:30
Linux Build Service Account
064fc15bce Merge 6d4a30daec on remote branch
Change-Id: I48bdd2a3c5584dd5c263bd544e30efab4f23983d
2024-09-20 03:35:46 -07:00
Linux Build Service Account
b13ff3b189 Merge f69a05f86a on remote branch
Change-Id: I929e7f6f838380f101f4bb34ca2aa45c94d64c89
2024-09-20 02:54:49 -07:00
Linux Build Service Account
90d2cc3379 Merge ecc94111df on remote branch
Change-Id: Ie0d796a1aed6d6e8fa16f0b1226c7be7775eff5f
2024-09-20 02:51:42 -07:00
Rajathi S
dc388a6fce video: devicetree: Add Ramos socid to tuna target
- Add dt support for Ramos

Change-Id: I6274eb47f53f451e66153e45e628d368f8306e05
Signed-off-by: Rajathi S <quic_rajathis@quicinc.com>
2024-09-18 02:06:18 -07:00
Gopireddy Arunteja Reddy
f69a05f86a ARM: dts: msm: Tuna DT changes
- Added tuna dts and dtsi files.
- Added corresponding changes in kbuild.
- Added Ramos msm-id.

Change-Id: I02dbe9cf55c597f74aa11adf0702856c6fe8d366
Signed-off-by: Gopireddy Arunteja Reddy <quic_garuntej@quicinc.com>
2024-09-09 16:27:11 +05:30
Linux Build Service Account
ab7b885343 Merge 6ebc4a3afd on remote branch
Change-Id: I757ed1367cd2e8c45c41a904ecabf02aaac1bfeb
2024-09-03 10:17:26 -07:00
Linux Build Service Account
e303acf67e Merge 43647d1d13 on remote branch
Change-Id: I286e8077c4d9cf5ff4db6b75db55abeb8e59671e
2024-09-03 03:22:44 -07:00
Surabhi Vishnoi
6d4a30daec ARM: dts: msm: Add msm-id for soft sku in Milos target
This change adds the msm-id for soft sku in Milos target.

Change-Id: I731b80d17f58a718fb4bdec8a17a20ed9a3228fe
CRs-Fixed: 3906560
2024-08-27 04:49:41 -07:00
QCTECMDR Service
6ebc4a3afd Merge "ARM: dts: msm: Update Sun V2 GPU bus level for LOW_SVS_D2 powerlevel" 2024-08-22 12:43:08 -07:00
Rajathi S
ecc94111df video: devicetree: Add support for tuna target
- Add dt support for tuna target

Change-Id: I1ab8e3deb26566f8d9b5d62183b95777bae76b1e
Signed-off-by: Rajathi S <quic_rajathis@quicinc.com>
2024-08-20 03:45:17 -07:00
Linux Build Service Account
fffd52677d Merge 2dbdbd1c22 on remote branch
Change-Id: I974709f2f0f5003548f437140713320fcace3f06
2024-08-18 19:00:59 -07:00
Linux Build Service Account
e9a2b76082 Merge 7aa9ba0278 on remote branch
Change-Id: I84411758ada697e125351b9fb9da9aec3ddd4293
2024-08-18 14:35:51 -07:00
Linux Image Build Automation
0a9efa4909 Revert "ARM: dts: msm: Add more SKUs to the Sun v2 powerlevels"
This reverts commit bb0a96df5d.

Change-Id: Ib7af7f73e512c63cbcb35082c57a9c1cd9360828
Signed-off-by: Linux Image Build Automation <quic_ibautomat@quicinc.com>
2024-08-15 19:44:53 -07:00
Linux Image Build Automation
4d9ebbc72b Revert "ARM: dts: msm: Set initial Sun V2 GPU freq to 222Mhz"
This reverts commit 4a82759d8e.

Change-Id: Ifd4fc34dbe8d3c9b2ce79384e3323a950b41eb3e
Signed-off-by: Linux Image Build Automation <quic_ibautomat@quicinc.com>
2024-08-15 19:44:41 -07:00
AMAN KUMAR
43647d1d13 ARM: dts: msm: Set unvote flag for vdd-wlan after bootup
Set unvote flag for S5F regulator(WLAN CX) after FW_READY
during device bootup with V8 and V6 board in parity with previous
msms.

Change-Id: Ie8220c5f0dd412027cd76c10b85f1bd6ae48f5ff
CRs-Fixed: 3890149
2024-08-12 10:10:38 -07:00
Carter Cooper
4a82759d8e ARM: dts: msm: Set initial Sun V2 GPU freq to 222Mhz
Start the GPU at a slightly higher frequency than the lowest
available frequency on Sun V2 devices.

Change-Id: I379fa4d7223486b5636933644e2fda6cbc20443a
Signed-off-by: Carter Cooper <quic_ccooper@quicinc.com>
2024-08-11 23:08:19 -07:00
Lynus Vaz
bb0a96df5d ARM: dts: msm: Add more SKUs to the Sun v2 powerlevels
Add the AA SKU to the Sun v2 powerlevels so that it is recognized and
selects the appropriate powerlevel table.

Change-Id: I319f9ba739a83dbb77b3cbaed3b8712de6ff407f
Signed-off-by: Lynus Vaz <quic_lvaz@quicinc.com>
2024-08-11 23:07:56 -07:00
Linux Build Service Account
aa3dad25a1 Merge 3be24285df on remote branch
Change-Id: I968ff9eb702c2202a359cff3d9346d5228c4653e
2024-08-08 16:53:41 -07:00
Linux Build Service Account
160a156770 Merge fdeae3f72d on remote branch
Change-Id: I0e6327d156b7fa2ea20aceaf1a4d90cd9608cef8
2024-08-07 15:05:37 -07:00
QCTECMDR Service
7aa9ba0278 Merge "ARM: dts: msm: Set initial Sun V2 GPU freq to 222Mhz" 2024-08-06 23:24:17 -07:00
QCTECMDR Service
2aada26dda Merge "ARM: dts: msm: Update Sun GPU max DDR vote at SVS_L0 and SVS" 2024-08-06 23:24:17 -07:00
Linux Image Build Automation
72d5c11a95 Revert "ARM: dts: msm: Add more SKUs to the Sun v2 powerlevels"
This reverts commit 0d7213a179.

Change-Id: If03cbdb8cb6d79043685bd0c3efad3416b8a256a
Signed-off-by: Linux Image Build Automation <quic_ibautomat@quicinc.com>
2024-07-31 14:23:27 -07:00
Linux Image Build Automation
3beda34470 Revert "ARM: dts: msm: Set initial Sun V2 GPU freq to 222Mhz"
This reverts commit bff4b4e7a3.

Change-Id: Id7cbf89788a32173572790e7ee3ede0e44e3956b
Signed-off-by: Linux Image Build Automation <quic_ibautomat@quicinc.com>
2024-07-31 14:23:15 -07:00
Adesh Mohanrao Pathare
2dbdbd1c22 ARM: dts: msm: Removed bluetooth dtsi for netrani
Removed the bluetooth device tree changes from wlan techpack,
and added into bt techpack.

Change-Id: I71e870158427620c8f767d6573123eddc9b55054
2024-07-31 16:33:20 +05:30
Carter Cooper
8c1b2e5dea ARM: dts: msm: Update Sun V2 GPU bus level for LOW_SVS_D2 powerlevel
Lower the GPU bus range for 222Mhz powerlevel for Sun V2 devices.

Change-Id: I09b5cc3019751c8dfa67d1a8fd53f6d122404fdb
Signed-off-by: Carter Cooper <quic_ccooper@quicinc.com>
2024-07-29 11:39:22 -06:00
Carter Cooper
bff4b4e7a3 ARM: dts: msm: Set initial Sun V2 GPU freq to 222Mhz
Start the GPU at a slightly higher frequency than the lowest
available frequency on Sun V2 devices.

Change-Id: I212c07af5de4c665ba2ff836c97f2ba1381d8fb8
Signed-off-by: Carter Cooper <quic_ccooper@quicinc.com>
2024-07-27 14:24:14 -07:00
Lynus Vaz
0d7213a179 ARM: dts: msm: Add more SKUs to the Sun v2 powerlevels
Add the AA SKU to the Sun v2 powerlevels so that it is recognized and
selects the appropriate powerlevel table.

Change-Id: I5bb706e3477efa390a8b40d24f85daabe111a0b8
Signed-off-by: Lynus Vaz <quic_lvaz@quicinc.com>
2024-07-27 14:24:12 -07:00
Kaushal Hooda
fdeae3f72d ARM: dts: msm: Add wlan device tree for peach in Milos IOT
Add wlan device tree for peach support in QCM6690.

Change-Id: Ibeeb2822798b18b6b207246565d0f8546d3083c3
2024-07-26 02:44:51 -07:00
CNSS_WLAN Service
9104033753 Merge "ARM: dts: msm: Add wlan related dtsi file for volcano" into wlan-platform.lnx.2.0 2024-07-25 10:23:01 -07:00
Carter Cooper
462e027ac1 ARM: dts: msm: Update Sun GPU max DDR vote at SVS_L0 and SVS
Update 607/660Mhz GPU max DDR limits for Sun V1 and V2.

Change-Id: I94e3047155c3c1ed1c078090f7ac165c10317099
Signed-off-by: Carter Cooper <quic_ccooper@quicinc.com>
2024-07-25 09:52:43 -07:00
Carter Cooper
be3a6ce74a ARM: dts: msm: Set initial Sun V2 GPU freq to 222Mhz
Start the GPU at a slightly higher frequency than the lowest
available frequency on Sun V2 devices.

Change-Id: I212c07af5de4c665ba2ff836c97f2ba1381d8fb8
Signed-off-by: Carter Cooper <quic_ccooper@quicinc.com>
2024-07-25 09:50:51 -07:00
CNSS_WLAN Service
239b92f000 Merge "ARM: dts: msm: Enable BT slimbus in device tree for parrot" into wlan-platform.lnx.2.0 2024-07-25 07:15:15 -07:00
CNSS_WLAN Service
3be24285df Merge "[NFC][DTS]: New board id update for parrot66" into nfc-devicetree.lnx.15.0 2024-07-25 04:57:28 -07:00
Varun Kumar
d7d76cae47 [NFC][DTS]: New board id update for parrot66
Updated new board id for parrot66.

Change-Id: Idd71f5454629a8013d4457674656fc30fdca61d6
2024-07-24 11:54:14 +05:30
Kaushal Hooda
c1b972a1cd ARM: dts: msm: Add wlan related dtsi file for volcano
This change adds wlan related dtsi file for volcano
which has disabled icnss and wpss dtsi node enabled.

Change-Id: I5da7d1544607dd57e66b76f6925b424953ec8a3c
CRs-Fixed: 3742633
2024-07-23 05:19:39 -07:00
Linux Build Service Account
15d80a0938 Merge 66519741f1 on remote branch
Change-Id: Ide20ca9f343f40a4cb884de8e2ead5a47ab2da83
2024-07-23 03:51:26 -07:00
Linux Build Service Account
494e166387 Merge 89b9fca649 on remote branch
Change-Id: I7bdb8732fc7952867f80eddabea5a4136021f015
2024-07-22 15:59:02 -07:00
Linux Build Service Account
ec398eeaf2 Merge c3cf9d9882 on remote branch
Change-Id: I3e13b57e771d1d00e8434e042dfe0957340f2c2c
2024-07-21 23:54:05 -07:00
CNSS_WLAN Service
d795f4da28 Merge "ARM: dts: msm: Add opensource wlan device tree support for Clarence" into wlan-platform.lnx.2.0 2024-07-18 13:43:19 -07:00
kartikey Arora
c447ddd7b3 ARM: dts: msm: Add opensource wlan device tree support for Clarence
Add Ravelin adrastea dtsi from kernel devicetree to vendor
wlan-devicetree and corresponding dts files as part of new
wlan teckpack for kernel-6.6 upgrade.

Change-Id: Id47260ae0c74b76270bb9bdfba9a16cb7ed74aae
2024-07-18 00:46:53 -07:00
CNSS_WLAN Service
9f69381680 Merge "ARM: dts: msm: Add WLAN support for ATP" into wlan-platform.lnx.2.0 2024-07-17 06:42:30 -07:00
Amruth Naga
66519741f1 [NFC][DTS]: Fix the FW upgrade issue
- Added missed FW gpio changes.

Change-Id: Ifafd2041799cf1d0b0b80b2b5a601916280f017a
2024-07-17 16:44:59 +05:30
Linux Image Build Automation
956a4269fc Revert "ARM: dts: msm: Update Sun V2 GPU frequencies"
This reverts commit 154f54c2c9.

Change-Id: I1467766328bdd388756d9a2f953b6ad08d72c8a7
Signed-off-by: Linux Image Build Automation <quic_ibautomat@quicinc.com>
2024-07-17 01:30:28 -07:00
Linux Image Build Automation
2bb9ffca03 Revert "ARM: dts: msm: Update ACD values for Sun v2 GPU"
This reverts commit 7f2973e909.

Change-Id: I2c495f62d3fc64a0b562902d7feafd10c3ccecb6
Signed-off-by: Linux Image Build Automation <quic_ibautomat@quicinc.com>
2024-07-17 01:30:16 -07:00
Linux Image Build Automation
5c8cb8774d Revert "ARM: dts: msm: Use the speed bin fuse to determine sun v2 powerlevels"
This reverts commit 243ac95d77.

Change-Id: Icb9ba0692ee9c7e6812475ba731db30ebcdc75c2
Signed-off-by: Linux Image Build Automation <quic_ibautomat@quicinc.com>
2024-07-17 01:30:04 -07:00
Linux Image Build Automation
8106ee0f68 Revert "ARM: dts: msm: Update Sun v2 GPU power levels"
This reverts commit b2bd3d7a6d.

Change-Id: I56502b5d3035c18bd8c8a04cf00f76d22b552f25
Signed-off-by: Linux Image Build Automation <quic_ibautomat@quicinc.com>
2024-07-17 01:29:51 -07:00
Linux Image Build Automation
eb96d382eb Revert "ARM: dts: msm: Read the gpu speed bin on sun devices"
This reverts commit 87220e2e95.

Change-Id: I7315a736fc914d475d54060193526958dc869007
Signed-off-by: Linux Image Build Automation <quic_ibautomat@quicinc.com>
2024-07-17 01:29:39 -07:00
Amit Kumar Prasad
6f882fc78a ARM: dts: msm: Enable BT slimbus in device tree for parrot
Added support for BT slimbus in parrot for
supporting BT audio usecases.

CRs-Fixed: 3869751
Change-Id: I21a79c770f0b8a60e6b2a5424d13ca00d4af9ea4
2024-07-16 10:35:11 -07:00
CNSS_WLAN Service
c847afa657 Merge "ARM: dts: msm: Add WLAN support for MTP with 3.5mm audio" into wlan-platform.lnx.2.0 2024-07-16 01:34:07 -07:00
QCTECMDR Service
89b9fca649 Merge "ARM: dts: msm: Read the gpu speed bin on sun devices" 2024-07-13 02:42:23 -07:00
CNSS_WLAN Service
2f599f8980 Merge "ARM: dts: msm: sun: Enlarge WLAN IOMMU range to 2G" into wlan-platform.lnx.2.0 2024-07-12 04:36:55 -07:00
Lynus Vaz
87220e2e95 ARM: dts: msm: Read the gpu speed bin on sun devices
Read the gpu speed bin devicetree property on sun devices.

Change-Id: I54c444bc434a2475ffe5126b7452f642f4dc7b2a
Signed-off-by: Lynus Vaz <quic_lvaz@quicinc.com>
2024-07-10 16:23:08 -07:00
Lynus Vaz
b2bd3d7a6d ARM: dts: msm: Update Sun v2 GPU power levels
Add more powerlevel bins based on updated speed-bin fuse values.

Change-Id: I4faf67ffad06ba5873c0e9879b7729f796952d3a
Signed-off-by: Lynus Vaz <quic_lvaz@quicinc.com>
2024-07-10 16:23:05 -07:00
Lynus Vaz
243ac95d77 ARM: dts: msm: Use the speed bin fuse to determine sun v2 powerlevels
Add powerlevels on sun v2 GPUs based on the speed bin fuse on the device.

Change-Id: Ia0b35aabce36ab210ed01ea3c8abb90c05e74ac6
Signed-off-by: Lynus Vaz <quic_lvaz@quicinc.com>
2024-07-10 16:23:04 -07:00
Mohammed Mirza Mandayappurath Manzoor
7f2973e909 ARM: dts: msm: Update ACD values for Sun v2 GPU
Update ACD values with characterized values for Sun v2 GPU. Also disable
ACD on lower levels.

Change-Id: Ic5f0d7adb7a71be16f393ff90a6d0199179276a3
Signed-off-by: Mohammed Mirza Mandayappurath Manzoor <quic_mmandaya@quicinc.com>
2024-07-10 16:23:03 -07:00
Carter Cooper
154f54c2c9 ARM: dts: msm: Update Sun V2 GPU frequencies
Add new GPU frequency support for Sun V2.

Change-Id: I66a6584a671e51a8420e2ceaace3c067ee56d009
Signed-off-by: Carter Cooper <quic_ccooper@quicinc.com>
2024-07-10 16:23:02 -07:00
Amruth Naga
71898137ac [NFC][DTS]: Remove Unused MSM-ID's
- Removed Unused MSM-ID's

Change-Id: I098839f8b25ab2e3968ec3428c3f6a9af5b2f424
2024-07-09 00:08:24 -07:00
CNSS_WLAN Service
37059c06a6 Merge "ARM: dts: msm: Add NFC device node for ravelin" into nfc-devicetree.lnx.15.0 2024-07-08 22:25:31 -07:00
Lynus Vaz
6a4b833d28 ARM: dts: msm: Add more SKUs to the Sun v2 powerlevels
Add the AA SKU to the Sun v2 powerlevels so that it is recognized and
selects the appropriate powerlevel table.

Change-Id: I5bb706e3477efa390a8b40d24f85daabe111a0b8
Signed-off-by: Lynus Vaz <quic_lvaz@quicinc.com>
2024-07-08 11:33:08 -07:00
Linux Build Service Account
dd1e9845d1 Merge 4a7f36c237 on remote branch
Change-Id: I802191c7fe8e07a7c0ea5a2fc939a7c1404f1991
2024-07-05 22:24:39 -07:00
Linux Build Service Account
8f2a4a02a6 Merge c980039d87 on remote branch
Change-Id: I56618e0204e6800913fc87056dc028ffd14827fa
2024-07-05 22:24:22 -07:00
Linux Build Service Account
1e85861b7f Merge 9cbd03668a on remote branch
Change-Id: I59cbfed28f071ce14063c50577e447ef2315b0fb
2024-07-05 17:19:42 -07:00
Linux Build Service Account
9002a2e51a Merge 10afcaf771 on remote branch
Change-Id: Id18721d2785358077d87047967a6e703b8dee212
2024-07-05 14:12:44 -07:00
AMAN KUMAR
d0b698718a ARM: dts: msm: Add WLAN support for ATP
Add board ID in WLAN peach V8 DTS file to enable WLAN support
for ATP devices which has V8 power grid and peach as WLAN
attachment.

Change-Id: I9cbef8b9d04086b63214d11087bede805ffbf01a
CRs-Fixed:  3862456
2024-07-05 04:23:58 -07:00
Amruth Naga
bc61fa2fe0 ARM: dts: msm: Add NFC device node for ravelin
Device node changes required on ravelin,
describing the GPIO configuration for
Nfc controller chip.

Modified corresponding Nfc device node
for ATP, IDP & QRD platforms

Change-Id: I331d0ad5aff3cd51bff5cf5268fbfe58c71d8280
2024-07-05 02:59:03 -07:00
AMAN KUMAR
efc50b5406 ARM: dts: msm: Add WLAN support for MTP with 3.5mm audio
Add board ID in WLAN kiwi V8 DTS file to enable WLAN support
for devices which has 3.5mm audio jack, V8 power grid and Kiwi as
WLAN attachment.

Change-Id: I2770a311aa0466d83bde1b57049e36d6048ad2bc
CRs-Fixed: 3855213
2024-07-05 10:59:30 +05:30
Linux Image Build Automation
030bb37e7c Revert "eSE-devicetree: Added support for eSE on cdp kiwi board"
This reverts commit e8f520d63b.

Change-Id: If2a8aabe4561c20c1faf042925a1d40eb308e308
2024-07-03 13:44:15 -07:00
Linux Image Build Automation
e5bce453ee Revert "ARM: dts: msm: Update LOW_SVS_D1 bus votes for sun"
This reverts commit 104705ce03.

Change-Id: I998d09ee8be103980f7ed35661c435da4813aa39
Signed-off-by: Linux Image Build Automation <quic_ibautomat@quicinc.com>
2024-07-03 13:42:26 -07:00
Linux Image Build Automation
da7da2351e Revert "ARM: dts: msm: Update Sun V2 GPU external SKU frequency plan"
This reverts commit ffe4d3c206.

Change-Id: Ie5c8dbc03629255b1ad44813fbb84ba31081f6fd
Signed-off-by: Linux Image Build Automation <quic_ibautomat@quicinc.com>
2024-07-03 13:42:13 -07:00
Linux Image Build Automation
7fbfbf06b7 Revert "ARM: dts: msm: Remove Sun V2 thermal only GPU frequencies"
This reverts commit 06cbe225fa.

Change-Id: Ia0c36ac50cd2a9f8fc3ab823d9625c3c09ad5b8a
Signed-off-by: Linux Image Build Automation <quic_ibautomat@quicinc.com>
2024-07-03 13:35:34 -07:00
CNSS_WLAN Service
c3cf9d9882 Merge "ARM: dts: msm: Enlarge cnss dma memory pool range" into wlan-platform.lnx.2.0 2024-07-02 08:34:15 -07:00
CNSS_WLAN Service
10afcaf771 Merge "ARM: dts: msm: Add dtsi entry to configure cpu mask" into wlan-platform.lnx.2.0 2024-07-01 07:50:51 -07:00
Yu Tian
0dffd710b7 ARM: dts: msm: sun: Enlarge WLAN IOMMU range to 2G
Enlarge WCNSS and ADSP MMU group range from 640MB to 2GB.

Change-Id: I009bda638977cd25056b20b26cab2015a95fec37
CRs-Fixed: 3831506
2024-06-27 00:42:18 -07:00
PRANAY BHARGAV BHAVARAJU
e8f520d63b eSE-devicetree: Added support for eSE on cdp kiwi board
As eSE is present in CDP boards, added the board and msm id's
for all the relevant boards.

Change-Id: I53da774b982a9c0ec18c0a89e9160d0484a80d17
(cherry picked from commit 4a7f36c237)
2024-06-26 05:02:38 -07:00
Carter Cooper
06cbe225fa ARM: dts: msm: Remove Sun V2 thermal only GPU frequencies
All lower GPU frequencies are available and the lowest frequency
is no longer considered 'thermal only'. Remove the tag to allow
the lowest GPU frequency as a normal corner for Sun V2.

Change-Id: I3c2384a0d8d107393d71a3dbf8c22090304e64a7
Signed-off-by: Carter Cooper <quic_ccooper@quicinc.com>
2024-06-26 02:14:44 -07:00
Lynus Vaz
e718fd3680 ARM: dts: msm: Update Sun v2 GPU power levels
Add more powerlevel bins based on updated speed-bin fuse values.

Change-Id: I4faf67ffad06ba5873c0e9879b7729f796952d3a
Signed-off-by: Lynus Vaz <quic_lvaz@quicinc.com>
2024-06-25 15:14:18 -07:00
Ananya Gupta
0c482d7858 ARM: dts: msm: Enlarge cnss dma memory pool range
Enlarge the range of DMA memory pool for hamilton attachment
in pakala v8 module.

Change-Id: I497ef2bfa6e65799c1f25e08103dcb14ea5d69d3
CRs-Fixed: 3848940
2024-06-25 12:03:31 +05:30
Carter Cooper
ffe4d3c206 ARM: dts: msm: Update Sun V2 GPU external SKU frequency plan
Update the frequency tables for AB and AC SKUs.

Signed-off-by: Carter Cooper <quic_ccooper@quicinc.com>
Signed-off-by: Xhoendi Collaku <quic_xcollaku@quicinc.com>
Change-Id: I0b19eb8cbb4867ac565fe7c8f381b1c2ba1e3c76
Signed-off-by: Xhoendi Collaku <quic_xcollaku@quicinc.com>
2024-06-24 14:45:20 -07:00
Hareesh Gundu
104705ce03 ARM: dts: msm: Update LOW_SVS_D1 bus votes for sun
Update bus votes for LOW_SVS_D1 corner to have the better power savings.

Signed-off-by: Hareesh Gundu <quic_hareeshg@quicinc.com>
Signed-off-by: Xhoendi Collaku <quic_xcollaku@quicinc.com>
Change-Id: If0bbb204446d98117264dde29622c43cfc9058d0
2024-06-24 14:43:09 -07:00
Khageswararao Rao B
c980039d87 [nfc][dts]: New msmid update for parrot66
Updated new msmids for parrot66.

Change-Id: I7c4aef47c4e8e844d45baf2762bca40f89bbc9ab
2024-06-22 12:26:22 +05:30
Lynus Vaz
361c4aa349 ARM: dts: msm: Use the speed bin fuse to determine sun v2 powerlevels
Add powerlevels on sun v2 GPUs based on the speed bin fuse on the device.

Change-Id: Ia0b35aabce36ab210ed01ea3c8abb90c05e74ac6
Signed-off-by: Lynus Vaz <quic_lvaz@quicinc.com>
2024-06-21 09:31:56 -07:00
Linux Build Service Account
977c6300dc Merge 66028fb4f6 on remote branch
Change-Id: I471a1fb68b6ecee31ea3ed73ce067e638e45f76b
2024-06-20 16:42:16 -07:00
Linux Build Service Account
0bde90e700 Merge 9fbff65f08 on remote branch
Change-Id: I99b4d0396afda8f2f161acca0a19815a4d3c476d
2024-06-20 10:27:57 -07:00
Kartikey Arora
cc66e2efee ARM: dts: msm: Add changes to dt files for qca6750/qca6755
Add changes to parrot66 qca6750/qca6755 dt files to have separate
model name and remove moselle plus subtype from it.

Change-Id: I873794d4da9016d4b586f9c2b2d7a6d7d9c04739
2024-06-20 14:54:16 +05:30
PRANAY BHARGAV BHAVARAJU
4a7f36c237 eSE-devicetree: Added support for eSE on cdp kiwi board
As eSE is present in CDP boards, added the board and msm id's
for all the relevant boards.

Change-Id: I53da774b982a9c0ec18c0a89e9160d0484a80d17
2024-06-19 22:52:49 -07:00
Bruce Levy
127483cf3f Revert "ARM: dts: msm: Update LOW_SVS_D1 bus votes for sun"
This reverts commit 3a579891a4.

Signed-off-by: Bruce Levy <quic_blevy@quicinc.com>
Change-Id: I85222624406eb4a2fb52a0ff3e6e320b89a56b53
2024-06-18 23:06:44 -07:00
Bruce Levy
2a80873bf1 Revert "ARM: dts: msm: Update Sun V2 GPU external SKU frequency plan"
This reverts commit 4fe74b9768.

Signed-off-by: Bruce Levy <quic_blevy@quicinc.com>
Change-Id: If4dd9a1ba8ae7d5e8f2ed24a9acede3057b446fa
2024-06-18 23:06:29 -07:00
Mohammed Mirza Mandayappurath Manzoor
8c6526dcaa ARM: dts: msm: Update ACD values for Sun v2 GPU
Update ACD values with characterized values for Sun v2 GPU. Also disable
ACD on lower levels.

Change-Id: Ic5f0d7adb7a71be16f393ff90a6d0199179276a3
Signed-off-by: Mohammed Mirza Mandayappurath Manzoor <quic_mmandaya@quicinc.com>
2024-06-18 16:38:08 -07:00
Lynus Vaz
24406b833c ARM: dts: msm: Read the gpu speed bin on sun devices
Read the gpu speed bin devicetree property on sun devices.

Change-Id: I54c444bc434a2475ffe5126b7452f642f4dc7b2a
Signed-off-by: Lynus Vaz <quic_lvaz@quicinc.com>
2024-06-17 16:12:23 -07:00
Carter Cooper
48b0e9aa44 ARM: dts: msm: Update Sun V2 GPU frequencies
Add new GPU frequency support for Sun V2.

Change-Id: I66a6584a671e51a8420e2ceaace3c067ee56d009
Signed-off-by: Carter Cooper <quic_ccooper@quicinc.com>
2024-06-17 16:51:52 -06:00
CNSS_WLAN Service
ce478c2ed0 Merge "ARM: dts: msm: Add wlan node for qca6755 parrot66" into wlan-platform.lnx.2.0 2024-06-11 01:40:13 -07:00
Carter Cooper
9cbd03668a ARM: dts: msm: Remove Sun V2 thermal only GPU frequencies
All lower GPU frequencies are available and the lowest frequency
is no longer considered 'thermal only'. Remove the tag to allow
the lowest GPU frequency as a normal corner for Sun V2.

Change-Id: I3c2384a0d8d107393d71a3dbf8c22090304e64a7
Signed-off-by: Carter Cooper <quic_ccooper@quicinc.com>
2024-06-10 09:46:21 -07:00
Venkateswara Naralasetty
bfb14148a8 ARM: dts: msm: Add dtsi entry to configure cpu mask
Add dtsi entry to configure cpu mask for wlan rx and tx completion
interrupt affinity.

Change-Id: I3930e401df2e37818405accadb8d5449bc16b5b7
CRs-Fixed: 3837616
2024-06-10 03:42:25 -07:00
Carter Cooper
4fe74b9768 ARM: dts: msm: Update Sun V2 GPU external SKU frequency plan
Update the frequency tables for AB and AC SKUs.

Change-Id: I74ca8d69d9584b98e36c8aacd39d0b435cf15154
Signed-off-by: Carter Cooper <quic_ccooper@quicinc.com>
2024-06-07 18:35:39 -07:00
Hareesh Gundu
3a579891a4 ARM: dts: msm: Update LOW_SVS_D1 bus votes for sun
Update bus votes for LOW_SVS_D1 corner to have the better power savings.

Change-Id: Iff8e95bbab16427c94b87775fb69d28e0bf9154d
Signed-off-by: Hareesh Gundu <quic_hareeshg@quicinc.com>
2024-06-07 18:34:51 -07:00
Kartikey Arora
8ef6a82f1f ARM: dts: msm: Add opensource wlan device tree support for Netrani
Add wcn6750 and wcn3990 parrot dtsi from kernel devicetree to vendor
wlan-devicetree and corresponding dts files as part of new wlan teckpack
for kernel-6.6 upgrade.

Change-Id: I9a48a0731209216800151f21a46727a033cf62cb
2024-06-07 15:10:32 +05:30
CNSS_WLAN Service
a2e8bb5636 Merge "ARM: dts: msm: Add WLAN support for X1E80100" into wlan-platform.lnx.2.0 2024-06-06 13:27:23 -07:00
Kartikey Arora
efbcc0ee08 ARM: dts: msm: Add wlan node for qca6755 parrot66
Add dtsi entries for wlan node for qca6755 parrot66.

Change-Id: Iee797f54d7ee12d8eb2c65ff117e1f1b4629db86
2024-06-06 12:44:09 +05:30
PRANAY BHARGAV BHAVARAJU
66028fb4f6 eSE-devicetree: Added support for eSE on multiple boards
As eSE is present in multiple boards, added the board and msm id's
for all the revellant boards.

Change-Id: Iac8c898c447059eaca4229fac65472b48e653584
2024-06-05 23:15:14 -07:00
Linux Build Service Account
909c7948aa Merge e8ae4bcce1 on remote branch
Change-Id: I0fc64c16d00a46086aec4b866b33f3e4240d5266
2024-06-04 17:20:17 -07:00
Linux Image Build Automation
3ff5b62e77 Revert "ARM: dts: msm: Update LOW_SVS_D1 bus votes for sun"
This reverts commit 2992daffa0.

Change-Id: Icf6ec170d12db836beef7ea144ce6c36d295ecd5
Signed-off-by: Linux Image Build Automation <quic_ibautomat@quicinc.com>
2024-06-03 16:30:18 -07:00
Linux Image Build Automation
93a916817e Revert "ARM: dts: msm: Update Sun V2 GPU external SKU frequency plan"
This reverts commit 78fe37ca23.

Change-Id: Ie7b89cef0841c79e59b7e8501efec54b5f1a4278
Signed-off-by: Linux Image Build Automation <quic_ibautomat@quicinc.com>
2024-06-03 16:30:06 -07:00
Yu Wang
4e2a22db60 ARM: dts: msm: Add WLAN support for X1E80100
Add DTS for KIWI on X1E80100.

Change-Id: I806f4b960b149c05d8728d1c6a654c120b459117
CRs-Fixed: 3828027
2024-06-02 20:29:51 -07:00
Ravindra Konda
9fbff65f08 ARM: dts: msm: Set iommu address range for kiwi
Set correct iommu address range correspoding to iommu geometry

Change-Id: Icbcf15bd7ad702c5140f0f8234b4933cfee3acf7
CRs-Fixed: 3826647
2024-05-29 22:50:41 +05:30
Carter Cooper
bd5166fd80 ARM: dts: msm: Update Sun V2 GPU external SKU frequency plan
Update the frequency tables for AB and AC SKUs.

Change-Id: I46b22a1ccf28db9bc40ea00483d17f4f97b6c6d4
Signed-off-by: Carter Cooper <quic_ccooper@quicinc.com>
2024-05-28 08:41:37 -07:00
Carter Cooper
78fe37ca23 ARM: dts: msm: Update Sun V2 GPU external SKU frequency plan
Update the frequency tables for AB and AC SKUs.

Change-Id: I46b22a1ccf28db9bc40ea00483d17f4f97b6c6d4
Signed-off-by: Carter Cooper <quic_ccooper@quicinc.com>
2024-05-24 16:08:20 -07:00
Hareesh Gundu
2992daffa0 ARM: dts: msm: Update LOW_SVS_D1 bus votes for sun
Update bus votes for LOW_SVS_D1 corner to have the better power savings.

Change-Id: I91872df0dffd1be77d53f6b04bc1296163a1e5fa
Signed-off-by: Hareesh Gundu <quic_hareeshg@quicinc.com>
2024-05-24 16:08:19 -07:00
Hareesh Gundu
c4fbe95851 ARM: dts: msm: Update LOW_SVS_D1 bus votes for sun
Update bus votes for LOW_SVS_D1 corner to have the better power savings.

Change-Id: I91872df0dffd1be77d53f6b04bc1296163a1e5fa
Signed-off-by: Hareesh Gundu <quic_hareeshg@quicinc.com>
2024-05-23 15:17:21 -06:00
Linux Build Service Account
0f708f4f81 Merge 3ac1db6628 on remote branch
Change-Id: I369929d6ae8f7c0a516a0b37c8324fb5dca78261
2024-05-21 16:58:03 -07:00
Linux Build Service Account
9644ea13f5 Merge 8ef99d091e on remote branch
Change-Id: I68e861b86d2f92ab63e710b23fec44aa601455a9
2024-05-21 13:29:01 -07:00
Linux Build Service Account
a9b3afeda1 Merge 156118b001 on remote branch
Change-Id: I6a33ff074cb43b2212fb23ed3cb34677f6799b5d
2024-05-21 09:51:34 -07:00
Linux Build Service Account
8446120c0d Merge d579cb5cdf on remote branch
Change-Id: I3f5b39e971eba3039ff3b264f43efec22f90d564
2024-05-21 09:51:32 -07:00
Linux Build Service Account
b9501a1c6c Merge f2b3fc782e on remote branch
Change-Id: I25b95b94e9c69653ae3b26ec13f5833982c35241
2024-05-21 00:37:59 -07:00
Linux Build Service Account
4e66778b51 Merge baeb53fab9 on remote branch
Change-Id: Ie4ad0da634b3d5baf9d22d229659c946ea9526de
2024-05-20 22:44:10 -07:00
CNSS_WLAN Service
3ac1db6628 Merge "ARM: dts: msm: Add NFC device node for parrot" into nfc-devicetree.lnx.15.0 2024-05-17 05:01:29 -07:00
Amruth Naga
e84f4bd12f ARM: dts: msm: Add NFC device node for parrot
Device node changes required on parrot,
describing the GPIO configuration for
Nfc controller chip.

Modified corresponding Nfc device node
for ATP, IDP & QRD platforms

Change-Id: I822edc9d0babbe6607897ae0fa8cd4146292bcd3
2024-05-17 01:33:58 -07:00
Ananya Gupta
e8ae4bcce1 ARM: dts: msm: Enlarge cnss dma memory pool range
Enlarge the range of DMA memory pool for hamilton attachment
in pakala module.

CRs-Fixed: 3809569
Change-Id: I9fdd1147653fabc5f1bc501365145debc50189e4
2024-05-16 20:06:10 -07:00
Linux Image Build Automation
db52b9a9d5 Revert "ARM: dts: msm: Add Sun V2 GPU support"
This reverts commit 051ac8e212.

Change-Id: I5ae810d6ef65811facd34c52e955bf71404b2458
Signed-off-by: Linux Image Build Automation <quic_ibautomat@quicinc.com>
2024-05-14 02:03:56 -07:00
Linux Image Build Automation
e75484bfe2 Revert "ARM: dts: msm: Add additional Sun GPU msm-id support"
This reverts commit 43c1c52284.

Change-Id: I276e34d1019a875d5cdc7e60f96dcd28f0baa921
Signed-off-by: Linux Image Build Automation <quic_ibautomat@quicinc.com>
2024-05-14 02:03:42 -07:00
Linux Image Build Automation
fdf8c8eb48 Revert "ARM: dts: msm: Add VREG Map and PDC Map Tables for Sun+Peach"
This reverts commit aa27a5821e.

Change-Id: Ic3a4e4e711de802ea5e9ebec1afd2262d9c423af
Signed-off-by: Linux Image Build Automation <quic_ibautomat@quicinc.com>
2024-05-14 01:57:25 -07:00
Linux Image Build Automation
17012f8fed Revert "ARM: dts: msm: Set Load on L3F/L2F regulators for NPM Mode"
This reverts commit 3ef4e9112c.

Change-Id: Ib047d8408b0d53f7e0df1cb5bd81306e7743bee8
Signed-off-by: Linux Image Build Automation <quic_ibautomat@quicinc.com>
2024-05-14 01:57:13 -07:00
Linux Image Build Automation
8457ce5818 Revert "mmrm dts: msm: new MSM-ID to support for different packagings"
This reverts commit d0684af03f.

Change-Id: I15a02e511e537f484f5db501a900748c375b694f
Signed-off-by: Linux Image Build Automation <quic_ibautomat@quicinc.com>
2024-05-14 01:56:43 -07:00
Linux Image Build Automation
55404e9559 Revert "ARM: dts: msm: new MSM-ID to support for different packagings"
This reverts commit 6bb5e83e52.

Change-Id: Id48e9e83aceb5ce939232537a1cad9af4817f24b
Signed-off-by: Linux Image Build Automation <quic_ibautomat@quicinc.com>
2024-05-14 01:56:30 -07:00
Linux Image Build Automation
7e718aba1a Revert "ARM: dts: msm: Add sun-eva-v2 dts"
This reverts commit 41a83cc243.

Change-Id: I7b6ac626bbe8c950b82a55ed3ca9abe2cdaf63b9
Signed-off-by: Linux Image Build Automation <quic_ibautomat@quicinc.com>
2024-05-14 01:56:16 -07:00
qctecmdr
f2b3fc782e Merge "ARM: dts: msm: Add Sun V2 GPU support" 2024-05-08 00:53:07 -07:00
George Shen
baeb53fab9 ARM: dts: msm: Include v2 dtsi in v2 dts
v2 setting will be dropped without the fix.

Change-Id: I7b9b4599e6e3966683fba322c6fd151b7be2b6cc
Signed-off-by: George Shen <quic_sqiao@quicinc.com>
2024-05-03 18:13:02 -07:00
qctecmdr
6f85088415 Merge "ARM: dts: msm: Add additional Sun GPU msm-id support" 2024-04-30 02:35:57 -07:00
CNSS_WLAN Service
9abc7c6786 Merge "Add NFC device Node for MTP_kiwi platform" into nfc-devicetree.lnx.15.0 2024-04-28 21:48:15 -07:00
George Shen
827bf5dc26 ARM: dts: msm: Add SoC version
Enable version specific handling in FW and driver.

Change-Id: Ifc739584b04075c33fbbd308cbd576b4b8f8d2d8
Signed-off-by: George Shen <quic_sqiao@quicinc.com>
2024-04-26 10:19:27 -07:00
Jianmin Zhu
8ef99d091e ARM: dts: msm: Add package ID to msm-IDs for SunP HDK
Add package ID to msm-IDs for sun hdk SoC to support different
hardware settings for WLAN.

Change-Id: I9a93cdb4144fd66ebc51e3683f5ebbe32458b033
CRs-Fixed: 3798698
2024-04-25 21:18:36 -07:00
CNSS_WLAN Service
110f6ba2e3 Merge "ARM: dts: msm: Set Load on L3F/L2F regulators for NPM Mode" into wlan-platform.lnx.2.0 2024-04-25 02:33:13 -07:00
CNSS_WLAN Service
b3aeb2727f Merge "ARM: dts: msm: Add VREG Map and PDC Map Tables for Sun+Peach" into wlan-platform.lnx.2.0 2024-04-25 02:33:10 -07:00
Amruth Naga
24c5144faa Add NFC device Node for MTP_kiwi platform
- Added NFC device Node to support MTP_kiwi platform
- Updated new MSM-ID to SKU1 and SKU1_V8 platforms

Change-Id: Ieba5c1bcbd6de1bd29540566ccc3fd952ff84575
2024-04-25 11:21:02 +05:30
Amruth Naga
9c4a64a2d0 [NFC][DT]: Add new MSM-ID to support SKU2 platform
- Added new MSM-ID to support SKU2 platform.

Change-Id: Ie42e179a5084f22277e9ed52e79179c948db2d3b
2024-04-24 20:57:02 -07:00
George Shen
41a83cc243 ARM: dts: msm: Add sun-eva-v2 dts
To enable v2 device bring up.

Change-Id: I363f29d138ad76c73574c7d1427feca6a38ba4dc
Signed-off-by: Bruce Levy <quic_blevy@quicinc.com>
2024-04-23 23:05:00 -07:00
Vedang Nagar
6bb5e83e52 ARM: dts: msm: new MSM-ID to support for different packagings
add new MSM-ID for SUN target

Change-Id: I499ca819601af72cde89a552c8adf2b6f421f34c
Signed-off-by: Vedang Nagar <quic_vnagar@quicinc.com>
Signed-off-by: Bruce Levy <quic_blevy@quicinc.com>
2024-04-23 21:36:32 -07:00
Vedang Nagar
d0684af03f mmrm dts: msm: new MSM-ID to support for different packagings
add new MSM-ID for SUN target

Change-Id: Ia83d5b35dd4af6c1cc4a61ccf273c9c0e96a0bc3
Signed-off-by: Vedang Nagar <quic_vnagar@quicinc.com>
Signed-off-by: Bruce Levy <quic_blevy@quicinc.com>
2024-04-23 21:33:12 -07:00
Alan Z. Chen
3ef4e9112c ARM: dts: msm: Set Load on L3F/L2F regulators for NPM Mode
Set load on L3F/L2F regulators for NPM mode.

Change-Id: If415e4c238b810ae6fca551aebd7be321d51ee41
CRs-Fixed: 3788078
Signed-off-by: Bruce Levy <quic_blevy@quicinc.com>
2024-04-23 18:50:55 -07:00
Alan Z. Chen
aa27a5821e ARM: dts: msm: Add VREG Map and PDC Map Tables for Sun+Peach
Add VREG Map and PDC Map Tables for Sun+Peach

Change-Id: Iac272de930c67bdf90746356c232e7cabaca5171
CRs-Fixed: 3778916
Signed-off-by: Bruce Levy <quic_blevy@quicinc.com>
2024-04-23 18:50:42 -07:00
Carter Cooper
43c1c52284 ARM: dts: msm: Add additional Sun GPU msm-id support
Add new msm-id support for Sun GPU V1.

Change-Id: I38eeabb8a13ac533b76abfb26f0faa81214f36bf
Signed-off-by: Carter Cooper <quic_ccooper@quicinc.com>
2024-04-23 15:39:36 -07:00
Carter Cooper
051ac8e212 ARM: dts: msm: Add Sun V2 GPU support
Add GPU support for Sun V2 devices.

Signed-off-by: Carter Cooper <quic_ccooper@quicinc.com>
Change-Id: I8fab9d400ace2257e486fadc5e41836013e09c77
2024-04-23 15:39:33 -07:00
Vedang Nagar
d579cb5cdf ARM: dts: msm: Add dtbo for sun V2 device
Adding dtbo for sun v2 devices

Change-Id: I1d310645de6e50b81d8d7eecf36bc18d89a016a9
Signed-off-by: Vedang Nagar <quic_vnagar@quicinc.com>
2024-04-23 11:49:18 +05:30
Carter Cooper
5641f98ed8 ARM: dts: msm: Add Sun V2 GPU support
Add GPU support for Sun V2 devices.

Change-Id: I8fab9d400ace2257e486fadc5e41836013e09c77
Signed-off-by: Carter Cooper <quic_ccooper@quicinc.com>
2024-04-20 11:54:16 +05:30
George Shen
3dea750ec4 ARM: dts: msm: Add sun-eva-v2 dts
To enable v2 device bring up.

Change-Id: I363f29d138ad76c73574c7d1427feca6a38ba4dc
Signed-off-by: George Shen <quic_sqiao@quicinc.com>
2024-04-19 13:38:16 -07:00
Linux Build Service Account
3d2e94448f Merge c1f7d74b7d on remote branch
Change-Id: I1b9a25f4488ccbee1523fbe5a722ea7e596946c8
2024-04-17 23:26:04 -07:00
Linux Build Service Account
a088d8e775 Merge e76c101fa5 on remote branch
Change-Id: Id121132760b5a4648b8f1ee39af1399bd12ee79c
2024-04-17 19:37:21 -07:00
Linux Build Service Account
6642b3af37 Merge ff51362c17 on remote branch
Change-Id: I19a5f7fecdc75ea7fb0e1eea4e111f158615b697
2024-04-17 19:36:17 -07:00
CNSS_WLAN Service
e5f8a5cd79 Merge "ARM: dts: msm: Add support for SunP HDK" into wlan-platform.lnx.2.0 2024-04-17 14:16:30 -07:00
qctecmdr
1d617360ce Merge "ARM: dts: msm: Add power domains for sun GPU" 2024-04-17 11:20:42 -07:00
Linux Build Service Account
43317ecead Merge 77d97b4799 on remote branch
Change-Id: Ice6023587f1edc3a4cbb866f8287daa89334c031
2024-04-16 23:31:22 -07:00
Linux Build Service Account
f9e97b38ab Merge da326cb429 on remote branch
Change-Id: Ia41079b72118ed0c4114dc51908b62bd4f8575ef
2024-04-16 23:27:40 -07:00
Linux Build Service Account
837eabb811 Merge b884d6ef26 on remote branch
Change-Id: Ia591fcb3a668452f836e08f192627d961854e9c3
2024-04-16 23:18:58 -07:00
Linux Build Service Account
1e9f530b13 Merge 376d3dc360 on remote branch
Change-Id: I072f22b99fb9f8f064551f051dff88906c23dcb6
2024-04-16 14:10:30 -07:00
Bruce Levy
99c6f32b9d Revert "ARM: dts: msm: Add WLAN support for MTP with 3.5mm audio"
This reverts commit a0bd041f65.

Signed-off-by: Bruce Levy <quic_blevy@quicinc.com>
Change-Id: I1565c0d8208e3594d5928a5975fe05214f9fe7bc
2024-04-15 22:00:44 -07:00
Alan Z. Chen
92cc69e05a ARM: dts: msm: Set Load on L3F/L2F regulators for NPM Mode
Set load on L3F/L2F regulators for NPM mode.

Change-Id: If415e4c238b810ae6fca551aebd7be321d51ee41
CRs-Fixed: 3788078
2024-04-15 12:44:34 -07:00
qctecmdr
8024a7ac47 Merge "ARM: dts: msm: Add coresight configurations for sun" 2024-04-15 10:33:31 -07:00
PRANAY BHARGAV BHAVARAJU
6140057b56 eSE-devicetree: Updated copyright markings
Added copyright marking to all the files in the directory.

Change-Id: Iad93cb9e1bc43cab783e8c11d9c171b679dfa518
2024-04-12 20:17:26 +05:30
PRANAY BHARGAV BHAVARAJU
43891e796a eSE_devicetree: Add initial version of OSS DT
Added initial version of eSE_devicetree into OSS.

Change-Id: If248f850b599cd0a276b402e8d6179d0cf9af5fe
2024-04-12 14:40:20 +05:30
Jianmin Zhu
4c9bb0b34f ARM: dts: msm: Add support for SunP HDK
Add wlan support for SunP HDK.
Add new board major/minor device id.
Remove vdd-wlan-ant-share-supply since no modem in HDK.

Change-Id: I7f5a74bcce67b40653e9ca2cc37c13589533065b
CRs-Fixed: 3755710
2024-04-11 19:44:23 -07:00
CNSS_WLAN Service
77d97b4799 Merge "ARM: dts: msm: Update WLAN SNOC voting" into wlan-platform.lnx.2.0 2024-04-11 10:13:22 -07:00
lnxdisplay
da326cb429 Merge remote-tracking branch 'quic/display-kernel-dev.lnx.1.0' into display-kernel.lnx.11.0
CRs              SHA_ID     Commit Message
----------------------------------------------------------------------
3777596           I700b2502 ARM: dts: msm: mm-drivers: add soc info for sun target
3763975           I4ed44767 ARM: dts: msm: mm-drivers: change board id for QMP1000 for sun target
3763975           Idf009ead ARM: dts: msm: mm-drivers: add package id to msm-ids for sun SoC

CRs-Included: 3777596,3763975 .

Change-Id: Ic05409fc6c724c7a66182de5d5c13c7c50417b36
Signed-off-by: lnxdisplay <lnxdisplay@localhost>
2024-04-10 21:11:26 +05:30
Vedang Nagar
2a3f1a1d7e ARM: dts: msm: new MSM-ID to support for different packagings
add new MSM-ID for SUN target

Change-Id: I499ca819601af72cde89a552c8adf2b6f421f34c
Signed-off-by: Vedang Nagar <quic_vnagar@quicinc.com>
2024-04-10 16:53:22 +05:30
Vedang Nagar
156118b001 mmrm dts: msm: new MSM-ID to support for different packagings
add new MSM-ID for SUN target

Change-Id: Ia83d5b35dd4af6c1cc4a61ccf273c9c0e96a0bc3
Signed-off-by: Vedang Nagar <quic_vnagar@quicinc.com>
2024-04-10 16:06:40 +05:30
Vedang Nagar
bbac280506 ARM: dts: msm: Add support for sun V2 devices
Adding support for sun v2 devices

Change-Id: I3bc8fadb31dff0bbb7f43bb0cdc5e298221ec9be
Signed-off-by: Vedang Nagar <quic_vnagar@quicinc.com>
2024-04-10 16:06:27 +05:30
VijayaRamarao Mellempudi
5a546e7a75 ARM: dts: msm: new MSM-ID to support for different packagings
Add new MSM-ID for SUN target

Change-Id: I389a71bebb380d7670565ee76f950bcaed2f6b46
CRs-Fixed: 3782806
2024-04-08 15:37:47 -07:00
Namita Nair
14aa024938 ARM: dts: msm: Update WLAN SNOC voting
Currently the WLAN SNOC voting is set based on
PCIe SN4 BCM width as 16.The PCIe port width has been
updated to 8 for sun devices. Hence, this change will
bring in the corresponding WLAN SNOC voting to support
the new width.

Change-Id: I6129bff9067d9654b7eb08777bb19d5a9e05c450
CRs-Fixed: 3775975
2024-04-08 14:00:23 -07:00
Amruth Naga
fccf69cfa1 [NFC][ARM]: new MSM-ID to support for different packagings
Add new MSM-ID for SUN target

Change-Id: If0a014d98008e64678d62c4a4a171fdaf69a5a41
2024-04-08 10:13:46 +05:30
qctecmdr
d2b5ac542d Merge "ARM: dts: msm: mm-drivers: add soc info for sun target" 2024-04-05 11:06:24 -07:00
Alan Z. Chen
89ec859030 ARM: dts: msm: Add VREG Map and PDC Map Tables for Sun+Peach
Add VREG Map and PDC Map Tables for Sun+Peach

Change-Id: Iac272de930c67bdf90746356c232e7cabaca5171
CRs-Fixed: 3778916
2024-04-05 08:49:08 -07:00
Gerrit SelfHelp Service Account
64388175e8 Initial empty repository 2024-04-05 02:55:14 -07:00
VijayaRamarao Mellempudi
ff51362c17 ARM: dts: msm: new MSM-ID to support for different packagings
add new MSM-ID for SUN target

Change-Id: I01a2aab87fec2f9a00662a6741630b93762d35dd
2024-04-04 16:24:16 -07:00
Grace An
75ff3e799f ARM: dts: msm: mm-drivers: add soc info for sun target
Add SOC info to device-tree to support sun targets.

Change-Id: I700b2502d20424dac0b10ec9a09b02d14b48d1f4
Signed-off-by: Grace An <quic_gracan@quicinc.com>
2024-04-02 09:24:11 -07:00
Megha Byahatti
e538abe50e mmrm: devicetree: Align with upstream osdt
According to upstream requirement moving devicetree
form vendor/qcom/proprietary/mmrm-devicetree to
vendor/qcom/opensource/mmrm-devicetree by creating
new project. All the changes to the devicetree need
to be done in this project to be merged. All changes
will need Signed-off-by: tags and will need to use
open source emails.

Change-Id: Ia6ca401d094e934503c54718716ab0d1c64015af
Signed-off-by: Megha Byahatti <quic_mbyahatt@quicinc.com>
2024-04-02 14:41:21 +05:30
Amruth Naga
e76c101fa5 [NFC]: Add Soc info to support sun target.
- Added Soc info to support sun target.

Change-Id: I279685e79059b338f089f0d8183c3bd3cd977a52
2024-04-02 00:34:16 -07:00
Jayasri Sampath Kumaran
3c1644924a ARM: dts: msm: mm-drivers: change board id for QMP1000 for sun target
Update board id for QMP1000 V6 variant on MTP for sun target.

Change-Id: I4ed447676d00fdd992eb1dc24dc902f07c7f21eb
Signed-off-by: Jayasri Sampath Kumaran <quic_jsampath@quicinc.com>
2024-04-01 16:35:40 -04:00
Gerrit SelfHelp Service Account
07276212b3 Initial empty repository 2024-03-31 22:59:29 -07:00
Carter Cooper
669e9df2ea ARM: dts: msm: Add additional Sun GPU msm-id support
Add new msm-id support for Sun GPU V1.

Change-Id: I38eeabb8a13ac533b76abfb26f0faa81214f36bf
Signed-off-by: Carter Cooper <quic_ccooper@quicinc.com>
2024-03-29 15:22:41 -06:00
Naveen Ravi
c1f7d74b7d ARM: dts: msm: Add new msm ids
Add new msm-ids to support different thermal profiles

Change-Id: If776c5d3bc012d61a69503928d7fe2011106d6f4
Signed-off-by: Naveen Ravi <quic_naveravi@quicinc.com>
2024-03-29 11:40:20 -07:00
Kamal Agrawal
564471dede ARM: dts: msm: Add power domains for sun GPU
GDSCs were modeled as regulators till now. However,
moving forward, GDSCs will be treated as power domains.
Consequently, replace references to ‘regulators’ with
‘power domains’ for the sun GPU.

Change-Id: I607a511754d56728d5013004d0ae83544f873df6
Signed-off-by: Kamal Agrawal <quic_kamaagra@quicinc.com>
2024-03-29 22:46:26 +05:30
Vedang Nagar
376d3dc360 ARM: dts: msm: Add support for sun V2 devices
Adding support for sun v2 devices

Change-Id: Ia9efdcad595df7a9f3ff0320deed6099c91095eb
Signed-off-by: Vedang Nagar <quic_vnagar@quicinc.com>
2024-03-28 12:11:21 +05:30
Xhoendi Collaku
a0bd041f65 ARM: dts: msm: Add WLAN support for MTP with 3.5mm audio
MTP with 3.5mm support has specific major version in board ID.
Add that board ID in WLAN Peach V8 DTS file to enable WLAN support
for devices which has 3.5mm audio jack, V8 power grid and Peach as
WLAN attachment.

Change-Id: Id5ae07b7e560cc7997bd133bff6bc32a637900bb
CRs-Fixed: 3759656
Signed-off-by: Xhoendi Collaku <quic_xcollaku@quicinc.com>
2024-03-22 13:44:30 -07:00
Grace An
f5cfb22298 ARM: dts: msm: mm-drivers: add package id to msm-ids for sun SoC
Add additional device trees and msm-IDs to support an additional
package ID.

Change-Id: Idf009ead2d84877f38ac2b64cd8d8efd95c6780e
Signed-off-by: Grace An <quic_gracan@quicinc.com>
2024-03-22 09:20:56 -07:00
Mohammed Mirza Mandayappurath Manzoor
69ade8a5f0 ARM: dts: msm: Update ACD values for Sun GPU
Update ACD control register values with characterized values.

Change-Id: I6e605b578db6da4d31e28e5fadc1bad991a2d9d1
Signed-off-by: Mohammed Mirza Mandayappurath Manzoor <quic_mmandaya@quicinc.com>
2024-03-21 13:44:01 -07:00
Mohammed Mirza Mandayappurath Manzoor
cb1a9008b3 ARM: dts: msm: Add turbo_l4 power level to Sun GPU
Add supported higher power level to Sun GPU.

Change-Id: Icfbdae6f7b44edea00fbf3374224cb407bd0968d
Signed-off-by: Mohammed Mirza Mandayappurath Manzoor <quic_mmandaya@quicinc.com>
2024-03-21 13:42:18 -07:00
Mohammed Mirza Mandayappurath Manzoor
2cc3321179 ARM: dts: msm: Add lowSVS_D3 power level to Sun GPU
Add supported lower power level to Sun GPU.

Change-Id: I896fe7cd45d1b1a824d3a0d7c47115952d8598ea
Signed-off-by: Mohammed Mirza Mandayappurath Manzoor <quic_mmandaya@quicinc.com>
2024-03-21 07:48:10 -07:00
Mohammed Mirza Mandayappurath Manzoor
300aef810b ARM: dts: msm: Add turbo_l3 power level to Sun GPU
Add supported higher power level to Sun GPU.

Change-Id: I6b33a69d09285f480bc24acfdd0df462ff25bcfb
Signed-off-by: Mohammed Mirza Mandayappurath Manzoor <quic_mmandaya@quicinc.com>
2024-03-21 07:42:48 -07:00
Linux Build Service Account
1dab45fd32 Merge 3da00e29bb on remote branch
Change-Id: I372aa73afa7496f75a88db2eba61ebeee27c50fe
2024-03-19 15:49:22 -07:00
Linux Build Service Account
0aa453ed71 Merge d279e8fa55 on remote branch
Change-Id: I45fa07a1785a4ccd339eb754a0c362825ecb0ced
2024-03-19 14:21:14 -07:00
Vaishali Gupta
7e5cbfeda1 Revert "msm: synx: Adding APQ variant msm id for synx devicetree"
This reverts commit 73180df613.

Change-Id: I8f508fbb4fa971e7ef24e32e8ac586001febcf54
Signed-off-by: Vaishali Gupta <quic_vai@quicinc.com>
2024-03-18 22:24:16 -07:00
Linux Build Service Account
f3f8e6625b Merge ba57d9bb83 on remote branch
Change-Id: If43fea691deb59eb7ca2922589de9ecae0880c75
2024-03-18 12:55:13 -07:00
Vaishali Gupta
ae5cfaa4f5 Revert "ARM: dts: msm: Add sunp msm-id support for GPU"
This reverts commit 01aa8e5430.

Signed-off-by: Vaishali Gupta <quic_vai@quicinc.com>
Change-Id: Ibc26bbfb334e389d871d5708d2dc1d86b26477e0
2024-03-18 00:03:01 -07:00
Vaishali Gupta
7222d36a73 Revert "ARM: dts: msm: Add powerlevels for AB and AC sku for sun gpu"
This reverts commit 4912910ea1.

Signed-off-by: Vaishali Gupta <quic_vai@quicinc.com>
Change-Id: I2684e486212a6d83d00f3942e6f1507fc0955ba7
2024-03-18 00:02:12 -07:00
Linux Build Service Account
77d6674ff6 Merge 0ccc012720 on remote branch
Change-Id: I212576c5eb186a7074664265f6e0515f3e7eb45b
2024-03-17 23:10:11 -07:00
Naman Padhiar
a96e57b9f9 ARM: dts: msm: Add WLAN support for MTP with 3.5mm audio
MTP with 3.5mm support has specific major version in board ID.
Add that board ID in WLAN Peach V8 DTS file to enable WLAN support
for devices which has 3.5mm audio jack, V8 power grid and Peach as
WLAN attachment.

Change-Id: Id5ae07b7e560cc7997bd133bff6bc32a637900bb
CRs-Fixed: 3759656
2024-03-16 20:23:29 -07:00
Vedang Nagar
f02c676d1b ARM: dts: msm: Use genPD instead of regulators for GDSC
From Sun target, clock driver moved the GDSC from regulator
framework to GenPd to match with upstream. Add support to
use GenPD using pm_runtime apis.

Change-Id: I5c773e25e5a72aebbb106d22e1543947be8cf644
Signed-off-by: Vedang Nagar <quic_vnagar@quicinc.com>
2024-03-08 17:04:48 +05:30
Amruth Naga
1557ec6d87 [NFC]: Revert temporary clock changes
reverted previously added clock changes
commit 15a07138e8a6f9194d2a4e07a5a096882d73ee6b

Change-Id: I61e02526d1b10b6a89877eb6ca4ece4dfa54354e
2024-03-06 16:30:40 +05:30
Carter Cooper
b884d6ef26 ARM: dts: msm: Add Sun GPU ACD values
Add ACD values for supported voltage levels for Sun GPU.

Change-Id: I8361f4026afbf05ba26860307ffc7158b55b8d2f
Signed-off-by: Carter Cooper <quic_ccooper@quicinc.com>
Signed-off-by: Mohammed Mirza Mandayappurath Manzoor <quic_mmandaya@quicinc.com>
2024-03-05 15:42:40 -08:00
qctecmdr
d279e8fa55 Merge "ARM: dts: msm: Update DDR bandwidth for sun GMU scaling" 2024-03-02 04:54:51 -08:00
CNSS_WLAN Service
0ccc012720 Merge "ARM: dts: msm: Use shared iommu group for WLAN to support direct link" into wlan-platform.lnx.2.0 2024-03-01 20:57:10 -08:00
Linux Display
ba57d9bb83 Merge remote-tracking branch 'quic/display-kernel-dev.lnx.1.0' into display-kernel.lnx.11.0
CRs              SHA_ID     Commit Message
----------------------------------------------------------------------
3744493           I833a3aec ARM: dts: msm: mm-drivers: add mtp with QMP1000 support on sun SoC

CRs-Included: 3744493 .

Change-Id: I36d2800e55f63722af1d16cfec48489c3b36e503
Signed-off-by: Linux Display <lnxdisplay@localhost>
2024-02-29 15:00:38 +05:30
CNSS_WLAN Service
6903ffd8c5 Merge "dt-bindings: Add documentation qcom,wcn7750 node" into wlan-platform.lnx.2.0 2024-02-27 21:34:46 -08:00
Khageswararao Rao B
9f7687e87b nfc dts: New board id update for sun mtp.
Updated new board id for sun mtp.

Change-Id: I78a3d7bd6f0c5386ddc0bcdcad69694727fd3b8a
2024-02-28 01:44:19 +05:30
Sandeep Singh
0dac8fe2b0 dt-bindings: Add documentation qcom,wcn7750 node
Add documentation qcom,wcn7750 node for wlan
platform driver.

Change-Id: I9cfbddf5c23847857ca6e0d4cbe6f81b42ad0f71
CRs-Fixed: 3743815
2024-02-27 01:13:21 -08:00
Grace An
f04517dc96 ARM: dts: msm: mm-drivers: add mtp with QMP1000 support on sun SoC
Add device tree files to support v6 and v8 power grids for MTP platform
with QMP1000 on Sun SoC.

Change-Id: I833a3aec6569b07e30e3e6ff59b26b7381280c70
Signed-off-by: Grace An <quic_gracan@quicinc.com>
2024-02-23 11:33:53 -08:00
NITIN LAXMIDAS NAIK
73180df613 msm: synx: Adding APQ variant msm id for synx devicetree
Adding msm id for APQ variant V1 and V2 for sun target

Signed-off-by: NITIN LAXMIDAS NAIK <quic_nitinlax@quicinc.com>
Change-Id: Ic9cf304dfe0ac82af8a99da274dfd06e021e122d
Signed-off-by: Bruce Levy <quic_blevy@quicinc.com>
2024-02-22 10:20:22 -08:00
Mohammed Mirza Mandayappurath Manzoor
4912910ea1 ARM: dts: msm: Add powerlevels for AB and AC sku for sun gpu
Add supporting power levels for AB and AC sku devices.

Change-Id: I233a5779a78cdc22883e1ed8b9b02c73aa0f576d
Signed-off-by: Mohammed Mirza Mandayappurath Manzoor <quic_mmandaya@quicinc.com>
Signed-off-by: Vaishali Gupta <quic_vai@quicinc.com>
2024-02-21 22:48:28 -08:00
Carter Cooper
01aa8e5430 ARM: dts: msm: Add sunp msm-id support for GPU
Add support for sunp variant msm-id.

Change-Id: I3dee70f03e360330636290ef665aced0b4f31542
Signed-off-by: Carter Cooper <quic_ccooper@quicinc.com>
Signed-off-by: Hareesh Gundu <quic_hareeshg@quicinc.com>
Signed-off-by: Vaishali Gupta <quic_vai@quicinc.com>
2024-02-21 22:47:49 -08:00
qctecmdr
835021dd1b Merge "ARM: dts: msm: Add CX host interrupt for sun GPU" 2024-02-21 12:39:14 -08:00
qctecmdr
4b72b6c7ba Merge "ARM: dts: msm: Add soccp controller phandle for sun" 2024-02-21 12:39:14 -08:00
qctecmdr
9beb6e047f Merge "ARM: dts: msm: Add powerlevels for AB and AC sku for sun gpu" 2024-02-21 09:06:58 -08:00
Khageswararao Rao B
5a99ac82db nfc: dts: Add device tree entries for sun target
Add initial device tree entries for sun target

Change-Id: Ieeb7eb1f6e300b1453cda59f75f50b9de2b58c6c
2024-02-21 20:23:55 +05:30
Rakesh Pillai
7356f111f5 ARM: dts: msm: Add interconnect voting node for sun kiwi/peach
Add the interconnect voting node for sun kiwi/peach, used
for bus bandwidth voting.

Change-Id: I623ab5c0e3def9c0a357713867564b6a2db55107
CRs-Fixed: 3736681
2024-02-20 06:56:51 -08:00
Gerrit SelfHelp Service Account
cd493ef9c8 Initial empty repository 2024-02-19 23:08:05 -08:00
Linux Build Service Account
5670746eba Merge b269ebdba5 on remote branch
Change-Id: I8e833cbb756ba1b7c7509adcb55b13331dc7c8ab
2024-02-15 17:24:58 -08:00
CNSS_WLAN Service
e0408312cb Merge "ARM: dts: msm: Unvote regulators after bootup" into wlan-platform.lnx.2.0 2024-02-15 11:32:32 -08:00
Megha Byahatti
6fca99fedd video: devicetree: Align with upstream osdt
According to upstream requirement moving devicetree
form vendor/qcom/proprietary/video-devicetree to
vendor/qcom/opensource/video-devicetree by creating
new project. All the changes to the devicetree need
to be done in this project to be merged. All changes
will need Signed-off-by: tags and will need to use
open source emails.

Change-Id: I2865fb1fa9e1dae6bf2bf4f2a01bd000d928dba9
Signed-off-by: Megha Byahatti <quic_mbyahatt@quicinc.com>
2024-02-15 10:12:56 +05:30
Linux Display
9741c979e7 Merge remote-tracking branch 'quic/display-kernel-dev.lnx.1.0' into display-kernel.lnx.11.0
CRs              SHA_ID     Commit Message
----------------------------------------------------------------------
3719188           I115682ff ARM: dts: msm: mm-drivers: Replace txt with yaml
3726524           Ib562686b ARM: dts: msm: add supported platform variants for sun target
3723552           If20659b1 ARM: dts: msm: mm-drivers: support cache coherence with shared memory

CRs-Included: 3723552,3719188,3726524 .

Change-Id: I5c685f0a94132a02098f372119ce4a9b155351d1
Signed-off-by: Linux Display <lnxdisplay@localhost>
2024-02-14 07:03:19 +05:30
qctecmdr
ce412471ca Merge "ARM: dts: msm: mm-drivers: Replace txt with yaml" 2024-02-13 15:35:10 -08:00
Namita Nair
9e58275cdd ARM: dts: msm: Add upstream compatible iommu-addresses property
Upstream Linux kernel has added a new devicetree property
"iommu-addresses", to replace "qcom,iommu-dma-addr-pool".
The new property defines the address range the device
cannot use, in contrast to the older property which
defines the address range the device can use.

Change-Id: I73166b20ff8ef0415cfa56e649b4792f03c94cad
CRs-Fixed: 3732156
2024-02-13 12:26:27 -08:00
NITIN LAXMIDAS NAIK
3da00e29bb msm: synx: Adding APQ variant msm id for synx devicetree
Adding msm id for APQ variant V1 and V2 for sun target

Signed-off-by: NITIN LAXMIDAS NAIK <quic_nitinlax@quicinc.com>
Change-Id: Ic9cf304dfe0ac82af8a99da274dfd06e021e122d
2024-02-13 08:14:52 -08:00
Naman Padhiar
ba2f9850b9 ARM: dts: msm: Unvote regulators after bootup
Remove APPS vote for all the regulators except S5F(WLAN CX)
after FW_READY during device bootup with V8 board.

Change-Id: Ic9510af45b7f637e5900d03be041cc66e4351bb6
CRs-Fixed: 3731688
2024-02-13 02:07:21 -08:00
Yeshwanth Sriram Guntuka
5d9d8cec46 ARM: dts: msm: Use shared iommu group for WLAN to support direct link
Use shared iommu group for WLAN on sun to support direct
link on Ganges.

CRs-Fixed: 3714880
Change-Id: Id04d281542260c5ca07d104880dd2ec5a197f7f8
2024-02-12 22:39:55 -08:00
qctecmdr
cd46a16f77 Merge "ARM: dts: msm: add supported platform variants for sun target" 2024-02-12 11:46:28 -08:00
CNSS_WLAN Service
e480fedcc2 Merge "ARM: dts: msm: Remove default configuration of DEV_SOL" into wlan-platform.lnx.2.0 2024-02-10 15:56:07 -08:00
CNSS_WLAN Service
dbfe4e7254 Merge "wlan: dts: msm: Add vote for S4J regulator in V6 PDC init table" into wlan-platform.lnx.2.0 2024-02-09 21:22:53 -08:00
Jatin Srivastava
2622ed9e00 ARM: dts: msm: mm-drivers: Replace txt with yaml
Replace existing txt file for HW Fence DTSI documentation
with yaml file format.

Change-Id: I115682ff66153f731ea15a1528c37e27e4b6eb40
Signed-off-by: Jatin Srivastava <quic_jsrivast@quicinc.com>
2024-02-09 11:46:23 +05:30
Alan Z. Chen
2678eeb8f6 wlan: dts: msm: Add vote for S4J regulator in V6 PDC init table
Having S4J enabled in the TCS by default will cause TCS address
to be populated with the wrong address on V8 and will cause TCS
ACK hang. Thus, AOP will keep S4J and S5F regulators disabled
by default and host will vote to enable S4J and S5F regulators
based on V6 or V8 power grid, respectively.

Change-Id: I852ca4aa80ef0e6bd5c802e6032f876fb53c9670
CRs-Fixed: 3709995
2024-02-08 09:21:11 -08:00
Gerrit SelfHelp Service Account
b3e13f607e Initial empty repository 2024-02-07 21:16:39 -08:00
Naman Padhiar
4c849f35a0 ARM: dts: msm: Remove default configuration of DEV_SOL
DEV_SOL GPIO is side-band GPIO from discrete WLAN chip to
APPS. Default setting for DEV_SOL has to be done by WLAN_FW
in WLAN chip. Remove default GPIO configuration from CNSS
driver running in APPS.

Change-Id: I10a65bd007a6bcf00a358f1e60c925ad316ec3ab
CRs-Fixed: 3727394
2024-02-07 19:48:24 -08:00
CNSS_WLAN Service
2ae1df1e6e Merge "ARM: dts: msm: Add upstream compatible iommu-addresses property" into wlan-platform.lnx.2.0 2024-02-07 17:23:51 -08:00
qctecmdr
1b64f612f0 Merge "ARM: dts: msm: Add sunp msm-id support for GPU" 2024-02-07 11:02:07 -08:00
Grace An
11629b254c ARM: dts: msm: add supported platform variants for sun target
Add ATP, Kiwi, v8 Power Grid, RCM platform, v8 Power Grid with Kiwi
on RCM platform, 3.5mm on MTP platform, and Ganges 2.0 WLAN CDP
variant for sun target.

Change-Id: Ib562686b28de6d0289be75ba4d2dac5403dabd6b
Signed-off-by: Grace An <quic_gracan@quicinc.com>
2024-02-06 14:49:31 -08:00
Namita Nair
5d47bd95de ARM: dts: msm: Add upstream compatible iommu-addresses property
Upstream Linux kernel has added a new devicetree property
"iommu-addresses", to replace "qcom,iommu-dma-addr-pool".
The new property defines the address range the device
cannot use, in contrast to the older property which
defines the address range the device can use.

Change-Id: I8fc13e27593193af7be5ca1bcc03c04a25f36c91
CRs-Fixed: 3724373
2024-02-05 14:35:18 -08:00
umahboob
4e3f58fea4 Added support for MPU and FDU cache allocation
Change-Id: I99ca1a468b00d47d10dba53ca4b54e6f7ccea037
Signed-off-by: Usama Mahboob <quic_umahboob@quicinc.com>
2024-02-05 13:44:55 -08:00
Mohammed Mirza Mandayappurath Manzoor
a17c326b0e ARM: dts: msm: Add powerlevels for AB and AC sku for sun gpu
Add supporting power levels for AB and AC sku devices.

Change-Id: I233a5779a78cdc22883e1ed8b9b02c73aa0f576d
Signed-off-by: Mohammed Mirza Mandayappurath Manzoor <quic_mmandaya@quicinc.com>
2024-02-05 00:45:44 -08:00
Kamal Agrawal
40c568a6d1 ARM: dts: msm: Update DDR bandwidth for sun GMU scaling
SVS is the highest voltage corner for GMU. The lowest DDR BW
that puts CX at SVS corner is 1555 MHz. This DDR vote puts CX
at a corner high enough such that GMU can run at 650 MHz. This
is to get better GMU performance at no extra power cost.

Change-Id: I919476577e9b2e69161142c93d47e91505ffc222
Signed-off-by: Kamal Agrawal <quic_kamaagra@quicinc.com>
2024-02-03 16:36:52 +05:30
Kamal Agrawal
f535a812cb ARM: dts: msm: Add CX host interrupt for sun GPU
For gen8 targets, frequency limiter violations are published
through cx_host_irq interrupt. Thus, add cx_host_irq for sun
GPU.

Change-Id: Ie7e0c7fc53bdc002261ee05339c3e4c49da83ea0
Signed-off-by: Kamal Agrawal <quic_kamaagra@quicinc.com>
2024-02-02 16:11:02 +05:30
Sandeep Singh
95a624ea96 ARM: dts: msm: Add opensource wlan device tree support for Pineapple V
Add opensource wlan device tree support for Pineapple V
for devSP.

Change-Id: I37690bd79b857ed51462efe57849fb3c28b58505
CRs-Fixed: 3721702
2024-02-01 00:46:30 -08:00
Harshdeep Dhatt
65f3e20c5f ARM: dts: msm: Add soccp controller phandle for sun
Hardware fence feature requires that we keep soccp from power collapsing
as long as GMU is active.

Change-Id: I3721aefd8cb34edfeba846115132002defa8f385
Signed-off-by: Harshdeep Dhatt <quic_hdhatt@quicinc.com>
2024-01-31 15:01:04 -07:00
Harshdeep Dhatt
88a17ffa07 dt-bindings: Add soccp controller property
This is needed to vote for soccp boot/slumber sequence for
hardware fence feature.

Change-Id: I169d83ed9d5acf66027194bf5fee0825bb5602d2
Signed-off-by: Harshdeep Dhatt <quic_hdhatt@quicinc.com>
2024-01-31 15:00:56 -07:00
Kamal Agrawal
791bff1a21 ARM: dts: msm: Add coresight configurations for sun
Add device tree nodes for coresight CX and GX DBGC blocks
for sun devices. Also, add coresight funnel configuration
for graphics funnel device.

Change-Id: Id0a73ac9ef51e1039b718d5d51a4fc063d218a94
Signed-off-by: Kamal Agrawal <quic_kamaagra@quicinc.com>
2024-01-31 09:47:34 +05:30
CNSS_WLAN Service
ebd9ddee76 Merge "ARM: dts: msm: Add qcom,wlan-cbc-enabled" into wlan-platform.lnx.2.0 2024-01-30 12:41:39 -08:00
Jianmin Zhu
1670b51be0 ARM: dts: msm: Add qcom,wlan-cbc-enabled
Add qcom,wlan-cbc-enabled, then don't register wlan driver in charger
mode.

Change-Id: I7f8e0b06da75ebc5ba92fe2b2fd4c798e0e0e7f3
CRs-Fixed: 3699116
2024-01-29 17:00:50 -08:00
Linux Display
b269ebdba5 Merge remote-tracking branch 'quic/display-kernel-dev.lnx.1.0' into display-kernel.lnx.11.0
CRs              SHA_ID     Commit Message
----------------------------------------------------------------------
3674661           Iaa5e381f ARM: dts: msm: mm-drivers: add soccp dtsi properties to sun target
3674660           I99fd3678 ARM: dts: msm: mm-drivers: add support for hw-fence feature on sun

CRs-Included: 3674661,3674660

Change-Id: I86260b91d14e18bde0da60f64230bbd9a0a801c0
Signed-off-by: Linux Display <lnxdisplay@localhost>
2024-01-25 20:57:12 +05:30
Grace An
c2a2aa549b ARM: dts: msm: mm-drivers: support cache coherence with shared memory
This change enables cache coherency on the carved-out memory region
shared with SOCCP.

Change-Id: If20659b1153a06e42d15105d5ee1837f0356ef04
Signed-off-by: Grace An <quic_gracan@quicinc.com>
2024-01-24 13:25:52 -08:00
Naman Padhiar
33a716df43 ARM: DTS: msm: Enable Sign Of Life(SOL) for Sun + Peach
SOL is side band mechanism to communicate with device
and reset device from the bad state. Enable SOL for
sun  to recover from device hung issue during PCIe link
down cases.

HOST_SOL -------> Host to Device GPIO
DEV_SOL --------> Device to Host GPIO

Change-Id: Ib4bf76fa60692acf85546dca7a7148f9c4062ca6
CRs-Fixed: 3715142
2024-01-24 04:50:11 -08:00
CNSS_WLAN Service
e80c8c19bf Merge "wlan: dts: msm: Add support for Sun RCM board" into wlan-platform.lnx.2.0 2024-01-23 02:51:58 -08:00
CNSS_WLAN Service
1e09621249 Merge "wlan: dts: Add correct name for BT_EN_GPIO for Peach" into wlan-platform.lnx.2.0 2024-01-22 18:37:36 -08:00
Naman Padhiar
0a093a8105 wlan: dts: msm: Add support for Sun RCM board
Add RCM board ID in device tree files to enable all WLAN
attach with Sun RCM board.

Change-Id: I0d0c4f3d10aaace7b1ee80dfccc93386b75a45a6
CRs-Fixed: 3708605
2024-01-22 12:15:12 +05:30
Grace An
3bb27e1050 ARM: dts: msm: mm-drivers: add soccp dtsi properties to sun target
Add dtsi properties for HW Fence Driver to access the phandle of the
SOCCP driver, receive IPCC interrupts from SOCCP on the sun target,
and map memory for SOCCP access.

Change-Id: Iaa5e381fcb38dbb33771e6b15f12d0425e2d1b4b
Signed-off-by: Grace An <quic_gracan@quicinc.com>
2024-01-18 15:41:48 -08:00
Grace An
05133adf46 ARM: dts: msm: mm-drivers: add support for hw-fence feature on sun
This change adds support for device tree configuration and settings
for the hw-fence driver that initialize, expose and manage the
interfaces for hw-fences on sun target.

Change-Id: I99fd3678728af8b9000db8867a1c776d46b7cc16
Signed-off-by: Grace An <quic_gracan@quicinc.com>
2024-01-18 15:40:21 -08:00
Alan Z. Chen
2b766ec51b wlan: dts: Add correct name for BT_EN_GPIO for Peach
Change name for BT_EN_GPIO to pm8550vs_f_gpios for V6 power grid
and pm8550ve_f_gpios for V8 power grid for Peach.

Change-Id: If81656daaa83ed0be838a2c376383723e071184f
CRs-Fixed: 3709949
2024-01-18 11:38:11 -08:00
Alan Z. Chen
2e06f2f818 wlan: dts: msm: Add NFC board IDs to V8 Peach dtsi
Add NFC board IDs for MTP and CDP support for V8 Peach dtsi.

Change-Id: I7bc2b599b5061f11512d5f6009d986e2f19a777f
CRs-Fixed: 3701475
2024-01-16 16:25:28 -08:00
George Shen
c13c8f911e ARM: dts: msm: Initial EVA device tree
Initial draft with required markings.

Change-Id: I36651f21d1770c61d83128f5283c5eaffe3679d6
Signed-off-by: Jingjing Guo <quic_jig@quicinc.com>
Signed-off-by: George Shen <quic_sqiao@quicinc.com>
2024-01-16 09:33:27 -08:00
Kamal Agrawal
0d12082da3 ARM: dts: msm: Remove gmu_pdc register for sun GPU
KGSL driver doesn't program PDC registers anymore.
Thus, remove the register information from device
tree for sun GPU.

Change-Id: I60c78e00942bb68e311b4c4632e5a3e2ed30dcd6
Signed-off-by: Kamal Agrawal <quic_kamaagra@quicinc.com>
2024-01-16 11:57:49 +05:30
Carter Cooper
87ec4506c6 ARM: dts: msm: Add sunp msm-id support for GPU
Add support for sunp variant msm-id.

Change-Id: I3dee70f03e360330636290ef665aced0b4f31542
Signed-off-by: Carter Cooper <quic_ccooper@quicinc.com>
Signed-off-by: Hareesh Gundu <quic_hareeshg@quicinc.com>
2024-01-11 11:13:07 -08:00
Ram Nagesh
95a105a2d0 ARM: dts: msm: Adding comments to the markings
Signed-off-by: Ram Nagesh <quic_ramnages@quicinc.com>
Change-Id: If6458d3144095dffc5c28c36ec6289041bcfb445
2024-01-11 15:29:21 +05:30
Ram Nagesh
e071da204f ARM: dts: msm: Initial commit for synx-devicetree
Signed-off-by: Ram Nagesh <quic_ramnages@quicinc.com>
Change-Id: Ia7dc3119a366e42166e2a5e7cce988a471704dff
2024-01-08 22:11:32 -08:00
Prateek Patil
671e79bb92 ARM: dts: msm: Add opensource wlan device tree support for Sun
Add wlan opensource device tree support for Sun SOC.

Change-Id: I1e7d46f5724ded66a0165ff4858b2238c94d58e2
2024-01-09 10:45:46 +05:30
Gerrit SelfHelp Service Account
f663980a09 Initial empty repository 2023-12-05 02:09:20 -08:00
Kamal Agrawal
8687f5ac09 dt-bindings: Add property to specify gpu power domains
GDSCs can be modeled as power domain on newer GPUs. This
property provides an option to specify the GDSCs as power
domain.

Change-Id: I2f687b9339accaad701737ccfaf5e41209201229
Signed-off-by: Kamal Agrawal <quic_kamaagra@quicinc.com>
2023-12-01 12:46:12 +05:30
Mohammed Mirza Mandayappurath Manzoor
17f495d10f ARM: dts: msm: Add QDSS clock to sun GPU
QDSS clock is used in kgsl to program ISDB registers. Add the clock so
that kgsl can vote for it when needed.

Change-Id: I2b71bdc4b9884409c598ba20759c56bff12cdb64
Signed-off-by: Mohammed Mirza Mandayappurath Manzoor <quic_mmandaya@quicinc.com>
2023-11-29 11:25:37 -08:00
Mohammed Mirza Mandayappurath Manzoor
cffcc8cffb ARM: dts: msm: Update supported frequencies for Sun GPU
Add intermediate supported power levels for GPU and remove unsupported
power levels from the list.

Change-Id: Ie16c06293dc707561f03aa9f1839a8217f163726
Signed-off-by: Mohammed Mirza Mandayappurath Manzoor <quic_mmandaya@quicinc.com>
2023-11-29 11:23:18 -08:00
Hareesh Gundu
325eb7a028 adreno: dts: Enable graphics rendering for Sun
Enable Sun GPU to perform graphics functionality.
Also add ipc-core property for hwfences support.

Change-Id: Ia01d92e4b2d43a1f8ec24ff63768aab5d7a4e1e3
Signed-off-by: Hareesh Gundu <quic_hareeshg@quicinc.com>
2023-11-23 11:42:00 +05:30
Gerrit SelfHelp Service Account
34133f31a8 Initial empty repository 2023-11-09 04:39:00 -08:00
Hareesh Gundu
713410db8f ARM: dts: msm: Add support for Sun GPU
Add the devicetree files for the GPU on Sun devices.

Change-Id: Iaf7a19eb5e2c6c215e838ae1bfa3b01916c804d9
Signed-off-by: Hareesh Gundu <quic_hareeshg@quicinc.com>
2023-11-01 18:20:07 -07:00
Gerrit SelfHelp Service Account
fbd0264524 Initial empty repository 2023-10-18 23:12:26 -07:00
Gerrit SelfHelp Service Account
497966269e Initial empty repository 2023-08-30 23:59:23 -07:00
Hareesh Gundu
63075d8f63 ARM: dts: msm: Initial commit for Adreno GPU
Add initial Adreno GPU devicetree files.

Change-Id: I460cc1d37a49b2b92d55fd6426d51bcb629fcdf5
Signed-off-by: Hareesh Gundu <quic_hareeshg@quicinc.com>
2023-08-23 17:01:48 -07:00
Gerrit SelfHelp Service Account
994933d50b Initial empty repository 2023-08-08 01:08:53 -07:00
309 changed files with 17905 additions and 88 deletions

View File

@@ -360,4 +360,5 @@ endif
always-y := $(dtb-y) always-y := $(dtb-y)
subdir-y := $(dts-dirs) subdir-y := $(dts-dirs)
subdir-y += audio bt camera data display dsp eSE eva graphics mm mmrm nfc synx video wlan
clean-files := *.dtb *.dtbo clean-files := *.dtb *.dtbo

View File

@@ -1,3 +1,5 @@
DTC_INCLUDE += $(srctree)/../sm8750-modules/qcom/opensource/audio-kernel/include
ifeq ($(CONFIG_ARCH_PINEAPPLE), y) ifeq ($(CONFIG_ARCH_PINEAPPLE), y)
dtbo-y += pineapple-audio.dtbo \ dtbo-y += pineapple-audio.dtbo \
pineapple-audio-cdp.dtbo \ pineapple-audio-cdp.dtbo \

View File

@@ -1,19 +0,0 @@
AUDIO_DEVICETREE_ROOT=$(KERNEL_SRC)/$(M)
AUDIO_KERNEL_ROOT=$(AUDIO_DEVICETREE_ROOT)/../../opensource/audio-kernel/include
KBUILD_OPTIONS += KBUILD_DTC_INCLUDE=$(AUDIO_KERNEL_ROOT)
KBUILD_OPTIONS += KBUILD_EXTMOD_DTS=.
KBUILD_OPTIONS += KERNEL_ROOT=$(ROOT_DIR)/$(KERNEL_DIR)
KBUILD_OPTIONS += MODNAME=audio-devicetree
all: dtbs
dtbs:
$(MAKE) -C $(KERNEL_SRC) M=$(M) dtbs $(KBUILD_OPTIONS)
modules_install:
$(MAKE) M=$(M) -C $(KERNEL_SRC) modules_install
clean:
$(MAKE) -C $(KERNEL_SRC) M=$(M) clean

View File

@@ -1,9 +0,0 @@
KBUILD_OPTIONS += KBUILD_EXTMOD_DTS=.
all: dtbs
clean:
$(MAKE) -C $(KERNEL_SRC) M=$(M) clean
%:
$(MAKE) -C $(KERNEL_SRC) M=$(M) $@ $(KBUILD_OPTIONS)

View File

@@ -1,17 +1,6 @@
# Use current $(MSM_ARCH) to set config/ makefile path DTC_INCLUDE += $(srctree)/../sm8750-modules/qcom/opensource/camera-kernel
CAMERA_TARGET_MKFILE_PATH := $(CAMERA_DEVICETREE_ROOT)/config/$(MSM_ARCH).mk
# Check to see if current target makefile exists
CAMERA_TARGET_EXISTS := $(or $(and $(wildcard $(CAMERA_TARGET_MKFILE_PATH)),y),n)
# Since Kernel SI can support multiple ARCH's this allows only the current selected target ARCH include $(srctree)/$(src)/config/sun.mk
# to compile.
ifeq ($(CAMERA_TARGET_EXISTS), y)
include $(CAMERA_TARGET_MKFILE_PATH)
else
# Print a warning but do not throw an error to allow bring-up of new targets!
$(warning [$(MODNAME)] $(MSM_ARCH) is not a valid target, make sure config\ folder contains a makefile named $(MSM_ARCH).mk)
$(warning [$(MODNAME)] driver is NOT being enabled!)
endif
always-y := $(dtbo-y) $(dtb-y) always-y := $(dtbo-y) $(dtb-y)
subdir-y := $(dts-dirs) subdir-y := $(dts-dirs)

View File

@@ -1,20 +0,0 @@
CAMERA_DEVICETREE_ROOT=$(KERNEL_SRC)/$(M)
CAMERA_KERNEL_ROOT=$(CAMERA_DEVICETREE_ROOT)/../../opensource/camera-kernel
KBUILD_OPTIONS += CAMERA_DEVICETREE_ROOT=$(KERNEL_SRC)/$(M)
KBUILD_OPTIONS += KBUILD_DTC_INCLUDE=$(CAMERA_KERNEL_ROOT)
KBUILD_OPTIONS += KBUILD_EXTMOD_DTS=.
KBUILD_OPTIONS += KERNEL_ROOT=$(ROOT_DIR)/$(KERNEL_DIR)
KBUILD_OPTIONS += MODNAME=camera-devicetree
all: dtbs
dtbs:
$(MAKE) -C $(KERNEL_SRC) M=$(M) dtbs $(KBUILD_OPTIONS)
modules_install:
$(MAKE) M=$(M) -C $(KERNEL_SRC) modules_install
clean:
$(MAKE) -C $(KERNEL_SRC) M=$(M) clean

View File

@@ -1,9 +0,0 @@
KBUILD_OPTIONS+=KBUILD_EXTMOD_DTS=.
all: dtbs
clean:
$(MAKE) -C $(KERNEL_SRC) M=$(M) clean
%:
$(MAKE) -C $(KERNEL_SRC) M=$(M) $@ $(KBUILD_OPTIONS)

View File

@@ -1,9 +0,0 @@
KBUILD_OPTIONS+=KBUILD_EXTMOD_DTS=.
all: dtbs
clean:
$(MAKE) -C $(KERNEL_SRC) M=$(M) clean
%:
$(MAKE) -C $(KERNEL_SRC) M=$(M) $@ $(KBUILD_OPTIONS)

View File

@@ -1,9 +0,0 @@
KBUILD_OPTIONS+=KBUILD_EXTMOD_DTS=.
all: dtbs
clean:
$(MAKE) -C $(KERNEL_SRC) M=$(M) clean
%:
$(MAKE) -C $(KERNEL_SRC) M=$(M) $@ $(KBUILD_OPTIONS)

57
qcom/eSE/Kbuild Normal file
View File

@@ -0,0 +1,57 @@
ifeq ($(CONFIG_ARCH_SUN),y)
dtbo-y += sun-ese-mtp.dtbo
dtbo-y += sun-ese-rcm-v8.dtbo
dtbo-y += sun-ese-rcm.dtbo
dtbo-y += sun-ese-mtp-kiwi-v8.dtbo
dtbo-y += sun-ese-cdp-kiwi-v8.dtbo
dtbo-y += sun-ese-atp.dtbo
dtbo-y += sun-ese-qrd-sku1.dtbo
dtbo-y += sun-ese-qrd-sku1-v8.dtbo
dtbo-y += sun-ese-qrd-sku2-v8.dtbo
dtbo-y += sun-ese-cdp.dtbo
dtbo-y += sun-ese-qrd.dtbo
dtbo-y += sun-v2-ese-mtp.dtbo
dtbo-y += sun-v2-ese-cdp.dtbo
dtbo-y += sun-v2-ese-qrd.dtbo
endif
ifeq ($(CONFIG_ARCH_TUNA),y)
dtbo-y += tuna-ese-cdp.dtbo
dtbo-y += tuna-ese-mtp.dtbo
dtbo-y += tuna-ese-qrd.dtbo
dtbo-y += tuna-ese-mtp-kiwi-overlay.dtbo
dtbo-y += tuna-ese-mtp-kiwi-harmonium-overlay.dtbo
dtbo-y += tuna-ese-rcm-kiwi-overlay.dtbo
dtbo-y += tuna-ese-mtp-qmp1000-overlay.dtbo
dtbo-y += tuna-ese-oemvm-mtp-kiwi.dtbo
dtbo-y += tuna-ese-oemvm-rcm-kiwi.dtbo
endif
ifeq ($(CONFIG_ARCH_KERA),y)
dtbo-y += kera-ese-atp.dtbo
dtbo-y += kera-ese-cdp-qca6750-ufs2.dtbo
dtbo-y += kera-ese-cdp-qca6750-ufs3.dtbo
dtbo-y += kera-ese-cdp-qca6750-ufs4.dtbo
dtbo-y += kera-ese-cdp.dtbo
dtbo-y += kera-ese-mtp-qca6750-qmp1000.dtbo
dtbo-y += kera-ese-mtp-qca6750.dtbo
dtbo-y += kera-ese-mtp-wcn7750-qmp1000.dtbo
dtbo-y += kera-ese-mtp-wcn7750-ufs3.dtbo
dtbo-y += kera-ese-mtp-wcn7750-ufs4.dtbo
dtbo-y += kera-ese-mtp.dtbo
dtbo-y += kera-ese-oemvm-mtp.dtbo
dtbo-y += kera-ese-oemvm-rcm.dtbo
dtbo-y += kera-ese-qrd-wcn7750-ufs2.dtbo
dtbo-y += kera-ese-qrd-wcn7750-ufs3.dtbo
dtbo-y += kera-ese-qrd.dtbo
dtbo-y += kera-ese-rcm-qca6750-ufs2.dtbo
dtbo-y += kera-ese-rcm-qca6750-ufs3.dtbo
dtbo-y += kera-ese-rcm-wcn7750-ufs2.dtbo
dtbo-y += kera-ese-rcm-wcn7750-ufs3.dtbo
dtbo-y += kera-ese-rcm-wcn7750-ufs4.dtbo
dtbo-y += kera-ese-rcm.dtbo
endif
always-y := $(dtb-y) $(dtbo-y)
subdir-y := $(dts-dirs)
clean-files := *.dtb *.dtbo

18
qcom/eSE/kera-ese-atp.dts Normal file
View File

@@ -0,0 +1,18 @@
// SPDX-License-Identifier: BSD-3-Clause
/*
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
*/
/dts-v1/;
/plugin/;
#include "kera-ese-common.dtsi"
/ {
model = "Qualcomm Technologies, Inc. Kera ATP";
compatible = "qcom,kera-atp", "qcom,kera", "qcom,kerap-atp", "qcom,kerap",
"qcom,atp";
qcom,msm-id = <686 0x10000>, <659 0x10000>;
qcom,board-id = <33 0>;
};

View File

@@ -0,0 +1,18 @@
// SPDX-License-Identifier: BSD-3-Clause
/*
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
*/
/dts-v1/;
/plugin/;
#include "kera-ese-common.dtsi"
/ {
model = "Qualcomm Technologies, Inc. Kera CDP + QCA6750 + UFS2.0";
compatible = "qcom,kera-cdp", "qcom,kera", "qcom,kerap-cdp", "qcom,kerap",
"qcom,cdp";
qcom,msm-id = <686 0x10000>, <659 0x10000>;
qcom,board-id = <0x30001 0>;
};

View File

@@ -0,0 +1,18 @@
// SPDX-License-Identifier: BSD-3-Clause
/*
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
*/
/dts-v1/;
/plugin/;
#include "kera-ese-common.dtsi"
/ {
model = "Qualcomm Technologies, Inc. Kera CDP + QCA6750 + UFS3.0";
compatible = "qcom,kera-cdp", "qcom,kera", "qcom,kerap-cdp", "qcom,kerap",
"qcom,cdp";
qcom,msm-id = <686 0x10000>, <659 0x10000>;
qcom,board-id = <0x20001 0>;
};

View File

@@ -0,0 +1,18 @@
// SPDX-License-Identifier: BSD-3-Clause
/*
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
*/
/dts-v1/;
/plugin/;
#include "kera-ese-common.dtsi"
/ {
model = "Qualcomm Technologies, Inc. Kera CDP + QCA6750 + UFS4.0";
compatible = "qcom,kera-cdp", "qcom,kera", "qcom,kerap-cdp", "qcom,kerap",
"qcom,cdp";
qcom,msm-id = <686 0x10000>, <659 0x10000>;
qcom,board-id = <0x40001 0>;
};

18
qcom/eSE/kera-ese-cdp.dts Normal file
View File

@@ -0,0 +1,18 @@
// SPDX-License-Identifier: BSD-3-Clause
/*
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
*/
/dts-v1/;
/plugin/;
#include "kera-ese-common.dtsi"
/ {
model = "Qualcomm Technologies, Inc. Kera CDP";
compatible = "qcom,kera-cdp", "qcom,kera", "qcom,kerap-cdp", "qcom,kerap",
"qcom,cdp";
qcom,msm-id = <686 0x10000>, <659 0x10000>;
qcom,board-id = <0x10001 0>;
};

View File

@@ -0,0 +1,13 @@
// SPDX-License-Identifier: BSD-3-Clause
/*
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
*/
&soc {
st54spi_gpio {
status = "ok";
compatible = "st,st54spi_gpio";
/* gpio used as SE_nRESET */
gpio-power_nreset = <&tlmm 117 0x00>;
};
};

View File

@@ -0,0 +1,17 @@
// SPDX-License-Identifier: BSD-3-Clause
/*
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
*/
/dts-v1/;
/plugin/;
#include "kera-ese-common.dtsi"
/ {
model = "Qualcomm Technologies, Inc. Kera MTP + QCA6750 + QMP1000";
compatible = "qcom,kera-mtp", "qcom,kera", "qcom,kerap-mtp", "qcom,kerap",
"qcom,mtp";
qcom,msm-id = <686 0x10000>, <659 0x10000>;
qcom,board-id = <0x30008 0>;
};

View File

@@ -0,0 +1,17 @@
// SPDX-License-Identifier: BSD-3-Clause
/*
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
*/
/dts-v1/;
/plugin/;
#include "kera-ese-common.dtsi"
/ {
model = "Qualcomm Technologies, Inc. Kera MTP + QCA6750";
compatible = "qcom,kera-mtp", "qcom,kera", "qcom,kerap-mtp", "qcom,kerap",
"qcom,mtp";
qcom,msm-id = <686 0x10000>, <659 0x10000>;
qcom,board-id = <0x20008 0>;
};

View File

@@ -0,0 +1,17 @@
// SPDX-License-Identifier: BSD-3-Clause
/*
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
*/
/dts-v1/;
/plugin/;
#include "kera-ese-common.dtsi"
/ {
model = "Qualcomm Technologies, Inc. Kera MTP + WCN7750 + QMP1000";
compatible = "qcom,kera-mtp", "qcom,kera", "qcom,kerap-mtp", "qcom,kerap",
"qcom,mtp";
qcom,msm-id = <686 0x10000>, <659 0x10000>;
qcom,board-id = <0x30008 1>;
};

View File

@@ -0,0 +1,17 @@
// SPDX-License-Identifier: BSD-3-Clause
/*
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
*/
/dts-v1/;
/plugin/;
#include "kera-ese-common.dtsi"
/ {
model = "Qualcomm Technologies, Inc. Kera MTP + WCN7750 + UFS3.0";
compatible = "qcom,kera-mtp", "qcom,kera", "qcom,kerap-mtp", "qcom,kerap",
"qcom,mtp";
qcom,msm-id = <686 0x10000>, <659 0x10000>;
qcom,board-id = <0x20008 1>;
};

View File

@@ -0,0 +1,18 @@
// SPDX-License-Identifier: BSD-3-Clause
/*
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
*/
/dts-v1/;
/plugin/;
#include "kera-ese-common.dtsi"
/ {
model = "Qualcomm Technologies, Inc. Kera MTP + WCN7750 + UFS4.0";
compatible = "qcom,kera-mtp", "qcom,kera", "qcom,kerap-mtp", "qcom,kerap",
"qcom,mtp";
qcom,msm-id = <686 0x10000>, <659 0x10000>;
qcom,board-id = <0x10008 1>;
};

17
qcom/eSE/kera-ese-mtp.dts Normal file
View File

@@ -0,0 +1,17 @@
// SPDX-License-Identifier: BSD-3-Clause
/*
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
*/
/dts-v1/;
/plugin/;
#include "kera-ese-common.dtsi"
/ {
model = "Qualcomm Technologies, Inc. Kera MTP";
compatible = "qcom,kera-mtp", "qcom,kera", "qcom,kerap-mtp", "qcom,kerap",
"qcom,mtp";
qcom,msm-id = <686 0x10000>, <659 0x10000>;
qcom,board-id = <0x10008 0>;
};

View File

@@ -0,0 +1,16 @@
// SPDX-License-Identifier: BSD-3-Clause
/*
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
*/
/dts-v1/;
/plugin/;
#include "kera-ese-common.dtsi"
/ {
model = "Qualcomm Technologies, Inc. Kera OEMVM MTP";
compatible = "qcom,kera-mtp", "qcom,kera", "qcom,kerap-mtp", "qcom,kerap",
"qcom,mtp";
qcom,board-id = <0x10008 0>, <0x10008 1>, <0x20008 0>, <0x20008 1>, <0x30008 0>, <0x30008 1>;
};

View File

@@ -0,0 +1,16 @@
// SPDX-License-Identifier: BSD-3-Clause
/*
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
*/
/dts-v1/;
/plugin/;
#include "kera-ese-common.dtsi"
/ {
model = "Qualcomm Technologies, Inc. Kera OEMVM RCM";
compatible = "qcom,kera-rcm", "qcom,kera", "qcom,kerap-rcm", "qcom,kerap",
"qcom,rcm";
qcom,board-id = <0x10015 0>, <0x10015 1>, <0x20015 0>, <0x20015 1>, <0x30015 0>, <0x30015 1>;
};

View File

@@ -0,0 +1,17 @@
// SPDX-License-Identifier: BSD-3-Clause
/*
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
*/
/dts-v1/;
/plugin/;
#include "kera-ese-common.dtsi"
/ {
model = "Qualcomm Technologies, Inc. Kera QRD";
compatible = "qcom,kera-qrd", "qcom,kera", "qcom,kerap-qrd", "qcom,kerap",
"qcom,qrd";
qcom,msm-id = <686 0x10000>, <659 0x10000>;
qcom,board-id = <0x3000B 0>;
};

View File

@@ -0,0 +1,17 @@
// SPDX-License-Identifier: BSD-3-Clause
/*
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
*/
/dts-v1/;
/plugin/;
#include "kera-ese-common.dtsi"
/ {
model = "Qualcomm Technologies, Inc. Kera QRD + WCN7750 + UFS3.0";
compatible = "qcom,kera-qrd", "qcom,kera", "qcom,kerap-qrd", "qcom,kerap",
"qcom,qrd";
qcom,msm-id = <686 0x10000>, <659 0x10000>;
qcom,board-id = <0x2000B 0>;
};

17
qcom/eSE/kera-ese-qrd.dts Normal file
View File

@@ -0,0 +1,17 @@
// SPDX-License-Identifier: BSD-3-Clause
/*
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
*/
/dts-v1/;
/plugin/;
#include "kera-ese-common.dtsi"
/ {
model = "Qualcomm Technologies, Inc. Kera QRD";
compatible = "qcom,kera-qrd", "qcom,kera", "qcom,kerap-qrd", "qcom,kerap",
"qcom,qrd";
qcom,msm-id = <686 0x10000>, <659 0x10000>;
qcom,board-id = <0x1000B 0>;
};

View File

@@ -0,0 +1,17 @@
// SPDX-License-Identifier: BSD-3-Clause
/*
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
*/
/dts-v1/;
/plugin/;
#include "kera-ese-common.dtsi"
/ {
model = "Qualcomm Technologies, Inc. Kera RCM + QCA6750 + UFS2.0";
compatible = "qcom,kera-rcm", "qcom,kera", "qcom,kerap-rcm", "qcom,kerap",
"qcom,rcm";
qcom,msm-id = <686 0x10000>, <659 0x10000>;
qcom,board-id = <0x30015 0>;
};

View File

@@ -0,0 +1,17 @@
// SPDX-License-Identifier: BSD-3-Clause
/*
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
*/
/dts-v1/;
/plugin/;
#include "kera-ese-common.dtsi"
/ {
model = "Qualcomm Technologies, Inc. Kera RCM + QCA6750 + UFS3.0";
compatible = "qcom,kera-rcm", "qcom,kera", "qcom,kerap-rcm", "qcom,kerap",
"qcom,rcm";
qcom,msm-id = <686 0x10000>, <659 0x10000>;
qcom,board-id = <0x20015 0>;
};

View File

@@ -0,0 +1,17 @@
// SPDX-License-Identifier: BSD-3-Clause
/*
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
*/
/dts-v1/;
/plugin/;
#include "kera-ese-common.dtsi"
/ {
model = "Qualcomm Technologies, Inc. Kera RCM + WCN7750 + UFS2.0";
compatible = "qcom,kera-rcm", "qcom,kera", "qcom,kerap-rcm", "qcom,kerap",
"qcom,rcm";
qcom,msm-id = <686 0x10000>, <659 0x10000>;
qcom,board-id = <0x30015 1>;
};

View File

@@ -0,0 +1,17 @@
// SPDX-License-Identifier: BSD-3-Clause
/*
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
*/
/dts-v1/;
/plugin/;
#include "kera-ese-common.dtsi"
/ {
model = "Qualcomm Technologies, Inc. KERA RCM + WCN7750 + UFS3.0";
compatible = "qcom,kera-rcm", "qcom,kera", "qcom,kerap-rcm", "qcom,kerap",
"qcom,rcm";
qcom,msm-id = <686 0x10000>, <659 0x10000>;
qcom,board-id = <0x20015 1>;
};

View File

@@ -0,0 +1,17 @@
// SPDX-License-Identifier: BSD-3-Clause
/*
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
*/
/dts-v1/;
/plugin/;
#include "kera-ese-common.dtsi"
/ {
model = "Qualcomm Technologies, Inc. Kera RCM + WCN7750 + UFS4.0";
compatible = "qcom,kera-rcm", "qcom,kera", "qcom,kerap-rcm", "qcom,kerap",
"qcom,rcm";
qcom,msm-id = <686 0x10000>, <659 0x10000>;
qcom,board-id = <0x10015 1>;
};

17
qcom/eSE/kera-ese-rcm.dts Normal file
View File

@@ -0,0 +1,17 @@
// SPDX-License-Identifier: BSD-3-Clause
/*
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
*/
/dts-v1/;
/plugin/;
#include "kera-ese-common.dtsi"
/ {
model = "Qualcomm Technologies, Inc. Kera RCM";
compatible = "qcom,kera-rcm", "qcom,kera", "qcom,kerap-rcm", "qcom,kerap",
"qcom,rcm";
qcom,msm-id = <686 0x10000>, <659 0x10000>;
qcom,board-id = <0x10015 0>;
};

19
qcom/eSE/sun-ese-atp.dts Normal file
View File

@@ -0,0 +1,19 @@
// SPDX-License-Identifier: BSD-3-Clause
/*
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
*/
/dts-v1/;
/plugin/;
#include "sun-ese-common.dtsi"
/ {
model = "Qualcomm Technologies, Inc. Sun ATP";
compatible = "qcom,sun-atp", "qcom,sun", "qcom,sunp-atp", "qcom,sunp",
"qcom,atp";
qcom,msm-id = <618 0x10000>, <618 0x20000>,
<0x100026a 0x10000>, <0x100026a 0x20000>;
qcom,board-id = <0x10021 0>;
};

View File

@@ -0,0 +1,19 @@
// SPDX-License-Identifier: BSD-3-Clause
/*
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
*/
/dts-v1/;
/plugin/;
#include "sun-ese-common.dtsi"
/ {
model = "Qualcomm Technologies, Inc. Sun CDP Kiwi WLAN V8 Power Grid";
compatible = "qcom,sun-cdp", "qcom,sun", "qcom,sunp-cdp", "qcom,sunp", "qcom,cdp";
qcom,msm-id = <618 0x10000>, <618 0x20000>, <639 0x10000>, <639 0x20000>,
<0x100026a 0x10000>, <0x100026a 0x20000>,
<0x100027f 0x10000>, <0x100027f 0x20000>;
qcom,board-id = <0x60001 0>;
};

19
qcom/eSE/sun-ese-cdp.dts Normal file
View File

@@ -0,0 +1,19 @@
// SPDX-License-Identifier: BSD-3-Clause
/*
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
*/
/dts-v1/;
/plugin/;
#include "sun-ese-common.dtsi"
/ {
model = "Qualcomm Technologies, Inc. Sun CDP";
compatible = "qcom,sun-cdp", "qcom,sun", "qcom,cdp";
qcom,msm-id = <618 0x10000>, <618 0x20000>, <639 0x10000>, <639 0x20000>,
<0x100026a 0x10000>, <0x100026a 0x20000>,
<0x100027f 0x10000>, <0x100027f 0x20000>;
qcom,board-id = <0x1 0>, <0x20001 0>, <0x50001 0>;
};

View File

@@ -0,0 +1,15 @@
// SPDX-License-Identifier: BSD-3-Clause
/*
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
*/
&soc {
st54spi_gpio {
status = "ok";
compatible = "st,st54spi_gpio";
/* gpio used as SE_nRESET */
gpio-power_nreset = <&tlmm 46 0x00>;
};
};

View File

@@ -0,0 +1,18 @@
// SPDX-License-Identifier: BSD-3-Clause
/*
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
*/
/dts-v1/;
/plugin/;
#include "sun-ese-common.dtsi"
/ {
model = "Qualcomm Technologies, Inc. Sun MTP Kiwi WLAN V8 Power Grid";
compatible = "qcom,sun-mtp", "qcom,sun", "qcom,sunp-mtp", "qcom,sunp",
"qcom,mtp";
qcom,msm-id = <618 0x10000>, <618 0x20000>, <639 0x10000>, <639 0x20000>;
qcom,board-id = <0x50008 0>;
};

19
qcom/eSE/sun-ese-mtp.dts Normal file
View File

@@ -0,0 +1,19 @@
// SPDX-License-Identifier: BSD-3-Clause
/*
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
*/
/dts-v1/;
/plugin/;
#include "sun-ese-common.dtsi"
/ {
model = "Qualcomm Technologies, Inc. Sun MTP";
compatible = "qcom,sun-mtp", "qcom,sun", "qcom,mtp";
qcom,msm-id = <618 0x10000>, <618 0x20000>, <639 0x10000>, <639 0x20000>,
<0x100026a 0x10000>, <0x100026a 0x20000>,
<0x100027f 0x10000>, <0x100027f 0x20000>;
qcom,board-id = <0x8 0>, <0x20008 0>, <0x40008 0>, <0x50008 0>;
};

View File

@@ -0,0 +1,18 @@
// SPDX-License-Identifier: BSD-3-Clause
/*
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
*/
/dts-v1/;
/plugin/;
#include "sun-ese-common.dtsi"
/ {
model = "Qualcomm Technologies, Inc. Sun QRD SKU1 V8 Power Grid";
compatible = "qcom,sun-qrd", "qcom,sun", "qcom,sunp-qrd", "qcom,sunp", "qcom,qrd";
qcom,msm-id = <618 0x10000>, <618 0x20000>, <639 0x10000>, <639 0x20000>,
<0x100026a 0x10000>, <0x100026a 0x20000>;
qcom,board-id = <0x3000B 0>;
};

View File

@@ -0,0 +1,18 @@
// SPDX-License-Identifier: BSD-3-Clause
/*
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
*/
/dts-v1/;
/plugin/;
#include "sun-ese-common.dtsi"
/ {
model = "Qualcomm Technologies, Inc. Sun QRD SKU1";
compatible = "qcom,sun-qrd", "qcom,sun", "qcom,sunp-qrd", "qcom,sunp", "qcom,qrd";
qcom,msm-id = <618 0x10000>, <618 0x20000>, <639 0x10000>, <639 0x20000>,
<0x100026a 0x10000>, <0x100026a 0x20000>;
qcom,board-id = <0x1000B 0>;
};

View File

@@ -0,0 +1,19 @@
// SPDX-License-Identifier: BSD-3-Clause
/*
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
*/
/dts-v1/;
/plugin/;
#include "sun-ese-common.dtsi"
/ {
model = "Qualcomm Technologies, Inc. Sun QRD SKU2 V8 Power Grid";
compatible = "qcom,sun-qrd", "qcom,sun", "qcom,sunp-qrd", "qcom,sunp","qcom,qrd";
qcom,msm-id = <618 0x10000>, <618 0x20000>, <639 0x10000>, <639 0x20000>,
<0x100026a 0x10000>, <0x100026a 0x20000>,
<0x100027f 0x10000>, <0x100027f 0x20000>;
qcom,board-id = <0x2000B 0>;
};

19
qcom/eSE/sun-ese-qrd.dts Normal file
View File

@@ -0,0 +1,19 @@
// SPDX-License-Identifier: BSD-3-Clause
/*
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
*/
/dts-v1/;
/plugin/;
#include "sun-ese-common.dtsi"
/ {
model = "Qualcomm Technologies, Inc. Sun QRD";
compatible = "qcom,sun-qrd", "qcom,sun", "qcom,qrd";
qcom,msm-id = <618 0x10000>, <618 0x20000>, <639 0x10000>, <639 0x20000>,
<0x100026a 0x10000>, <0x100026a 0x20000>,
<0x100027f 0x10000>, <0x100027f 0x20000>;
qcom,board-id = <0x1000B 0>, <0x2000B 0>, <0x3000B 0>;
};

View File

@@ -0,0 +1,17 @@
// SPDX-License-Identifier: BSD-3-Clause
/*
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
*/
/dts-v1/;
/plugin/;
#include "sun-ese-common.dtsi"
/ {
model = "Qualcomm Technologies, Inc. Sun RCM V8 Power Grid";
compatible = "qcom,sun-rcm", "qcom,sun", "qcom,sunp-rcm", "qcom,sunp", "qcom,rcm";
qcom,msm-id = <618 0x10000>, <618 0x20000>, <0x100026a 0x10000>,<0x100026a 0x20000>;
qcom,board-id = <0x30015 0>;
};

17
qcom/eSE/sun-ese-rcm.dts Normal file
View File

@@ -0,0 +1,17 @@
// SPDX-License-Identifier: BSD-3-Clause
/*
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
*/
/dts-v1/;
/plugin/;
#include "sun-ese-common.dtsi"
/ {
model = "Qualcomm Technologies, Inc. Sun RCM";
compatible = "qcom,sun-rcm", "qcom,sun", "qcom,sunp", "qcom,rcm";
qcom,msm-id = <618 0x10000>, <618 0x20000>,
<0x100026a 0x10000>, <0x100026a 0x20000>;
qcom,board-id = <0x15 0>;
};

View File

@@ -0,0 +1,19 @@
// SPDX-License-Identifier: BSD-3-Clause
/*
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
*/
/dts-v1/;
/plugin/;
#include "sun-v2-ese-common.dtsi"
/ {
model = "Qualcomm Technologies, Inc. Sun CDP";
compatible = "qcom,sun-cdp", "qcom,sun", "qcom,cdp";
//AS of now for V2 devices, we have mapped the msm-id and board id same as V1.
//We would update this once we receive the specs of V2 devices.
qcom,msm-id = <0x1000B 0>, <0x2000B 0>, <0x3000B 0>;
qcom,board-id = <0x1000B 0>, <0x2000B 0>, <0x3000B 0>;
};

View File

@@ -0,0 +1,14 @@
// SPDX-License-Identifier: BSD-3-Clause
/*
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
*/
&soc {
st54spi_gpio {
status = "ok";
compatible = "st,st54spi_gpio";
/* gpio used as SE_nRESET */
gpio-power_nreset = <&tlmm 46 0x00>;
};
};

View File

@@ -0,0 +1,21 @@
// SPDX-License-Identifier: BSD-3-Clause
/*
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
*/
/dts-v1/;
/plugin/;
#include "sun-v2-ese-common.dtsi"
/ {
model = "Qualcomm Technologies, Inc. Sun MTP";
compatible = "qcom, sun-mtp", "qcom,sun", "qcom,mtp";
//AS of now for V2 devices, we have mapped the msm-id and board id same as V1.
//We would update this once we receive the specs of V2 devices.
qcom,msm-id = <618 0x10000>, <618 0x20000>, <639 0x10000>, <639 0x20000>,
<0x100026a 0x10000>, <0x100026a 0x20000>,
<0x100027f 0x10000>, <0x100027f 0x20000>;
qcom,board-id = <0x8 0>, <0x20008 0>, <0x40008 0>;
};

View File

@@ -0,0 +1,21 @@
// SPDX-License-Identifier: BSD-3-Clause
/*
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
*/
/dts-v1/;
/plugin/;
#include "sun-v2-ese-common.dtsi"
/ {
model = "Qualcomm Technologies, Inc. Sun QRD";
compatible = "qcom,sun-qrd", "qcom,sun", "qcom,qrd";
//AS of now for V2 devices, we have mapped the msm-id and board id same as V1.
//We would update this once we receive the specs of V2 devices.
qcom,msm-id = <618 0x10000>, <618 0x20000>, <639 0x10000>, <639 0x20000>,
<0x100026a 0x10000>, <0x100026a 0x20000>,
<0x100027f 0x10000>, <0x100027f 0x20000>;
qcom,board-id = <0x1000B 0>, <0x2000B 0>, <0x3000B 0>;
};

18
qcom/eSE/tuna-ese-cdp.dts Normal file
View File

@@ -0,0 +1,18 @@
// SPDX-License-Identifier: BSD-3-Clause
/*
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
*/
/dts-v1/;
/plugin/;
#include "tuna-ese-common.dtsi"
/ {
model = "Qualcomm Technologies, Inc. Tuna CDP";
compatible = "qcom,tuna-cdp", "qcom,tuna", "qcom,tunap-cdp", "qcom,tunap",
"qcom,cdp";
qcom,msm-id = <681 0x10000>, <655 0x10000>, <694 0x10000>;
qcom,board-id = <1 0>;
};

View File

@@ -0,0 +1,15 @@
// SPDX-License-Identifier: BSD-3-Clause
/*
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
*/
&soc {
st54spi_gpio {
status = "ok";
compatible = "st,st54spi_gpio";
/* gpio used as SE_nRESET */
gpio-power_nreset = <&tlmm 111 0x00>;
};
};

View File

@@ -0,0 +1,17 @@
// SPDX-License-Identifier: BSD-3-Clause
/*
* Copyright (c) 2025 Qualcomm Innovation Center, Inc. All rights reserved.
*/
/dts-v1/;
/plugin/;
#include "tuna-ese-common.dtsi"
/ {
model = "Qualcomm Technologies, Inc. Tuna MTP + kiwi WLAN + Harmonium";
compatible = "qcom,tuna-mtp", "qcom,tuna", "qcom,tunap-mtp", "qcom,tunap",
"qcom,mtp";
qcom,msm-id = <681 0x10000>, <655 0x10000>, <694 0x10000>;
qcom,board-id = <8 3>;
};

View File

@@ -0,0 +1,17 @@
// SPDX-License-Identifier: BSD-3-Clause
/*
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
*/
/dts-v1/;
/plugin/;
#include "tuna-ese-common.dtsi"
/ {
model = "Qualcomm Technologies, Inc. Tuna MTP + kiwi WLAN";
compatible = "qcom,tuna-mtp", "qcom,tuna", "qcom,tunap-mtp", "qcom,tunap",
"qcom,mtp";
qcom,msm-id = <681 0x10000>, <655 0x10000>, <694 0x10000>;
qcom,board-id = <8 2>;
};

View File

@@ -0,0 +1,17 @@
// SPDX-License-Identifier: BSD-3-Clause
/*
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
*/
/dts-v1/;
/plugin/;
#include "tuna-ese-common.dtsi"
/ {
model = "Qualcomm Technologies, Inc. Tuna MTP QMP1000";
compatible = "qcom,tuna-mtp", "qcom,tuna", "qcom,tunap-mtp", "qcom,tunap",
"qcom,mtp";
qcom,msm-id = <681 0x10000>, <655 0x10000>, <694 0x10000>;
qcom,board-id = <8 1>;
};

17
qcom/eSE/tuna-ese-mtp.dts Normal file
View File

@@ -0,0 +1,17 @@
// SPDX-License-Identifier: BSD-3-Clause
/*
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
*/
/dts-v1/;
/plugin/;
#include "tuna-ese-common.dtsi"
/ {
model = "Qualcomm Technologies, Inc. Tuna MTP";
compatible = "qcom,tuna-mtp", "qcom,tuna", "qcom,tunap-mtp", "qcom,tunap",
"qcom,mtp";
qcom,msm-id = <681 0x10000>, <655 0x10000>, <694 0x10000>;
qcom,board-id = <8 0>;
};

View File

@@ -0,0 +1,16 @@
// SPDX-License-Identifier: BSD-3-Clause
/*
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
*/
/dts-v1/;
/plugin/;
#include "tuna-ese-common.dtsi"
/ {
model = "Qualcomm Technologies, Inc. Tuna OEMVM MTP + kiwi WLAN";
compatible = "qcom,tuna-mtp", "qcom,tuna", "qcom,tunap-mtp", "qcom,tunap",
"qcom,mtp";
qcom,board-id = <8 2>;
};

View File

@@ -0,0 +1,16 @@
// SPDX-License-Identifier: BSD-3-Clause
/*
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
*/
/dts-v1/;
/plugin/;
#include "tuna-ese-common.dtsi"
/ {
model = "Qualcomm Technologies, Inc. Tuna OEMVM RCM + kiwi WLAN";
compatible = "qcom,tuna-rcm", "qcom,tuna", "qcom,tunap-rcm", "qcom,tunap",
"qcom,rcm";
qcom,board-id = <21 1>;
};

17
qcom/eSE/tuna-ese-qrd.dts Normal file
View File

@@ -0,0 +1,17 @@
// SPDX-License-Identifier: BSD-3-Clause
/*
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
*/
/dts-v1/;
/plugin/;
#include "tuna-ese-common.dtsi"
/ {
model = "Qualcomm Technologies, Inc. Tuna QRD";
compatible = "qcom,tuna-qrd", "qcom,tuna", "qcom,tunap-qrd", "qcom,tunap",
"qcom,qrd";
qcom,msm-id = <681 0x10000>, <655 0x10000>, <694 0x10000>;
qcom,board-id = <11 0>;
};

View File

@@ -0,0 +1,17 @@
// SPDX-License-Identifier: BSD-3-Clause
/*
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
*/
/dts-v1/;
/plugin/;
#include "tuna-ese-common.dtsi"
/ {
model = "Qualcomm Technologies, Inc. Tuna RCM + kiwi WLAN";
compatible = "qcom,tuna-rcm", "qcom,tuna", "qcom,tunap-rcm", "qcom,tunap",
"qcom,rcm";
qcom,msm-id = <681 0x10000>, <655 0x10000>, <694 0x10000>;
qcom,board-id = <21 1>;
};

25
qcom/eva/Kbuild Normal file
View File

@@ -0,0 +1,25 @@
ifneq ($(CONFIG_ARCH_QTI_VM), y)
ifeq ($(CONFIG_ARCH_SUN), y)
dtbo-y += sun-eva.dtbo
dtbo-y += sun-eva-v2.dtbo
endif
ifeq ($(CONFIG_ARCH_TUNA), y)
dtbo-y += tuna-eva.dtbo
endif
ifeq ($(CONFIG_ARCH_PINEAPPLE), y)
dtbo-y += pineapple-eva.dtbo
endif
ifeq ($(CONFIG_ARCH_KALAMA), y)
dtbo-y += trustedvm-kalama-eva-mtp.dtbo \
trustedvm-kalama-eva-qrd.dtbo
endif
endif
always-y := $(dtb-y) $(dtbo-y)
subdir-y := $(dts-dirs)
clean-files := *.dtb *.dtbo

View File

@@ -0,0 +1,107 @@
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/msm-eva-bus.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
title: Qualcomm Technologies, Inc. MSM CVP BUS
description: |
Second level nodes - Buses
properties:
compatible:
oneOf:
- items:
- enum:
- qcom,msm-cvp,bus
label:
description: an arbitrary name
qcom,bus-master:
description:
an integer descriptor of the bus master. Refer to arch/arm/\
boot/dts/include/dt-bindings/msm/msm-bus-ids.h for list of
acceptable masters
qcom,bus-slave:
description:
an integer descriptor of the bus slave. Refer to arch/arm/\
boot/dts/include/dt-bindings/msm/msm-bus-ids.h for list of
acceptable slaves
qcom,bus-governor:
description:
governor to use when scaling bus, generally any commonly
found devfreq governor might be used. In addition to those governors,
the custom Venus governors, "msm-vidc-ddr" or "msm-vidc-llcc" are also
acceptable values.
In the absence of this property the "performance" governor is used.
qcom,bus-rage-kbps:
description:
an array of two items (<min max>) that indicate the
minimum and maximum acceptable votes for the bus.
In the absence of this property <0 INT_MAX> is used.
qcom,ubwc-10bit:
description:
UBWC 10 bit content has different bus requirements,
this tag will be used to pick the appropriate bus as per the session
profile as shown below in example.
required:
- compatible
- label
- qcom,bus-master
- qcom,bus-slave
examples:
- |
msm_cvp: qcom,cvp@ab00000 {
compatible = "qcom,msm-cvp", "qcom,Lahaina-cvp";
status = "ok";
reg = <0xab00000 0x100000>;
interrupts = <GIC_SPI 234 IRQ_TYPE_LEVEL_HIGH>;
/* FIXME: LLCC Info */
/* cache-slice-names = "vidsc0", "vidsc1"; */
/* cache-slices = <&llcc 2>, <&llcc 3>; */
/* Supply */
cvp-supply = <&mvs1_gdsc>;
/* Clocks */
clock-names = "gcc_video_axi0",
"gcc_video_axi1", "cvp_clk";
clocks = <&clock_gcc GCC_VIDEO_AXI0_CLK>,
<&clock_gcc GCC_VIDEO_AXI1_CLK>,
<&clock_videocc VIDEO_CC_MVS1_CLK>;
qcom,proxy-clock-names = "gcc_video_axi0", "gcc_video_axi1",
"cvp_clk";
qcom,clock-configs = <0x0 0x0 0x1>;
qcom,allowed-clock-rates = <403000000 520000000
549000000 666000000 800000000>;
/* Buses */
bus_cnoc {
compatible = "qcom,msm-cvp,bus";
label = "cnoc";
qcom,bus-master = <MSM_BUS_MASTER_AMPSS_M0>;
qcom,bus-slave = <MSM_BUS_SLAVE_VENUS_CFG>;
qcom,bus-governor = "performance";
qcom,bus-range-kbps = <1000 1000>;
};
/* MMUs */
non_secure_cb {
compatible = "qcom,msm-cvp,context-bank";
label = "cvp_hlos";
iommus = <&apps_smmu 0x2120 0x400>;
qcom,iommu-dma = "disabled";
buffer-types = <0xfff>;
virtual-addr-pool = <0x4b000000 0xe0000000>;
};
/* Memory Heaps */
qcom,msm-cvp,mem_cdsp {
compatible = "qcom,msm-cvp,mem-cdsp";
memory-region = <&cdsp_mem>;
};
};

View File

@@ -0,0 +1,108 @@
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/msm-eva-cb.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
title: Qualcomm Technologies, Inc. MSM CVP CB
description: |
Second level nodes - Context Banks
properties:
compatible:
oneOf:
- items:
- enum:
- qcom,msm-cvp,context-bank
iommus:
description:
A phandle parsed by smmu driver. Number of entries will vary
label:
description:
string describing iommu domain usage.
buffer-types:
description:
bitmap of buffer types that can be mapped into the current IOMMU domain.
Buffer types are defined as the following
input = 0x1
output = 0x2
output2 = 0x4
extradata input = 0x8
extradata output = 0x10
extradata output2 = 0x20
internal scratch = 0x40
internal scratch1 = 0x80
internal scratch2 = 0x100
internal persist = 0x200
internal persist1 = 0x400
internal cmd queue = 0x800
virtual-addr-pool:
description:
offset and length of virtual address pool.
qcom,fw-context-bank:
description:
bool indicating firmware context bank.
qcom,secure-context-bank:
description:
bool indicating secure context bank.
required:
- compatible
- iommus
examples:
- |
msm_cvp: qcom,cvp@ab00000 {
compatible = "qcom,msm-cvp", "qcom,Lahaina-cvp";
status = "ok";
reg = <0xab00000 0x100000>;
interrupts = <GIC_SPI 234 IRQ_TYPE_LEVEL_HIGH>;
/* FIXME: LLCC Info */
/* cache-slice-names = "vidsc0", "vidsc1"; */
/* cache-slices = <&llcc 2>, <&llcc 3>; */
/* Supply */
cvp-supply = <&mvs1_gdsc>;
/* Clocks */
clock-names = "gcc_video_axi0",
"gcc_video_axi1", "cvp_clk";
clocks = <&clock_gcc GCC_VIDEO_AXI0_CLK>,
<&clock_gcc GCC_VIDEO_AXI1_CLK>,
<&clock_videocc VIDEO_CC_MVS1_CLK>;
qcom,proxy-clock-names = "gcc_video_axi0", "gcc_video_axi1",
"cvp_clk";
qcom,clock-configs = <0x0 0x0 0x1>;
qcom,allowed-clock-rates = <403000000 520000000
549000000 666000000 800000000>;
/* Buses */
bus_cnoc {
compatible = "qcom,msm-cvp,bus";
label = "cnoc";
qcom,bus-master = <MSM_BUS_MASTER_AMPSS_M0>;
qcom,bus-slave = <MSM_BUS_SLAVE_VENUS_CFG>;
qcom,bus-governor = "performance";
qcom,bus-range-kbps = <1000 1000>;
};
/* MMUs */
non_secure_cb {
compatible = "qcom,msm-cvp,context-bank";
label = "cvp_hlos";
iommus = <&apps_smmu 0x2120 0x400>;
qcom,iommu-dma = "disabled";
buffer-types = <0xfff>;
virtual-addr-pool = <0x4b000000 0xe0000000>;
};
/* Memory Heaps */
qcom,msm-cvp,mem_cdsp {
compatible = "qcom,msm-cvp,mem-cdsp";
memory-region = <&cdsp_mem>;
};
};

View File

@@ -0,0 +1,79 @@
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/msm-eva-heap.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
title: Qualcomm Technologies, Inc. MSM CVP HEAP
description: |
Second level nodes - Memory Heaps
properties:
compatible:
oneOf:
- items:
- enum:
- qcom,msm-vidc,mem-cdsp
memory-region:
description:
phandle to the memory heap/region.
required:
- compatible
- memory-region
examples:
- |
msm_cvp: qcom,cvp@ab00000 {
compatible = "qcom,msm-cvp", "qcom,Lahaina-cvp";
status = "ok";
reg = <0xab00000 0x100000>;
interrupts = <GIC_SPI 234 IRQ_TYPE_LEVEL_HIGH>;
/* FIXME: LLCC Info */
/* cache-slice-names = "vidsc0", "vidsc1"; */
/* cache-slices = <&llcc 2>, <&llcc 3>; */
/* Supply */
cvp-supply = <&mvs1_gdsc>;
/* Clocks */
clock-names = "gcc_video_axi0",
"gcc_video_axi1", "cvp_clk";
clocks = <&clock_gcc GCC_VIDEO_AXI0_CLK>,
<&clock_gcc GCC_VIDEO_AXI1_CLK>,
<&clock_videocc VIDEO_CC_MVS1_CLK>;
qcom,proxy-clock-names = "gcc_video_axi0", "gcc_video_axi1",
"cvp_clk";
qcom,clock-configs = <0x0 0x0 0x1>;
qcom,allowed-clock-rates = <403000000 520000000
549000000 666000000 800000000>;
/* Buses */
bus_cnoc {
compatible = "qcom,msm-cvp,bus";
label = "cnoc";
qcom,bus-master = <MSM_BUS_MASTER_AMPSS_M0>;
qcom,bus-slave = <MSM_BUS_SLAVE_VENUS_CFG>;
qcom,bus-governor = "performance";
qcom,bus-range-kbps = <1000 1000>;
};
/* MMUs */
non_secure_cb {
compatible = "qcom,msm-cvp,context-bank";
label = "cvp_hlos";
iommus = <&apps_smmu 0x2120 0x400>;
qcom,iommu-dma = "disabled";
buffer-types = <0xfff>;
virtual-addr-pool = <0x4b000000 0xe0000000>;
};
/* Memory Heaps */
qcom,msm-cvp,mem_cdsp {
compatible = "qcom,msm-cvp,mem-cdsp";
memory-region = <&cdsp_mem>;
};
};

View File

@@ -0,0 +1,125 @@
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/msm-eva.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
title: Qualcomm Technologies, Inc. MSM CVP
description: |
Root level node - cvp
properties:
# A dictionary of DT properties for this binding schema
compatible:
oneOf:
- items:
- enum:
- qcom,msm-cvp
- qcom,sun-cvp
- qcom,pineapple-cvp
- qcom,kalama-cvp
- qcom,waipio-cvp
- qcom,lahaina-cvp
- qcom,kona-cvp
reg:
description:
offset and length of the CSR register set for the device.
interrupts:
description:
should contain the cvp interrupt.
qcom,reg-presets:
description:
list of offset-value pairs for registers to be written.
The offsets are from the base offset specified in 'reg'. This is mainly
used for QoS, VBIF, etc. presets for video.
qcom,qdss-presets:
description:
list of physical address and memory allocation size pairs.
when fw_debug_mode is set as HFI_DEBUG_MODE_QDSS, all firmware
messages will be written to QDSS memory.
*-supply:
description:
A phandle pointing to the appropriate regulator. Number of
regulators vary across targets.
clock-names:
description:
an array of clocks that the driver is supposed to be
manipulating. The clocks names here correspond to the clock names
used in clk_get(<name>).
qcom,clock-configs:
description:
an array of bitmaps of clocks' configurations. The index of the
bitmap corresponds to the clock at the same index in qcom,clock-names.
The bitmaps describes the actions that the device needs to take
regarding the clock (i.e. scale it based on load).
The bitmap is defined as scalable = 0x1
(if the driver should vary the clock's frequency based on load)
qcom,allowed-clock-rates:
description:
an array of supported clock rates by the chipset.
qcom,use-non-secure-pil:
description:
A bool indicating which type of pil to use to load the fw.
qcom,fw-bias:
description:
The address at which cvp fw is loaded (manually).
required:
- compatible
examples:
- |
msm_cvp: qcom,cvp@ab00000 {
compatible = "qcom,msm-cvp", "qcom,Lahaina-cvp";
status = "ok";
reg = <0xab00000 0x100000>;
interrupts = <GIC_SPI 234 IRQ_TYPE_LEVEL_HIGH>;
/* FIXME: LLCC Info */
/* cache-slice-names = "vidsc0", "vidsc1"; */
/* cache-slices = <&llcc 2>, <&llcc 3>; */
/* Supply */
cvp-supply = <&mvs1_gdsc>;
/* Clocks */
clock-names = "gcc_video_axi0",
"gcc_video_axi1", "cvp_clk";
clocks = <&clock_gcc GCC_VIDEO_AXI0_CLK>,
<&clock_gcc GCC_VIDEO_AXI1_CLK>,
<&clock_videocc VIDEO_CC_MVS1_CLK>;
qcom,proxy-clock-names = "gcc_video_axi0", "gcc_video_axi1",
"cvp_clk";
qcom,clock-configs = <0x0 0x0 0x1>;
qcom,allowed-clock-rates = <403000000 520000000
549000000 666000000 800000000>;
/* Buses */
bus_cnoc {
compatible = "qcom,msm-cvp,bus";
label = "cnoc";
qcom,bus-master = <MSM_BUS_MASTER_AMPSS_M0>;
qcom,bus-slave = <MSM_BUS_SLAVE_VENUS_CFG>;
qcom,bus-governor = "performance";
qcom,bus-range-kbps = <1000 1000>;
};
/* MMUs */
non_secure_cb {
compatible = "qcom,msm-cvp,context-bank";
label = "cvp_hlos";
iommus = <&apps_smmu 0x2120 0x400>;
qcom,iommu-dma = "disabled";
buffer-types = <0xfff>;
virtual-addr-pool = <0x4b000000 0xe0000000>;
};
/* Memory Heaps */
qcom,msm-cvp,mem_cdsp {
compatible = "qcom,msm-cvp,mem-cdsp";
memory-region = <&cdsp_mem>;
};
};

View File

@@ -0,0 +1,22 @@
// SPDX-License-Identifier: BSD-3-Clause
/*
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
*/
/dts-v1/;
/plugin/;
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/soc/qcom,ipcc.h>
#include <dt-bindings/interconnect/qcom,pineapple.h>
#include <dt-bindings/clock/qcom,videocc-pineapple.h>
#include <dt-bindings/clock/qcom,gcc-pineapple.h>
#include <dt-bindings/arm/msm/qti-smmu-proxy-dt-ids.h>
#include "pineapple-eva.dtsi"
/ {
model = "Qualcomm Technologies, Inc. pineapple v1,v2 SoC";
compatible = "qcom,pineapple";
qcom,msm-id = <557 0x10000>, <557 0x20000>;
qcom,board-id = <0 0>, <15 0>, <8 0>, <11 0>, <1 0>;
};

140
qcom/eva/pineapple-eva.dtsi Normal file
View File

@@ -0,0 +1,140 @@
// SPDX-License-Identifier: BSD-3-Clause
/*
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
*/
&soc {
msm_cvp: qcom,cvp@ab00000 {
compatible = "qcom,msm-cvp", "qcom,pineapple-cvp";
status = "ok";
reg = <0xab00000 0x100000>;
interrupts = <GIC_SPI 234 IRQ_TYPE_LEVEL_HIGH>, <GIC_SPI 235 IRQ_TYPE_LEVEL_HIGH>;
/* LLCC Cache */
cache-slice-names = "cvp";
/* Supply */
cvp-supply = <&video_cc_mvs1c_gdsc>;
cvp-core-supply = <&video_cc_mvs1_gdsc>;
/* Clocks */
clock-names = "gcc_video_axi1", "sleep_clk", "cvp_clk", "core_clk",
"video_cc_mvs1_clk_src";
clock-ids = <GCC_VIDEO_AXI1_CLK VIDEO_CC_SLEEP_CLK VIDEO_CC_MVS1C_CLK
VIDEO_CC_MVS1_CLK VIDEO_CC_MVS1_CLK_SRC>;
clocks = <&gcc GCC_VIDEO_AXI1_CLK>,
<&videocc VIDEO_CC_SLEEP_CLK>,
<&videocc VIDEO_CC_MVS1C_CLK>,
<&videocc VIDEO_CC_MVS1_CLK>,
<&videocc VIDEO_CC_MVS1_CLK_SRC>;
qcom,proxy-clock-names = "gcc_video_axi1", "sleep_clk",
"cvp_clk", "core_clk", "video_cc_mvs1_clk_src";
qcom,clock-configs = <0x0 0x0 0x0 0x0 0x1>;
qcom,allowed-clock-rates = <350000000 450000000 500000000 550000000>;
resets = <&gcc GCC_VIDEO_AXI1_CLK_ARES>,
<&videocc VIDEO_CC_XO_CLK_ARES>,
<&videocc VIDEO_CC_MVS1C_CLK_ARES>;
reset-names = "cvp_axi_reset", "cvp_xo_reset","cvp_core_reset";
reset-power-status = <0x0 0x1 0x0>;
qcom,reg-presets = <0xB0088 0x0>;
qcom,ipcc-reg = <0x400000 0x100000>;
qcom,gcc-reg = <0x110000 0x40000>;
pas-id = <26>;
memory-region = <&cvp_mem>;
/* UC region mapping */
ipclite_mappings = <0xFE500000 0x100000 0x82600000>;
/* DEVICE mapping */
aon_timer_mappings = <0xFFA00000 0x1000 0xc220000>;
/* DEVICE mapping */
hwmutex_mappings = <0xFFB00000 0x2000 0x1f4a000>;
/* DEVICE mapping */
aon_mappings = <0xFF80F000 0x1000 0x0ABE0000>;
/* CVP Firmware ELF image name */
cvp,firmware-name = "evass";
/* Buses */
cvp_cnoc {
compatible = "qcom,msm-cvp,bus";
qcom,bus-governor = "performance";
qcom,bus-range-kbps = <1000 1000>;
interconnects = <&gem_noc MASTER_APPSS_PROC &config_noc SLAVE_VENUS_CFG>;
interconnect-names = "eva-cfg";
};
cvp_bus_ddr {
compatible = "qcom,msm-cvp,bus";
qcom,bus-governor = "performance";
qcom,bus-range-kbps = <1000 6533000>;
interconnects = <&mmss_noc MASTER_VIDEO_PROC &mc_virt SLAVE_EBI1>;
interconnect-names = "eva-ddr";
};
/* MMUs */
/* Camera cb is used to get secure camera buffer IPA */
cvp_camera_cb {
compatible = "qcom,msm-cvp,context-bank";
label = "cvp_camera";
buffer-types = <0xfff>;
qti,smmu-proxy-cb-id = <QTI_SMMU_PROXY_EVA_CB>;
};
non_secure_cb_group: cvp_non_secure_cb_group {
qcom,iommu-dma-addr-pool = <0x4b000000 0x90000000>;
qcom,iommu-faults = "non-fatal";
};
cvp_non_secure_cb {
compatible = "qcom,msm-cvp,context-bank";
label = "cvp_hlos";
iommus =
<&apps_smmu 0x1920 0x0000>;
buffer-types = <0xfff>;
dma-coherent;
qcom,iommu-group = <&non_secure_cb_group>;
};
cvp_secure_nonpixel_cb {
compatible = "qcom,msm-cvp,context-bank";
label = "cvp_sec_nonpixel";
iommus =
<&apps_smmu 0x1924 0x0000>;
buffer-types = <0x741>;
qcom,iommu-faults = "non-fatal";
qcom,iommu-dma-addr-pool = <0x01000000 0x25800000>;
qcom,iommu-vmid = <0xB>;
};
cvp_secure_pixel_cb {
compatible = "qcom,msm-cvp,context-bank";
label = "cvp_sec_pixel";
iommus =
<&apps_smmu 0x1923 0x0000>;
buffer-types = <0x106>;
qcom,iommu-faults = "non-fatal";
qcom,iommu-dma-addr-pool = <0x26800000 0x24800000>;
qcom,iommu-vmid = <0xA>;
};
cvp_dsp_cb {
compatible = "qcom,msm-cvp,context-bank";
label = "cvp_dsp";
iommus =
<&apps_smmu 0x1920 0x0000>;
buffer-types = <0xfff>;
qcom,iommu-group = <&non_secure_cb_group>;
};
/* Memory Heaps */
qcom,msm-cvp,mem_cdsp {
compatible = "qcom,msm-cvp,mem-cdsp";
memory-region = <&cdsp_eva_mem>;
};
};
};

23
qcom/eva/sun-eva-v2.dts Normal file
View File

@@ -0,0 +1,23 @@
// SPDX-License-Identifier: BSD-3-Clause
/*
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
*/
/dts-v1/;
/plugin/;
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/soc/qcom,ipcc.h>
#include <dt-bindings/interconnect/qcom,sun.h>
#include <dt-bindings/clock/qcom,videocc-sun.h>
#include <dt-bindings/clock/qcom,gcc-sun.h>
#include <dt-bindings/clock/qcom,evacc-sun.h>
#include <dt-bindings/arm/msm/qti-smmu-proxy-dt-ids.h>
#include "sun-eva-v2.dtsi"
/ {
model = "Qualcomm Technologies, Inc. Sun v2 SoC";
compatible = "qcom,sun";
qcom,msm-id = <618 0x20000>, <639 0x20000>, <0x100026a 0x20000>, <0x100027f 0x20000>;
qcom,board-id = <0 0>, <15 0>, <8 0>, <11 0>, <1 0>;
};

12
qcom/eva/sun-eva-v2.dtsi Normal file
View File

@@ -0,0 +1,12 @@
// SPDX-License-Identifier: BSD-3-Clause
/*
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
*/
#include "sun-eva.dtsi"
&msm_cvp {
qcom,allowed-clock-rates = <350000000 400000000 450000000 500000000 550000000>;
soc_ver = <0x20000>;
};

23
qcom/eva/sun-eva.dts Normal file
View File

@@ -0,0 +1,23 @@
// SPDX-License-Identifier: BSD-3-Clause
/*
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
*/
/dts-v1/;
/plugin/;
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/soc/qcom,ipcc.h>
#include <dt-bindings/interconnect/qcom,sun.h>
#include <dt-bindings/clock/qcom,videocc-sun.h>
#include <dt-bindings/clock/qcom,gcc-sun.h>
#include <dt-bindings/clock/qcom,evacc-sun.h>
#include <dt-bindings/arm/msm/qti-smmu-proxy-dt-ids.h>
#include "sun-eva.dtsi"
/ {
model = "Qualcomm Technologies, Inc. sun v1 SoC";
compatible = "qcom,sun";
qcom,msm-id = <618 0x10000>, <639 0x10000>, <0x100026a 0x10000>, <0x100027f 0x10000>;
qcom,board-id = <0 0>, <15 0>, <8 0>, <11 0>, <1 0>;
};

151
qcom/eva/sun-eva.dtsi Normal file
View File

@@ -0,0 +1,151 @@
// SPDX-License-Identifier: BSD-3-Clause
/*
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
*/
&soc {
msm_cvp: qcom,cvp@ab00000 {
compatible = "qcom,msm-cvp", "qcom,sun-cvp";
status = "ok";
reg = <0xab00000 0x100000>;
interrupts = <GIC_SPI 94 IRQ_TYPE_LEVEL_HIGH>, <GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>;
/* LLCC Cache */
cache-slice-names = "cvpfw", "cvp";
/* Supply */
cvp-supply = <&eva_cc_mvs0c_gdsc>;
cvp-core-supply = <&eva_cc_mvs0_gdsc>;
/* Clocks */
clock-names = "cvp_axi_clock", "core_axi_clock", "sleep_clk", "cvp_freerun_clk", "core_freerun_clk",
"cvp_clk", "core_clk","eva_cc_mvs0_clk_src";
clock-ids = <GCC_EVA_AXI0C_CLK GCC_EVA_AXI0_CLK EVA_CC_SLEEP_CLK EVA_CC_MVS0C_FREERUN_CLK EVA_CC_MVS0_FREERUN_CLK EVA_CC_MVS0C_CLK
EVA_CC_MVS0_CLK EVA_CC_MVS0_CLK_SRC>;
clocks = <&gcc GCC_EVA_AXI0C_CLK>,
<&gcc GCC_EVA_AXI0_CLK>,
<&evacc EVA_CC_SLEEP_CLK>,
<&evacc EVA_CC_MVS0C_FREERUN_CLK>,
<&evacc EVA_CC_MVS0_FREERUN_CLK>,
<&evacc EVA_CC_MVS0C_CLK>,
<&evacc EVA_CC_MVS0_CLK>,
<&evacc EVA_CC_MVS0_CLK_SRC>;
qcom,proxy-clock-names = "cvp_axi_clock", "core_axi_clock", "sleep_clk", "cvp_freerun_clk", "core_freerun_clk",
"cvp_clk", "core_clk", "eva_cc_mvs0_clk_src";
qcom,clock-configs = <0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x1>;
qcom,allowed-clock-rates = <350000000 400000000 450000000 500000000 550000000>;
/*To be added - GCC_EVA CLK_ARES and GCC_EVA_AXI0C_CLK_ARES*/
resets = <&evacc EVA_CC_MVS0C_CLK_ARES>;
reset-names = "cvp_core_reset";
reset-power-status = <0x0>;
qcom,reg-presets = <0xB0088 0x0>;
qcom,ipcc-reg = <0x400000 0x100000>;
qcom,gcc-reg = <0x110000 0x90000>;
pas-id = <26>;
soc_ver = <0x10000>;
memory-region = <&cvp_mem>;
/* UC region mapping */
ipclite_mappings = <0xFE500000 0x100000 0x82600000>;
/* DEVICE mapping */
aon_timer_mappings = <0xFFA00000 0x1000 0xc220000>;
/* DEVICE mapping */
hwmutex_mappings = <0xFFB00000 0x2000 0x1f4a000>;
/* DEVICE mapping */
aon_mappings = <0xFF80F000 0x1000 0x0ABE0000>;
/* CVP Firmware ELF image name */
cvp,firmware-name = "evass";
/* Buses */
cvp_cnoc {
compatible = "qcom,msm-cvp,bus";
qcom,bus-governor = "performance";
qcom,bus-range-kbps = <1000 1000>;
interconnects = <&gem_noc MASTER_APPSS_PROC &config_noc SLAVE_EVA_CFG>;
interconnect-names = "eva-cfg";
};
cvp_bus_ddr {
compatible = "qcom,msm-cvp,bus";
qcom,bus-governor = "performance";
qcom,bus-range-kbps = <1000 6533000>;
interconnects = <&mmss_noc MASTER_VIDEO_EVA &mc_virt SLAVE_EBI1>;
interconnect-names = "eva-ddr";
};
/* MMUs */
/* Camera cb is used to get secure camera buffer IPA */
cvp_camera_cb {
compatible = "qcom,msm-cvp,context-bank";
label = "cvp_camera";
buffer-types = <0xfff>;
qti,smmu-proxy-cb-id = <QTI_SMMU_PROXY_EVA_CB>;
};
non_secure_cb_group: cvp_non_secure_cb_group {
qcom,iommu-faults = "non-fatal";
};
cvp_iommu_region_partition: cvp_iommu_region_partition {
/* These IOVA regions are unique per context bank */
iommu-addresses = <&cvp_non_secure_cb 0x0 0x4b000000>, <&cvp_non_secure_cb 0xdb000000 0x25000000>,
<&cvp_dsp_cb 0x0 0x4b000000>, <&cvp_dsp_cb 0xdb000000 0x25000000>,
<&cvp_secure_nonpixel_cb 0x0 0x01000000>, <&cvp_secure_nonpixel_cb 0x26800000 0xd9800000>,
<&cvp_secure_pixel_cb 0x0 0x26800000>, <&cvp_secure_pixel_cb 0x4b000000 0xb5000000>;
};
cvp_non_secure_cb: cvp_non_secure_cb {
compatible = "qcom,msm-cvp,context-bank";
label = "cvp_hlos";
iommus =
<&apps_smmu 0x1920 0x0020>;
buffer-types = <0xfff>;
dma-coherent;
qcom,iommu-group = <&non_secure_cb_group>;
memory-region = <&cvp_iommu_region_partition>;
};
cvp_secure_nonpixel_cb: cvp_secure_nonpixel_cb {
compatible = "qcom,msm-cvp,context-bank";
label = "cvp_sec_nonpixel";
iommus =
<&apps_smmu 0x1924 0x0020>;
buffer-types = <0x741>;
qcom,iommu-faults = "non-fatal";
memory-region = <&cvp_iommu_region_partition>;
qcom,iommu-vmid = <0xB>;
};
cvp_secure_pixel_cb: cvp_secure_pixel_cb {
compatible = "qcom,msm-cvp,context-bank";
label = "cvp_sec_pixel";
iommus =
<&apps_smmu 0x1923 0x0000>;
buffer-types = <0x106>;
qcom,iommu-faults = "non-fatal";
memory-region = <&cvp_iommu_region_partition>;
qcom,iommu-vmid = <0xA>;
};
cvp_dsp_cb: cvp_dsp_cb {
compatible = "qcom,msm-cvp,context-bank";
label = "cvp_dsp";
iommus =
<&apps_smmu 0x1920 0x0020>;
buffer-types = <0xfff>;
qcom,iommu-group = <&non_secure_cb_group>;
memory-region = <&cvp_iommu_region_partition>;
};
/* Memory Heaps */
qcom,msm-cvp,mem_cdsp {
compatible = "qcom,msm-cvp,mem-cdsp";
memory-region = <&cdsp_eva_mem>;
};
};
};

View File

@@ -0,0 +1,21 @@
// SPDX-License-Identifier: BSD-3-Clause
/*
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
*/
/dts-v1/;
/plugin/;
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/soc/qcom,ipcc.h>
#include <dt-bindings/interconnect/qcom,kalama.h>
#include <dt-bindings/clock/qcom,videocc-kalama.h>
#include <dt-bindings/clock/qcom,gcc-kalama.h>
#include "trustedvm-kalama-eva.dtsi"
/ {
model = "Qualcomm Technologies, Inc. Kalama MTP";
compatible = "qcom,kalama-mtp", "qcom,kalama", "qcom,mtp";
qcom,msm-id = <519 0x10000>, <536 0x10000>;
qcom,board-id = <0x10008 0>;
};

View File

@@ -0,0 +1,21 @@
// SPDX-License-Identifier: BSD-3-Clause
/*
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
*/
/dts-v1/;
/plugin/;
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/soc/qcom,ipcc.h>
#include <dt-bindings/interconnect/qcom,kalama.h>
#include <dt-bindings/clock/qcom,videocc-kalama.h>
#include <dt-bindings/clock/qcom,gcc-kalama.h>
#include "trustedvm-kalama-eva.dtsi"
/ {
model = "Qualcomm Technologies, Inc. Kalama QRD";
compatible = "qcom,kalama-qrd", "qcom,kalama", "qcom,qrd";
qcom,msm-id = <519 0x10000>, <536 0x10000>;
qcom,board-id = <0x1000B 0>;
};

View File

@@ -0,0 +1,11 @@
// SPDX-License-Identifier: BSD-3-Clause
/*
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
*/
&soc {
msm_cvp: qcom,cvp@ab00000 {
compatible = "qcom,msm-cvp", "qcom,kalama-cvp-tvm";
status = "ok";
};
};

23
qcom/eva/tuna-eva.dts Normal file
View File

@@ -0,0 +1,23 @@
// SPDX-License-Identifier: BSD-3-Clause
/*
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
*/
/dts-v1/;
/plugin/;
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/soc/qcom,ipcc.h>
#include <dt-bindings/interconnect/qcom,tuna.h>
#include <dt-bindings/clock/qcom,videocc-tuna.h>
#include <dt-bindings/clock/qcom,gcc-tuna.h>
#include <dt-bindings/clock/qcom,evacc-tuna.h>
#include <dt-bindings/arm/msm/qti-smmu-proxy-dt-ids.h>
#include "tuna-eva.dtsi"
/ {
model = "Qualcomm Technologies, Inc. Tuna";
compatible = "qcom,tuna";
qcom,msm-id = <655 0x10000>, <681 0x10000>, <694 0x10000>;
qcom,board-id = <0 0>, <15 0>;
};

153
qcom/eva/tuna-eva.dtsi Normal file
View File

@@ -0,0 +1,153 @@
// SPDX-License-Identifier: BSD-3-Clause
/*
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
*/
&soc {
msm_cvp: qcom,cvp@ab00000 {
compatible = "qcom,msm-cvp", "qcom,tuna-cvp";
status = "ok";
reg = <0xab00000 0x100000>;
interrupts = <GIC_SPI 94 IRQ_TYPE_LEVEL_HIGH>, <GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>;
/* Supply */
cvp-supply = <&eva_cc_mvs0c_gdsc>;
cvp-core-supply = <&eva_cc_mvs0_gdsc>;
/* Clocks */
clock-names = "cvp_axi_clock", "core_axi_clock", "sleep_clk", "cvp_freerun_clk",
"core_freerun_clk", "cvp_clk", "core_clk","eva_cc_mvs0_clk_src";
clock-ids = <GCC_EVA_AXI0C_CLK GCC_EVA_AXI0_CLK EVA_CC_SLEEP_CLK
EVA_CC_MVS0C_FREERUN_CLK EVA_CC_MVS0_FREERUN_CLK EVA_CC_MVS0C_CLK
EVA_CC_MVS0_CLK EVA_CC_MVS0_CLK_SRC>;
clocks = <&gcc GCC_EVA_AXI0C_CLK>,
<&gcc GCC_EVA_AXI0_CLK>,
<&evacc EVA_CC_SLEEP_CLK>,
<&evacc EVA_CC_MVS0C_FREERUN_CLK>,
<&evacc EVA_CC_MVS0_FREERUN_CLK>,
<&evacc EVA_CC_MVS0C_CLK>,
<&evacc EVA_CC_MVS0_CLK>,
<&evacc EVA_CC_MVS0_CLK_SRC>;
qcom,proxy-clock-names = "cvp_axi_clock", "core_axi_clock", "sleep_clk",
"cvp_freerun_clk", "core_freerun_clk", "cvp_clk",
"core_clk", "eva_cc_mvs0_clk_src";
qcom,clock-configs = <0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x1>;
qcom,allowed-clock-rates = <280000000 350000000 450000000 500000000 550000000>;
/*To be added - GCC_EVA CLK_ARES and GCC_EVA_AXI0C_CLK_ARES*/
resets = <&evacc EVA_CC_MVS0C_CLK_ARES>;
reset-names = "cvp_core_reset";
reset-power-status = <0x0>;
qcom,reg-presets = <0xB0088 0x0>;
qcom,ipcc-reg = <0x400000 0x100000>;
qcom,gcc-reg = <0x110000 0x90000>;
pas-id = <26>;
soc_ver = <0x10000>;
memory-region = <&cvp_mem>;
/* UC region mapping */
ipclite_mappings = <0xFE500000 0x100000 0x82600000>;
/* DEVICE mapping */
aon_timer_mappings = <0xFFA00000 0x1000 0xc220000>;
/* DEVICE mapping */
hwmutex_mappings = <0xFFB00000 0x2000 0x1f4a000>;
/* DEVICE mapping */
aon_mappings = <0xFF80F000 0x1000 0x0ABE0000>;
/* CVP Firmware ELF image name */
cvp,firmware-name = "evass";
/* Buses */
cvp_cnoc {
compatible = "qcom,msm-cvp,bus";
qcom,bus-governor = "performance";
qcom,bus-range-kbps = <1000 1000>;
interconnects = <&gem_noc MASTER_APPSS_PROC &config_noc SLAVE_EVA_CFG>;
interconnect-names = "eva-cfg";
};
cvp_bus_ddr {
compatible = "qcom,msm-cvp,bus";
qcom,bus-governor = "performance";
qcom,bus-range-kbps = <1000 6533000>;
interconnects = <&mmss_noc MASTER_VIDEO_EVA &mc_virt SLAVE_EBI1>;
interconnect-names = "eva-ddr";
};
/* MMUs */
/* Camera cb is used to get secure camera buffer IPA */
cvp_camera_cb {
compatible = "qcom,msm-cvp,context-bank";
label = "cvp_camera";
buffer-types = <0xfff>;
qti,smmu-proxy-cb-id = <QTI_SMMU_PROXY_EVA_CB>;
};
non_secure_cb_group: cvp_non_secure_cb_group {
qcom,iommu-faults = "non-fatal";
};
cvp_iommu_region_partition: cvp_iommu_region_partition {
/* These IOVA regions are unique per context bank */
iommu-addresses = <&cvp_non_secure_cb 0x0 0x4b000000>,
<&cvp_non_secure_cb 0xdb000000 0x25000000>,
<&cvp_dsp_cb 0x0 0x4b000000>, <&cvp_dsp_cb 0xdb000000 0x25000000>,
<&cvp_secure_nonpixel_cb 0x0 0x01000000>,
<&cvp_secure_nonpixel_cb 0x26800000 0xd9800000>,
<&cvp_secure_pixel_cb 0x0 0x26800000>,
<&cvp_secure_pixel_cb 0x4b000000 0xb5000000>;
};
cvp_non_secure_cb: cvp_non_secure_cb {
compatible = "qcom,msm-cvp,context-bank";
label = "cvp_hlos";
iommus =
<&apps_smmu 0x1920 0x0020>;
buffer-types = <0xfff>;
dma-coherent;
qcom,iommu-group = <&non_secure_cb_group>;
memory-region = <&cvp_iommu_region_partition>;
};
cvp_secure_nonpixel_cb: cvp_secure_nonpixel_cb {
compatible = "qcom,msm-cvp,context-bank";
label = "cvp_sec_nonpixel";
iommus =
<&apps_smmu 0x1924 0x0020>;
buffer-types = <0x741>;
qcom,iommu-faults = "non-fatal";
memory-region = <&cvp_iommu_region_partition>;
qcom,iommu-vmid = <0xB>;
};
cvp_secure_pixel_cb: cvp_secure_pixel_cb {
compatible = "qcom,msm-cvp,context-bank";
label = "cvp_sec_pixel";
iommus =
<&apps_smmu 0x1923 0x0000>;
buffer-types = <0x106>;
qcom,iommu-faults = "non-fatal";
memory-region = <&cvp_iommu_region_partition>;
qcom,iommu-vmid = <0xA>;
};
cvp_dsp_cb: cvp_dsp_cb {
compatible = "qcom,msm-cvp,context-bank";
label = "cvp_dsp";
iommus =
<&apps_smmu 0x1920 0x0020>;
buffer-types = <0xfff>;
qcom,iommu-group = <&non_secure_cb_group>;
memory-region = <&cvp_iommu_region_partition>;
};
/* Memory Heaps */
qcom,msm-cvp,mem_cdsp {
compatible = "qcom,msm-cvp,mem-cdsp";
memory-region = <&cdsp_eva_mem>;
};
};
};

22
qcom/graphics/Kbuild Normal file
View File

@@ -0,0 +1,22 @@
ifeq ($(CONFIG_ARCH_PINEAPPLE), y)
dtbo-y += gpu/pineapple-gpu.dtbo \
gpu/pineapple-v2-gpu.dtbo
endif
ifeq ($(CONFIG_ARCH_SUN), y)
dtbo-y += gpu/sun-gpu.dtbo \
gpu/sun-v2-gpu.dtbo
endif
ifeq ($(CONFIG_ARCH_TUNA), y)
dtbo-y += gpu/tuna-gpu.dtbo \
gpu/tuna7-gpu.dtbo
endif
ifeq ($(CONFIG_ARCH_KERA), y)
dtbo-y += gpu/kera-gpu.dtbo
endif
always-y := $(dtb-y) $(dtbo-y)
subdir-y := $(dts-dirs)
clean-files := *.dtb *.dtbo

View File

@@ -0,0 +1,16 @@
Adreno bus monitor device
kgsl-busmon is a pseudo device that represents a devfreq bus bandwidth
governor. If this device is present then two different governors are used
for GPU DCVS and bus DCVS.
Required properties:
- compatible: Must be "qcom,kgsl-busmon"
- label: Device name used for sysfs entry.
Example:
qcom,kgsl-busmon {
compatible = "qcom,kgsl-busmon";
label = "kgsl-busmon";
};

View File

@@ -0,0 +1,116 @@
Qualcomm Technologies, Inc. GPU Graphics Management Unit (GMU)
Required properties:
- compatible :
- "qcom,gpu-gmu"
- "qcom,gpu-gmu-hwsched"
- "qcom,gpu-rgmu"
- "qcom,gen7-gmu"
- "qcom,gen7-gmu-hwsched"
- reg: Specifies the GMU register base address and size.
- reg-names: Resource names used for the physical address
and length of GMU registers.
- interrupts: Interrupt mapping for GMU and HFI IRQs.
- interrupt-names: String property to describe the name of each interrupt.
Bus Scaling Data:
qcom,msm-bus,name: String property to describe the name of bus client.
qcom,msm-bus,num-cases: This is the the number of Bus Scaling use cases defined in the vectors property.
qcom,msm-bus,num-paths: This represents the number of paths in each Bus Scaling Usecase.
qcom,msm-bus,vectors-KBps: A series of 4 cell properties, format of which is:
<src dst ab ib>, <src dst ab ib>, // For Bus Scaling Usecase 1
<src dst ab ib>, <src dst ab ib>, // For Bus Scaling Usecase 2
<.. .. .. ..>, <.. .. .. ..>; // For Bus Scaling Usecase n
This property is a series of all vectors for all Bus Scaling Usecases.
Each set of vectors for each usecase describes bandwidth votes for a combination
of src/dst ports. The driver will set the desired use case based on the selected
power level and the desired bandwidth vote will be registered for the port pairs.
GMU GDSC/regulators:
- regulator-names: List of regulator name strings
- vddcx-supply: Phandle for vddcx regulator device node.
- vdd-supply: Phandle for vdd regulator device node.
- clock: List of clocks to be used for GMU register access and DCVS. See
Documentation/devicetree/bindings/clock/clock-bindings.txt
for information about the format. For each clock specified
here, there must be a corresponding entry in clock-names
(see below).
- clock-names: List of clock names corresponding to the clocks specified in
the "clocks" property (above). See
Documentation/devicetree/bindings/clock/clock-bindings.txt
for more info. Currently GMU required these clock names:
"gmu_clk", "ahb_clk", "cxo_clk", "axi_clk", "memnoc_clk",
"rbcpr_clk"
- qcom,gmu-freq-table: List of frequencies the GMU clock can run at with their corresponding
voltage levels.
- List of sub nodes, one for each of the translation context banks needed
for GMU to access system memory in different operating mode. Currently
supported names are:
- gmu_user: used for GMU 'user' mode address space.
- gmu_kernel: used for GMU 'kernel' mode address space.
Each sub node has the following required properties:
- compatible : "qcom,smmu-gmu-user-cb" or "qcom,smmu-gmu-kernel-cb"
- iommus : Specifies the SID's used by this context bank, this
needs to be <kgsl_smmu SID> pair, kgsl_smmu is the string
parsed by iommu driver to match this context bank with the
kgsl_smmu device defined in iommu device tree. On targets
where the msm iommu driver is used rather than the arm smmu
driver, this property may be absent.
- qcom,ipc-core: <baseAddr size>
baseAddr - base address of the IPC region
size - size of the IPC region
- qcom,soccp-controller: Phandle of the soccp controller
Example:
gmu: qcom,gmu@2c6a000 {
label = "kgsl-gmu";
compatible = "qcom,gpu-gmu";
reg = <0x2c6a000 0x30000>;
reg-names = "kgsl_gmu_reg";
interrupts = <0 304 0>, <0 305 0>;
interrupt-names = "kgsl_gmu_irq", "kgsl_hfi_irq";
qcom,msm-bus,name = "cnoc";
qcom,msm-bus,num-cases = <2>;
qcom,msm-bus,num-paths = <1>;
qcom,msm-bus,vectors-KBps =
<26 10036 0 0>, // CNOC off
<26 10036 0 100>; // CNOC on
regulator-name = "vddcx", "vdd";
vddcx-supply = <&gpu_cx_gdsc>;
vdd-supply = <&gpu_gx_gdsc>;
clocks = <&clock_gpugcc clk_gcc_gmu_clk>,
<&clock_gcc GCC_GPU_CFG_AHB_CLK>,
<&clock_gpucc GPU_CC_CXO_CLK>,
<&clock_gcc GCC_DDRSS_GPU_AXI_CLK>,
<&clock_gcc GCC_GPU_MEMNOC_GFX_CLK>,
<&clock_gpucc GPU_CC_RBCPR_CLK>;
clock-names = "gmu_clk", "ahb_clk", "cxo_clk",
"axi_clk", "memnoc_clk", "rbcpr_clk";
qcom,gmu-freq-table = <200000000 RPMH_REGULATOR_LEVEL_LOW_SVS>,
<500000000 RPMH_REGULATOR_LEVEL_SVS>;
gmu_user: gmu_user {
compatible = "qcom,smmu-gmu-user-cb";
iommus = <&kgsl_smmu 4>;
};
gmu_kernel: gmu_kernel {
compatible = "qcom,smmu-gmu-kernel-cb";
iommus = <&kgsl_smmu 5>;
};
};

View File

@@ -0,0 +1,81 @@
Qualcomm Technologies, Inc. GPU IOMMU
Required properties:
Required properties:
- compatible : one of:
- "qcom,kgsl-smmu-v1"
- "qcom,kgsl-smmu-v2"
- reg : Base address and size of the SMMU.
- clocks : List of clocks to be used during SMMU register access. See
Documentation/devicetree/bindings/clock/clock-bindings.txt
for information about the format. For each clock specified
here, there must be a corresponding entry in clock-names
(see below).
- clock-names : List of clock names corresponding to the clocks specified in
the "clocks" property (above). See
Documentation/devicetree/bindings/clock/clock-bindings.txt
for more info.
- qcom,protect : The GPU register region which must be protected by a CP
protected mode. On some targets this region must cover
the entire SMMU register space, on others there
is a separate aperture for CP to program context banks.
Optional properties:
- qcom,retention : A boolean specifying if retention is supported on this target
- qcom,global_pt : A boolean specifying if global pagetable should be used.
When not set we use per process pagetables
- qcom,hyp_secure_alloc : A bool specifying if the hypervisor is used on this target
for secure buffer allocation
- List of sub nodes, one for each of the translation context banks supported.
The driver uses the names of these nodes to determine how they are used,
currently supported names are:
- gfx3d_user : Used for the 'normal' GPU address space.
- gfx3d_secure : Used for the content protection address space.
- gfx3d_secure_alt : Used for the content protection address space for alternative SID.
Each sub node has the following required properties:
- compatible : "qcom,smmu-kgsl-cb"
- iommus : Specifies the SID's used by this context bank, this needs to be
<kgsl_smmu SID> pair, kgsl_smmu is the string parsed by iommu
driver to match this context bank with the kgsl_smmu device
defined in iommu device tree. On targets where the msm iommu
driver is used rather than the arm smmu driver, this property
may be absent.
Example:
msm_iommu: qcom,kgsl-iommu@2ca0000 {
compatible = "qcom,kgsl-smmu-v2";
reg = <0x2ca0000 0x10000>;
qcom,protect = <0xa0000 0xc000>;
clocks = <&clock_mmss clk_gpu_ahb_clk>,
<&clock_gcc clk_gcc_mmss_bimc_gfx_clk>,
<&clock_mmss clk_mmss_mmagic_ahb_clk>,
<&clock_mmss clk_mmss_mmagic_cfg_ahb_clk>;
clock-names = "gpu_ahb_clk", "bimc_gfx_clk", "mmagic_ahb_clk", "mmagic_cfg_ahb_clk";
qcom,secure_align_mask = <0xfff>;
qcom,retention;
qcom,global_pt;
gfx3d_user: gfx3d_user {
compatible = "qcom,smmu-kgsl-cb";
iommus = <&kgsl_smmu 0>,
<&kgsl_smmu 1>;
};
gfx3d_secure: gfx3d_secure {
compatible = "qcom,smmu-kgsl-cb";
iommus = <&kgsl_smmu 2>;
};
gfx3d_secure_alt: gfx3d_secure_alt {
compatible = "qcom,smmu-kgsl-cb";
iommus = <&kgsl_smmu 2>, <&kgsl_smmu 1>;
};
};

View File

@@ -0,0 +1,94 @@
Qualcomm Technologies, Inc. GPU powerlevels
Powerlevels are defined in sets by qcom,gpu-pwrlevels. Multiple sets (bins)
can be defined within qcom,gpu-pwrelvel-bins. Each powerlevel defines a
voltage, bus, bandwidth level, and a DVM value.
- qcom,gpu-pwrlevel-bins: Contains one or more qcom,gpu-pwrlevels sets
Properties:
- compatible: Must be qcom,gpu-pwrlevel-bins
- qcom,gpu-pwrlevels: Defines a set of powerlevels
Properties:
- qcom,speed-bin: Speed bin identifier for the set - if present
must match the value read from the hardware
- qcom,sku-codes: List of SKU versions specified by P-Code and
Feature Code that can support this set of
powerlevels. An entry of 0 in this list matches
any SKU and can be used as a fallback if other
powerlevel sets are not matched
- qcom,initial-pwrlevel: GPU wakeup powerlevel
- qcom,initial-min-pwrlevel: Initial minimum available GPU powerlevel
- qcom,gpu-pwrlevel: A single powerlevel
- qcom,ca-target-pwrlevel:
This value indicates which qcom,gpu-pwrlevel
to jump on in case of context aware power level
jump.
Required Properties:
- reg: Index of the powerlevel (0 = highest perf)
- qcom,gpu-freq GPU frequency for the powerlevel (in Hz)
- qcom,bus-freq Index to a bus level (defined by the bus
settings).
- qcom,bus-freq-ddrX If specified, define the DDR specific bus
frequency for the power level. X will be the
return value from of_fdt_get_ddrtype().
Optional Properties:
- qcom,bus-min Minimum bus level to set for the power level
- qcom,bus-min-ddrX If specified, define the DDR specific minimum
bus level for the power level. X will be the
return value from of_fdt_get_ddrtype().
- qcom,bus-max maximum bus level to set for the power level
- qcom,bus-max-ddrX If specified, define the DDR specific maximum
bus level for the power level. X will be the
return value from of_fdt_get_ddrtype().
- qcom,acd-level: Value that is used as a register setting for
the ACD power feature. It helps to determine
the threshold for when ACD activates. Zero is
the default value, and the setting where ACD
will never activate.
- qcom,cx-level: Specifies the CX vote required for each GPU power
level.
Example:
qcom,gpu-pwrlevel@6 {
reg = <6>;
qcom,gpu-freq = <0>;
qcom,bus-freq = <0>;
qcom,bus-min = <0>;
qcom,bus-max = <0>;
qcom,acd-level = <0xffffffff>;
qcom,cx-level = <RPMH_REGULATOR_LEVEL_LOW_SVS>;
};
Example for DDR4/DDR5 specific part:
qcom,gpu-pwrlevel@6 {
reg = <6>;
qcom,gpu-freq = <480000000>;
qcom,cx-level = <RPMH_REGULATOR_LEVEL_SVS>;
/* DDR5 */
qcom,bus-freq-ddr8 = <10>;
qcom,bus-min-ddr8 = <9>;
qcom,bus-max-ddr8 = <11>;
/* DDR 4 */
qcom,bus-freq-ddr7 = <9>;
qcom,bus-min-ddr7 = <7>;
qcom,bus-max-ddr7 = <9>;
qcom,acd-level = <0xffffffff>;
};

View File

@@ -0,0 +1,540 @@
Qualcomm Technologies, Inc. GPU
Qualcomm Technologies, Inc. Adreno GPU
Required properties:
- compatible: Must be "qcom,kgsl-3d0".
May also includes "qcom,adreno-gpu-*" for few targets.
Must include "qcom,adreno-gpu-a619-holi" for Holi target.
Must include "qcom,adreno-gpu-a621" for Neo target.
Must include "qcom,adreno-gpu-a660-shima" for Shima target.
Must include "qcom,adreno-gpu-gen7-0-0" for Waipio target.
Must include "qcom,adreno-gpu-gen7-0-1" for Waipio V2 target.
Must include "qcom,adreno-gpu-gen7-2-0" for Kalama target.
Must include "qcom,adreno-gpu-gen7-2-1" for Kalama V2 target.
Must include "qcom,adreno-gpu-gen7-4-0" for Cape target.
Must include "qcom,adreno-gpu-gen7-3-0" for Parrot target.
Must include "qcom,adreno-gpu-gen7-9-0" for Pineapple target.
Must include "qcom,adreno-gpu-gen7-9-1" for Pineapple V2 target.
Must include "qcom,adreno-gpu-gen7-17-0" for Kera target.
Must include "qcom,adreno-gpu-gen8-6-0" for Tuna target.
- reg: Specifies the list of register regions for the device.
- reg-names: Resource names used for the register regions specified
in reg.
- interrupts: Interrupt mapping for GPU nterrupts.
- interrupt-names: String property to describe the names of the interrupts.
- qcom,gpu-bimc-interface-clk-freq:
GPU-BIMC interface clock needs to set to this value for
targets where B/W requirements does not meet GPU Turbo
use cases.
- clocks: List of phandle and clock specifier pairs, one pair
for each clock input to the device.
- clock-names: List of clock input name strings sorted in the same
order as the clocks property.
- qcom,base-leakage-coefficient: Dynamic leakage coefficient.
- qcom,lm-limit: Current limit for GPU limit management.
- qcom,isense-clk-on-level: below or equal this power level isense clock is at XO rate,
above this powerlevel isense clock is at working frequency.
Bus Scaling Data:
- qcom,gpu-bus-table: Defines a bus voting table with the below properties. Multiple sets of bus
voting tables can be defined for given platform based on the type of ddr system.
Properties:
- compatible: Must be "qcom,gpu-bus-table". Additionally, "qcom,gpu-bus-table-ddr" must also
be provided, with the ddr type value(integer) appended to the string.
- qcom,msm-bus,name: String property to describe the name of the 3D graphics processor.
- qcom,msm-bus,num-cases: This is the the number of Bus Scaling use cases defined in the vectors property.
- qcom,msm-bus,active-only: A boolean flag indicating if it is active only.
- qcom,msm-bus,num-paths: This represents the number of paths in each Bus Scaling Usecase.
- qcom,msm-bus,vectors-KBps: A series of 4 cell properties, format of which is:
<src dst ab ib>, <src dst ab ib>, // For Bus Scaling Usecase 1
<src dst ab ib>, <src dst ab ib>, // For Bus Scaling Usecase 2
<.. .. .. ..>, <.. .. .. ..>; // For Bus Scaling Usecase n
This property is a series of all vectors for all Bus Scaling Usecases.
Each set of vectors for each usecase describes bandwidth votes for a combination
of src/dst ports. The driver will set the desired use case based on the selected
power level and the desired bandwidth vote will be registered for the port pairs.
Current values of src are:
0 = MSM_BUS_MASTER_GRAPHICS_3D
1 = MSM_BUS_MASTER_GRAPHICS_3D_PORT1
2 = MSM_BUS_MASTER_V_OCMEM_GFX3D
Current values of dst are:
0 = MSM_BUS_SLAVE_EBI_CH0
1 = MSM_BUS_SLAVE_OCMEM
ab: Represents aggregated bandwidth. This value is 0 for Graphics.
ib: Represents instantaneous bandwidth. This value has a range <0 8000 MB/s>
- qcom,ocmem-bus-client: Container for another set of bus scaling properties
qcom,msm-bus,name
qcom,msm-bus,num-cases
qcom,msm-bus,num-paths
qcom,msm-bus,vectors-KBps
to be used by ocmem msm bus scaling client.
GDSC Oxili Regulators:
- regulator-names: List of regulator name strings sorted in power-on order
- vddcx-supply: Phandle for vddcx regulator device node.
- vdd-supply: Phandle for vdd regulator device node.
Power Domains:
- power-domains: List of PM domain specifiers that reference each power-domain
used by the GPU
- power-domain-names: List of names that represent each of the specifiers in the
'power-domains' property. Includes 'cx', 'gx' and 'gmu_cx'
which represent the power-domains for CX GDSC, GX GDSC and
GMU CX GDSC respectively.
IOMMU Data:
- iommu: Phandle for the KGSL IOMMU device node
GPU Power levels:
- qcom,gpu-pwrlevel-bins: Container for sets of GPU power levels (see
adreno-pwrlevels.txt)
DCVS Core info
- qcom,dcvs-core-info Container for the DCVS core info (see
dcvs-core-info.txt)
Optional Properties:
- qcom,initial-powerlevel: This value indicates which qcom,gpu-pwrlevel should be used at start time
and when coming back out of resume
- qcom,throttle-pwrlevel: This value indicates which qcom,gpu-pwrlevel LM throttling
may start to occur
- qcom,bus-control: Boolean. Enables an independent bus vote from the gpu frequency
- qcom,bus-width: Bus width in number of bytes. This enables dynamic AB bus voting based on
bus width and actual bus transactions.
- qcom,bus-accesses: Parameter for tuning bus dcvs.
- qcom,bus-accesses-ddrX: Parameter for tuning bus dcvs for each DDR configuration where
X will be the return value from of_fdt_get_ddrtype().
- qcom,gpubw-dev: a phandle to a device representing bus bandwidth requirements
(see devdw.txt)
- qcom,idle-timeout: This property represents the time in milliseconds for idle timeout.
- qcom,no-nap: If it exists software clockgating will be disabled at boot time.
- qcom,chipid: If it exists this property is used to replace
the chip identification read from the GPU hardware.
This is used to override faulty hardware readings.
- qcom,gpu-model: If it exists this property is used for GPU model name.
- qcom,vk-device-id: If it exists this property is used to specify vulkan device ID.
- qcom,disable-wake-on-touch: Boolean. Disables the GPU power up on a touch input event.
- qcom,disable-busy-time-burst:
Boolean. Disables the busy time burst to avoid switching
of power level for large frames based on the busy time limit.
- qcom,pm-qos-active-latency:
Right after GPU wakes up from sleep, driver votes for
acceptable maximum latency to the pm-qos driver. This
voting demands that the system can not go into any
power save state *if* the latency to bring system back
into active state is more than this value.
Value is in microseconds.
- qcom,pm-qos-wakeup-latency:
Similar to the above. Driver votes against deep low
power modes right before GPU wakes up from sleep.
- qcom,l2pc-cpu-mask-latency:
The CPU mask latency in microseconds to avoid L2PC
on masked CPUs.
- qcom,gpu-cx-ipeak:
CX Ipeak is a mitigation scheme which throttles cDSP frequency
if all the clients are running at their respective threshold
frequencies to limit CX peak current.
<phandle bit>
phandle - phandle of CX Ipeak device node
bit - Every bit corresponds to a client of CX Ipeak
driver in the relevant register.
- qcom, gpu-cx-ipeak-freq:
GPU frequency threshold for CX Ipeak voting. GPU votes
to CX Ipeak driver when GPU clock crosses this threshold.
CX Ipeak can limit peak current based on voting from other clients.
- qcom,force-32bit:
Force the GPU to use 32 bit data sizes even if
it is capable of doing 64 bit.
- qcom,gpu-speed-bin: GPU speed bin information in the format
<offset mask shift>
offset - offset of the efuse register from the base.
mask - mask for the relevant bits in the efuse register.
shift - number of bits to right shift to get the speed bin
value.
- qcom,gpu-disable-fuse: GPU disable fuse
<offset mask shift>
offset - offset of the efuse register from the base.
mask - mask for the relevant bits in the efuse register.
shift - number of bits to right shift to get the disable_gpu
fuse bit value.
- qcom,soc-hw-rev-efuse: SOC hardware revision fuse information in the format
<offset bit_position mask>
offset - offset of the efuse register from the base.
bit_position - hardware revision starting bit in the efuse register.
mask - mask for the relevant bits in the efuse register.
- qcom,highest-bank-bit:
Specify the bit of the highest DDR bank. This
is programmed into protected registers and also
passed to the user as a property.
- qcom,min-access-length:
Specify the minimum access length for the chip.
Either 32 or 64 bytes.
Based on the above options, program the appropriate bit into
certain protected registers and also pass to the user as
a property.
- qcom,ubwc-mode:
Specify the ubwc mode for this chip.
1: UBWC 1.0
2: UBWC 2.0
3: UBWC 3.0
4: UBWC 4.0
5: UBWC 5.0
Based on the ubwc mode, program the appropriate bit into
certain protected registers and also pass to the user as
a property.
- qcom,l2pc-cpu-mask:
Disables L2PC on masked CPUto the string.rendering thread is running on masked CPUs.
Bit 0 is for CPU-0, bit 1 is for CPU-1...
- qcom,l2pc-update-queue:
Disables L2PC on masked CPUs at queue time when it's true.
- qcom,snapshot-size:
Specify the size of snapshot in bytes. This will override
snapshot size defined in the driver code.
- qcom,enable-ca-jump:
Boolean. Enables use of context aware DCVS
- qcom,ca-busy-penalty:
This property represents the time in microseconds required to
initiate context aware power level jump.
- qcom,ca-target-pwrlevel:
This value indicates which qcom,gpu-pwrlevel to jump on in case
of context aware power level jump.
- qcom,gpu-qdss-stm:
<baseAddr size>
baseAddr - base address of the gpu channels in the qdss stm memory region
size - size of the gpu stm region
- qcom,gpu-timer:
<baseAddr size>
baseAddr - base address of the qtimer memory region
size - size of the qtimer region
- qcom,tzone-names:
Specify the names of GPU thermal zones. These will be used
to get gpu temperature from the thermal driver API.
nvmem-cells:
A phandle to the configuration data such as gpu speed bin, gpu gaming mode,
gpu model name provided by a nvmem device. If unspecified default values shall be used.
nvmem-cell-names:
Should be "speed_bin", "gaming_bin", "gpu_model"
GPU Quirks:
- qcom,gpu-quirk-two-pass-use-wfi:
Signal the GPU to set Set TWOPASSUSEWFI bit in
PC_DBG_ECO_CNTL (5XX and 6XX only)
- qcom,gpu-quirk-critical-packets:
Submit a set of critical PM4 packets when the GPU wakes up
- qcom,gpu-quirk-fault-detect-mask:
Mask out RB1-3 activity signals from HW hang
detection logic
- qcom,gpu-quirk-dp2clockgating-disable:
Disable RB sampler data path clock gating optimization
- qcom,gpu-quirk-lmloadkill-disable:
Use register setting to disable local memory(LM) feature
to avoid corner case error
- qcom,gpu-quirk-hfi-use-reg:
Use registers to replace DCVS HFI message to avoid GMU failure
to access system memory during IFPC
- qcom,gpu-quirk-limit-uche-gbif-rw:
Limit number of read and write transactions from UCHE block to
GBIF to avoid possible deadlock between GBIF, SMMU and MEMNOC.
- qcom,gpu-quirk-mmu-secure-cb-alt:
Select alternate secure context bank to generate SID1 for
secure playback.
KGSL Memory Pools:
- qcom,gpu-mempools: Container for sets of GPU mempools.Multiple sets
(pools) can be defined within qcom,gpu-mempools.
Each mempool defines a pool order, reserved pages,
allocation allowed.
Properties:
- compatible: Must be qcom,gpu-mempools.
- qcom,mempool-max-pages: Max pages for all mempools, If not defined there is no limit.
- qcom,gpu-mempool: Defines a set of mempools.
Properties:
- reg: Index of the pool (0 = lowest pool order).
- qcom,mempool-page-size: Size of page.
- qcom,mempool-reserved: Number of pages reserved at init time for a pool.
- qcom,mempool-allocate: Allocate memory from the system memory when the
reserved pool exhausted.
- qcom,mempool-max-pages: Limit on max pages this pool can hold, If not defined
there is no limit.
GPU model configuration:
- qcom,gpu-models:
Container of sets of GPU model names specified by qcom,gpu-models.
Properties:
- compatible:
Must be qcom,gpu-models.
- qcom,gpu-model:
Defines a GPU model name for specific GPU model ID.
Properties:
- compatible:
May also include "qcom,adreno-gpu-*" for few targets.
- qcom,gpu-model-id:
Identifier for the specific GPU hardware configuration - must match the value read
from the hardware.
- qcom,gpu-model:
GPU model name for a specific GPU hardware.
- qcom,vk-device-id:
Vulkan device id unique for specific GPU hardware model.
SOC Hardware revisions:
- qcom,soc-hw-revisions:
Container of sets of SOC hardware revisions specified by
qcom,soc-hw-revision.
Properties:
- compatible:
Must be qcom,soc-hw-revisions.
- qcom,soc-hw-revision:
Defines a SOC hardware revision.
Properties:
- qcom,soc-hw-revision:
Identifier for the hardware revision - must match the value read
from the hardware.
- qcom,chipid:
GPU Chip ID to be used for this hardware revision.
- qcom,gpu-quirk-*:
GPU quirks applicable for this hardware revision.
GPU LLC slice info:
- cache-slice-names: List of LLC cache slices for GPU transactions
and pagetable walk.
- cache-slices: phandle to the system LLC driver, cache slice index.
L3 Power levels:
- qcom,l3-pwrlevels: Container for sets of L3 power levels, the
L3 frequency is adjusted according to the
performance hint received from userspace.
Properties:
- compatible: Must be qcom,l3-pwrlevels
- qcom,l3-pwrlevel: A single L3 powerlevel
Properties:
- reg: Index of the L3 powerlevel
0 = powerlevel for no L3 vote
1 = powerlevel for medium L3 vote
2 = powerlevel for maximum L3 vote
- qcom,l3-freq: The L3 frequency for the powerlevel (in Hz)
GPU coresight info:
The following properties are optional as collecting data via coresight might
not be supported for every chipset. The documentation for coresight
properties can be found in:
Documentation/devicetree/bindings/coresight/coresight.txt
- qcom,gpu-coresights: Container for sets of GPU coresight sources.
- coresight-id: Unique integer identifier for the bus.
- coresight-name: Unique descriptive name of the bus.
- coresight-nr-inports: Number of input ports on the bus.
- coresight-outports: List of output port numbers on the bus.
- coresight-child-list: List of phandles pointing to the children of this
component.
- coresight-child-ports: List of input port numbers of the children.
- coresight-atid: The unique ATID value of the coresight device
Example of A330 GPU in MSM8916:
&soc {
msm_gpu: qcom,kgsl-3d0@1c00000 {
label = "kgsl-3d0";
compatible = "qcom,kgsl-3d0", "qcom,kgsl-3d";
reg = <0x1c00000 0x10000
0x1c20000 0x20000>;
reg-names = "kgsl_3d0_reg_memory" , "kgsl_3d0_shader_memory";
interrupts = <0 33 0>;
interrupt-names = "kgsl_3d0_irq";
qcom,id = <0>;
qcom,chipid = <0x03000600>;
qcom,initial-pwrlevel = <1>;
/* Idle Timeout = HZ/12 */
qcom,idle-timeout = <8>;
qcom,strtstp-sleepwake;
clocks = <&clock_gcc clk_gcc_oxili_gfx3d_clk>,
<&clock_gcc clk_gcc_oxili_ahb_clk>,
<&clock_gcc clk_gcc_oxili_gmem_clk>,
<&clock_gcc clk_gcc_bimc_gfx_clk>,
<&clock_gcc clk_gcc_bimc_gpu_clk>;
clock-names = "core_clk", "iface_clk", "mem_clk",
"mem_iface_clk", "alt_mem_iface_clk";
/* Bus Scale Settings */
qcom, gpu-bus-table {
compatible="qcom,gpu-bus-table","qcom,gpu-bus-table-ddr7";
qcom,msm-bus,name = "grp3d";
qcom,msm-bus,num-cases = <4>;
qcom,msm-bus,num-paths = <1>;
qcom,msm-bus,vectors-KBps =
<26 512 0 0>,
<26 512 0 1600000>,
<26 512 0 3200000>,
<26 512 0 4264000>;
};
/* GDSC oxili regulators */
vdd-supply = <&gdsc_oxili_gx>;
nvmem-cells = <&gpu_speed_bin>, <&gpu_gaming_bin>, <&gpu_model_bin>;
nvmem-cell-names = "speed_bin", "gaming_bin","gpu_model";
/* IOMMU Data */
iommu = <&gfx_iommu>;
/* Trace bus */
coresight-id = <67>;
coresight-name = "coresight-gfx";
coresight-nr-inports = <0>;
coresight-outports = <0>;
coresight-child-list = <&funnel_in0>;
coresight-child-ports = <5>;
/* Enable context aware freq. scaling */
qcom,enable-ca-jump;
/* Context aware jump busy penalty in us */
qcom,ca-busy-penalty = <12000>;
/* Context aware jump target power level */
qcom,ca-target-pwrlevel = <1>;
qcom,soc-hw-revisions {
#address-cells = <1>;
#size-cells = <0>;
compatible="qcom,soc-hw-revisions";
qcom,soc-hw-revision@0 {
reg = <0>;
qcom,chipid = <0x06010500>;
qcom,gpu-quirk-hfi-use-reg;
qcom,gpu-quirk-limit-uche-gbif-rw;
};
qcom,soc-hw-revision@1 {
reg = <1>;
qcom,chipid = <0x06010501>;
qcom,gpu-quirk-hfi-use-reg;
};
};
qcom,gpu-models {
#address-cells = <1>;
#size-cells = <0>;
compatible="qcom,gpu-models";
qcom,gpu-model@0 {
compatible="qcom,adreno-gpu-a642l";
qcom,gpu-model-id = <0>;
qcom,gpu-model = "Adreno642Lv1";
qcom,vk-device-id= <0x06030500>;
};
qcom,gpu-model@1 {
compatible="qcom,adreno-gpu-a645";
qcom,gpu-model-id = <190>;
qcom,gpu-model = "Adreno645";
qcom,vk-device-id= <0x06030500>;
};
}
/* GPU Mempools */
qcom,gpu-mempools {
#address-cells= <1>;
#size-cells = <0>;
compatible = "qcom,gpu-mempools";
/* 4K Page Pool configuration */
qcom,gpu-mempool@0 {
reg = <0>;
qcom,mempool-page-size = <4096>;
qcom,mempool-reserved = <2048>;
qcom,mempool-allocate;
};
/* 8K Page Pool configuration */
qcom,gpu-mempool@1 {
reg = <1>;
qcom,mempool-page-size = <8192>;
qcom,mempool-reserved = <1024>;
qcom,mempool-allocate;
};
/* 64K Page Pool configuration */
qcom,gpu-mempool@2 {
reg = <2>;
qcom,mempool-page-size = <65536>;
qcom,mempool-reserved = <256>;
};
/* 1M Page Pool configuration */
qcom,gpu-mempool@3 {
reg = <3>;
qcom,mempool-page-size = <1048576>;
qcom,mempool-reserved = <32>;
};
};
/* Power levels */
qcom,gpu-pwrlevels-bins {
#address-cells = <1>;
#size-cells = <0>;
qcom,gpu-pwrlevels-0 {
#address-cells = <1>;
#size-cells = <0>;
qcom,speed-bin = <0>;
qcom,ca-target-pwrlevel = <1>;
qcom,gpu-pwrlevel@0 {
reg = <0>;
qcom,gpu-freq = <400000000>;
qcom,bus-freq = <3>;
qcom,io-fraction = <33>;
};
qcom,gpu-pwrlevel@1 {
reg = <1>;
qcom,gpu-freq = <310000000>;
qcom,bus-freq = <2>;
qcom,io-fraction = <66>;
};
qcom,gpu-pwrlevel@2 {
reg = <2>;
qcom,gpu-freq = <200000000>;
qcom,bus-freq = <1>;
qcom,io-fraction = <100>;
};
qcom,gpu-pwrlevel@3 {
reg = <3>;
qcom,gpu-freq = <27000000>;
qcom,bus-freq = <0>;
qcom,io-fraction = <0>;
};
};
};
};
};

View File

@@ -0,0 +1,186 @@
// SPDX-License-Identifier: BSD-3-Clause
/*
* Copyright (c) 2024-2025 Qualcomm Innovation Center, Inc. All rights reserved.
*/
&msm_gpu {
qcom,initial-pwrlevel = <8>;
/* Power levels */
qcom,gpu-pwrlevels {
compatible="qcom,gpu-pwrlevels";
#address-cells = <1>;
#size-cells = <0>;
/* Turbo_L2 */
qcom,gpu-pwrlevel@0 {
reg = <0>;
qcom,gpu-freq = <1150000000>;
qcom,level = <RPMH_REGULATOR_LEVEL_TURBO_L2>;
qcom,bus-freq-ddr7 = <10>;
qcom,bus-min-ddr7 = <10>;
qcom,bus-max-ddr7 = <10>;
qcom,bus-freq-ddr8 = <9>;
qcom,bus-min-ddr8 = <8>;
qcom,bus-max-ddr8 = <10>;
qcom,acd-level = <ACD_LEVEL_Turbo_L2>;
};
/* Turbo_L1 */
qcom,gpu-pwrlevel@1 {
reg = <1>;
qcom,gpu-freq = <1075000000>;
qcom,level = <RPMH_REGULATOR_LEVEL_TURBO_L1>;
qcom,bus-freq-ddr7 = <10>;
qcom,bus-min-ddr7 = <10>;
qcom,bus-max-ddr7 = <10>;
qcom,bus-freq-ddr8 = <9>;
qcom,bus-min-ddr8 = <8>;
qcom,bus-max-ddr8 = <10>;
qcom,acd-level = <ACD_LEVEL_Turbo_L1>;
};
/* Turbo */
qcom,gpu-pwrlevel@2 {
reg = <2>;
qcom,gpu-freq = <975000000>;
qcom,level = <RPMH_REGULATOR_LEVEL_TURBO>;
qcom,bus-freq-ddr7 = <10>;
qcom,bus-min-ddr7 = <10>;
qcom,bus-max-ddr7 = <10>;
qcom,bus-freq-ddr8 = <8>;
qcom,bus-min-ddr8 = <8>;
qcom,bus-max-ddr8 = <9>;
qcom,acd-level = <ACD_LEVEL_Turbo>;
};
/* Nom_L1 */
qcom,gpu-pwrlevel@3 {
reg = <3>;
qcom,gpu-freq = <900000000>;
qcom,level = <RPMH_REGULATOR_LEVEL_NOM_L1>;
qcom,bus-freq-ddr7 = <10>;
qcom,bus-min-ddr7 = <9>;
qcom,bus-max-ddr7 = <10>;
qcom,bus-freq-ddr8 = <8>;
qcom,bus-min-ddr8 = <8>;
qcom,bus-max-ddr8 = <8>;
qcom,acd-level = <ACD_LEVEL_Nominal_L1>;
};
/* Nom */
qcom,gpu-pwrlevel@4 {
reg = <4>;
qcom,gpu-freq = <796000000>;
qcom,level = <RPMH_REGULATOR_LEVEL_NOM>;
qcom,bus-freq-ddr7 = <10>;
qcom,bus-min-ddr7 = <9>;
qcom,bus-max-ddr7 = <10>;
qcom,bus-freq-ddr8 = <7>;
qcom,bus-min-ddr8 = <6>;
qcom,bus-max-ddr8 = <8>;
qcom,acd-level = <ACD_LEVEL_Nominal>;
};
/* SVS_L2 */
qcom,gpu-pwrlevel@5 {
reg = <5>;
qcom,gpu-freq = <724000000>;
qcom,level = <RPMH_REGULATOR_LEVEL_SVS_L2>;
qcom,bus-freq-ddr7 = <9>;
qcom,bus-min-ddr7 = <8>;
qcom,bus-max-ddr7 = <9>;
qcom,bus-freq-ddr8 = <6>;
qcom,bus-min-ddr8 = <5>;
qcom,bus-max-ddr8 = <7>;
qcom,acd-level = <ACD_LEVEL_SVS_L2>;
};
/* SVS_L1 */
qcom,gpu-pwrlevel@6 {
reg = <6>;
qcom,gpu-freq = <645000000>;
qcom,level = <RPMH_REGULATOR_LEVEL_SVS_L1>;
qcom,bus-freq-ddr7 = <8>;
qcom,bus-min-ddr7 = <7>;
qcom,bus-max-ddr7 = <9>;
qcom,bus-freq-ddr8 = <6>;
qcom,bus-min-ddr8 = <5>;
qcom,bus-max-ddr8 = <7>;
qcom,acd-level = <ACD_LEVEL_SVS_L1>;
};
/* SVS */
qcom,gpu-pwrlevel@7 {
reg = <7>;
qcom,gpu-freq = <515000000>;
qcom,level = <RPMH_REGULATOR_LEVEL_SVS>;
qcom,bus-freq-ddr7 = <6>;
qcom,bus-min-ddr7 = <3>;
qcom,bus-max-ddr7 = <6>;
qcom,bus-freq-ddr8 = <4>;
qcom,bus-min-ddr8 = <2>;
qcom,bus-max-ddr8 = <5>;
qcom,acd-level = <ACD_LEVEL_SVS>;
};
/* Low_SVS */
qcom,gpu-pwrlevel@8 {
reg = <8>;
qcom,gpu-freq = <345000000>;
qcom,level = <RPMH_REGULATOR_LEVEL_LOW_SVS>;
qcom,bus-freq-ddr7 = <2>;
qcom,bus-min-ddr7 = <2>;
qcom,bus-max-ddr7 = <6>;
qcom,bus-freq-ddr8 = <2>;
qcom,bus-min-ddr8 = <2>;
qcom,bus-max-ddr8 = <4>;
qcom,acd-level = <ACD_LEVEL_LowSVS>;
};
/* Low_SVS_D1 */
qcom,gpu-pwrlevel@9 {
reg = <9>;
qcom,gpu-freq = <259000000>;
qcom,level = <RPMH_REGULATOR_LEVEL_LOW_SVS_D1>;
qcom,bus-freq-ddr7 = <2>;
qcom,bus-min-ddr7 = <1>;
qcom,bus-max-ddr7 = <6>;
qcom,bus-freq-ddr8 = <2>;
qcom,bus-min-ddr8 = <2>;
qcom,bus-max-ddr8 = <4>;
qcom,acd-level = <ACD_LEVEL_LowSVS_D1>;
};
};
};

View File

@@ -0,0 +1,25 @@
// SPDX-License-Identifier: BSD-3-Clause
/*
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
*/
/dts-v1/;
/plugin/;
#include <dt-bindings/clock/qcom,aop-qmp.h>
#include <dt-bindings/clock/qcom,gcc-kera.h>
#include <dt-bindings/clock/qcom,gpucc-kera.h>
#include <dt-bindings/clock/qcom,rpmh.h>
#include <dt-bindings/interconnect/qcom,kera.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/regulator/qcom,rpmh-regulator-levels.h>
#include "kera-gpu.dtsi"
#include "kera-gpu-pwrlevels.dtsi"
/ {
model = "Qualcomm Technologies, Inc. Kera SoC";
compatible = "qcom,kera", "qcom,kerap";
qcom,msm-id = <0x293 0x10000>, <0x2ae 0x10000>;
qcom,board-id = <0 0>;
};

View File

@@ -0,0 +1,186 @@
// SPDX-License-Identifier: BSD-3-Clause
/*
* Copyright (c) 2024-2025 Qualcomm Innovation Center, Inc. All rights reserved.
*/
#define MHZ_TO_KBPS(mhz, w) ((mhz * 1000000 * w) / (1024))
/* ACD Control register values */
#define ACD_LEVEL_Turbo_L2 0xa8295ffd
#define ACD_LEVEL_Turbo_L1 0xa82a5ffd
#define ACD_LEVEL_Turbo 0x882c5ffd
#define ACD_LEVEL_Nominal_L1 0x882d5ffd
#define ACD_LEVEL_Nominal 0x882d5ffd
#define ACD_LEVEL_SVS_L2 0xa82d5ffd
#define ACD_LEVEL_SVS_L1 0x882f5ffd
#define ACD_LEVEL_SVS 0Xc02d5ffd
#define ACD_LEVEL_LowSVS 0Xc82f5ffd
#define ACD_LEVEL_LowSVS_D1 0Xc82f5ffd
&msm_gpu {
compatible = "qcom,adreno-gpu-gen7-17-0", "qcom,kgsl-3d0";
status = "ok";
reg = <0x3d00000 0x40000>, <0x3d50000 0x10000>,
<0x3d61000 0x800>, <0x3d9e000 0x1000>,
<0x10048000 0x8000>, <0x10900000 0x80000>,
<0x10b05000 0x1000>;
reg-names = "kgsl_3d0_reg_memory", "rscc", "cx_dbgc",
"cx_misc", "qdss_etr", "qdss_gfx", "qdss_tmc";
interrupts = <0 300 IRQ_TYPE_LEVEL_HIGH>, <0 286 IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "kgsl_3d0_irq", "freq_limiter_irq";
resets = <&gpucc GPU_CC_FREQUENCY_LIMITER_IRQ_CLEAR>;
reset-names = "freq_limiter_irq_clear";
clocks = <&gcc GCC_GPU_GEMNOC_GFX_CLK>, <&gpucc GPU_CC_AHB_CLK>,
<&gpucc GPU_CC_HLOS1_VOTE_GPU_SMMU_CLK>, <&aoss_qmp>;
clock-names = "gcc_gpu_memnoc_gfx", "gpu_cc_ahb",
"gpu_cc_hlos1_vote_gpu_smmu", "apb_pclk";
qcom,min-access-length = <32>;
qcom,ubwc-mode = <4>;
qcom,tzone-names = "gpuss-0", "gpuss-1";
interconnects = <&gem_noc MASTER_GFX3D &mc_virt SLAVE_EBI1>;
interconnect-names = "gpu_icc_path";
qcom,bus-table-cnoc =
<0>, /* Off */
<100>; /* On */
qcom,bus-table-ddr7 =
<MHZ_TO_KBPS(0, 4)>, /* index=0 */
<MHZ_TO_KBPS(200, 4)>, /* LowSVS index=1 */
<MHZ_TO_KBPS(451, 4)>, /* LowSVS index=2 */
<MHZ_TO_KBPS(547, 4)>, /* LowSVS index=3 */
<MHZ_TO_KBPS(681, 4)>, /* SVS index=4 */
<MHZ_TO_KBPS(768, 4)>, /* SVS index=5 */
<MHZ_TO_KBPS(1017, 4)>, /* SVS index=6 */
<MHZ_TO_KBPS(1353, 4)>, /* NOM index=7 */
<MHZ_TO_KBPS(1555, 4)>, /* NOM index=8 */
<MHZ_TO_KBPS(1708, 4)>, /* TURBO index=9 */
<MHZ_TO_KBPS(2092, 4)>; /* TURBO_L1 index=10 */
qcom,bus-table-ddr8 =
<MHZ_TO_KBPS(0, 4)>, /* index=0 */
<MHZ_TO_KBPS(200, 4)>, /* LowSVS index=1 */
<MHZ_TO_KBPS(547, 4)>, /* LowSVS index=2 */
<MHZ_TO_KBPS(1353, 4)>, /* LowSVS index=3 */
<MHZ_TO_KBPS(1555, 4)>, /* SVS index=4 */
<MHZ_TO_KBPS(1708, 4)>, /* SVS index=5 */
<MHZ_TO_KBPS(2092, 4)>, /* SVS index=6 */
<MHZ_TO_KBPS(2736, 4)>, /* NOM index=7 */
<MHZ_TO_KBPS(3187, 4)>, /* TURBO index=8 */
<MHZ_TO_KBPS(3686, 4)>, /* TURBO index=9 */
<MHZ_TO_KBPS(4224, 4)>; /* TURBO_L1 index=10 */
nvmem-cells = <&gpu_gaming_bin>;
nvmem-cell-names = "gaming_bin";
zap-shader {
memory-region = <&gpu_microcode_mem>;
};
qcom,gpu-mempools {
#address-cells = <1>;
#size-cells = <0>;
compatible = "qcom,gpu-mempools";
/* 4K Page Pool configuration */
qcom,gpu-mempool@0 {
reg = <0>;
qcom,mempool-page-size = <4096>;
qcom,mempool-reserved = <2048>;
};
/* 8K Page Pool configuration */
qcom,gpu-mempool@1 {
reg = <1>;
qcom,mempool-page-size = <8192>;
qcom,mempool-reserved = <1024>;
};
/* 64K Page Pool configuration */
qcom,gpu-mempool@2 {
reg = <2>;
qcom,mempool-page-size = <65536>;
qcom,mempool-reserved = <256>;
};
/* 128K Page Pool configuration */
qcom,gpu-mempool@3 {
reg = <3>;
qcom,mempool-page-size = <131072>;
qcom,mempool-reserved = <128>;
};
/* 256K Page Pool configuration */
qcom,gpu-mempool@4 {
reg = <4>;
qcom,mempool-page-size = <262144>;
qcom,mempool-reserved = <80>;
};
/* 1M Page Pool configuration */
qcom,gpu-mempool@5 {
reg = <5>;
qcom,mempool-page-size = <1048576>;
qcom,mempool-reserved = <32>;
};
};
};
&soc {
kgsl_msm_iommu: qcom,kgsl-iommu@3da0000 {
compatible = "qcom,kgsl-smmu-v2";
reg = <0x3da0000 0x40000>;
power-domains = <&gpucc GPU_CC_CX_GDSC>;
gfx3d_user: gfx3d_user {
compatible = "qcom,smmu-kgsl-cb";
iommus = <&kgsl_smmu 0x0 0x000>;
qcom,iommu-dma = "disabled";
};
gfx3d_secure: gfx3d_secure {
compatible = "qcom,smmu-kgsl-cb";
iommus = <&kgsl_smmu 0x2 0x000>;
qcom,iommu-dma = "disabled";
};
};
gmu: qcom,gmu@3d68000 {
compatible = "qcom,gen7-gmu";
reg = <0x3d68000 0x37000>, <0xb290000 0x10000>, <0x3d40000 0x10000>;
reg-names = "gmu", "gmu_pdc", "gmu_ao_blk_dec0";
interrupts = <0 304 IRQ_TYPE_LEVEL_HIGH>,
<0 305 IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "hfi", "gmu";
power-domains = <&gpucc GPU_CC_CX_GDSC>,
<&gpucc GPU_CC_CX_GMU_GDSC>,
<&gpucc GPU_CC_GX_GDSC>;
power-domain-names = "cx", "gmu_cx", "gx";
clocks = <&gpucc GPU_CC_CX_GMU_CLK>,
<&gpucc GPU_CC_CXO_CLK>,
<&gcc GCC_DDRSS_GPU_AXI_CLK>,
<&gcc GCC_GPU_GEMNOC_GFX_CLK>,
<&gpucc GPU_CC_AHB_CLK>,
<&gpucc GPU_CC_HUB_CX_INT_CLK>,
<&gpucc GPU_CC_HLOS1_VOTE_GPU_SMMU_CLK>;
clock-names = "gmu_clk", "cxo_clk", "axi_clk",
"memnoc_clk", "ahb_clk", "hub_clk", "smmu_vote";
qcom,gmu-freq-table = <220000000 RPMH_REGULATOR_LEVEL_LOW_SVS>,
<550000000 RPMH_REGULATOR_LEVEL_SVS>;
iommus = <&kgsl_smmu 0x5 0x000>;
qcom,iommu-dma = "disabled";
mboxes = <&qmp_aop 0>;
mbox-names = "aop";
};
};

View File

@@ -0,0 +1,687 @@
// SPDX-License-Identifier: BSD-3-Clause
/*
* Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved.
*/
/* ACD Control register values */
#define ACD_LEVEL_TURBO_L1 0x882f5ffd
#define ACD_LEVEL_TURBO 0x882f5ffd
#define ACD_LEVEL_NOM_L1 0x882f5ffd
#define ACD_LEVEL_NOM 0xc0285ffd
#define ACD_LEVEL_SVS_L2 0xe0295ffd
#define ACD_LEVEL_SVS_L1 0xe0295ffd
#define ACD_LEVEL_SVS_L0 0xc02a5ffd
#define ACD_LEVEL_SVS 0xc02a5ffd
#define ACD_LEVEL_LOW_SVS_L1 0xc02c5ffd
#define ACD_LEVEL_LOW_SVS 0xc02f5ffd
#define ACD_LEVEL_LOW_SVS_D0 0xc02f5ffd
&msm_gpu {
/* Power levels */
qcom,gpu-pwrlevel-bins {
#address-cells = <1>;
#size-cells = <0>;
compatible = "qcom,gpu-pwrlevels-bins";
qcom,gpu-pwrlevels-0 {
#address-cells = <1>;
#size-cells = <0>;
qcom,sku-codes = <SKU_CODE(PCODE_UNKNOWN, FC_AC)>;
qcom,speed-bin = <2>;
qcom,initial-pwrlevel = <12>;
/* Turbo_L1 */
qcom,gpu-pwrlevel@0 {
reg = <0>;
qcom,gpu-freq = <903000000>;
qcom,level = <RPMH_REGULATOR_LEVEL_TURBO_L1>;
qcom,bus-freq = <9>;
qcom,bus-min = <9>;
qcom,bus-max = <9>;
qcom,acd-level = <ACD_LEVEL_TURBO_L1>;
};
/* Turbo */
qcom,gpu-pwrlevel@1 {
reg = <1>;
qcom,gpu-freq = <869000000>;
qcom,level = <RPMH_REGULATOR_LEVEL_TURBO>;
qcom,bus-freq = <8>;
qcom,bus-min = <8>;
qcom,bus-max = <9>;
qcom,acd-level = <ACD_LEVEL_TURBO>;
};
/* Nom_L1 */
qcom,gpu-pwrlevel@2 {
reg = <2>;
qcom,gpu-freq = <834000000>;
qcom,level = <RPMH_REGULATOR_LEVEL_NOM_L1>;
qcom,bus-freq = <8>;
qcom,bus-min = <7>;
qcom,bus-max = <9>;
qcom,acd-level = <ACD_LEVEL_NOM_L1>;
};
/* Nom */
qcom,gpu-pwrlevel@3 {
reg = <3>;
qcom,gpu-freq = <770000000>;
qcom,level = <RPMH_REGULATOR_LEVEL_NOM>;
qcom,bus-freq = <7>;
qcom,bus-min = <6>;
qcom,bus-max = <9>;
qcom,acd-level = <ACD_LEVEL_NOM>;
};
/* SVS_L2 */
qcom,gpu-pwrlevel@4 {
reg = <4>;
qcom,gpu-freq = <720000000>;
qcom,level = <RPMH_REGULATOR_LEVEL_SVS_L2>;
qcom,bus-freq = <7>;
qcom,bus-min = <6>;
qcom,bus-max = <9>;
qcom,acd-level = <ACD_LEVEL_SVS_L2>;
};
/* SVS_L1 */
qcom,gpu-pwrlevel@5 {
reg = <5>;
qcom,gpu-freq = <680000000>;
qcom,level = <RPMH_REGULATOR_LEVEL_SVS_L1>;
qcom,bus-freq = <7>;
qcom,bus-min = <5>;
qcom,bus-max = <9>;
qcom,acd-level = <ACD_LEVEL_SVS_L1>;
};
/* SVS_L0 */
qcom,gpu-pwrlevel@6 {
reg = <6>;
qcom,gpu-freq = <629000000>;
qcom,level = <RPMH_REGULATOR_LEVEL_SVS_L0>;
qcom,bus-freq = <6>;
qcom,bus-min = <4>;
qcom,bus-max = <7>;
qcom,acd-level = <ACD_LEVEL_SVS_L0>;
};
/* SVS */
qcom,gpu-pwrlevel@7 {
reg = <7>;
qcom,gpu-freq = <578000000>;
qcom,level = <RPMH_REGULATOR_LEVEL_SVS>;
qcom,bus-freq = <5>;
qcom,bus-min = <4>;
qcom,bus-max = <7>;
qcom,acd-level = <ACD_LEVEL_SVS>;
};
/* Low_SVS_L1 */
qcom,gpu-pwrlevel@8 {
reg = <8>;
qcom,gpu-freq = <500000000>;
qcom,level = <RPMH_REGULATOR_LEVEL_LOW_SVS_L1>;
qcom,bus-freq = <5>;
qcom,bus-min = <3>;
qcom,bus-max = <7>;
qcom,acd-level = <ACD_LEVEL_LOW_SVS_L1>;
};
/* Low_SVS */
qcom,gpu-pwrlevel@9 {
reg = <9>;
qcom,gpu-freq = <422000000>;
qcom,level = <RPMH_REGULATOR_LEVEL_LOW_SVS>;
qcom,bus-freq = <5>;
qcom,bus-min = <3>;
qcom,bus-max = <7>;
qcom,acd-level = <ACD_LEVEL_LOW_SVS>;
};
/* Low_SVS_D0 */
qcom,gpu-pwrlevel@10 {
reg = <10>;
qcom,gpu-freq = <366000000>;
qcom,level = <RPMH_REGULATOR_LEVEL_LOW_SVS_D0>;
qcom,bus-freq = <3>;
qcom,bus-min = <2>;
qcom,bus-max = <5>;
qcom,acd-level = <ACD_LEVEL_LOW_SVS_D0>;
};
/* Low_SVS_D1 */
qcom,gpu-pwrlevel@11 {
reg = <11>;
qcom,gpu-freq = <310000000>;
qcom,level = <RPMH_REGULATOR_LEVEL_LOW_SVS_D1>;
qcom,bus-freq = <1>;
qcom,bus-min = <1>;
qcom,bus-max = <4>;
};
/* Low_SVS_D2 */
qcom,gpu-pwrlevel@12 {
reg = <12>;
qcom,gpu-freq = <231000000>;
qcom,level = <RPMH_REGULATOR_LEVEL_LOW_SVS_D2>;
qcom,bus-freq = <1>;
qcom,bus-min = <1>;
qcom,bus-max = <3>;
};
};
qcom,gpu-pwrlevels-1 {
#address-cells = <1>;
#size-cells = <0>;
qcom,sku-codes = <SKU_CODE(PCODE_UNKNOWN, FC_AC)>;
qcom,initial-pwrlevel = <11>;
/* Turbo */
qcom,gpu-pwrlevel@0 {
reg = <0>;
qcom,gpu-freq = <869000000>;
qcom,level = <RPMH_REGULATOR_LEVEL_TURBO>;
qcom,bus-freq = <9>;
qcom,bus-min = <9>;
qcom,bus-max = <9>;
qcom,acd-level = <ACD_LEVEL_TURBO>;
};
/* Nom_L1 */
qcom,gpu-pwrlevel@1 {
reg = <1>;
qcom,gpu-freq = <834000000>;
qcom,level = <RPMH_REGULATOR_LEVEL_NOM_L1>;
qcom,bus-freq = <8>;
qcom,bus-min = <7>;
qcom,bus-max = <9>;
qcom,acd-level = <ACD_LEVEL_NOM_L1>;
};
/* Nom */
qcom,gpu-pwrlevel@2 {
reg = <2>;
qcom,gpu-freq = <770000000>;
qcom,level = <RPMH_REGULATOR_LEVEL_NOM>;
qcom,bus-freq = <7>;
qcom,bus-min = <6>;
qcom,bus-max = <9>;
qcom,acd-level = <ACD_LEVEL_NOM>;
};
/* SVS_L2 */
qcom,gpu-pwrlevel@3 {
reg = <3>;
qcom,gpu-freq = <720000000>;
qcom,level = <RPMH_REGULATOR_LEVEL_SVS_L2>;
qcom,bus-freq = <7>;
qcom,bus-min = <6>;
qcom,bus-max = <9>;
qcom,acd-level = <ACD_LEVEL_SVS_L2>;
};
/* SVS_L1 */
qcom,gpu-pwrlevel@4 {
reg = <4>;
qcom,gpu-freq = <680000000>;
qcom,level = <RPMH_REGULATOR_LEVEL_SVS_L1>;
qcom,bus-freq = <7>;
qcom,bus-min = <5>;
qcom,bus-max = <9>;
qcom,acd-level = <ACD_LEVEL_SVS_L1>;
};
/* SVS_L0 */
qcom,gpu-pwrlevel@5 {
reg = <5>;
qcom,gpu-freq = <629000000>;
qcom,level = <RPMH_REGULATOR_LEVEL_SVS_L0>;
qcom,bus-freq = <6>;
qcom,bus-min = <3>;
qcom,bus-max = <7>;
qcom,acd-level = <ACD_LEVEL_SVS_L0>;
};
/* SVS */
qcom,gpu-pwrlevel@6 {
reg = <6>;
qcom,gpu-freq = <578000000>;
qcom,level = <RPMH_REGULATOR_LEVEL_SVS>;
qcom,bus-freq = <5>;
qcom,bus-min = <2>;
qcom,bus-max = <7>;
qcom,acd-level = <ACD_LEVEL_SVS>;
};
/* Low_SVS_L1 */
qcom,gpu-pwrlevel@7 {
reg = <7>;
qcom,gpu-freq = <500000000>;
qcom,level = <RPMH_REGULATOR_LEVEL_LOW_SVS_L1>;
qcom,bus-freq = <5>;
qcom,bus-min = <1>;
qcom,bus-max = <5>;
qcom,acd-level = <ACD_LEVEL_LOW_SVS_L1>;
};
/* Low_SVS */
qcom,gpu-pwrlevel@8 {
reg = <8>;
qcom,gpu-freq = <422000000>;
qcom,level = <RPMH_REGULATOR_LEVEL_LOW_SVS>;
qcom,bus-freq = <5>;
qcom,bus-min = <1>;
qcom,bus-max = <5>;
qcom,acd-level = <ACD_LEVEL_LOW_SVS>;
};
/* Low_SVS_D0 */
qcom,gpu-pwrlevel@9 {
reg = <9>;
qcom,gpu-freq = <366000000>;
qcom,level = <RPMH_REGULATOR_LEVEL_LOW_SVS_D0>;
qcom,bus-freq = <3>;
qcom,bus-min = <1>;
qcom,bus-max = <3>;
qcom,acd-level = <ACD_LEVEL_LOW_SVS_D0>;
};
/* Low_SVS_D1 */
qcom,gpu-pwrlevel@10 {
reg = <10>;
qcom,gpu-freq = <310000000>;
qcom,level = <RPMH_REGULATOR_LEVEL_LOW_SVS_D1>;
qcom,bus-freq = <1>;
qcom,bus-min = <1>;
qcom,bus-max = <3>;
};
/* Low_SVS_D2 */
qcom,gpu-pwrlevel@11 {
reg = <11>;
qcom,gpu-freq = <231000000>;
qcom,level = <RPMH_REGULATOR_LEVEL_LOW_SVS_D2>;
qcom,bus-freq = <1>;
qcom,bus-min = <1>;
qcom,bus-max = <3>;
};
};
qcom,gpu-pwrlevels-2 {
#address-cells = <1>;
#size-cells = <0>;
qcom,sku-codes = <SKU_CODE(PCODE_0, FC_Y0)
SKU_CODE(PCODE_1, FC_Y0)
SKU_CODE(PCODE_0, FC_Y1)>;
qcom,initial-pwrlevel = <12>;
/* Turbo_L1 */
qcom,gpu-pwrlevel@0 {
reg = <0>;
qcom,gpu-freq = <903000000>;
qcom,level = <RPMH_REGULATOR_LEVEL_TURBO_L1>;
qcom,bus-freq = <9>;
qcom,bus-min = <9>;
qcom,bus-max = <9>;
qcom,acd-level = <ACD_LEVEL_TURBO_L1>;
};
/* Turbo */
qcom,gpu-pwrlevel@1 {
reg = <1>;
qcom,gpu-freq = <869000000>;
qcom,level = <RPMH_REGULATOR_LEVEL_TURBO>;
qcom,bus-freq = <8>;
qcom,bus-min = <8>;
qcom,bus-max = <9>;
qcom,acd-level = <ACD_LEVEL_TURBO>;
};
/* Nom_L1 */
qcom,gpu-pwrlevel@2 {
reg = <2>;
qcom,gpu-freq = <834000000>;
qcom,level = <RPMH_REGULATOR_LEVEL_NOM_L1>;
qcom,bus-freq = <8>;
qcom,bus-min = <7>;
qcom,bus-max = <9>;
qcom,acd-level = <ACD_LEVEL_NOM_L1>;
};
/* Nom */
qcom,gpu-pwrlevel@3 {
reg = <3>;
qcom,gpu-freq = <770000000>;
qcom,level = <RPMH_REGULATOR_LEVEL_NOM>;
qcom,bus-freq = <7>;
qcom,bus-min = <6>;
qcom,bus-max = <9>;
qcom,acd-level = <ACD_LEVEL_NOM>;
};
/* SVS_L2 */
qcom,gpu-pwrlevel@4 {
reg = <4>;
qcom,gpu-freq = <720000000>;
qcom,level = <RPMH_REGULATOR_LEVEL_SVS_L2>;
qcom,bus-freq = <7>;
qcom,bus-min = <6>;
qcom,bus-max = <9>;
qcom,acd-level = <ACD_LEVEL_SVS_L2>;
};
/* SVS_L1 */
qcom,gpu-pwrlevel@5 {
reg = <5>;
qcom,gpu-freq = <680000000>;
qcom,level = <RPMH_REGULATOR_LEVEL_SVS_L1>;
qcom,bus-freq = <7>;
qcom,bus-min = <5>;
qcom,bus-max = <9>;
qcom,acd-level = <ACD_LEVEL_SVS_L1>;
};
/* SVS_L0 */
qcom,gpu-pwrlevel@6 {
reg = <6>;
qcom,gpu-freq = <629000000>;
qcom,level = <RPMH_REGULATOR_LEVEL_SVS_L0>;
qcom,bus-freq = <6>;
qcom,bus-min = <3>;
qcom,bus-max = <7>;
qcom,acd-level = <ACD_LEVEL_SVS_L0>;
};
/* SVS */
qcom,gpu-pwrlevel@7 {
reg = <7>;
qcom,gpu-freq = <578000000>;
qcom,level = <RPMH_REGULATOR_LEVEL_SVS>;
qcom,bus-freq = <5>;
qcom,bus-min = <2>;
qcom,bus-max = <7>;
qcom,acd-level = <ACD_LEVEL_SVS>;
};
/* Low_SVS_L1 */
qcom,gpu-pwrlevel@8 {
reg = <8>;
qcom,gpu-freq = <500000000>;
qcom,level = <RPMH_REGULATOR_LEVEL_LOW_SVS_L1>;
qcom,bus-freq = <5>;
qcom,bus-min = <1>;
qcom,bus-max = <5>;
qcom,acd-level = <ACD_LEVEL_LOW_SVS_L1>;
};
/* Low_SVS */
qcom,gpu-pwrlevel@9 {
reg = <9>;
qcom,gpu-freq = <422000000>;
qcom,level = <RPMH_REGULATOR_LEVEL_LOW_SVS>;
qcom,bus-freq = <5>;
qcom,bus-min = <1>;
qcom,bus-max = <5>;
qcom,acd-level = <ACD_LEVEL_LOW_SVS>;
};
/* Low_SVS_D0 */
qcom,gpu-pwrlevel@10 {
reg = <10>;
qcom,gpu-freq = <366000000>;
qcom,level = <RPMH_REGULATOR_LEVEL_LOW_SVS_D0>;
qcom,bus-freq = <3>;
qcom,bus-min = <1>;
qcom,bus-max = <3>;
qcom,acd-level = <ACD_LEVEL_LOW_SVS_D0>;
};
/* Low_SVS_D1 */
qcom,gpu-pwrlevel@11 {
reg = <11>;
qcom,gpu-freq = <310000000>;
qcom,level = <RPMH_REGULATOR_LEVEL_LOW_SVS_D1>;
qcom,bus-freq = <1>;
qcom,bus-min = <1>;
qcom,bus-max = <3>;
};
/* Low_SVS_D2 */
qcom,gpu-pwrlevel@12 {
reg = <12>;
qcom,gpu-freq = <231000000>;
qcom,level = <RPMH_REGULATOR_LEVEL_LOW_SVS_D2>;
qcom,bus-freq = <1>;
qcom,bus-min = <1>;
qcom,bus-max = <3>;
};
};
qcom,gpu-pwrlevels-3 {
#address-cells = <1>;
#size-cells = <0>;
qcom,sku-codes = <SKU_CODE(PCODE_UNKNOWN, FC_UNKNOWN)>;
qcom,initial-pwrlevel = <10>;
/* Nom_L1 */
qcom,gpu-pwrlevel@0 {
reg = <0>;
qcom,gpu-freq = <834000000>;
qcom,level = <RPMH_REGULATOR_LEVEL_NOM_L1>;
qcom,bus-freq = <9>;
qcom,bus-min = <9>;
qcom,bus-max = <9>;
qcom,acd-level = <ACD_LEVEL_NOM_L1>;
};
/* Nom */
qcom,gpu-pwrlevel@1 {
reg = <1>;
qcom,gpu-freq = <770000000>;
qcom,level = <RPMH_REGULATOR_LEVEL_NOM>;
qcom,bus-freq = <7>;
qcom,bus-min = <6>;
qcom,bus-max = <9>;
qcom,acd-level = <ACD_LEVEL_NOM>;
};
/* SVS_L2 */
qcom,gpu-pwrlevel@2 {
reg = <2>;
qcom,gpu-freq = <720000000>;
qcom,level = <RPMH_REGULATOR_LEVEL_SVS_L2>;
qcom,bus-freq = <7>;
qcom,bus-min = <6>;
qcom,bus-max = <9>;
qcom,acd-level = <ACD_LEVEL_SVS_L2>;
};
/* SVS_L1 */
qcom,gpu-pwrlevel@3 {
reg = <3>;
qcom,gpu-freq = <680000000>;
qcom,level = <RPMH_REGULATOR_LEVEL_SVS_L1>;
qcom,bus-freq = <7>;
qcom,bus-min = <5>;
qcom,bus-max = <9>;
qcom,acd-level = <ACD_LEVEL_SVS_L1>;
};
/* SVS_L0 */
qcom,gpu-pwrlevel@4 {
reg = <4>;
qcom,gpu-freq = <629000000>;
qcom,level = <RPMH_REGULATOR_LEVEL_SVS_L0>;
qcom,bus-freq = <6>;
qcom,bus-min = <3>;
qcom,bus-max = <7>;
qcom,acd-level = <ACD_LEVEL_SVS_L0>;
};
/* SVS */
qcom,gpu-pwrlevel@5 {
reg = <5>;
qcom,gpu-freq = <578000000>;
qcom,level = <RPMH_REGULATOR_LEVEL_SVS>;
qcom,bus-freq = <5>;
qcom,bus-min = <2>;
qcom,bus-max = <7>;
qcom,acd-level = <ACD_LEVEL_SVS>;
};
/* Low_SVS_L1 */
qcom,gpu-pwrlevel@6 {
reg = <6>;
qcom,gpu-freq = <500000000>;
qcom,level = <RPMH_REGULATOR_LEVEL_LOW_SVS_L1>;
qcom,bus-freq = <5>;
qcom,bus-min = <1>;
qcom,bus-max = <5>;
qcom,acd-level = <ACD_LEVEL_LOW_SVS_L1>;
};
/* Low_SVS */
qcom,gpu-pwrlevel@7 {
reg = <7>;
qcom,gpu-freq = <422000000>;
qcom,level = <RPMH_REGULATOR_LEVEL_LOW_SVS>;
qcom,bus-freq = <5>;
qcom,bus-min = <1>;
qcom,bus-max = <5>;
qcom,acd-level = <ACD_LEVEL_LOW_SVS>;
};
/* Low_SVS_D0 */
qcom,gpu-pwrlevel@8 {
reg = <8>;
qcom,gpu-freq = <366000000>;
qcom,level = <RPMH_REGULATOR_LEVEL_LOW_SVS_D0>;
qcom,bus-freq = <3>;
qcom,bus-min = <1>;
qcom,bus-max = <3>;
qcom,acd-level = <ACD_LEVEL_LOW_SVS_D0>;
};
/* Low_SVS_D1 */
qcom,gpu-pwrlevel@9 {
reg = <9>;
qcom,gpu-freq = <310000000>;
qcom,level = <RPMH_REGULATOR_LEVEL_LOW_SVS_D1>;
qcom,bus-freq = <1>;
qcom,bus-min = <1>;
qcom,bus-max = <3>;
};
/* Low_SVS_D2 */
qcom,gpu-pwrlevel@10 {
reg = <10>;
qcom,gpu-freq = <231000000>;
qcom,level = <RPMH_REGULATOR_LEVEL_LOW_SVS_D2>;
qcom,bus-freq = <1>;
qcom,bus-min = <1>;
qcom,bus-max = <3>;
};
};
};
};

View File

@@ -0,0 +1,27 @@
// SPDX-License-Identifier: BSD-3-Clause
/*
* Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved.
*/
/dts-v1/;
/plugin/;
#include <dt-bindings/clock/qcom,aop-qmp.h>
#include <dt-bindings/clock/qcom,gcc-pineapple.h>
#include <dt-bindings/clock/qcom,gpucc-pineapple.h>
#include <dt-bindings/clock/qcom,rpmh.h>
#include <dt-bindings/interconnect/qcom,pineapple.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/regulator/qcom,rpmh-regulator-levels.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include "pineapple-gpu.dtsi"
#include "pineapple-gpu-pwrlevels.dtsi"
/ {
model = "Qualcomm Technologies, Inc. Pineapple";
compatible = "qcom,pineapple";
qcom,msm-id = <557 0x10000>, <577 0x10000>;
qcom,board-id = <0 0>;
};

View File

@@ -0,0 +1,260 @@
// SPDX-License-Identifier: BSD-3-Clause
/*
* Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved.
*/
#define MHZ_TO_KBPS(mhz, w) ((mhz * 1000000 * w) / (1024))
/* External feature codes */
#define FC_UNKNOWN 0x0
#define FC_AA 0x1
#define FC_AB 0x2
#define FC_AC 0x3
#define FC_AD 0x4
/* Internal feature codes */
#define FC_Y0 0x00f1
#define FC_Y1 0x00f2
/* Pcodes */
#define PCODE_UNKNOWN 0
#define PCODE_0 1
#define PCODE_1 2
#define PCODE_2 3
#define PCODE_3 4
#define PCODE_4 5
#define PCODE_5 6
#define PCODE_6 7
#define PCODE_7 8
#define SKU_CODE(pcode, featurecode) ((pcode << 16) + featurecode)
&msm_gpu {
compatible = "qcom,adreno-gpu-gen7-9-0", "qcom,kgsl-3d0";
status = "ok";
reg = <0x3d00000 0x40000>, <0x3d61000 0x3000>,
<0x03d50000 0x10000>, <0x03d9e000 0x2000>,
<0x10900000 0x80000>, <0x10048000 0x8000>,
<0x10b05000 0x1000>;
reg-names = "kgsl_3d0_reg_memory", "cx_dbgc", "rscc", "cx_misc",
"qdss_gfx", "qdss_etr", "qdss_tmc";
interrupts = <0 300 IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "kgsl_3d0_irq";
clocks = <&gcc GCC_GPU_MEMNOC_GFX_CLK>,
<&gcc GCC_GPU_SNOC_DVM_GFX_CLK>,
<&gpucc GPU_CC_AHB_CLK>,
<&aoss_qmp QDSS_CLK>;
clock-names = "gcc_gpu_memnoc_gfx",
"gcc_gpu_snoc_dvm_gfx",
"gpu_cc_ahb",
"apb_pclk";
qcom,gpu-model = "Adreno750";
qcom,chipid = <0x43051400>;
qcom,no-nap;
qcom,min-access-length = <32>;
qcom,ubwc-mode = <4>;
qcom,gpu-qdss-stm = <0x161c0000 0x40000>; /* base addr, size */
qcom,tzone-names = "gpuss-0", "gpuss-1", "gpuss-2", "gpuss-3",
"gpuss-4", "gpuss-5", "gpuss-6", "gpuss-7";
interconnects = <&gem_noc MASTER_GFX3D &mc_virt SLAVE_EBI1>;
interconnect-names = "gpu_icc_path";
qcom,bus-table-cnoc =
<0>, /* Off */
<100>; /* On */
qcom,bus-table-ddr =
<MHZ_TO_KBPS(0, 4)>, /* index=0 */
<MHZ_TO_KBPS(547, 4) >, /* index=1 */
<MHZ_TO_KBPS(768, 4) >, /* index=2 */
<MHZ_TO_KBPS(1555, 4)>, /* index=3 */
<MHZ_TO_KBPS(1708, 4)>, /* index=4 */
<MHZ_TO_KBPS(2092, 4)>, /* index=5 */
<MHZ_TO_KBPS(2736, 4)>, /* index=6 */
<MHZ_TO_KBPS(3187, 4)>, /* index=7 */
<MHZ_TO_KBPS(3686, 4)>, /* index=8 */
<MHZ_TO_KBPS(4224, 4)>; /* index=9 */
nvmem-cells = <&gpu_speed_bin>;
nvmem-cell-names = "speed_bin";
zap-shader {
memory-region = <&gpu_micro_code_mem>;
};
qcom,gpu-mempools {
#address-cells = <1>;
#size-cells = <0>;
compatible = "qcom,gpu-mempools";
/* 4K Page Pool configuration */
qcom,gpu-mempool@0 {
reg = <0>;
qcom,mempool-page-size = <4096>;
qcom,mempool-reserved = <2048>;
};
/* 8K Page Pool configuration */
qcom,gpu-mempool@1 {
reg = <1>;
qcom,mempool-page-size = <8192>;
qcom,mempool-reserved = <1024>;
};
/* 64K Page Pool configuration */
qcom,gpu-mempool@2 {
reg = <2>;
qcom,mempool-page-size = <65536>;
qcom,mempool-reserved = <256>;
};
/* 128K Page Pool configuration */
qcom,gpu-mempool@3 {
reg = <3>;
qcom,mempool-page-size = <131072>;
qcom,mempool-reserved = <128>;
};
/* 256K Page Pool configuration */
qcom,gpu-mempool@4 {
reg = <4>;
qcom,mempool-page-size = <262144>;
qcom,mempool-reserved = <80>;
};
/* 1M Page Pool configuration */
qcom,gpu-mempool@5 {
reg = <5>;
qcom,mempool-page-size = <1048576>;
qcom,mempool-reserved = <32>;
};
};
};
&soc {
kgsl_msm_iommu: qcom,kgsl-iommu@3da0000 {
compatible = "qcom,kgsl-smmu-v2";
reg = <0x03da0000 0x40000>;
vddcx-supply = <&gpu_cc_cx_gdsc>;
gfx3d_user: gfx3d_user {
compatible = "qcom,smmu-kgsl-cb";
iommus = <&kgsl_smmu 0x0 0x000>;
qcom,iommu-dma = "disabled";
};
gfx3d_lpac: gfx3d_lpac {
compatible = "qcom,smmu-kgsl-cb";
iommus = <&kgsl_smmu 0x1 0x000>;
qcom,iommu-dma = "disabled";
};
gfx3d_secure: gfx3d_secure {
compatible = "qcom,smmu-kgsl-cb";
iommus = <&kgsl_smmu 0x2 0x000>;
qcom,iommu-dma = "disabled";
};
};
gmu: qcom,gmu@3d69000 {
compatible = "qcom,gen7-gmu";
reg = <0x3d68000 0x37000>,
<0xb280000 0x10000>,
<0x03D40000 0x10000>;
reg-names = "gmu", "gmu_pdc", "gmu_ao_blk_dec0";
interrupts = <0 304 IRQ_TYPE_LEVEL_HIGH>,
<0 305 IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "hfi", "gmu";
regulator-names = "vddcx", "vdd";
vddcx-supply = <&gpu_cc_cx_gdsc>;
vdd-supply = <&gpu_cc_gx_gdsc>;
clocks = <&gpucc GPU_CC_CX_GMU_CLK>,
<&gpucc GPU_CC_CXO_CLK>,
<&gcc GCC_DDRSS_GPU_AXI_CLK>,
<&gcc GCC_GPU_MEMNOC_GFX_CLK>,
<&gpucc GPU_CC_AHB_CLK>,
<&gpucc GPU_CC_HUB_CX_INT_CLK>;
clock-names = "gmu_clk", "cxo_clk", "axi_clk",
"memnoc_clk", "ahb_clk", "hub_clk";
qcom,gmu-freq-table = <260000000 RPMH_REGULATOR_LEVEL_LOW_SVS>,
<625000000 RPMH_REGULATOR_LEVEL_SVS>;
qcom,gmu-perf-ddr-bw = <MHZ_TO_KBPS(768, 4)>;
iommus = <&kgsl_smmu 0x5 0x000>;
qcom,iommu-dma = "disabled";
qcom,ipc-core = <0x00400000 0x140000>;
mboxes = <&qmp_aop 0>;
mbox-names = "aop";
};
coresight_cx_dgbc: qcom,gpu-coresight-cx {
compatible = "qcom,gpu-coresight-cx";
coresight-name = "coresight-gfx-cx";
coresight-atid = <52>;
out-ports {
port {
cx_dbgc_out_funnel_gfx: endpoint {
remote-endpoint =
<&funnel_gfx_in_cx_dbgc>;
};
};
};
};
coresight_gx_dgbc: qcom,gpu-coresight-gx {
compatible = "qcom,gpu-coresight-gx";
coresight-name = "coresight-gfx";
coresight-atid = <53>;
out-ports {
port {
gx_dbgc_out_funnel_gfx: endpoint {
remote-endpoint =
<&funnel_gfx_in_gx_dbgc>;
};
};
};
};
};
&funnel_gfx {
status = "ok";
in-ports {
#address-cells = <1>;
#size-cells = <0>;
port@0 {
reg = <0>;
funnel_gfx_in_gx_dbgc: endpoint {
remote-endpoint =
<&gx_dbgc_out_funnel_gfx>;
};
};
port@1 {
reg = <1>;
funnel_gfx_in_cx_dbgc: endpoint {
remote-endpoint =
<&cx_dbgc_out_funnel_gfx>;
};
};
};
};

View File

@@ -0,0 +1,181 @@
// SPDX-License-Identifier: BSD-3-Clause
/*
* Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved.
*/
/* ACD Control register values */
#define ACD_LEVEL_TURBO_L1 0x882f5ffd
#define ACD_LEVEL_TURBO 0x882f5ffd
#define ACD_LEVEL_NOM_L1 0x882f5ffd
#define ACD_LEVEL_NOM 0xc0285ffd
#define ACD_LEVEL_SVS_L2 0xe0295ffd
#define ACD_LEVEL_SVS_L1 0xe0295ffd
#define ACD_LEVEL_SVS_L0 0xc02a5ffd
#define ACD_LEVEL_SVS 0xc02a5ffd
#define ACD_LEVEL_LOW_SVS_L1 0xc02c5ffd
#define ACD_LEVEL_LOW_SVS 0xc02f5ffd
#define ACD_LEVEL_LOW_SVS_D0 0xc02f5ffd
&msm_gpu {
/* Power levels */
qcom,gpu-pwrlevels {
#address-cells = <1>;
#size-cells = <0>;
compatible = "qcom,gpu-pwrlevels";
qcom,initial-pwrlevel = <11>;
/* Turbo */
qcom,gpu-pwrlevel@0 {
reg = <0>;
qcom,gpu-freq = <903000000>;
qcom,level = <RPMH_REGULATOR_LEVEL_TURBO>;
qcom,bus-freq = <9>;
qcom,bus-min = <9>;
qcom,bus-max = <9>;
qcom,acd-level = <ACD_LEVEL_TURBO>;
};
/* Nom_L1 */
qcom,gpu-pwrlevel@1 {
reg = <1>;
qcom,gpu-freq = <834000000>;
qcom,level = <RPMH_REGULATOR_LEVEL_NOM_L1>;
qcom,bus-freq = <8>;
qcom,bus-min = <7>;
qcom,bus-max = <9>;
qcom,acd-level = <ACD_LEVEL_NOM_L1>;
};
/* Nom */
qcom,gpu-pwrlevel@2 {
reg = <2>;
qcom,gpu-freq = <770000000>;
qcom,level = <RPMH_REGULATOR_LEVEL_NOM>;
qcom,bus-freq = <7>;
qcom,bus-min = <6>;
qcom,bus-max = <9>;
qcom,acd-level = <ACD_LEVEL_NOM>;
};
/* SVS_L2 */
qcom,gpu-pwrlevel@3 {
reg = <3>;
qcom,gpu-freq = <720000000>;
qcom,level = <RPMH_REGULATOR_LEVEL_SVS_L2>;
qcom,bus-freq = <7>;
qcom,bus-min = <6>;
qcom,bus-max = <9>;
qcom,acd-level = <ACD_LEVEL_SVS_L2>;
};
/* SVS_L1 */
qcom,gpu-pwrlevel@4 {
reg = <4>;
qcom,gpu-freq = <680000000>;
qcom,level = <RPMH_REGULATOR_LEVEL_SVS_L1>;
qcom,bus-freq = <7>;
qcom,bus-min = <5>;
qcom,bus-max = <9>;
qcom,acd-level = <ACD_LEVEL_SVS_L1>;
};
/* SVS_L0 */
qcom,gpu-pwrlevel@5 {
reg = <5>;
qcom,gpu-freq = <629000000>;
qcom,level = <RPMH_REGULATOR_LEVEL_SVS_L0>;
qcom,bus-freq = <6>;
qcom,bus-min = <4>;
qcom,bus-max = <7>;
qcom,acd-level = <ACD_LEVEL_SVS_L0>;
};
/* SVS */
qcom,gpu-pwrlevel@6 {
reg = <6>;
qcom,gpu-freq = <578000000>;
qcom,level = <RPMH_REGULATOR_LEVEL_SVS>;
qcom,bus-freq = <5>;
qcom,bus-min = <4>;
qcom,bus-max = <7>;
qcom,acd-level = <ACD_LEVEL_SVS>;
};
/* Low_SVS_L1 */
qcom,gpu-pwrlevel@7 {
reg = <7>;
qcom,gpu-freq = <500000000>;
qcom,level = <RPMH_REGULATOR_LEVEL_LOW_SVS_L1>;
qcom,bus-freq = <5>;
qcom,bus-min = <3>;
qcom,bus-max = <7>;
qcom,acd-level = <ACD_LEVEL_LOW_SVS_L1>;
};
/* Low_SVS */
qcom,gpu-pwrlevel@8 {
reg = <8>;
qcom,gpu-freq = <422000000>;
qcom,level = <RPMH_REGULATOR_LEVEL_LOW_SVS>;
qcom,bus-freq = <5>;
qcom,bus-min = <3>;
qcom,bus-max = <7>;
qcom,acd-level = <ACD_LEVEL_LOW_SVS>;
};
/* Low_SVS_D0 */
qcom,gpu-pwrlevel@9 {
reg = <9>;
qcom,gpu-freq = <366000000>;
qcom,level = <RPMH_REGULATOR_LEVEL_LOW_SVS_D0>;
qcom,bus-freq = <3>;
qcom,bus-min = <2>;
qcom,bus-max = <5>;
qcom,acd-level = <ACD_LEVEL_LOW_SVS_D0>;
};
/* Low_SVS_D1 */
qcom,gpu-pwrlevel@10 {
reg = <10>;
qcom,gpu-freq = <310000000>;
qcom,level = <RPMH_REGULATOR_LEVEL_LOW_SVS_D1>;
qcom,bus-freq = <1>;
qcom,bus-min = <1>;
qcom,bus-max = <4>;
};
/* Low_SVS_D2 */
qcom,gpu-pwrlevel@11 {
reg = <11>;
qcom,gpu-freq = <231000000>;
qcom,level = <RPMH_REGULATOR_LEVEL_LOW_SVS_D2>;
qcom,bus-freq = <1>;
qcom,bus-min = <1>;
qcom,bus-max = <3>;
};
};
};

View File

@@ -0,0 +1,26 @@
// SPDX-License-Identifier: BSD-3-Clause
/*
* Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved.
*/
/dts-v1/;
/plugin/;
#include <dt-bindings/clock/qcom,aop-qmp.h>
#include <dt-bindings/clock/qcom,gcc-pineapple.h>
#include <dt-bindings/clock/qcom,gpucc-pineapple.h>
#include <dt-bindings/clock/qcom,rpmh.h>
#include <dt-bindings/interconnect/qcom,pineapple.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/regulator/qcom,rpmh-regulator-levels.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include "pineapple-v2-gpu.dtsi"
#include "pineapple-v2-gpu-pwrlevels.dtsi"
/ {
model = "Qualcomm Technologies, Inc. Pineapple";
compatible = "qcom,pineapple";
qcom,msm-id = <557 0x20000>, <577 0x20000>;
qcom,board-id = <0 0>;
};

View File

@@ -0,0 +1,14 @@
// SPDX-License-Identifier: BSD-3-Clause
/*
* Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved.
*/
#include "pineapple-gpu.dtsi"
&msm_gpu {
compatible = "qcom,adreno-gpu-gen7-9-1", "qcom,kgsl-3d0";
qcom,gpu-model = "Adreno750v2";
qcom,chipid = <0x43051401>;
};

View File

@@ -0,0 +1,396 @@
// SPDX-License-Identifier: BSD-3-Clause
/*
* Copyright (c) 2023-2024 Qualcomm Innovation Center, Inc. All rights reserved.
*/
/* ACD Control register values */
#define ACD_LEVEL_TURBO_L4 0x88295ffd
#define ACD_LEVEL_TURBO_L3 0x882a5ffd
#define ACD_LEVEL_TURBO_L1 0x882a5ffd
#define ACD_LEVEL_NOM_L1 0x882b5ffd
#define ACD_LEVEL_NOM 0x882b5ffd
#define ACD_LEVEL_SVS_L2 0x882b5ffd
#define ACD_LEVEL_SVS_L1 0xa82b5ffd
#define ACD_LEVEL_SVS_L0 0x882d5ffd
#define ACD_LEVEL_SVS 0xa82e5ffd
#define ACD_LEVEL_LOW_SVS_L1 0xc0285ffd
#define ACD_LEVEL_LOW_SVS 0xe02d5ffd
#define ACD_LEVEL_LOW_SVS_D0 0xe02f5ffd
#define ACD_LEVEL_LOW_SVS_D1 0xe8285ffd
#define ACD_LEVEL_LOW_SVS_D2 0xe82f5ffd
&msm_gpu {
/* Power levels */
qcom,gpu-pwrlevel-bins {
#address-cells = <1>;
#size-cells = <0>;
compatible = "qcom,gpu-pwrlevels-bins";
qcom,gpu-pwrlevels-0 {
#address-cells = <1>;
#size-cells = <0>;
qcom,initial-pwrlevel = <10>;
qcom,initial-min-pwrlevel = <10>;
qcom,sku-codes = <SKU_CODE(PCODE_UNKNOWN, FC_AB)
SKU_CODE(PCODE_UNKNOWN, FC_AC)>;
/* NOM_L1 */
qcom,gpu-pwrlevel@0 {
reg = <0>;
qcom,gpu-freq = <900000000>;
qcom,level = <RPMH_REGULATOR_LEVEL_NOM_L1>;
qcom,bus-freq = <11>;
qcom,bus-min = <11>;
qcom,bus-max = <11>;
qcom,acd-level = <ACD_LEVEL_NOM_L1>;
};
/* NOM */
qcom,gpu-pwrlevel@1 {
reg = <1>;
qcom,gpu-freq = <832000000>;
qcom,level = <RPMH_REGULATOR_LEVEL_NOM>;
qcom,bus-freq = <10>;
qcom,bus-min = <7>;
qcom,bus-max = <10>;
qcom,acd-level = <ACD_LEVEL_NOM>;
};
/* SVS_L2 */
qcom,gpu-pwrlevel@2 {
reg = <2>;
qcom,gpu-freq = <779000000>;
qcom,level = <RPMH_REGULATOR_LEVEL_SVS_L2>;
qcom,bus-freq = <9>;
qcom,bus-min = <7>;
qcom,bus-max = <10>;
qcom,acd-level = <ACD_LEVEL_SVS_L2>;
};
/* SVS_L1 */
qcom,gpu-pwrlevel@3 {
reg = <3>;
qcom,gpu-freq = <734000000>;
qcom,level = <RPMH_REGULATOR_LEVEL_SVS_L1>;
qcom,bus-freq = <8>;
qcom,bus-min = <6>;
qcom,bus-max = <10>;
qcom,acd-level = <ACD_LEVEL_SVS_L1>;
};
/* SVS_L0 */
qcom,gpu-pwrlevel@4 {
reg = <4>;
qcom,gpu-freq = <660000000>;
qcom,level = <RPMH_REGULATOR_LEVEL_SVS_L0>;
qcom,bus-freq = <6>;
qcom,bus-min = <4>;
qcom,bus-max = <8>;
qcom,acd-level = <ACD_LEVEL_SVS_L0>;
};
/* SVS */
qcom,gpu-pwrlevel@5 {
reg = <5>;
qcom,gpu-freq = <607000000>;
qcom,level = <RPMH_REGULATOR_LEVEL_SVS>;
qcom,bus-freq = <6>;
qcom,bus-min = <4>;
qcom,bus-max = <8>;
qcom,acd-level = <ACD_LEVEL_SVS>;
};
/* Low_SVS_L1 */
qcom,gpu-pwrlevel@6 {
reg = <6>;
qcom,gpu-freq = <525000000>;
qcom,level = <RPMH_REGULATOR_LEVEL_LOW_SVS_L1>;
qcom,bus-freq = <4>;
qcom,bus-min = <2>;
qcom,bus-max = <6>;
qcom,acd-level = <ACD_LEVEL_LOW_SVS_L1>;
};
/* Low_SVS */
qcom,gpu-pwrlevel@7 {
reg = <7>;
qcom,gpu-freq = <443000000>;
qcom,level = <RPMH_REGULATOR_LEVEL_LOW_SVS>;
qcom,bus-freq = <4>;
qcom,bus-min = <2>;
qcom,bus-max = <6>;
qcom,acd-level = <ACD_LEVEL_LOW_SVS>;
};
/* Low_SVS_D0 */
qcom,gpu-pwrlevel@8 {
reg = <8>;
qcom,gpu-freq = <389000000>;
qcom,level = <RPMH_REGULATOR_LEVEL_LOW_SVS_D0>;
qcom,bus-freq = <4>;
qcom,bus-min = <2>;
qcom,bus-max = <6>;
qcom,acd-level = <ACD_LEVEL_LOW_SVS_D0>;
};
/* Low_SVS_D1 */
qcom,gpu-pwrlevel@9 {
reg = <9>;
qcom,gpu-freq = <342000000>;
qcom,level = <RPMH_REGULATOR_LEVEL_LOW_SVS_D1>;
qcom,bus-freq = <3>;
qcom,bus-min = <2>;
qcom,bus-max = <3>;
qcom,acd-level = <ACD_LEVEL_LOW_SVS_D1>;
};
/* Low_SVS_D2 */
qcom,gpu-pwrlevel@10 {
reg = <10>;
qcom,gpu-freq = <222000000>;
qcom,level = <RPMH_REGULATOR_LEVEL_LOW_SVS_D2>;
qcom,bus-freq = <3>;
qcom,bus-min = <2>;
qcom,bus-max = <3>;
qcom,acd-level = <ACD_LEVEL_LOW_SVS_D2>;
};
/* Low_SVS_D3 */
qcom,gpu-pwrlevel@11 {
reg = <11>;
qcom,gpu-freq = <125000000>;
qcom,level = <RPMH_REGULATOR_LEVEL_LOW_SVS_D3>;
qcom,bus-freq = <2>;
qcom,bus-min = <2>;
qcom,bus-max = <2>;
};
};
qcom,gpu-pwrlevels-1 {
#address-cells = <1>;
#size-cells = <0>;
qcom,initial-pwrlevel = <13>;
qcom,initial-min-pwrlevel = <13>;
qcom,sku-codes = <SKU_CODE(PCODE_UNKNOWN, FC_UNKNOWN)>;
/* TURBO_L4 */
qcom,gpu-pwrlevel@0 {
reg = <0>;
qcom,gpu-freq = <1150000000>;
qcom,level = <RPMH_REGULATOR_LEVEL_TURBO_L4>;
qcom,bus-freq = <11>;
qcom,bus-min = <11>;
qcom,bus-max = <11>;
qcom,acd-level = <ACD_LEVEL_TURBO_L4>;
};
/* TURBO_L3 */
qcom,gpu-pwrlevel@1 {
reg = <1>;
qcom,gpu-freq = <1050000000>;
qcom,level = <RPMH_REGULATOR_LEVEL_TURBO_L3>;
qcom,bus-freq = <11>;
qcom,bus-min = <11>;
qcom,bus-max = <11>;
qcom,acd-level = <ACD_LEVEL_TURBO_L3>;
};
/* TURBO_L1 */
qcom,gpu-pwrlevel@2 {
reg = <2>;
qcom,gpu-freq = <967000000>;
qcom,level = <RPMH_REGULATOR_LEVEL_TURBO_L1>;
qcom,bus-freq = <10>;
qcom,bus-min = <10>;
qcom,bus-max = <11>;
qcom,acd-level = <ACD_LEVEL_TURBO_L1>;
};
/* NOM_L1 */
qcom,gpu-pwrlevel@3 {
reg = <3>;
qcom,gpu-freq = <900000000>;
qcom,level = <RPMH_REGULATOR_LEVEL_NOM_L1>;
qcom,bus-freq = <10>;
qcom,bus-min = <7>;
qcom,bus-max = <10>;
qcom,acd-level = <ACD_LEVEL_NOM_L1>;
};
/* NOM */
qcom,gpu-pwrlevel@4 {
reg = <4>;
qcom,gpu-freq = <832000000>;
qcom,level = <RPMH_REGULATOR_LEVEL_NOM>;
qcom,bus-freq = <10>;
qcom,bus-min = <7>;
qcom,bus-max = <10>;
qcom,acd-level = <ACD_LEVEL_NOM>;
};
/* SVS_L2 */
qcom,gpu-pwrlevel@5 {
reg = <5>;
qcom,gpu-freq = <779000000>;
qcom,level = <RPMH_REGULATOR_LEVEL_SVS_L2>;
qcom,bus-freq = <9>;
qcom,bus-min = <7>;
qcom,bus-max = <10>;
qcom,acd-level = <ACD_LEVEL_SVS_L2>;
};
/* SVS_L1 */
qcom,gpu-pwrlevel@6 {
reg = <6>;
qcom,gpu-freq = <734000000>;
qcom,level = <RPMH_REGULATOR_LEVEL_SVS_L1>;
qcom,bus-freq = <8>;
qcom,bus-min = <6>;
qcom,bus-max = <10>;
qcom,acd-level = <ACD_LEVEL_SVS_L1>;
};
/* SVS_L0 */
qcom,gpu-pwrlevel@7 {
reg = <7>;
qcom,gpu-freq = <660000000>;
qcom,level = <RPMH_REGULATOR_LEVEL_SVS_L0>;
qcom,bus-freq = <6>;
qcom,bus-min = <4>;
qcom,bus-max = <8>;
qcom,acd-level = <ACD_LEVEL_SVS_L0>;
};
/* SVS */
qcom,gpu-pwrlevel@8 {
reg = <8>;
qcom,gpu-freq = <607000000>;
qcom,level = <RPMH_REGULATOR_LEVEL_SVS>;
qcom,bus-freq = <6>;
qcom,bus-min = <4>;
qcom,bus-max = <8>;
qcom,acd-level = <ACD_LEVEL_SVS>;
};
/* Low_SVS_L1 */
qcom,gpu-pwrlevel@9 {
reg = <9>;
qcom,gpu-freq = <525000000>;
qcom,level = <RPMH_REGULATOR_LEVEL_LOW_SVS_L1>;
qcom,bus-freq = <4>;
qcom,bus-min = <2>;
qcom,bus-max = <6>;
qcom,acd-level = <ACD_LEVEL_LOW_SVS_L1>;
};
/* Low_SVS */
qcom,gpu-pwrlevel@10 {
reg = <10>;
qcom,gpu-freq = <443000000>;
qcom,level = <RPMH_REGULATOR_LEVEL_LOW_SVS>;
qcom,bus-freq = <4>;
qcom,bus-min = <2>;
qcom,bus-max = <6>;
qcom,acd-level = <ACD_LEVEL_LOW_SVS>;
};
/* Low_SVS_D0 */
qcom,gpu-pwrlevel@11 {
reg = <11>;
qcom,gpu-freq = <389000000>;
qcom,level = <RPMH_REGULATOR_LEVEL_LOW_SVS_D0>;
qcom,bus-freq = <4>;
qcom,bus-min = <2>;
qcom,bus-max = <6>;
qcom,acd-level = <ACD_LEVEL_LOW_SVS_D0>;
};
/* Low_SVS_D1 */
qcom,gpu-pwrlevel@12 {
reg = <12>;
qcom,gpu-freq = <342000000>;
qcom,level = <RPMH_REGULATOR_LEVEL_LOW_SVS_D1>;
qcom,bus-freq = <3>;
qcom,bus-min = <2>;
qcom,bus-max = <3>;
qcom,acd-level = <ACD_LEVEL_LOW_SVS_D1>;
};
/* Low_SVS_D2 */
qcom,gpu-pwrlevel@13 {
reg = <13>;
qcom,gpu-freq = <222000000>;
qcom,level = <RPMH_REGULATOR_LEVEL_LOW_SVS_D2>;
qcom,bus-freq = <3>;
qcom,bus-min = <2>;
qcom,bus-max = <3>;
qcom,acd-level = <ACD_LEVEL_LOW_SVS_D2>;
};
/* Low_SVS_D3 */
qcom,gpu-pwrlevel@14 {
reg = <14>;
qcom,gpu-freq = <125000000>;
qcom,level = <RPMH_REGULATOR_LEVEL_LOW_SVS_D3>;
qcom,bus-freq = <2>;
qcom,bus-min = <2>;
qcom,bus-max = <2>;
};
};
};
};

View File

@@ -0,0 +1,27 @@
// SPDX-License-Identifier: BSD-3-Clause
/*
* Copyright (c) 2023-2024 Qualcomm Innovation Center, Inc. All rights reserved.
*/
/dts-v1/;
/plugin/;
#include <dt-bindings/clock/qcom,aop-qmp.h>
#include <dt-bindings/clock/qcom,gcc-sun.h>
#include <dt-bindings/clock/qcom,gpucc-sun.h>
#include <dt-bindings/clock/qcom,gxclkctl-sun.h>
#include <dt-bindings/clock/qcom,rpmh.h>
#include <dt-bindings/interconnect/qcom,sun.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/regulator/qcom,rpmh-regulator-levels.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include "sun-gpu.dtsi"
#include "sun-gpu-pwrlevels.dtsi"
/ {
model = "Qualcomm Technologies, Inc. sun";
compatible = "qcom,sun";
qcom,msm-id = <0x26a 0x10000>, <0x27f 0x10000>, <0x100026a 0x10000>, <0x100027f 0x10000>;
qcom,board-id = <0 0>;
};

View File

@@ -0,0 +1,256 @@
// SPDX-License-Identifier: BSD-3-Clause
/*
* Copyright (c) 2023-2024 Qualcomm Innovation Center, Inc. All rights reserved.
*/
#define MHZ_TO_KBPS(mhz, w) ((mhz * 1000000 * w) / (1024))
/* External feature codes */
#define FC_UNKNOWN 0x0
#define FC_AA 0x1
#define FC_AB 0x2
#define FC_AC 0x3
#define FC_AD 0x4
/* Internal feature codes */
#define FC_Y0 0x00f1
#define FC_Y1 0x00f2
/* Pcodes */
#define PCODE_UNKNOWN 0
#define PCODE_0 1
#define PCODE_1 2
#define PCODE_2 3
#define PCODE_3 4
#define PCODE_4 5
#define PCODE_5 6
#define PCODE_6 7
#define PCODE_7 8
#define SKU_CODE(pcode, featurecode) ((pcode << 16) + featurecode)
&msm_gpu {
compatible = "qcom,adreno-gpu-gen8-0-0", "qcom,kgsl-3d0";
status = "ok";
reg = <0x3d00000 0x40000>, <0x3d50000 0x10000>,
<0x3d61000 0x3000>, <0x3d9e000 0x2000>,
<0x10900000 0x80000>, <0x10048000 0x8000>,
<0x10b05000 0x1000>;
reg-names = "kgsl_3d0_reg_memory", "rscc", "cx_dbgc", "cx_misc",
"qdss_gfx", "qdss_etr", "qdss_tmc";
interrupts = <0 300 IRQ_TYPE_LEVEL_HIGH>, <0 80 IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "kgsl_3d0_irq", "cx_host_irq";
clocks = <&gcc GCC_GPU_GEMNOC_GFX_CLK>,
<&gpucc GPU_CC_AHB_CLK>,
<&aoss_qmp QDSS_CLK>;
clock-names = "gcc_gpu_memnoc_gfx",
"gpu_cc_ahb",
"apb_pclk";
qcom,gpu-model = "Adreno830";
qcom,chipid = <0x44050000>;
qcom,min-access-length = <32>;
qcom,ubwc-mode = <5>;
qcom,gpu-qdss-stm = <0x37000000 0x40000>; /* base addr, size */
qcom,tzone-names = "gpuss-0", "gpuss-1", "gpuss-2", "gpuss-3",
"gpuss-4", "gpuss-5", "gpuss-6", "gpuss-7";
interconnects = <&gem_noc MASTER_GFX3D &mc_virt SLAVE_EBI1>;
interconnect-names = "gpu_icc_path";
qcom,bus-table-cnoc =
<0>, /* Off */
<100>; /* On */
qcom,bus-table-ddr =
<MHZ_TO_KBPS(0, 4)>, /* index=0 */
<MHZ_TO_KBPS(200, 4)>, /* LowSVS index=1 */
<MHZ_TO_KBPS(547, 4)>, /* LowSVS index=2 */
<MHZ_TO_KBPS(1353, 4)>, /* LowSVS index=3 */
<MHZ_TO_KBPS(1555, 4)>, /* SVS index=4 */
<MHZ_TO_KBPS(1708, 4)>, /* SVS index=5 */
<MHZ_TO_KBPS(2092, 4)>, /* SVS index=6 */
<MHZ_TO_KBPS(2736, 4)>, /* NOM index=7 */
<MHZ_TO_KBPS(3187, 4)>, /* NOM index=8 */
<MHZ_TO_KBPS(3686, 4)>, /* TURBO index=9 */
<MHZ_TO_KBPS(4224, 4)>, /* TURBO_L1 index=10 */
<MHZ_TO_KBPS(4761, 4)>; /* TURBO_L3 index=11 */
nvmem-cells = <&gpu_speed_bin>;
nvmem-cell-names = "speed_bin";
zap-shader {
memory-region = <&gpu_microcode_mem>;
};
qcom,gpu-mempools {
#address-cells = <1>;
#size-cells = <0>;
compatible = "qcom,gpu-mempools";
/* 4K Page Pool configuration */
qcom,gpu-mempool@0 {
reg = <0>;
qcom,mempool-page-size = <4096>;
qcom,mempool-reserved = <2048>;
};
/* 8K Page Pool configuration */
qcom,gpu-mempool@1 {
reg = <1>;
qcom,mempool-page-size = <8192>;
qcom,mempool-reserved = <1024>;
};
/* 64K Page Pool configuration */
qcom,gpu-mempool@2 {
reg = <2>;
qcom,mempool-page-size = <65536>;
qcom,mempool-reserved = <256>;
};
/* 128K Page Pool configuration */
qcom,gpu-mempool@3 {
reg = <3>;
qcom,mempool-page-size = <131072>;
qcom,mempool-reserved = <128>;
};
/* 256K Page Pool configuration */
qcom,gpu-mempool@4 {
reg = <4>;
qcom,mempool-page-size = <262144>;
qcom,mempool-reserved = <80>;
};
/* 1M Page Pool configuration */
qcom,gpu-mempool@5 {
reg = <5>;
qcom,mempool-page-size = <1048576>;
qcom,mempool-reserved = <32>;
};
};
};
&soc {
kgsl_msm_iommu: qcom,kgsl-iommu@3da0000 {
compatible = "qcom,kgsl-smmu-v2";
reg = <0x3da0000 0x40000>;
power-domains = <&gpucc GPU_CC_CX_GDSC>;
gfx3d_user: gfx3d_user {
compatible = "qcom,smmu-kgsl-cb";
iommus = <&kgsl_smmu 0x0 0x000>;
qcom,iommu-dma = "disabled";
};
gfx3d_lpac: gfx3d_lpac {
compatible = "qcom,smmu-kgsl-cb";
iommus = <&kgsl_smmu 0x1 0x000>;
qcom,iommu-dma = "disabled";
};
gfx3d_secure: gfx3d_secure {
compatible = "qcom,smmu-kgsl-cb";
iommus = <&kgsl_smmu 0x2 0x000>;
qcom,iommu-dma = "disabled";
};
};
gmu: qcom,gmu@3d37000 {
compatible = "qcom,gen8-gmu";
reg = <0x3d37000 0x68000>,
<0x3d40000 0x10000>;
reg-names = "gmu", "gmu_ao_blk_dec0";
interrupts = <0 304 IRQ_TYPE_LEVEL_HIGH>,
<0 305 IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "hfi", "gmu";
power-domains = <&gpucc GPU_CC_CX_GDSC>,
<&gpucc GPU_CC_CX_GMU_GDSC>,
<&gxclkctl GX_CLKCTL_GX_GDSC>;
power-domain-names = "cx", "gmu_cx", "gx";
clocks = <&gpucc GPU_CC_CX_GMU_CLK>,
<&gpucc GPU_CC_CXO_CLK>,
<&gcc GCC_DDRSS_GPU_AXI_CLK>,
<&gcc GCC_GPU_GEMNOC_GFX_CLK>,
<&gpucc GPU_CC_AHB_CLK>,
<&gpucc GPU_CC_HUB_CX_INT_CLK>;
clock-names = "gmu_clk", "cxo_clk", "axi_clk",
"memnoc_clk", "ahb_clk", "hub_clk";
qcom,gmu-freq-table = <500000000 RPMH_REGULATOR_LEVEL_LOW_SVS>,
<650000000 RPMH_REGULATOR_LEVEL_SVS>;
qcom,gmu-perf-ddr-bw = <MHZ_TO_KBPS(1555, 4)>;
iommus = <&kgsl_smmu 0x5 0x000>;
qcom,iommu-dma = "disabled";
qcom,ipc-core = <0x00400000 0x140000>;
qcom,soccp-controller = <&soccp_pas>;
qcom,qmp = <&aoss_qmp>;
};
coresight_cx_dgbc: qcom,gpu-coresight-cx {
compatible = "qcom,gpu-coresight-cx";
coresight-name = "coresight-gfx-cx";
out-ports {
port {
cx_dbgc_out_funnel_gfx: endpoint {
remote-endpoint =
<&funnel_gfx_in_cx_dbgc>;
};
};
};
};
coresight_gx_dgbc: qcom,gpu-coresight-gx {
compatible = "qcom,gpu-coresight-gx";
coresight-name = "coresight-gfx";
out-ports {
port {
gx_dbgc_out_funnel_gfx: endpoint {
remote-endpoint =
<&funnel_gfx_in_gx_dbgc>;
};
};
};
};
};
&funnel_gfx {
status = "ok";
in-ports {
#address-cells = <1>;
#size-cells = <0>;
port@0 {
reg = <0>;
funnel_gfx_in_gx_dbgc: endpoint {
remote-endpoint =
<&gx_dbgc_out_funnel_gfx>;
};
};
port@1 {
reg = <1>;
funnel_gfx_in_cx_dbgc: endpoint {
remote-endpoint =
<&cx_dbgc_out_funnel_gfx>;
};
};
};
};

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,27 @@
// SPDX-License-Identifier: BSD-3-Clause
/*
* Copyright (c) 2023-2024 Qualcomm Innovation Center, Inc. All rights reserved.
*/
/dts-v1/;
/plugin/;
#include <dt-bindings/clock/qcom,aop-qmp.h>
#include <dt-bindings/clock/qcom,gcc-sun.h>
#include <dt-bindings/clock/qcom,gpucc-sun.h>
#include <dt-bindings/clock/qcom,gxclkctl-sun.h>
#include <dt-bindings/clock/qcom,rpmh.h>
#include <dt-bindings/interconnect/qcom,sun.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/regulator/qcom,rpmh-regulator-levels.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include "sun-v2-gpu.dtsi"
#include "sun-v2-gpu-pwrlevels.dtsi"
/ {
model = "Qualcomm Technologies, Inc. sun";
compatible = "qcom,sun";
qcom,msm-id = <0x26a 0x20000>, <0x27f 0x20000>, <0x100026a 0x20000>, <0x100027f 0x20000>;
qcom,board-id = <0 0>;
};

View File

@@ -0,0 +1,14 @@
// SPDX-License-Identifier: BSD-3-Clause
/*
* Copyright (c) 2023-2024 Qualcomm Innovation Center, Inc. All rights reserved.
*/
#include "sun-gpu.dtsi"
&msm_gpu {
compatible = "qcom,adreno-gpu-gen8-0-1", "qcom,kgsl-3d0";
qcom,gpu-model = "Adreno830v2";
qcom,chipid = <0x44050001>;
};

View File

@@ -0,0 +1,457 @@
// SPDX-License-Identifier: BSD-3-Clause
/*
* Copyright (c) 2024-2025, Qualcomm Innovation Center, Inc. All rights reserved.
*/
/* ACD Control register values */
#define ACD_LEVEL_TURBO_L2 0xa8285ffd
#define ACD_LEVEL_TURBO_L1 0x88295ffd
#define ACD_LEVEL_TURBO_L0 0x882a5ffd
#define ACD_LEVEL_TURBO 0x882a5ffd
#define ACD_LEVEL_NOM_L1 0xa82a5ffd
#define ACD_LEVEL_NOM 0x882b5ffd
#define ACD_LEVEL_SVS_L2 0x882b5ffd
#define ACD_LEVEL_SVS_L1 0xa82b5ffd
#define ACD_LEVEL_SVS 0xc02c5ffd
#define ACD_LEVEL_LOW_SVS 0xc8295ffd
#define ACD_LEVEL_LOW_SVS_D1 0xc8295ffd
&msm_gpu {
/* Power levels */
qcom,gpu-pwrlevel-bins {
#address-cells = <1>;
#size-cells = <0>;
compatible = "qcom,gpu-pwrlevels-bins";
/*
* The bins need to match based on speed bin first and then SKU.
* Keep pwrlevel bins sorted in ascending order of the fmax of the bins.
*/
qcom,gpu-pwrlevels-0 {
#address-cells = <1>;
#size-cells = <0>;
qcom,initial-pwrlevel = <10>;
qcom,speed-bin = <0>;
/* Turbo_L2 */
qcom,gpu-pwrlevel@0 {
reg = <0>;
qcom,gpu-freq = <1150000000>;
qcom,level = <RPMH_REGULATOR_LEVEL_TURBO_L2>;
qcom,bus-freq = <11>;
qcom,bus-min = <11>;
qcom,bus-max = <11>;
qcom,acd-level = <ACD_LEVEL_TURBO_L2>;
};
/* Turbo_L1 */
qcom,gpu-pwrlevel@1 {
reg = <1>;
qcom,gpu-freq = <1100000000>;
qcom,level = <RPMH_REGULATOR_LEVEL_TURBO_L1>;
qcom,bus-freq = <11>;
qcom,bus-min = <11>;
qcom,bus-max = <11>;
qcom,acd-level = <ACD_LEVEL_TURBO_L1>;
};
/* Turbo_L0 */
qcom,gpu-pwrlevel@2 {
reg = <2>;
qcom,gpu-freq = <1050000000>;
qcom,level = <RPMH_REGULATOR_LEVEL_TURBO_L0>;
qcom,bus-freq = <11>;
qcom,bus-min = <11>;
qcom,bus-max = <11>;
qcom,acd-level = <ACD_LEVEL_TURBO_L0>;
};
/* Turbo */
qcom,gpu-pwrlevel@3 {
reg = <3>;
qcom,gpu-freq = <937000000>;
qcom,level = <RPMH_REGULATOR_LEVEL_TURBO>;
qcom,bus-freq = <10>;
qcom,bus-min = <9>;
qcom,bus-max = <11>;
qcom,acd-level = <ACD_LEVEL_TURBO>;
};
/* Nom_L1 */
qcom,gpu-pwrlevel@4 {
reg = <4>;
qcom,gpu-freq = <873000000>;
qcom,level = <RPMH_REGULATOR_LEVEL_NOM_L1>;
qcom,bus-freq = <10>;
qcom,bus-min = <7>;
qcom,bus-max = <11>;
qcom,acd-level = <ACD_LEVEL_NOM_L1>;
};
/* Nom */
qcom,gpu-pwrlevel@5 {
reg = <5>;
qcom,gpu-freq = <763000000>;
qcom,level = <RPMH_REGULATOR_LEVEL_NOM>;
qcom,bus-freq = <8>;
qcom,bus-min = <7>;
qcom,bus-max = <9>;
qcom,acd-level = <ACD_LEVEL_NOM>;
};
/* SVS_L2 */
qcom,gpu-pwrlevel@6 {
reg = <6>;
qcom,gpu-freq = <688000000>;
qcom,level = <RPMH_REGULATOR_LEVEL_SVS_L2>;
qcom,bus-freq = <6>;
qcom,bus-min = <4>;
qcom,bus-max = <7>;
qcom,acd-level = <ACD_LEVEL_SVS_L2>;
};
/* SVS_L1 */
qcom,gpu-pwrlevel@7 {
reg = <7>;
qcom,gpu-freq = <644000000>;
qcom,level = <RPMH_REGULATOR_LEVEL_SVS_L1>;
qcom,bus-freq = <6>;
qcom,bus-min = <4>;
qcom,bus-max = <7>;
qcom,acd-level = <ACD_LEVEL_SVS_L1>;
};
/* SVS */
qcom,gpu-pwrlevel@8 {
reg = <8>;
qcom,gpu-freq = <510000000>;
qcom,level = <RPMH_REGULATOR_LEVEL_SVS>;
qcom,bus-freq = <6>;
qcom,bus-min = <2>;
qcom,bus-max = <6>;
qcom,acd-level = <ACD_LEVEL_SVS>;
};
/* Low_SVS */
qcom,gpu-pwrlevel@9 {
reg = <9>;
qcom,gpu-freq = <362000000>;
qcom,level = <RPMH_REGULATOR_LEVEL_LOW_SVS>;
qcom,bus-freq = <3>;
qcom,bus-min = <1>;
qcom,bus-max = <3>;
qcom,acd-level = <ACD_LEVEL_LOW_SVS>;
};
/* Low_SVS_D1 */
qcom,gpu-pwrlevel@10 {
reg = <10>;
qcom,gpu-freq = <264000000>;
qcom,level = <RPMH_REGULATOR_LEVEL_LOW_SVS_D1>;
qcom,bus-freq = <1>;
qcom,bus-min = <1>;
qcom,bus-max = <3>;
qcom,acd-level = <ACD_LEVEL_LOW_SVS_D1>;
};
};
qcom,gpu-pwrlevels-1 {
#address-cells = <1>;
#size-cells = <0>;
qcom,initial-pwrlevel = <8>;
qcom,speed-bin = <0xd8>;
/* Turbo_L1 */
qcom,gpu-pwrlevel@0 {
reg = <0>;
qcom,gpu-freq = <1025000000>;
qcom,level = <RPMH_REGULATOR_LEVEL_TURBO_L1>;
qcom,bus-freq = <11>;
qcom,bus-min = <11>;
qcom,bus-max = <11>;
qcom,acd-level = <ACD_LEVEL_TURBO_L1>;
};
/* Turbo */
qcom,gpu-pwrlevel@1 {
reg = <1>;
qcom,gpu-freq = <937000000>;
qcom,level = <RPMH_REGULATOR_LEVEL_TURBO>;
qcom,bus-freq = <10>;
qcom,bus-min = <9>;
qcom,bus-max = <11>;
qcom,acd-level = <ACD_LEVEL_TURBO>;
};
/* Nom_L1 */
qcom,gpu-pwrlevel@2 {
reg = <2>;
qcom,gpu-freq = <873000000>;
qcom,level = <RPMH_REGULATOR_LEVEL_NOM_L1>;
qcom,bus-freq = <10>;
qcom,bus-min = <7>;
qcom,bus-max = <11>;
qcom,acd-level = <ACD_LEVEL_NOM_L1>;
};
/* Nom */
qcom,gpu-pwrlevel@3 {
reg = <3>;
qcom,gpu-freq = <763000000>;
qcom,level = <RPMH_REGULATOR_LEVEL_NOM>;
qcom,bus-freq = <8>;
qcom,bus-min = <7>;
qcom,bus-max = <9>;
qcom,acd-level = <ACD_LEVEL_NOM>;
};
/* SVS_L2 */
qcom,gpu-pwrlevel@4 {
reg = <4>;
qcom,gpu-freq = <688000000>;
qcom,level = <RPMH_REGULATOR_LEVEL_SVS_L2>;
qcom,bus-freq = <6>;
qcom,bus-min = <4>;
qcom,bus-max = <7>;
qcom,acd-level = <ACD_LEVEL_SVS_L2>;
};
/* SVS_L1 */
qcom,gpu-pwrlevel@5 {
reg = <5>;
qcom,gpu-freq = <644000000>;
qcom,level = <RPMH_REGULATOR_LEVEL_SVS_L1>;
qcom,bus-freq = <6>;
qcom,bus-min = <4>;
qcom,bus-max = <7>;
qcom,acd-level = <ACD_LEVEL_SVS_L1>;
};
/* SVS */
qcom,gpu-pwrlevel@6 {
reg = <6>;
qcom,gpu-freq = <510000000>;
qcom,level = <RPMH_REGULATOR_LEVEL_SVS>;
qcom,bus-freq = <6>;
qcom,bus-min = <2>;
qcom,bus-max = <6>;
qcom,acd-level = <ACD_LEVEL_SVS>;
};
/* Low_SVS */
qcom,gpu-pwrlevel@7 {
reg = <7>;
qcom,gpu-freq = <362000000>;
qcom,level = <RPMH_REGULATOR_LEVEL_LOW_SVS>;
qcom,bus-freq = <3>;
qcom,bus-min = <1>;
qcom,bus-max = <3>;
qcom,acd-level = <ACD_LEVEL_LOW_SVS>;
};
/* Low_SVS_D1 */
qcom,gpu-pwrlevel@8 {
reg = <8>;
qcom,gpu-freq = <264000000>;
qcom,level = <RPMH_REGULATOR_LEVEL_LOW_SVS_D1>;
qcom,bus-freq = <1>;
qcom,bus-min = <1>;
qcom,bus-max = <3>;
qcom,acd-level = <ACD_LEVEL_LOW_SVS_D1>;
};
};
qcom,gpu-pwrlevels-2 {
#address-cells = <1>;
#size-cells = <0>;
qcom,initial-pwrlevel = <10>;
qcom,speed-bin = <0xf2>;
/* Turbo_L2 */
qcom,gpu-pwrlevel@0 {
reg = <0>;
qcom,gpu-freq = <1150000000>;
qcom,level = <RPMH_REGULATOR_LEVEL_TURBO_L2>;
qcom,bus-freq = <11>;
qcom,bus-min = <11>;
qcom,bus-max = <11>;
qcom,acd-level = <ACD_LEVEL_TURBO_L2>;
};
/* Turbo_L1 */
qcom,gpu-pwrlevel@1 {
reg = <1>;
qcom,gpu-freq = <1100000000>;
qcom,level = <RPMH_REGULATOR_LEVEL_TURBO_L1>;
qcom,bus-freq = <11>;
qcom,bus-min = <11>;
qcom,bus-max = <11>;
qcom,acd-level = <ACD_LEVEL_TURBO_L1>;
};
/* Turbo_L0 */
qcom,gpu-pwrlevel@2 {
reg = <2>;
qcom,gpu-freq = <1050000000>;
qcom,level = <RPMH_REGULATOR_LEVEL_TURBO_L0>;
qcom,bus-freq = <11>;
qcom,bus-min = <11>;
qcom,bus-max = <11>;
qcom,acd-level = <ACD_LEVEL_TURBO_L0>;
};
/* Turbo */
qcom,gpu-pwrlevel@3 {
reg = <3>;
qcom,gpu-freq = <937000000>;
qcom,level = <RPMH_REGULATOR_LEVEL_TURBO>;
qcom,bus-freq = <10>;
qcom,bus-min = <9>;
qcom,bus-max = <11>;
qcom,acd-level = <ACD_LEVEL_TURBO>;
};
/* Nom_L1 */
qcom,gpu-pwrlevel@4 {
reg = <4>;
qcom,gpu-freq = <873000000>;
qcom,level = <RPMH_REGULATOR_LEVEL_NOM_L1>;
qcom,bus-freq = <10>;
qcom,bus-min = <7>;
qcom,bus-max = <11>;
qcom,acd-level = <ACD_LEVEL_NOM_L1>;
};
/* Nom */
qcom,gpu-pwrlevel@5 {
reg = <5>;
qcom,gpu-freq = <763000000>;
qcom,level = <RPMH_REGULATOR_LEVEL_NOM>;
qcom,bus-freq = <8>;
qcom,bus-min = <7>;
qcom,bus-max = <9>;
qcom,acd-level = <ACD_LEVEL_NOM>;
};
/* SVS_L2 */
qcom,gpu-pwrlevel@6 {
reg = <6>;
qcom,gpu-freq = <688000000>;
qcom,level = <RPMH_REGULATOR_LEVEL_SVS_L2>;
qcom,bus-freq = <6>;
qcom,bus-min = <4>;
qcom,bus-max = <7>;
qcom,acd-level = <ACD_LEVEL_SVS_L2>;
};
/* SVS_L1 */
qcom,gpu-pwrlevel@7 {
reg = <7>;
qcom,gpu-freq = <644000000>;
qcom,level = <RPMH_REGULATOR_LEVEL_SVS_L1>;
qcom,bus-freq = <6>;
qcom,bus-min = <4>;
qcom,bus-max = <7>;
qcom,acd-level = <ACD_LEVEL_SVS_L1>;
};
/* SVS */
qcom,gpu-pwrlevel@8 {
reg = <8>;
qcom,gpu-freq = <510000000>;
qcom,level = <RPMH_REGULATOR_LEVEL_SVS>;
qcom,bus-freq = <6>;
qcom,bus-min = <2>;
qcom,bus-max = <6>;
qcom,acd-level = <ACD_LEVEL_SVS>;
};
/* Low_SVS */
qcom,gpu-pwrlevel@9 {
reg = <9>;
qcom,gpu-freq = <362000000>;
qcom,level = <RPMH_REGULATOR_LEVEL_LOW_SVS>;
qcom,bus-freq = <3>;
qcom,bus-min = <1>;
qcom,bus-max = <3>;
qcom,acd-level = <ACD_LEVEL_LOW_SVS>;
};
/* Low_SVS_D1 */
qcom,gpu-pwrlevel@10 {
reg = <10>;
qcom,gpu-freq = <264000000>;
qcom,level = <RPMH_REGULATOR_LEVEL_LOW_SVS_D1>;
qcom,bus-freq = <1>;
qcom,bus-min = <1>;
qcom,bus-max = <3>;
qcom,acd-level = <ACD_LEVEL_LOW_SVS_D1>;
};
};
};
};

View File

@@ -0,0 +1,25 @@
// SPDX-License-Identifier: BSD-3-Clause
/*
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
*/
/dts-v1/;
/plugin/;
#include <dt-bindings/clock/qcom,aop-qmp.h>
#include <dt-bindings/clock/qcom,gcc-tuna.h>
#include <dt-bindings/clock/qcom,gpucc-tuna.h>
#include <dt-bindings/clock/qcom,rpmh.h>
#include <dt-bindings/interconnect/qcom,tuna.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/regulator/qcom,rpmh-regulator-levels.h>
#include "tuna-gpu.dtsi"
#include "tuna-gpu-pwrlevels.dtsi"
/ {
model = "Qualcomm Technologies, Inc. tuna";
compatible = "qcom,tuna", "qcom,tunap";
qcom,msm-id = <0x28f 0x10000>, <0x2b6 0x10000>;
qcom,board-id = <0 0>;
};

View File

@@ -0,0 +1,183 @@
// SPDX-License-Identifier: BSD-3-Clause
/*
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
*/
#define MHZ_TO_KBPS(mhz, w) ((mhz * 1000000 * w) / (1024))
/* External feature codes */
#define FC_UNKNOWN 0x0
/* Pcodes */
#define PCODE_UNKNOWN 0
#define SKU_CODE(pcode, featurecode) ((pcode << 16) + featurecode)
&msm_gpu {
compatible = "qcom,adreno-gpu-gen8-6-0", "qcom,kgsl-3d0";
status = "ok";
reg = <0x3d00000 0x40000>, <0x3d50000 0x10000>,
<0x3d61000 0x3000>, <0x3d9e000 0x2000>,
<0x10900000 0x80000>, <0x10048000 0x8000>,
<0x10b05000 0x1000>;
reg-names = "kgsl_3d0_reg_memory", "rscc", "cx_dbgc", "cx_misc",
"qdss_gfx", "qdss_etr", "qdss_tmc";
interrupts = <0 300 IRQ_TYPE_LEVEL_HIGH>, <0 80 IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "kgsl_3d0_irq", "cx_host_irq";
clocks = <&gcc GCC_GPU_GEMNOC_GFX_CLK>,
<&gpucc GPU_CC_AHB_CLK>,
<&aoss_qmp QDSS_CLK>;
clock-names = "gcc_gpu_memnoc_gfx",
"gpu_cc_ahb",
"apb_pclk";
qcom,gpu-model = "Adreno825";
qcom,chipid = <0x44030000>;
qcom,min-access-length = <32>;
qcom,ubwc-mode = <5>;
qcom,tzone-names = "gpu-0", "gpu-1", "gpu-2", "gpu-3",
"gpu-4", "gpu-5";
interconnects = <&gem_noc MASTER_GFX3D &mc_virt SLAVE_EBI1>;
interconnect-names = "gpu_icc_path";
qcom,bus-table-cnoc =
<0>, /* Off */
<100>; /* On */
qcom,bus-table-ddr =
<MHZ_TO_KBPS(0, 4)>, /* index=0 */
<MHZ_TO_KBPS(200, 4)>, /* LowSVS index=1 */
<MHZ_TO_KBPS(547, 4)>, /* LowSVS index=2 */
<MHZ_TO_KBPS(1353, 4)>, /* LowSVS index=3 */
<MHZ_TO_KBPS(1555, 4)>, /* SVS index=4 */
<MHZ_TO_KBPS(1708, 4)>, /* SVS index=5 */
<MHZ_TO_KBPS(2092, 4)>, /* SVS index=6 */
<MHZ_TO_KBPS(2736, 4)>, /* NOM index=7 */
<MHZ_TO_KBPS(3187, 4)>, /* NOM index=8 */
<MHZ_TO_KBPS(3686, 4)>, /* TURBO index=9 */
<MHZ_TO_KBPS(4224, 4)>, /* TURBO_L1 index=10 */
<MHZ_TO_KBPS(4761, 4)>; /* TURBO_L2 index=11 */
nvmem-cells = <&gpu_speed_bin>;
nvmem-cell-names = "speed_bin";
zap-shader {
memory-region = <&gpu_microcode_mem>;
};
qcom,gpu-mempools {
#address-cells = <1>;
#size-cells = <0>;
compatible = "qcom,gpu-mempools";
/* 4K Page Pool configuration */
qcom,gpu-mempool@0 {
reg = <0>;
qcom,mempool-page-size = <4096>;
qcom,mempool-reserved = <2048>;
};
/* 8K Page Pool configuration */
qcom,gpu-mempool@1 {
reg = <1>;
qcom,mempool-page-size = <8192>;
qcom,mempool-reserved = <1024>;
};
/* 64K Page Pool configuration */
qcom,gpu-mempool@2 {
reg = <2>;
qcom,mempool-page-size = <65536>;
qcom,mempool-reserved = <256>;
};
/* 128K Page Pool configuration */
qcom,gpu-mempool@3 {
reg = <3>;
qcom,mempool-page-size = <131072>;
qcom,mempool-reserved = <128>;
};
/* 256K Page Pool configuration */
qcom,gpu-mempool@4 {
reg = <4>;
qcom,mempool-page-size = <262144>;
qcom,mempool-reserved = <80>;
};
/* 1M Page Pool configuration */
qcom,gpu-mempool@5 {
reg = <5>;
qcom,mempool-page-size = <1048576>;
qcom,mempool-reserved = <32>;
};
};
};
&soc {
kgsl_msm_iommu: qcom,kgsl-iommu@3da0000 {
compatible = "qcom,kgsl-smmu-v2";
reg = <0x3da0000 0x40000>;
power-domains = <&gpucc GPU_CC_CX_GDSC>;
gfx3d_user: gfx3d_user {
compatible = "qcom,smmu-kgsl-cb";
iommus = <&kgsl_smmu 0x0 0x000>;
qcom,iommu-dma = "disabled";
};
gfx3d_lpac: gfx3d_lpac {
compatible = "qcom,smmu-kgsl-cb";
iommus = <&kgsl_smmu 0x1 0x000>;
qcom,iommu-dma = "disabled";
};
gfx3d_secure: gfx3d_secure {
compatible = "qcom,smmu-kgsl-cb";
iommus = <&kgsl_smmu 0x2 0x000>;
qcom,iommu-dma = "disabled";
};
};
gmu: qcom,gmu@3d37000 {
compatible = "qcom,gen8-gmu";
reg = <0x3d37000 0x68000>,
<0x3d40000 0x10000>;
reg-names = "gmu", "gmu_ao_blk_dec0";
interrupts = <0 304 IRQ_TYPE_LEVEL_HIGH>,
<0 305 IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "hfi", "gmu";
power-domains = <&gpucc GPU_CC_CX_GDSC>,
<&gpucc GPU_CC_CX_GMU_GDSC>,
<&gxclkctl GX_CLKCTL_GX_GDSC>;
power-domain-names = "cx", "gmu_cx", "gx";
clocks = <&gpucc GPU_CC_CX_GMU_CLK>,
<&gpucc GPU_CC_CXO_CLK>,
<&gcc GCC_DDRSS_GPU_AXI_CLK>,
<&gcc GCC_GPU_GEMNOC_GFX_CLK>,
<&gpucc GPU_CC_AHB_CLK>,
<&gpucc GPU_CC_HUB_CX_INT_CLK>;
clock-names = "gmu_clk", "cxo_clk", "axi_clk",
"memnoc_clk", "ahb_clk", "hub_clk";
qcom,gmu-freq-table = <500000000 RPMH_REGULATOR_LEVEL_LOW_SVS>,
<650000000 RPMH_REGULATOR_LEVEL_SVS>;
qcom,gmu-perf-ddr-bw = <MHZ_TO_KBPS(1555, 4)>;
iommus = <&kgsl_smmu 0x5 0x000>;
qcom,iommu-dma = "disabled";
qcom,ipc-core = <0x00400000 0x140000>;
qcom,qmp = <&aoss_qmp>;
};
};

View File

@@ -0,0 +1,30 @@
// SPDX-License-Identifier: BSD-3-Clause
/*
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
*/
/dts-v1/;
/plugin/;
#include <dt-bindings/clock/qcom,aop-qmp.h>
#include <dt-bindings/clock/qcom,gcc-tuna.h>
#include <dt-bindings/clock/qcom,gpucc-tuna.h>
#include <dt-bindings/clock/qcom,rpmh.h>
#include <dt-bindings/interconnect/qcom,tuna.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/regulator/qcom,rpmh-regulator-levels.h>
#include "tuna-gpu.dtsi"
#include "tuna-gpu-pwrlevels.dtsi"
/ {
model = "Qualcomm Technologies, Inc. tuna7 SoC";
compatible = "qcom,tuna";
qcom,msm-id = <0x2a9 0x10000>;
qcom,board-id = <0 0>;
};
&msm_gpu {
/delete-property/qcom,gpu-model;
qcom,gpu-model = "Adreno822";
};

Some files were not shown because too many files have changed in this diff Show More