From cbb67bce19f652989341df0bb6e5679a241745c4 Mon Sep 17 00:00:00 2001 From: Sampath Kumar Sudi Date: Thu, 7 Sep 2023 22:34:17 -0700 Subject: [PATCH 01/34] ARM: dts: msm: Update IPD driver for 4K Anorak SKU3 Updating IPD driver for 4K Anorak SKU3 with device type,sw_event and smr_settings. Change-Id: Iae556e86931ef496eae4e294517c16b09bd3d367 --- qcom/anorak-qxr-4kdisp-hmt-ufs-ref.dtsi | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/qcom/anorak-qxr-4kdisp-hmt-ufs-ref.dtsi b/qcom/anorak-qxr-4kdisp-hmt-ufs-ref.dtsi index 2947408e..823191c6 100644 --- a/qcom/anorak-qxr-4kdisp-hmt-ufs-ref.dtsi +++ b/qcom/anorak-qxr-4kdisp-hmt-ufs-ref.dtsi @@ -1 +1,8 @@ #include "anorak-qxr-hmt-ufs-ref.dtsi" + +&k09973 { + ipd,SW_event = <0 1 1 0>; + ipd,SMR_setting = <0>; + ipd,Device_type = <2>; +}; + From ed45d613ec7258d76c067ce9bf7a954fdf9133c1 Mon Sep 17 00:00:00 2001 From: Krishna Chaitanya Chundru Date: Mon, 6 Nov 2023 12:06:55 +0530 Subject: [PATCH 02/34] ARM: dts: msm: add phy aux & pll clk config1 register offset Add phy aux clk & pll clk config1 register offsets which needs to be access for apps based L1ss sleep. Change-Id: I2b3b0f4410a0caac4fadef839f1e5e1713b5503a --- bindings/pci/pci-msm.txt | 11 +++++++++++ qcom/anorak-pcie.dtsi | 2 ++ 2 files changed, 13 insertions(+) diff --git a/bindings/pci/pci-msm.txt b/bindings/pci/pci-msm.txt index 28dbdcb3..4a15c167 100644 --- a/bindings/pci/pci-msm.txt +++ b/bindings/pci/pci-msm.txt @@ -423,6 +423,17 @@ interconnects: value type: Definition: Offset from PCIe PHY base to dump pcie phy status registers +- qcom,phy-aux-clk-config1-offset: + Usage: required + Value type: + Definition: Offset from PCIe PHY aux clk config register to disable FLL + +- qcom,phy-pll-clk-enable1-offset: + Usage: required + Value type: + Definition: ffset from PCIe PHY base to enable ext clk buf mux to + eliminate VDDA leakage + ============== Root port node ============== diff --git a/qcom/anorak-pcie.dtsi b/qcom/anorak-pcie.dtsi index f13aef15..ec09f791 100644 --- a/qcom/anorak-pcie.dtsi +++ b/qcom/anorak-pcie.dtsi @@ -665,6 +665,8 @@ qcom,l1-2-th-value = <150>; qcom,pcie-phy-ver = <114>; + qcom,phy-aux-clk-config1-offset = <0x1450>; + qcom,phy-pll-clk-enable1-offset = <0x1048>; qcom,phy-status-offset = <0x1214>; qcom,phy-status-bit = <7>; qcom,phy-power-down-offset = <0x1240>; From 417fcc77cf32d633562b1dc905053517aafa9158 Mon Sep 17 00:00:00 2001 From: Vandana Gupta Date: Thu, 12 Oct 2023 11:01:17 +0530 Subject: [PATCH 03/34] ARM: dts: msm: add support for bwprof Add support for bwprof driver for neo. Change-Id: I7bfe3424874a574eac01b556dc2e343caf3c900c --- qcom/neo_la.dtsi | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/qcom/neo_la.dtsi b/qcom/neo_la.dtsi index d07b7163..08cdfeb3 100644 --- a/qcom/neo_la.dtsi +++ b/qcom/neo_la.dtsi @@ -240,6 +240,37 @@ }; }; + bwprof: qcom,bwprof-ddr@19090000 { + compatible = "qcom,bwprof"; + #address-cells = <1>; + #size-cells = <1>; + qcom,bus-width = <4>; + ranges; + reg = <0x190BA050 0x10>; + reg-names = "mem-freq"; + + bwprof_0: qcom,bwprof0@19092000 { + compatible = "qcom,bwprof-mon"; + reg = <0x19092000 0x1000>; + reg-names = "base"; + client = "total"; + }; + + bwprof_1: qcom,bwprof1@19093000 { + compatible = "qcom,bwprof-mon"; + reg = <0x19093000 0x1000>; + reg-names = "base"; + client = "cpu"; + }; + + bwprof_2: qcom,bwprof2@19094000 { + compatible = "qcom,bwprof-mon"; + reg = <0x19094000 0x1000>; + reg-names = "base"; + client = "gpu"; + }; + }; + bluetooth: bt_wcn6x5x { compatible = "qcom,kiwi"; pinctrl-names = "default"; From c3465072fdc818b5f021a3ba128af60eec9fdeb5 Mon Sep 17 00:00:00 2001 From: Maulik Shah Date: Tue, 12 Dec 2023 14:46:08 +0530 Subject: [PATCH 04/34] dt-bindings: soc: qcom: snapshot of DT bindings for power_state device power_state bindings snapshot from msm-5.15 branch commit f0d57fd2dc3b ("ARM: dts: msm: update channel name for glink obex channel"). Change-Id: I7d80f94d067d90b620daf6fb1c7e66842ec5a445 --- bindings/soc/qcom/qcom,power-state.txt | 28 ++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 bindings/soc/qcom/qcom,power-state.txt diff --git a/bindings/soc/qcom/qcom,power-state.txt b/bindings/soc/qcom/qcom,power-state.txt new file mode 100644 index 00000000..2fe83749 --- /dev/null +++ b/bindings/soc/qcom/qcom,power-state.txt @@ -0,0 +1,28 @@ +* Qualcomm Technologies, Inc. Power State Driver + +This binding describes the Qualcomm Technologies, Inc. Power State Driver. Power +State creates power_state device node for user space communication. User space +client can open device node for communication and driver accordingly handles the +request. + +Required Properties: + +- compatible: + Usage: required + Value type: + Definition: must be "qcom,power-state" +- subsys-name: + Usage: required + Value type: + Description: subsystem names supported +- rproc-handle: + Usage: required + Description: phandle to subsys defined in subsys-name. + +Example: + + qcom,power-state { + compatible = "qcom,power-state"; + qcom,subsys-name = "adsp", "modem"; + qcom,rproc-handle = <&adsp_pas>, <&modem_pas>; + }; From bdba30affda1aad02b29e6bfaa0fb3048dd18353 Mon Sep 17 00:00:00 2001 From: Maulik Shah Date: Tue, 12 Dec 2023 14:35:40 +0530 Subject: [PATCH 05/34] ARM: dts: msm: Add power_state device for neo Add power_state device to support hibernation and suspend. Change-Id: I8b49ba3df88276810147ea118cdac50124c5ea6c --- qcom/neo.dtsi | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/qcom/neo.dtsi b/qcom/neo.dtsi index 7ba44460..ad5ce926 100644 --- a/qcom/neo.dtsi +++ b/qcom/neo.dtsi @@ -1765,6 +1765,12 @@ ddr-freq-update; }; + qcom,power-state { + compatible = "qcom,power-state"; + qcom,subsys-name = "lpass", "cdsp"; + qcom,rproc-handle = <&adsp_pas>, <&cdsp_pas>; + }; + sys-pm-vx@c320000 { compatible = "qcom,sys-pm-violators", "qcom,sys-pm-neo"; reg = <0xc320000 0x0400>; From 2d1bcef53902f1638feab7f6fa4f27ff32c306b8 Mon Sep 17 00:00:00 2001 From: Jagadeesh Ponduru Date: Fri, 5 Jan 2024 10:42:49 +0530 Subject: [PATCH 06/34] ARM: dts: msm: increase smem memory to 44k Increase smem memory to support additional filter rules needed for IPA Q6. Change-Id: Ibb6a597085d0bbc5eb7372e8dd42ae017383a488 --- qcom/parrot.dtsi | 2 +- qcom/ravelin.dtsi | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/qcom/parrot.dtsi b/qcom/parrot.dtsi index 64a63e25..55a56efe 100644 --- a/qcom/parrot.dtsi +++ b/qcom/parrot.dtsi @@ -2952,7 +2952,7 @@ <0x146A8000 0x146A8000 0x2000>; qcom,iommu-dma = "atomic"; dma-coherent; - qcom,ipa-q6-smem-size = <36864>; + qcom,ipa-q6-smem-size = <45056>; }; ipa_smmu_wlan: ipa_smmu_wlan { diff --git a/qcom/ravelin.dtsi b/qcom/ravelin.dtsi index 509c83d5..19c74eba 100644 --- a/qcom/ravelin.dtsi +++ b/qcom/ravelin.dtsi @@ -2487,7 +2487,7 @@ <0x146A8000 0x146A8000 0x2000>; qcom,iommu-dma = "atomic"; dma-coherent; - qcom,ipa-q6-smem-size = <36864>; + qcom,ipa-q6-smem-size = <45056>; }; ipa_smmu_wlan: ipa_smmu_wlan { From f6ab82f0cd271ba4c8cc320f08589da8a61f9b9b Mon Sep 17 00:00:00 2001 From: NISARG SHETH Date: Wed, 10 Jan 2024 11:39:11 +0530 Subject: [PATCH 07/34] ARM: dts: msm: Add 788MHz GPU speed bin support for anorak Enable 788MHz GPU FMAX speed bin for anorak as per latest requirement. Change-Id: Idc7ff144a74d9f27e309978df2d955851bc47522 --- qcom/anorak-gpu.dtsi | 606 ++++++++++++++++++++++++++++++++++++------- 1 file changed, 516 insertions(+), 90 deletions(-) diff --git a/qcom/anorak-gpu.dtsi b/qcom/anorak-gpu.dtsi index 2637387c..883544df 100644 --- a/qcom/anorak-gpu.dtsi +++ b/qcom/anorak-gpu.dtsi @@ -37,8 +37,6 @@ qcom,chipid = <0x43050b00>; - qcom,initial-pwrlevel = <9>; - qcom,no-nap; qcom,min-access-length = <32>; @@ -77,130 +75,558 @@ }; /* Power levels */ - qcom,gpu-pwrlevels { + qcom,gpu-pwrlevel-bins { #address-cells = <1>; #size-cells = <0>; - compatible = "qcom,gpu-pwrlevels"; + compatible = "qcom,gpu-pwrlevel-bins"; - qcom,gpu-pwrlevel@0 { - reg = <0>; - qcom,gpu-freq = <690000000>; - qcom,level = ; + qcom,gpu-pwrlevels-0 { + #address-cells = <1>; + #size-cells = <0>; - qcom,bus-freq = <9>; - qcom,bus-min = <9>; - qcom,bus-max = <9>; + qcom,speed-bin = <0>; + qcom,initial-pwrlevel = <9>; - qcom,acd-level = <0xa82c5ffd>; + qcom,gpu-pwrlevel@0 { + reg = <0>; + qcom,gpu-freq = <690000000>; + qcom,level = ; + + qcom,bus-freq = <9>; + qcom,bus-min = <9>; + qcom,bus-max = <9>; + + qcom,acd-level = <0xa82c5ffd>; + }; + + qcom,gpu-pwrlevel@1 { + reg = <1>; + qcom,gpu-freq = <640000000>; + qcom,level = ; + + qcom,bus-freq = <9>; + qcom,bus-min = <5>; + qcom,bus-max = <9>; + + qcom,acd-level = <0x882e5ffd>; + }; + + qcom,gpu-pwrlevel@2 { + reg = <2>; + qcom,gpu-freq = <599000000>; + qcom,level = ; + + qcom,bus-freq = <9>; + qcom,bus-min = <5>; + qcom,bus-max = <9>; + + qcom,acd-level = <0x882e5ffd>; + }; + + qcom,gpu-pwrlevel@3 { + reg = <3>; + qcom,gpu-freq = <545000000>; + qcom,level = ; + + qcom,bus-freq = <9>; + qcom,bus-min = <5>; + qcom,bus-max = <9>; + + qcom,acd-level = <0x882e5ffd>; + }; + + qcom,gpu-pwrlevel@4 { + reg = <4>; + qcom,gpu-freq = <492000000>; + qcom,level = ; + + qcom,bus-freq = <8>; + qcom,bus-min = <5>; + qcom,bus-max = <9>; + + qcom,acd-level = <0x882e5ffd>; + }; + + qcom,gpu-pwrlevel@5 { + reg = <5>; + qcom,gpu-freq = <456000000>; + qcom,level = ; + + qcom,bus-freq = <8>; + qcom,bus-min = <5>; + qcom,bus-max = <9>; + + qcom,acd-level = <0x882e5ffd>; + }; + + qcom,gpu-pwrlevel@6 { + reg = <6>; + qcom,gpu-freq = <421000000>; + qcom,level = ; + + qcom,bus-freq = <8>; + qcom,bus-min = <5>; + qcom,bus-max = <9>; + + qcom,acd-level = <0x882e5ffd>; + }; + + qcom,gpu-pwrlevel@7 { + reg = <7>; + qcom,gpu-freq = <350000000>; + qcom,level = ; + + qcom,bus-freq = <7>; + qcom,bus-min = <4>; + qcom,bus-max = <9>; + + qcom,acd-level = <0xc0295ffd>; + }; + + qcom,gpu-pwrlevel@8 { + reg = <8>; + qcom,gpu-freq = <317000000>; + qcom,level = ; + + qcom,bus-freq = <5>; + qcom,bus-min = <2>; + qcom,bus-max = <5>; + + qcom,acd-level = <0xc0295ffd>; + }; + + qcom,gpu-pwrlevel@9 { + reg = <9>; + qcom,gpu-freq = <285000000>; + qcom,level = ; + + qcom,bus-freq = <1>; + qcom,bus-min = <1>; + qcom,bus-max = <5>; + + qcom,acd-level = <0xe02a5ffd>; + }; }; - qcom,gpu-pwrlevel@1 { - reg = <1>; - qcom,gpu-freq = <640000000>; - qcom,level = ; + qcom,gpu-pwrlevels-1 { + #address-cells = <1>; + #size-cells = <0>; - qcom,bus-freq = <9>; - qcom,bus-min = <5>; - qcom,bus-max = <9>; + qcom,speed-bin = <146>; + qcom,initial-pwrlevel = <9>; - qcom,acd-level = <0x882e5ffd>; + qcom,gpu-pwrlevel@0 { + reg = <0>; + qcom,gpu-freq = <690000000>; + qcom,level = ; + + qcom,bus-freq = <9>; + qcom,bus-min = <9>; + qcom,bus-max = <9>; + + qcom,acd-level = <0xa82c5ffd>; + }; + + qcom,gpu-pwrlevel@1 { + reg = <1>; + qcom,gpu-freq = <640000000>; + qcom,level = ; + + qcom,bus-freq = <9>; + qcom,bus-min = <5>; + qcom,bus-max = <9>; + + qcom,acd-level = <0x882e5ffd>; + }; + + qcom,gpu-pwrlevel@2 { + reg = <2>; + qcom,gpu-freq = <599000000>; + qcom,level = ; + + qcom,bus-freq = <9>; + qcom,bus-min = <5>; + qcom,bus-max = <9>; + + qcom,acd-level = <0x882e5ffd>; + }; + + qcom,gpu-pwrlevel@3 { + reg = <3>; + qcom,gpu-freq = <545000000>; + qcom,level = ; + + qcom,bus-freq = <9>; + qcom,bus-min = <5>; + qcom,bus-max = <9>; + + qcom,acd-level = <0x882e5ffd>; + }; + + qcom,gpu-pwrlevel@4 { + reg = <4>; + qcom,gpu-freq = <492000000>; + qcom,level = ; + + qcom,bus-freq = <8>; + qcom,bus-min = <5>; + qcom,bus-max = <9>; + + qcom,acd-level = <0x882e5ffd>; + }; + + qcom,gpu-pwrlevel@5 { + reg = <5>; + qcom,gpu-freq = <456000000>; + qcom,level = ; + + qcom,bus-freq = <8>; + qcom,bus-min = <5>; + qcom,bus-max = <9>; + + qcom,acd-level = <0x882e5ffd>; + }; + + qcom,gpu-pwrlevel@6 { + reg = <6>; + qcom,gpu-freq = <421000000>; + qcom,level = ; + + qcom,bus-freq = <8>; + qcom,bus-min = <5>; + qcom,bus-max = <9>; + + qcom,acd-level = <0x882e5ffd>; + }; + + qcom,gpu-pwrlevel@7 { + reg = <7>; + qcom,gpu-freq = <350000000>; + qcom,level = ; + + qcom,bus-freq = <7>; + qcom,bus-min = <4>; + qcom,bus-max = <9>; + + qcom,acd-level = <0xc0295ffd>; + }; + + qcom,gpu-pwrlevel@8 { + reg = <8>; + qcom,gpu-freq = <317000000>; + qcom,level = ; + + qcom,bus-freq = <5>; + qcom,bus-min = <2>; + qcom,bus-max = <5>; + + qcom,acd-level = <0xc0295ffd>; + }; + + qcom,gpu-pwrlevel@9 { + reg = <9>; + qcom,gpu-freq = <285000000>; + qcom,level = ; + + qcom,bus-freq = <1>; + qcom,bus-min = <1>; + qcom,bus-max = <5>; + + qcom,acd-level = <0xe02a5ffd>; + }; }; - qcom,gpu-pwrlevel@2 { - reg = <2>; - qcom,gpu-freq = <599000000>; - qcom,level = ; + qcom,gpu-pwrlevels-2 { + #address-cells = <1>; + #size-cells = <0>; - qcom,bus-freq = <9>; - qcom,bus-min = <5>; - qcom,bus-max = <9>; + qcom,speed-bin = <167>; + qcom,initial-pwrlevel = <12>; - qcom,acd-level = <0x882e5ffd>; + qcom,gpu-pwrlevel@0 { + reg = <0>; + qcom,gpu-freq = <788000000>; + qcom,level = ; + + qcom,bus-freq = <9>; + qcom,bus-min = <9>; + qcom,bus-max = <9>; + + qcom,acd-level = <0x882c5ffd>; + }; + + qcom,gpu-pwrlevel@1 { + reg = <1>; + qcom,gpu-freq = <750000000>; + qcom,level = ; + + qcom,bus-freq = <9>; + qcom,bus-min = <9>; + qcom,bus-max = <9>; + + qcom,acd-level = <0xa82c5ffd>; + }; + + qcom,gpu-pwrlevel@2 { + reg = <2>; + qcom,gpu-freq = <730000000>; + qcom,level = ; + + qcom,bus-freq = <9>; + qcom,bus-min = <8>; + qcom,bus-max = <9>; + + qcom,acd-level = <0xa82c5ffd>; + }; + + qcom,gpu-pwrlevel@3 { + reg = <3>; + qcom,gpu-freq = <690000000>; + qcom,level = ; + + qcom,bus-freq = <9>; + qcom,bus-min = <7>; + qcom,bus-max = <9>; + + qcom,acd-level = <0xa82c5ffd>; + }; + + qcom,gpu-pwrlevel@4 { + reg = <4>; + qcom,gpu-freq = <640000000>; + qcom,level = ; + + qcom,bus-freq = <9>; + qcom,bus-min = <5>; + qcom,bus-max = <9>; + + qcom,acd-level = <0x882e5ffd>; + }; + + qcom,gpu-pwrlevel@5 { + reg = <5>; + qcom,gpu-freq = <599000000>; + qcom,level = ; + + qcom,bus-freq = <9>; + qcom,bus-min = <5>; + qcom,bus-max = <9>; + + qcom,acd-level = <0x882e5ffd>; + }; + + qcom,gpu-pwrlevel@6 { + reg = <6>; + qcom,gpu-freq = <545000000>; + qcom,level = ; + + qcom,bus-freq = <9>; + qcom,bus-min = <5>; + qcom,bus-max = <9>; + + qcom,acd-level = <0x882e5ffd>; + }; + + qcom,gpu-pwrlevel@7 { + reg = <7>; + qcom,gpu-freq = <492000000>; + qcom,level = ; + + qcom,bus-freq = <8>; + qcom,bus-min = <5>; + qcom,bus-max = <9>; + + qcom,acd-level = <0x882e5ffd>; + }; + + qcom,gpu-pwrlevel@8 { + reg = <8>; + qcom,gpu-freq = <456000000>; + qcom,level = ; + + qcom,bus-freq = <8>; + qcom,bus-min = <5>; + qcom,bus-max = <9>; + + qcom,acd-level = <0x882e5ffd>; + }; + + qcom,gpu-pwrlevel@9 { + reg = <9>; + qcom,gpu-freq = <421000000>; + qcom,level = ; + + qcom,bus-freq = <8>; + qcom,bus-min = <5>; + qcom,bus-max = <9>; + + qcom,acd-level = <0x882e5ffd>; + }; + + qcom,gpu-pwrlevel@10 { + reg = <10>; + qcom,gpu-freq = <350000000>; + qcom,level = ; + + qcom,bus-freq = <7>; + qcom,bus-min = <4>; + qcom,bus-max = <9>; + + qcom,acd-level = <0xc0295ffd>; + }; + + qcom,gpu-pwrlevel@11 { + reg = <11>; + qcom,gpu-freq = <317000000>; + qcom,level = ; + + qcom,bus-freq = <5>; + qcom,bus-min = <2>; + qcom,bus-max = <5>; + + qcom,acd-level = <0xc0295ffd>; + }; + + qcom,gpu-pwrlevel@12 { + reg = <12>; + qcom,gpu-freq = <285000000>; + qcom,level = ; + + qcom,bus-freq = <1>; + qcom,bus-min = <1>; + qcom,bus-max = <5>; + + qcom,acd-level = <0xe02a5ffd>; + }; }; - qcom,gpu-pwrlevel@3 { - reg = <3>; - qcom,gpu-freq = <545000000>; - qcom,level = ; + qcom,gpu-pwrlevels-3 { + #address-cells = <1>; + #size-cells = <0>; - qcom,bus-freq = <9>; - qcom,bus-min = <5>; - qcom,bus-max = <9>; + qcom,speed-bin = <168>; + qcom,initial-pwrlevel = <9>; - qcom,acd-level = <0x882e5ffd>; - }; + qcom,gpu-pwrlevel@0 { + reg = <0>; + qcom,gpu-freq = <690000000>; + qcom,level = ; - qcom,gpu-pwrlevel@4 { - reg = <4>; - qcom,gpu-freq = <492000000>; - qcom,level = ; + qcom,bus-freq = <9>; + qcom,bus-min = <9>; + qcom,bus-max = <9>; - qcom,bus-freq = <8>; - qcom,bus-min = <5>; - qcom,bus-max = <9>; + qcom,acd-level = <0xa82c5ffd>; + }; - qcom,acd-level = <0x882e5ffd>; - }; + qcom,gpu-pwrlevel@1 { + reg = <1>; + qcom,gpu-freq = <640000000>; + qcom,level = ; - qcom,gpu-pwrlevel@5 { - reg = <5>; - qcom,gpu-freq = <456000000>; - qcom,level = ; + qcom,bus-freq = <9>; + qcom,bus-min = <5>; + qcom,bus-max = <9>; - qcom,bus-freq = <8>; - qcom,bus-min = <5>; - qcom,bus-max = <9>; + qcom,acd-level = <0x882e5ffd>; + }; - qcom,acd-level = <0x882e5ffd>; - }; + qcom,gpu-pwrlevel@2 { + reg = <2>; + qcom,gpu-freq = <599000000>; + qcom,level = ; - qcom,gpu-pwrlevel@6 { - reg = <6>; - qcom,gpu-freq = <421000000>; - qcom,level = ; + qcom,bus-freq = <9>; + qcom,bus-min = <5>; + qcom,bus-max = <9>; - qcom,bus-freq = <8>; - qcom,bus-min = <5>; - qcom,bus-max = <9>; + qcom,acd-level = <0x882e5ffd>; + }; - qcom,acd-level = <0x882e5ffd>; - }; + qcom,gpu-pwrlevel@3 { + reg = <3>; + qcom,gpu-freq = <545000000>; + qcom,level = ; - qcom,gpu-pwrlevel@7 { - reg = <7>; - qcom,gpu-freq = <350000000>; - qcom,level = ; + qcom,bus-freq = <9>; + qcom,bus-min = <5>; + qcom,bus-max = <9>; - qcom,bus-freq = <7>; - qcom,bus-min = <4>; - qcom,bus-max = <9>; + qcom,acd-level = <0x882e5ffd>; + }; - qcom,acd-level = <0xc0295ffd>; - }; + qcom,gpu-pwrlevel@4 { + reg = <4>; + qcom,gpu-freq = <492000000>; + qcom,level = ; - qcom,gpu-pwrlevel@8 { - reg = <8>; - qcom,gpu-freq = <317000000>; - qcom,level = ; + qcom,bus-freq = <8>; + qcom,bus-min = <5>; + qcom,bus-max = <9>; - qcom,bus-freq = <5>; - qcom,bus-min = <2>; - qcom,bus-max = <5>; + qcom,acd-level = <0x882e5ffd>; + }; - qcom,acd-level = <0xc0295ffd>; - }; + qcom,gpu-pwrlevel@5 { + reg = <5>; + qcom,gpu-freq = <456000000>; + qcom,level = ; - qcom,gpu-pwrlevel@9 { - reg = <9>; - qcom,gpu-freq = <285000000>; - qcom,level = ; + qcom,bus-freq = <8>; + qcom,bus-min = <5>; + qcom,bus-max = <9>; - qcom,bus-freq = <1>; - qcom,bus-min = <1>; - qcom,bus-max = <5>; + qcom,acd-level = <0x882e5ffd>; + }; - qcom,acd-level = <0xe02a5ffd>; + qcom,gpu-pwrlevel@6 { + reg = <6>; + qcom,gpu-freq = <421000000>; + qcom,level = ; + + qcom,bus-freq = <8>; + qcom,bus-min = <5>; + qcom,bus-max = <9>; + + qcom,acd-level = <0x882e5ffd>; + }; + + qcom,gpu-pwrlevel@7 { + reg = <7>; + qcom,gpu-freq = <350000000>; + qcom,level = ; + + qcom,bus-freq = <7>; + qcom,bus-min = <4>; + qcom,bus-max = <9>; + + qcom,acd-level = <0xc0295ffd>; + }; + + qcom,gpu-pwrlevel@8 { + reg = <8>; + qcom,gpu-freq = <317000000>; + qcom,level = ; + + qcom,bus-freq = <5>; + qcom,bus-min = <2>; + qcom,bus-max = <5>; + + qcom,acd-level = <0xc0295ffd>; + }; + + qcom,gpu-pwrlevel@9 { + reg = <9>; + qcom,gpu-freq = <285000000>; + qcom,level = ; + + qcom,bus-freq = <1>; + qcom,bus-min = <1>; + qcom,bus-max = <5>; + + qcom,acd-level = <0xe02a5ffd>; + }; }; }; From de9ddca941bd179154ed0de236e7f1961e699fc5 Mon Sep 17 00:00:00 2001 From: Rajesh Bharathwaj Date: Tue, 16 Jan 2024 22:28:30 -0800 Subject: [PATCH 08/34] ARM: dts: msm: Add support for PMD VCSEL voltage Adding support for PMD TOF sensor in Anarok with 4.3V. Change-Id: I5cda792c4ea87c713854ea995dcc492053df1ac0 --- qcom/anorak-qxr.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/qcom/anorak-qxr.dtsi b/qcom/anorak-qxr.dtsi index b330e34b..d02fec80 100644 --- a/qcom/anorak-qxr.dtsi +++ b/qcom/anorak-qxr.dtsi @@ -357,6 +357,8 @@ &itof_level { enable-gpio = <&tlmm 87 GPIO_ACTIVE_HIGH>; + regulator-min-microvolt = <4300000>; + regulator-max-microvolt = <4300000>; status = "ok"; }; From 3a433cd2ffb4c209f925ab081d25c5b637c23fab Mon Sep 17 00:00:00 2001 From: Cong Zhang Date: Tue, 12 Dec 2023 10:38:21 +0800 Subject: [PATCH 09/34] ARM: dts: msm: Add ext-region prop of cpusysvm for parrot Add chipinfo region as ext-region for cpusysvm. Change-Id: I58fe275ce86705b919ec151f80a8ba2a34e81ac1 --- qcom/parrot.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/qcom/parrot.dtsi b/qcom/parrot.dtsi index 55a56efe..de4dd6a4 100644 --- a/qcom/parrot.dtsi +++ b/qcom/parrot.dtsi @@ -2077,6 +2077,8 @@ qcom,vmid = <50>; qcom,firmware-name = "cpusys_vm"; memory-region = <&cpusys_vm_mem>; + ext-region = <&chipinfo_mem>; + ext-label = <0x7>; }; trust_ui_vm: qcom,trust_ui_vm@e55fc000 { From b3a327c4e9a48a6e1edb00d31829dad6bd8d18d7 Mon Sep 17 00:00:00 2001 From: Meena Pasumarthi Date: Tue, 23 Jan 2024 13:04:26 +0530 Subject: [PATCH 10/34] ARM: dts: msm: Add device tree support for Anorak platform Add device tree support for anorak SXR2250P variant platform. Change-Id: I3b538a4d74b0de45863486544bf4c5b387da12b4 --- bindings/arm/msm/msm.txt | 5 ++- qcom/Makefile | 41 ++++++++++++------- qcom/anorak-atp-overlay.dts | 2 +- qcom/anorak-idp-4kdisp-hmt-overlay.dts | 2 +- qcom/anorak-idp-4kdisp-hsp-overlay.dts | 2 +- qcom/anorak-idp-hmt-overlay.dts | 2 +- qcom/anorak-idp-hsp-nodisplay-overlay.dts | 2 +- qcom/anorak-idp-overlay.dts | 2 +- qcom/anorak-idp-sd-overlay.dts | 2 +- qcom/anorak-idp-top-hmt-overlay.dts | 2 +- qcom/anorak-idp-top-hsp-overlay.dts | 2 +- .../anorak-qxr-4kdisp-hmt-ufs-ref-overlay.dts | 2 +- qcom/anorak-qxr-hmt-overlay.dts | 2 +- qcom/anorak-qxr-hmt-ufs-ref-overlay.dts | 2 +- qcom/anorak-qxr-overlay.dts | 2 +- qcom/anorakp-atp.dts | 10 +++++ qcom/anorakp-atp.dtsi | 1 + qcom/anorakp-idp-4kdisp-hmt.dts | 10 +++++ qcom/anorakp-idp-4kdisp-hmt.dtsi | 1 + qcom/anorakp-idp-4kdisp-hsp.dts | 10 +++++ qcom/anorakp-idp-4kdisp-hsp.dtsi | 1 + qcom/anorakp-idp-hmt.dts | 10 +++++ qcom/anorakp-idp-hmt.dtsi | 1 + qcom/anorakp-idp-hsp-nodisplay.dts | 10 +++++ qcom/anorakp-idp-hsp-nodisplay.dtsi | 1 + qcom/anorakp-idp-sd.dts | 10 +++++ qcom/anorakp-idp-sd.dtsi | 1 + qcom/anorakp-idp-top-hmt.dts | 10 +++++ qcom/anorakp-idp-top-hmt.dtsi | 1 + qcom/anorakp-idp-top-hsp.dts | 10 +++++ qcom/anorakp-idp-top-hsp.dtsi | 1 + qcom/anorakp-idp.dts | 10 +++++ qcom/anorakp-idp.dtsi | 1 + qcom/anorakp-qxr-4kdisp-hmt-ufs-ref.dts | 10 +++++ qcom/anorakp-qxr-4kdisp-hmt-ufs-ref.dtsi | 1 + qcom/anorakp-qxr-hmt-ufs-ref.dts | 10 +++++ qcom/anorakp-qxr-hmt-ufs-ref.dtsi | 1 + qcom/anorakp-qxr-hmt.dts | 10 +++++ qcom/anorakp-qxr-hmt.dtsi | 1 + qcom/anorakp-qxr.dts | 10 +++++ qcom/anorakp-qxr.dtsi | 1 + qcom/anorakp.dts | 9 ++++ qcom/anorakp.dtsi | 7 ++++ 43 files changed, 203 insertions(+), 28 deletions(-) create mode 100644 qcom/anorakp-atp.dts create mode 100644 qcom/anorakp-atp.dtsi create mode 100644 qcom/anorakp-idp-4kdisp-hmt.dts create mode 100644 qcom/anorakp-idp-4kdisp-hmt.dtsi create mode 100644 qcom/anorakp-idp-4kdisp-hsp.dts create mode 100644 qcom/anorakp-idp-4kdisp-hsp.dtsi create mode 100644 qcom/anorakp-idp-hmt.dts create mode 100644 qcom/anorakp-idp-hmt.dtsi create mode 100644 qcom/anorakp-idp-hsp-nodisplay.dts create mode 100644 qcom/anorakp-idp-hsp-nodisplay.dtsi create mode 100644 qcom/anorakp-idp-sd.dts create mode 100644 qcom/anorakp-idp-sd.dtsi create mode 100644 qcom/anorakp-idp-top-hmt.dts create mode 100644 qcom/anorakp-idp-top-hmt.dtsi create mode 100644 qcom/anorakp-idp-top-hsp.dts create mode 100644 qcom/anorakp-idp-top-hsp.dtsi create mode 100644 qcom/anorakp-idp.dts create mode 100644 qcom/anorakp-idp.dtsi create mode 100644 qcom/anorakp-qxr-4kdisp-hmt-ufs-ref.dts create mode 100644 qcom/anorakp-qxr-4kdisp-hmt-ufs-ref.dtsi create mode 100644 qcom/anorakp-qxr-hmt-ufs-ref.dts create mode 100644 qcom/anorakp-qxr-hmt-ufs-ref.dtsi create mode 100644 qcom/anorakp-qxr-hmt.dts create mode 100644 qcom/anorakp-qxr-hmt.dtsi create mode 100644 qcom/anorakp-qxr.dts create mode 100644 qcom/anorakp-qxr.dtsi create mode 100644 qcom/anorakp.dts create mode 100644 qcom/anorakp.dtsi diff --git a/bindings/arm/msm/msm.txt b/bindings/arm/msm/msm.txt index 23daa4e8..d80d2750 100644 --- a/bindings/arm/msm/msm.txt +++ b/bindings/arm/msm/msm.txt @@ -105,7 +105,7 @@ SoCs: compatible = "qcom,parrot", "qcom,parrotp" - ANORAK - compatible = "qcom,anorak" + compatible = "qcom,anorak", "qcom,anorakp" - RAVELIN compatible = "qcom,ravelin", "qcom,ravelinp" @@ -314,6 +314,9 @@ compatible = "qcom,anorak-rumi" compatible = "qcom,anorak-idp" compatible = "qcom,anorak-qxr" compatible = "qcom,anorak-atp" +compatible = "qcom,anorakp-idp" +compatible = "qcom,anorakp-qxr" +compatible = "qcom,anorakp-atp" compatible = "qcom,ravelin-rumi" compatible = "qcom,ravelin-atp" compatible = "qcom,ravelin-idp" diff --git a/qcom/Makefile b/qcom/Makefile index e9ffdf85..ab868d01 100644 --- a/qcom/Makefile +++ b/qcom/Makefile @@ -664,19 +664,19 @@ dtbo-$(CONFIG_ARCH_ANORAK) += anorak-rumi-overlay.dtbo \ anorak-idp-4kdisp-hmt-overlay.dtbo \ anorak-idp-hsp-nodisplay-overlay.dtbo anorak-rumi-overlay.dtbo-base := anorak.dtb -anorak-idp-overlay.dtbo-base := anorak.dtb -anorak-qxr-overlay.dtbo-base := anorak.dtb -anorak-atp-overlay.dtbo-base := anorak.dtb -anorak-idp-hmt-overlay.dtbo-base := anorak.dtb -anorak-qxr-hmt-ufs-ref-overlay.dtbo-base := anorak.dtb -anorak-qxr-4kdisp-hmt-ufs-ref-overlay.dtbo-base := anorak.dtb -anorak-qxr-hmt-overlay.dtbo-base := anorak.dtb -anorak-idp-sd-overlay.dtbo-base := anorak.dtb -anorak-idp-top-hmt-overlay.dtbo-base := anorak.dtb -anorak-idp-top-hsp-overlay.dtbo-base := anorak.dtb -anorak-idp-4kdisp-hsp-overlay.dtbo-base := anorak.dtb -anorak-idp-4kdisp-hmt-overlay.dtbo-base := anorak.dtb -anorak-idp-hsp-nodisplay-overlay.dtbo-base := anorak.dtb +anorak-idp-overlay.dtbo-base := anorak.dtb anorakp.dtb +anorak-qxr-overlay.dtbo-base := anorak.dtb anorakp.dtb +anorak-atp-overlay.dtbo-base := anorak.dtb anorakp.dtb +anorak-idp-hmt-overlay.dtbo-base := anorak.dtb anorakp.dtb +anorak-qxr-hmt-ufs-ref-overlay.dtbo-base := anorak.dtb anorakp.dtb +anorak-qxr-4kdisp-hmt-ufs-ref-overlay.dtbo-base := anorak.dtb anorakp.dtb +anorak-qxr-hmt-overlay.dtbo-base := anorak.dtb anorakp.dtb +anorak-idp-sd-overlay.dtbo-base := anorak.dtb anorakp.dtb +anorak-idp-top-hmt-overlay.dtbo-base := anorak.dtb anorakp.dtb +anorak-idp-top-hsp-overlay.dtbo-base := anorak.dtb anorakp.dtb +anorak-idp-4kdisp-hsp-overlay.dtbo-base := anorak.dtb anorakp.dtb +anorak-idp-4kdisp-hmt-overlay.dtbo-base := anorak.dtb anorakp.dtb +anorak-idp-hsp-nodisplay-overlay.dtbo-base := anorak.dtb anorakp.dtb else dtb-$(CONFIG_ARCH_ANORAK) += anorak-rumi.dtb \ anorak-idp.dtb \ @@ -691,7 +691,20 @@ dtb-$(CONFIG_ARCH_ANORAK) += anorak-rumi.dtb \ anorak-idp-top-hsp.dtb \ anorak-idp-4kdisp-hsp.dtb \ anorak-idp-4kdisp-hmt.dtb \ - anorak-idp-hsp-nodisplay.dtb + anorak-idp-hsp-nodisplay.dtb \ + anorakp-idp.dtb \ + anorakp-qxr.dtb \ + anorakp-atp.dtb \ + anorakp-idp-hmt.dtb \ + anorakp-qxr-hmt-ufs-ref.dtb \ + anorakp-qxr-4kdisp-hmt-ufs-ref.dtb \ + anorakp-qxr-hmt.dtb \ + anorakp-idp-sd.dtb \ + anorakp-idp-top-hmt.dtb \ + anorakp-idp-top-hsp.dtb \ + anorakp-idp-4kdisp-hsp.dtb \ + anorakp-idp-4kdisp-hmt.dtb \ + anorakp-idp-hsp-nodisplay.dtb endif ifeq ($(CONFIG_ARCH_LAHAINA), y) diff --git a/qcom/anorak-atp-overlay.dts b/qcom/anorak-atp-overlay.dts index 3b1acca2..a766c933 100644 --- a/qcom/anorak-atp-overlay.dts +++ b/qcom/anorak-atp-overlay.dts @@ -6,6 +6,6 @@ / { model = "Qualcomm Technologies, Inc. Anorak ATP"; compatible = "qcom,anorak-atp", "qcom,anorak", "qcom,atp"; - qcom,msm-id = <549 0x10000>; + qcom,msm-id = <549 0x10000>,<649 0x10000>; qcom,board-id = <0x10021 0x0>; }; diff --git a/qcom/anorak-idp-4kdisp-hmt-overlay.dts b/qcom/anorak-idp-4kdisp-hmt-overlay.dts index 5f3818e2..fad704f1 100644 --- a/qcom/anorak-idp-4kdisp-hmt-overlay.dts +++ b/qcom/anorak-idp-4kdisp-hmt-overlay.dts @@ -6,6 +6,6 @@ / { model = "Qualcomm Technologies, Inc. Anorak IDP 4K display + HMT"; compatible = "qcom,anorak-idp", "qcom,anorak", "qcom,idp"; - qcom,msm-id = <549 0x10000>; + qcom,msm-id = <549 0x10000>,<649 0x10000>; qcom,board-id = <0x10022 0x6>; }; diff --git a/qcom/anorak-idp-4kdisp-hsp-overlay.dts b/qcom/anorak-idp-4kdisp-hsp-overlay.dts index 32e42b0c..5fcb2032 100644 --- a/qcom/anorak-idp-4kdisp-hsp-overlay.dts +++ b/qcom/anorak-idp-4kdisp-hsp-overlay.dts @@ -6,6 +6,6 @@ / { model = "Qualcomm Technologies, Inc. Anorak IDP 4K display + HSP"; compatible = "qcom,anorak-idp", "qcom,anorak", "qcom,idp"; - qcom,msm-id = <549 0x10000>; + qcom,msm-id = <549 0x10000>,<649 0x10000>; qcom,board-id = <0x10022 0x5>; }; diff --git a/qcom/anorak-idp-hmt-overlay.dts b/qcom/anorak-idp-hmt-overlay.dts index 5660b053..b269c1b9 100644 --- a/qcom/anorak-idp-hmt-overlay.dts +++ b/qcom/anorak-idp-hmt-overlay.dts @@ -6,6 +6,6 @@ / { model = "Qualcomm Technologies, Inc. Anorak IDP HMT"; compatible = "qcom,anorak-idp", "qcom,anorak", "qcom,idp"; - qcom,msm-id = <549 0x10000>; + qcom,msm-id = <549 0x10000>,<649 0x10000>; qcom,board-id = <0x10022 0x1>; }; diff --git a/qcom/anorak-idp-hsp-nodisplay-overlay.dts b/qcom/anorak-idp-hsp-nodisplay-overlay.dts index 821f20bd..79d5a391 100644 --- a/qcom/anorak-idp-hsp-nodisplay-overlay.dts +++ b/qcom/anorak-idp-hsp-nodisplay-overlay.dts @@ -6,7 +6,7 @@ / { model = "Qualcomm Technologies, Inc. Anorak IDP HSP with no display"; compatible = "qcom,anorak-idp", "qcom,anorak", "qcom,idp"; - qcom,msm-id = <549 0x10000>; + qcom,msm-id = <549 0x10000>,<649 0x10000>; qcom,board-id = <0x10022 0x7>; }; diff --git a/qcom/anorak-idp-overlay.dts b/qcom/anorak-idp-overlay.dts index b874c5da..f9a9474a 100644 --- a/qcom/anorak-idp-overlay.dts +++ b/qcom/anorak-idp-overlay.dts @@ -6,6 +6,6 @@ / { model = "Qualcomm Technologies, Inc. Anorak IDP"; compatible = "qcom,anorak-idp", "qcom,anorak", "qcom,idp"; - qcom,msm-id = <549 0x10000>; + qcom,msm-id = <549 0x10000>,<649 0x10000>; qcom,board-id = <0x10022 0x0>; }; diff --git a/qcom/anorak-idp-sd-overlay.dts b/qcom/anorak-idp-sd-overlay.dts index e84d534b..8420f866 100644 --- a/qcom/anorak-idp-sd-overlay.dts +++ b/qcom/anorak-idp-sd-overlay.dts @@ -6,6 +6,6 @@ / { model = "Qualcomm Technologies, Inc. Anorak IDP Single Display"; compatible = "qcom,anorak-idp", "qcom,anorak", "qcom,idp"; - qcom,msm-id = <549 0x10000>; + qcom,msm-id = <549 0x10000>,<649 0x10000>; qcom,board-id = <0x10022 0x2>; }; diff --git a/qcom/anorak-idp-top-hmt-overlay.dts b/qcom/anorak-idp-top-hmt-overlay.dts index 826764f4..97fb8e5c 100644 --- a/qcom/anorak-idp-top-hmt-overlay.dts +++ b/qcom/anorak-idp-top-hmt-overlay.dts @@ -6,6 +6,6 @@ / { model = "Qualcomm Technologies, Inc. Anorak IDP Topanga Hamilton"; compatible = "qcom,anorak-idp", "qcom,anorak", "qcom,idp"; - qcom,msm-id = <549 0x10000>; + qcom,msm-id = <549 0x10000>,<649 0x10000>; qcom,board-id = <0x10022 0x3>; }; diff --git a/qcom/anorak-idp-top-hsp-overlay.dts b/qcom/anorak-idp-top-hsp-overlay.dts index f1bb072f..0d7a4db4 100644 --- a/qcom/anorak-idp-top-hsp-overlay.dts +++ b/qcom/anorak-idp-top-hsp-overlay.dts @@ -6,7 +6,7 @@ / { model = "Qualcomm Technologies, Inc. Anorak IDP Topanga with EDP display + HSP"; compatible = "qcom,anorak-idp", "qcom,anorak", "qcom,idp"; - qcom,msm-id = <549 0x10000>; + qcom,msm-id = <549 0x10000>,<649 0x10000>; qcom,board-id = <0x10022 0x4>; }; diff --git a/qcom/anorak-qxr-4kdisp-hmt-ufs-ref-overlay.dts b/qcom/anorak-qxr-4kdisp-hmt-ufs-ref-overlay.dts index 268030c6..374e87ac 100644 --- a/qcom/anorak-qxr-4kdisp-hmt-ufs-ref-overlay.dts +++ b/qcom/anorak-qxr-4kdisp-hmt-ufs-ref-overlay.dts @@ -6,6 +6,6 @@ / { model = "Qualcomm Technologies, Inc. Anorak QXR HMT UFS REF + 4K Display"; compatible = "qcom,anorak-qxr", "qcom,anorak"; - qcom,msm-id = <549 0x10000>; + qcom,msm-id = <549 0x10000>,<649 0x10000>; qcom,board-id = <0x10126 0x3>; }; diff --git a/qcom/anorak-qxr-hmt-overlay.dts b/qcom/anorak-qxr-hmt-overlay.dts index a705e8f5..6b0437fa 100644 --- a/qcom/anorak-qxr-hmt-overlay.dts +++ b/qcom/anorak-qxr-hmt-overlay.dts @@ -6,6 +6,6 @@ / { model = "Qualcomm Technologies, Inc. Anorak QXR HMT"; compatible = "qcom,anorak-qxr", "qcom,anorak"; - qcom,msm-id = <549 0x10000>; + qcom,msm-id = <549 0x10000>,<649 0x10000>; qcom,board-id = <0x10026 0x1>; }; diff --git a/qcom/anorak-qxr-hmt-ufs-ref-overlay.dts b/qcom/anorak-qxr-hmt-ufs-ref-overlay.dts index 5262625b..dd61356a 100644 --- a/qcom/anorak-qxr-hmt-ufs-ref-overlay.dts +++ b/qcom/anorak-qxr-hmt-ufs-ref-overlay.dts @@ -6,6 +6,6 @@ / { model = "Qualcomm Technologies, Inc. Anorak QXR HMT UFS REF"; compatible = "qcom,anorak-qxr", "qcom,anorak"; - qcom,msm-id = <549 0x10000>; + qcom,msm-id = <549 0x10000>,<649 0x10000>; qcom,board-id = <0x10126 0x2>; }; diff --git a/qcom/anorak-qxr-overlay.dts b/qcom/anorak-qxr-overlay.dts index 85dff436..fce26dc3 100644 --- a/qcom/anorak-qxr-overlay.dts +++ b/qcom/anorak-qxr-overlay.dts @@ -6,6 +6,6 @@ / { model = "Qualcomm Technologies, Inc. Anorak QXR"; compatible = "qcom,anorak-qxr", "qcom,anorak"; - qcom,msm-id = <549 0x10000>; + qcom,msm-id = <549 0x10000>,<649 0x10000>; qcom,board-id = <0x10026 0x0>; }; diff --git a/qcom/anorakp-atp.dts b/qcom/anorakp-atp.dts new file mode 100644 index 00000000..1664e0a2 --- /dev/null +++ b/qcom/anorakp-atp.dts @@ -0,0 +1,10 @@ +/dts-v1/; + +#include "anorakp.dtsi" +#include "anorakp-atp.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. AnorakP ATP"; + compatible = "qcom,anorakp-atp", "qcom,anorakp", "qcom,atp"; + qcom,board-id = <0x10021 0x0>; +}; diff --git a/qcom/anorakp-atp.dtsi b/qcom/anorakp-atp.dtsi new file mode 100644 index 00000000..13ead3cb --- /dev/null +++ b/qcom/anorakp-atp.dtsi @@ -0,0 +1 @@ +#include "anorak-atp.dtsi" diff --git a/qcom/anorakp-idp-4kdisp-hmt.dts b/qcom/anorakp-idp-4kdisp-hmt.dts new file mode 100644 index 00000000..4b926491 --- /dev/null +++ b/qcom/anorakp-idp-4kdisp-hmt.dts @@ -0,0 +1,10 @@ +/dts-v1/; + +#include "anorakp.dtsi" +#include "anorakp-idp-4kdisp-hmt.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. AnorakP IDP 4K display + HMT"; + compatible = "qcom,anorakp-idp", "qcom,anorakp", "qcom,idp"; + qcom,board-id = <0x10022 0x6>; +}; diff --git a/qcom/anorakp-idp-4kdisp-hmt.dtsi b/qcom/anorakp-idp-4kdisp-hmt.dtsi new file mode 100644 index 00000000..ddaecc19 --- /dev/null +++ b/qcom/anorakp-idp-4kdisp-hmt.dtsi @@ -0,0 +1 @@ +#include "anorak-idp-4kdisp-hmt.dtsi" diff --git a/qcom/anorakp-idp-4kdisp-hsp.dts b/qcom/anorakp-idp-4kdisp-hsp.dts new file mode 100644 index 00000000..535c0dda --- /dev/null +++ b/qcom/anorakp-idp-4kdisp-hsp.dts @@ -0,0 +1,10 @@ +/dts-v1/; + +#include "anorakp.dtsi" +#include "anorakp-idp-4kdisp-hsp.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. AnorakP IDP 4K display + HSP"; + compatible = "qcom,anorakp-idp", "qcom,anorakp", "qcom,idp"; + qcom,board-id = <0x10022 0x5>; +}; diff --git a/qcom/anorakp-idp-4kdisp-hsp.dtsi b/qcom/anorakp-idp-4kdisp-hsp.dtsi new file mode 100644 index 00000000..bb6c3658 --- /dev/null +++ b/qcom/anorakp-idp-4kdisp-hsp.dtsi @@ -0,0 +1 @@ +#include "anorak-idp-4kdisp-hsp.dtsi" diff --git a/qcom/anorakp-idp-hmt.dts b/qcom/anorakp-idp-hmt.dts new file mode 100644 index 00000000..ef79d641 --- /dev/null +++ b/qcom/anorakp-idp-hmt.dts @@ -0,0 +1,10 @@ +/dts-v1/; + +#include "anorakp.dtsi" +#include "anorakp-idp-hmt.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. AnorakP IDP HMT"; + compatible = "qcom,anorakp-idp", "qcom,anorakp", "qcom,idp"; + qcom,board-id = <0x10022 0x1>; +}; diff --git a/qcom/anorakp-idp-hmt.dtsi b/qcom/anorakp-idp-hmt.dtsi new file mode 100644 index 00000000..ca273aee --- /dev/null +++ b/qcom/anorakp-idp-hmt.dtsi @@ -0,0 +1 @@ +#include "anorak-idp-hmt.dtsi" diff --git a/qcom/anorakp-idp-hsp-nodisplay.dts b/qcom/anorakp-idp-hsp-nodisplay.dts new file mode 100644 index 00000000..f77d6ade --- /dev/null +++ b/qcom/anorakp-idp-hsp-nodisplay.dts @@ -0,0 +1,10 @@ +/dts-v1/; + +#include "anorakp.dtsi" +#include "anorakp-idp-hsp-nodisplay.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. AnorakP IDP HSP with no display"; + compatible = "qcom,anorakp-idp", "qcom,anorakp", "qcom,idp"; + qcom,board-id = <0x10022 0x7>; +}; diff --git a/qcom/anorakp-idp-hsp-nodisplay.dtsi b/qcom/anorakp-idp-hsp-nodisplay.dtsi new file mode 100644 index 00000000..449bd4b5 --- /dev/null +++ b/qcom/anorakp-idp-hsp-nodisplay.dtsi @@ -0,0 +1 @@ +#include "anorak-idp-hsp-nodisplay.dtsi" diff --git a/qcom/anorakp-idp-sd.dts b/qcom/anorakp-idp-sd.dts new file mode 100644 index 00000000..55a60398 --- /dev/null +++ b/qcom/anorakp-idp-sd.dts @@ -0,0 +1,10 @@ +/dts-v1/; + +#include "anorakp.dtsi" +#include "anorakp-idp-sd.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. AnorakP IDP Single Display"; + compatible = "qcom,anorakp-idp", "qcom,anorakp", "qcom,idp"; + qcom,board-id = <0x10022 0x2>; +}; diff --git a/qcom/anorakp-idp-sd.dtsi b/qcom/anorakp-idp-sd.dtsi new file mode 100644 index 00000000..a3ca0ed5 --- /dev/null +++ b/qcom/anorakp-idp-sd.dtsi @@ -0,0 +1 @@ +#include "anorak-idp-sd.dtsi" diff --git a/qcom/anorakp-idp-top-hmt.dts b/qcom/anorakp-idp-top-hmt.dts new file mode 100644 index 00000000..43c41b00 --- /dev/null +++ b/qcom/anorakp-idp-top-hmt.dts @@ -0,0 +1,10 @@ +/dts-v1/; + +#include "anorakp.dtsi" +#include "anorakp-idp-top-hmt.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. AnorakP IDP Topanga Hamilton"; + compatible = "qcom,anorakp-idp", "qcom,anorakp", "qcom,idp"; + qcom,board-id = <0x10022 0x3>; +}; diff --git a/qcom/anorakp-idp-top-hmt.dtsi b/qcom/anorakp-idp-top-hmt.dtsi new file mode 100644 index 00000000..48d7e622 --- /dev/null +++ b/qcom/anorakp-idp-top-hmt.dtsi @@ -0,0 +1 @@ +#include "anorak-idp-top-hmt.dtsi" diff --git a/qcom/anorakp-idp-top-hsp.dts b/qcom/anorakp-idp-top-hsp.dts new file mode 100644 index 00000000..73f7623b --- /dev/null +++ b/qcom/anorakp-idp-top-hsp.dts @@ -0,0 +1,10 @@ +/dts-v1/; + +#include "anorakp.dtsi" +#include "anorakp-idp-top-hsp.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. AnorakP IDP Topanga with EDP display + HSP"; + compatible = "qcom,anorakp-idp", "qcom,anorakp", "qcom,idp"; + qcom,board-id = <0x10022 0x4>; +}; diff --git a/qcom/anorakp-idp-top-hsp.dtsi b/qcom/anorakp-idp-top-hsp.dtsi new file mode 100644 index 00000000..5cbbc91f --- /dev/null +++ b/qcom/anorakp-idp-top-hsp.dtsi @@ -0,0 +1 @@ +#include "anorak-idp-top-hsp.dtsi" diff --git a/qcom/anorakp-idp.dts b/qcom/anorakp-idp.dts new file mode 100644 index 00000000..c354dffe --- /dev/null +++ b/qcom/anorakp-idp.dts @@ -0,0 +1,10 @@ +/dts-v1/; + +#include "anorakp.dtsi" +#include "anorakp-idp.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. AnorakP IDP"; + compatible = "qcom,anorakp-idp", "qcom,anorakp", "qcom,idp"; + qcom,board-id = <0x10022 0x0>; +}; diff --git a/qcom/anorakp-idp.dtsi b/qcom/anorakp-idp.dtsi new file mode 100644 index 00000000..7883abae --- /dev/null +++ b/qcom/anorakp-idp.dtsi @@ -0,0 +1 @@ +#include "anorak-idp.dtsi" diff --git a/qcom/anorakp-qxr-4kdisp-hmt-ufs-ref.dts b/qcom/anorakp-qxr-4kdisp-hmt-ufs-ref.dts new file mode 100644 index 00000000..c01c3525 --- /dev/null +++ b/qcom/anorakp-qxr-4kdisp-hmt-ufs-ref.dts @@ -0,0 +1,10 @@ +/dts-v1/; + +#include "anorakp.dtsi" +#include "anorakp-qxr-4kdisp-hmt-ufs-ref.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. AnorakP QXR HMT UFS REF + 4K Display"; + compatible = "qcom,anorakp-qxr", "qcom,anorakp"; + qcom,board-id = <0x10126 0x3>; +}; diff --git a/qcom/anorakp-qxr-4kdisp-hmt-ufs-ref.dtsi b/qcom/anorakp-qxr-4kdisp-hmt-ufs-ref.dtsi new file mode 100644 index 00000000..e9d80bbe --- /dev/null +++ b/qcom/anorakp-qxr-4kdisp-hmt-ufs-ref.dtsi @@ -0,0 +1 @@ +#include "anorak-qxr-4kdisp-hmt-ufs-ref.dtsi" diff --git a/qcom/anorakp-qxr-hmt-ufs-ref.dts b/qcom/anorakp-qxr-hmt-ufs-ref.dts new file mode 100644 index 00000000..0d9a54c1 --- /dev/null +++ b/qcom/anorakp-qxr-hmt-ufs-ref.dts @@ -0,0 +1,10 @@ +/dts-v1/; + +#include "anorakp.dtsi" +#include "anorakp-qxr-hmt-ufs-ref.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. AnorakP QXR HMT UFS REF"; + compatible = "qcom,anorakp-qxr", "qcom,anorakp"; + qcom,board-id = <0x10126 0x2>; +}; diff --git a/qcom/anorakp-qxr-hmt-ufs-ref.dtsi b/qcom/anorakp-qxr-hmt-ufs-ref.dtsi new file mode 100644 index 00000000..2947408e --- /dev/null +++ b/qcom/anorakp-qxr-hmt-ufs-ref.dtsi @@ -0,0 +1 @@ +#include "anorak-qxr-hmt-ufs-ref.dtsi" diff --git a/qcom/anorakp-qxr-hmt.dts b/qcom/anorakp-qxr-hmt.dts new file mode 100644 index 00000000..c2bf9e7b --- /dev/null +++ b/qcom/anorakp-qxr-hmt.dts @@ -0,0 +1,10 @@ +/dts-v1/; + +#include "anorakp.dtsi" +#include "anorakp-qxr-hmt.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. AnorakP QXR HMT"; + compatible = "qcom,anorakp-qxr", "qcom,anorakp"; + qcom,board-id = <0x10026 0x1>; +}; diff --git a/qcom/anorakp-qxr-hmt.dtsi b/qcom/anorakp-qxr-hmt.dtsi new file mode 100644 index 00000000..bf00179b --- /dev/null +++ b/qcom/anorakp-qxr-hmt.dtsi @@ -0,0 +1 @@ +#include "anorak-qxr-hmt.dtsi" diff --git a/qcom/anorakp-qxr.dts b/qcom/anorakp-qxr.dts new file mode 100644 index 00000000..fd377bad --- /dev/null +++ b/qcom/anorakp-qxr.dts @@ -0,0 +1,10 @@ +/dts-v1/; + +#include "anorakp.dtsi" +#include "anorakp-qxr.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. AnorakP QXR"; + compatible = "qcom,anorakp-qxr", "qcom,anorakp"; + qcom,board-id = <0x10026 0x0>; +}; diff --git a/qcom/anorakp-qxr.dtsi b/qcom/anorakp-qxr.dtsi new file mode 100644 index 00000000..0d7a3630 --- /dev/null +++ b/qcom/anorakp-qxr.dtsi @@ -0,0 +1 @@ +#include "anorak-qxr.dtsi" diff --git a/qcom/anorakp.dts b/qcom/anorakp.dts new file mode 100644 index 00000000..727352f4 --- /dev/null +++ b/qcom/anorakp.dts @@ -0,0 +1,9 @@ +/dts-v1/; + +#include "anorakp.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. AnorakP SoC"; + compatible = "qcom,anorakp"; + qcom,board-id = <0 0>; +}; diff --git a/qcom/anorakp.dtsi b/qcom/anorakp.dtsi new file mode 100644 index 00000000..7da03ed3 --- /dev/null +++ b/qcom/anorakp.dtsi @@ -0,0 +1,7 @@ +#include "anorak.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. AnorakP"; + compatible = "qcom,anorakp"; + qcom,msm-id = <649 0x10000>; +}; From e9f94f0a95ff0c508d1e002727581872520edddf Mon Sep 17 00:00:00 2001 From: Sandra V S Nair Date: Tue, 13 Feb 2024 19:00:59 +0530 Subject: [PATCH 11/34] ARM: dts: msm: Add stsafe320 support for montague Add stsafe320 support for montague. Change-Id: I9f43b23331cbf9afd1a1b71458db9428ecb3b46a --- bindings/gpio/stm,stsafe320_gpio.txt | 14 ++++++++++++++ bindings/vendor-prefixes.yaml | 2 ++ qcom/montague.dtsi | 7 +++++++ 3 files changed, 23 insertions(+) create mode 100644 bindings/gpio/stm,stsafe320_gpio.txt diff --git a/bindings/gpio/stm,stsafe320_gpio.txt b/bindings/gpio/stm,stsafe320_gpio.txt new file mode 100644 index 00000000..04c18624 --- /dev/null +++ b/bindings/gpio/stm,stsafe320_gpio.txt @@ -0,0 +1,14 @@ +STSAFE320 Embedded Secure Element (eSE) GPIO + +Required properties: + - compatible: "stm,stsafe320_gpio" + - gpio-power_nreset: GPIO pin for reset. + +Example: + + stsafe320_gpio { + status = "ok"; + compatible = "stm,stsafe320_gpio"; + /* gpio used as SE_nRESET */ + gpio-power_nreset = <&tlmm 48 0x00>; + }; diff --git a/bindings/vendor-prefixes.yaml b/bindings/vendor-prefixes.yaml index f7258f7a..08ae9382 100644 --- a/bindings/vendor-prefixes.yaml +++ b/bindings/vendor-prefixes.yaml @@ -1001,6 +1001,8 @@ patternProperties: (formerly part of MStar Semiconductor, Inc.) "^st,.*": description: STMicroelectronics + "^stm,.*": + description: STMicroelectronics "^starry,.*": description: Starry Electronic Technology (ShenZhen) Co., LTD "^startek,.*": diff --git a/qcom/montague.dtsi b/qcom/montague.dtsi index 1f79f65d..7a2961e1 100644 --- a/qcom/montague.dtsi +++ b/qcom/montague.dtsi @@ -17,6 +17,13 @@ }; &soc { + stsafe320_gpio { + status = "ok"; + compatible = "stm,stsafe320_gpio"; + /* gpio used as SE_nRESET */ + gpio-power_nreset = <&tlmm 48 0x00>; + }; + mhi_qrtr_cnss { compatible = "qcom,qrtr-mhi"; qcom,dev-id = <0x1103>; From 095b6bc1d0f7f6629802b412fd58f4f85d32128d Mon Sep 17 00:00:00 2001 From: Vivek Pernamitta Date: Tue, 20 Feb 2024 10:58:36 +0530 Subject: [PATCH 12/34] ARM: dts: msm: Update RC0 and RC1 PHY settings as per HSR v1.07 for neo Update PCIe0 and PCIe1 PHY settings as per HSR v1.07 for the neo. Change-Id: I7033e263ac6bad1e609a8755b57caf7fbaca0214 --- qcom/neo-pcie.dtsi | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/qcom/neo-pcie.dtsi b/qcom/neo-pcie.dtsi index 3aa071e9..d4edb1c3 100644 --- a/qcom/neo-pcie.dtsi +++ b/qcom/neo-pcie.dtsi @@ -128,7 +128,7 @@ qcom,config-recovery; qcom,target-link-speed = <0x2>; - qcom,pcie-phy-ver = <104>; + qcom,pcie-phy-ver = <107>; qcom,phy-status-offset = <0x214>; qcom,phy-status-bit = <6>; qcom,phy-power-down-offset = <0x240>; @@ -244,6 +244,7 @@ 0x0694 0x00 0x0 0x03d0 0x8c 0x0 0x0368 0x17 0x0 + 0x0370 0x2e 0x0 0x1424 0x01 0x0 0x1428 0x01 0x0 0x0200 0x00 0x0 @@ -419,7 +420,7 @@ qcom,num-parf-testbus-sel = <0xb9>; qcom,config-recovery; - qcom,pcie-phy-ver = <104>; + qcom,pcie-phy-ver = <107>; qcom,phy-status-offset = <0x214>; qcom,phy-status-bit = <6>; qcom,phy-power-down-offset = <0x240>; @@ -535,6 +536,7 @@ 0x0694 0x00 0x0 0x03d0 0x8c 0x0 0x0368 0x17 0x0 + 0x0370 0x2e 0x0 0x1424 0x01 0x0 0x1428 0x01 0x0 0x0200 0x00 0x0 From 50b6247f011a7785785cc1a9156c2d197b99ec6b Mon Sep 17 00:00:00 2001 From: Subrat Dash Date: Tue, 27 Feb 2024 11:38:01 +0530 Subject: [PATCH 13/34] ARM: dts: qcom: Add Talyn devicetree support for Apache Added Talyn soc support for apache variant of montague. Change-Id: I0c58c350829564053c879b593a2bf5943759c1ca --- qcom/Makefile | 3 --- qcom/montague-apache-overlay.dts | 2 +- qcom/montague-apache.dts | 2 +- qcom/montague-apache.dtsi | 1 - qcom/montague-talyn-overlay.dts | 11 ----------- qcom/montague-talyn.dts | 11 ----------- qcom/montaguep-apache.dts | 2 +- qcom/montaguep-apache.dtsi | 1 - 8 files changed, 3 insertions(+), 30 deletions(-) delete mode 100644 qcom/montague-apache.dtsi delete mode 100644 qcom/montague-talyn-overlay.dts delete mode 100644 qcom/montague-talyn.dts delete mode 100644 qcom/montaguep-apache.dtsi diff --git a/qcom/Makefile b/qcom/Makefile index ab868d01..34aab2c4 100644 --- a/qcom/Makefile +++ b/qcom/Makefile @@ -561,7 +561,6 @@ dtbo-$(CONFIG_ARCH_RAVELIN) += ravelin-rumi-overlay.dtbo \ ravelin-qrd-4gb-overlay.dtbo \ montague-rumi-overlay.dtbo \ montague-hsp-overlay.dtbo \ - montague-talyn-overlay.dtbo \ montague-moselle-overlay.dtbo \ montague-rcm-overlay.dtbo \ montague-wsa-overlay.dtbo \ @@ -579,7 +578,6 @@ ravelin-qrd-overlay.dtbo-base := ravelin.dtb ravelinp.dtb montague.dtb montaguep ravelin-qrd-4gb-overlay.dtbo-base := ravelin-4gb.dtb ravelinp-4gb.dtb montague.dtb montaguep.dtb montague-rumi-overlay.dtbo-base := montague.dtb montaguep.dtb montague-hsp-overlay.dtbo-base := montague.dtb montaguep.dtb -montague-talyn-overlay.dtbo-base := montague-talyn.dtb montaguep.dtb montague-moselle-overlay.dtbo-base := montague-4gb.dtb montaguep-4gb.dtb montague.dtb montaguep.dtb montague-rcm-overlay.dtbo-base := montague.dtb montaguep.dtb montague-wsa-overlay.dtbo-base := montague.dtb montaguep.dtb @@ -603,7 +601,6 @@ dtb-$(CONFIG_ARCH_RAVELIN) += ravelin-rumi.dtb \ ravelinp-qrd-4gb.dtb \ montague-rumi.dtb \ montague-hsp.dtb \ - montague-talyn.dtb \ montague-moselle.dtb \ montague-rcm.dtb \ montaguep-rumi.dtb \ diff --git a/qcom/montague-apache-overlay.dts b/qcom/montague-apache-overlay.dts index 1e27c59c..4bc6c7b2 100644 --- a/qcom/montague-apache-overlay.dts +++ b/qcom/montague-apache-overlay.dts @@ -1,7 +1,7 @@ /dts-v1/; /plugin/; -#include "montague-apache.dtsi" +#include "montague-talyn.dtsi" / { model = "Qualcomm Technologies, Inc. Montague Apache IDP"; diff --git a/qcom/montague-apache.dts b/qcom/montague-apache.dts index c69f740c..0876cbc9 100644 --- a/qcom/montague-apache.dts +++ b/qcom/montague-apache.dts @@ -1,7 +1,7 @@ /dts-v1/; #include "montague.dtsi" -#include "montague-apache.dtsi" +#include "montague-talyn.dtsi" / { model = "Qualcomm Technologies, Inc. Montague Apache IDP"; diff --git a/qcom/montague-apache.dtsi b/qcom/montague-apache.dtsi deleted file mode 100644 index b71ee48e..00000000 --- a/qcom/montague-apache.dtsi +++ /dev/null @@ -1 +0,0 @@ -#include "ravelin-idp.dtsi" diff --git a/qcom/montague-talyn-overlay.dts b/qcom/montague-talyn-overlay.dts deleted file mode 100644 index 3864d685..00000000 --- a/qcom/montague-talyn-overlay.dts +++ /dev/null @@ -1,11 +0,0 @@ -/dts-v1/; -/plugin/; - -#include "montague-talyn.dtsi" - -/ { - model = "Qualcomm Technologies, Inc. Apache wigig IDP"; - compatible = "qcom,montague-idp", "qcom,montague", "qcom,idp"; - qcom,msm-id = <581 0x10000>, <582 0x10000>; - qcom,board-id = <0x10022 0x08>; -}; diff --git a/qcom/montague-talyn.dts b/qcom/montague-talyn.dts deleted file mode 100644 index 08cc91e3..00000000 --- a/qcom/montague-talyn.dts +++ /dev/null @@ -1,11 +0,0 @@ -/dts-v1/; - - -#include "montague.dtsi" -#include "montague-talyn.dtsi" - -/ { - model = "Qualcomm Technologies, Inc. Apache wigig IDP"; - compatible = "qcom,montague-idp", "qcom,montague", "qcom,idp"; - qcom,board-id = <0 0>; -}; diff --git a/qcom/montaguep-apache.dts b/qcom/montaguep-apache.dts index 7f2d365c..256876fb 100644 --- a/qcom/montaguep-apache.dts +++ b/qcom/montaguep-apache.dts @@ -1,7 +1,7 @@ /dts-v1/; #include "montaguep.dtsi" -#include "montaguep-apache.dtsi" +#include "montague-talyn.dtsi" / { model = "Qualcomm Technologies, Inc. Montague Apache IDP"; diff --git a/qcom/montaguep-apache.dtsi b/qcom/montaguep-apache.dtsi deleted file mode 100644 index 6dca2ce9..00000000 --- a/qcom/montaguep-apache.dtsi +++ /dev/null @@ -1 +0,0 @@ -#include "ravelinp-idp.dtsi" From 0322ff4b0639c7851ac58173dd7dd25d72027860 Mon Sep 17 00:00:00 2001 From: Sandra V S Nair Date: Thu, 29 Feb 2024 16:43:47 +0530 Subject: [PATCH 14/34] ARM: dts: msm:Use st54spi_gpio dev node for stsafe320 Use st54spi_gpio dev node and driver for stsafe320 eSE. Change-Id: Ie37ddada42d0ee3162f19d9156e3bdef841029b7 --- .../gpio/{stm,stsafe320_gpio.txt => st,st54spi_gpio.txt} | 8 ++++---- bindings/vendor-prefixes.yaml | 2 -- qcom/montague.dtsi | 4 ++-- 3 files changed, 6 insertions(+), 8 deletions(-) rename bindings/gpio/{stm,stsafe320_gpio.txt => st,st54spi_gpio.txt} (54%) diff --git a/bindings/gpio/stm,stsafe320_gpio.txt b/bindings/gpio/st,st54spi_gpio.txt similarity index 54% rename from bindings/gpio/stm,stsafe320_gpio.txt rename to bindings/gpio/st,st54spi_gpio.txt index 04c18624..b7a8362e 100644 --- a/bindings/gpio/stm,stsafe320_gpio.txt +++ b/bindings/gpio/st,st54spi_gpio.txt @@ -1,14 +1,14 @@ -STSAFE320 Embedded Secure Element (eSE) GPIO +ST Embedded Secure Element (eSE) GPIO Required properties: - - compatible: "stm,stsafe320_gpio" + - compatible: "st,st54spi_gpio" - gpio-power_nreset: GPIO pin for reset. Example: - stsafe320_gpio { + st54spi_gpio { status = "ok"; - compatible = "stm,stsafe320_gpio"; + compatible = "st,st54spi_gpio"; /* gpio used as SE_nRESET */ gpio-power_nreset = <&tlmm 48 0x00>; }; diff --git a/bindings/vendor-prefixes.yaml b/bindings/vendor-prefixes.yaml index 08ae9382..f7258f7a 100644 --- a/bindings/vendor-prefixes.yaml +++ b/bindings/vendor-prefixes.yaml @@ -1001,8 +1001,6 @@ patternProperties: (formerly part of MStar Semiconductor, Inc.) "^st,.*": description: STMicroelectronics - "^stm,.*": - description: STMicroelectronics "^starry,.*": description: Starry Electronic Technology (ShenZhen) Co., LTD "^startek,.*": diff --git a/qcom/montague.dtsi b/qcom/montague.dtsi index 7a2961e1..dde07419 100644 --- a/qcom/montague.dtsi +++ b/qcom/montague.dtsi @@ -17,9 +17,9 @@ }; &soc { - stsafe320_gpio { + st54spi_gpio { status = "ok"; - compatible = "stm,stsafe320_gpio"; + compatible = "st,st54spi_gpio"; /* gpio used as SE_nRESET */ gpio-power_nreset = <&tlmm 48 0x00>; }; From fdc05e6c8d0b2060b57d1c5d286ee3c7e6f04b01 Mon Sep 17 00:00:00 2001 From: Anuj Khera Date: Fri, 23 Feb 2024 13:39:38 +0530 Subject: [PATCH 15/34] ARM: dts: qcom: Disable cnss-kiwi SOL on anorak platform Remove sol gpio config parameters from anorak as the firmware doesn't have SOL support yet. Change-Id: Ie9d94f15453d6b87d61919fd7b61dd578fd99a00 CRs-Fixed: 3747266 --- qcom/anorak-atp.dtsi | 33 +-------------------------------- 1 file changed, 1 insertion(+), 32 deletions(-) diff --git a/qcom/anorak-atp.dtsi b/qcom/anorak-atp.dtsi index 267fab24..0727e170 100644 --- a/qcom/anorak-atp.dtsi +++ b/qcom/anorak-atp.dtsi @@ -166,34 +166,6 @@ status = "disabled"; }; -&cnss_pins { - cnss_host_sol_default: cnss_host_sol_default { - mux { - pins = "gpio124"; - function = "gpio"; - }; - - config { - pins = "gpio124"; - drive-strength = <4>; - bias-pull-down; - }; - }; - - cnss_dev_sol_default: cnss_dev_sol_default { - mux { - pins = "gpio123"; - function = "gpio"; - }; - - config { - pins = "gpio123"; - drive-strength = <4>; - bias-pull-down; - }; - }; -}; - &soc { wlan_kiwi: qcom,cnss-kiwi@b0000000 { @@ -201,13 +173,10 @@ reg = <0xb0000000 0x10000>; reg-names = "smmu_iova_ipa"; wlan-en-gpio = <&tlmm 120 0>; - wlan-host-sol-gpio = <&tlmm 124 0>; - wlan-dev-sol-gpio = <&tlmm 123 0>; - pinctrl-names = "wlan_en_active", "wlan_en_sleep", "sol_default"; + pinctrl-names = "wlan_en_active", "wlan_en_sleep"; pinctrl-0 = <&cnss_wlan_en_active>; pinctrl-1 = <&cnss_wlan_en_sleep>; - pinctrl-2 = <&cnss_host_sol_default &cnss_dev_sol_default>; qcom,wlan; qcom,wlan-rc-num = <0>; qcom,wlan-ramdump-dynamic = <0x780000>; From 477aab9e7479ff553c7a162ae74029170a2e8291 Mon Sep 17 00:00:00 2001 From: Jagadeesh Ponduru Date: Mon, 4 Mar 2024 08:57:46 +0530 Subject: [PATCH 16/34] ARM: dts: msm: increase smem memory to 44k Increase smem memory to support additional filter rules needed for IPA Q6. Change-Id: I6beac58e4cc833f1571ce9ec3f9e12b83c3ebae9 --- qcom/waipio.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qcom/waipio.dtsi b/qcom/waipio.dtsi index 255d851e..430a1816 100644 --- a/qcom/waipio.dtsi +++ b/qcom/waipio.dtsi @@ -3406,7 +3406,7 @@ <0x146A8000 0x146A8000 0x2000>; qcom,iommu-dma = "fastmap"; dma-coherent; - qcom,ipa-q6-smem-size = <36864>; + qcom,ipa-q6-smem-size = <45056>; }; ipa_smmu_wlan: ipa_smmu_wlan { From eccd3629c17870770ccd1f1772954a8297ca0a22 Mon Sep 17 00:00:00 2001 From: Zhou Jian Date: Wed, 28 Feb 2024 15:16:01 +0800 Subject: [PATCH 17/34] ARM: dts: msm: Add Gaming variant devicetree for Ravelin Add Gaming variant device trees for Ravelin SoC. Change-Id: I7bcca096c34dae7e931369c87a4a76dcb3b38ec6 --- qcom/Makefile | 24 ++++++++++++++----- qcom/ravelin-atp-overlay.dts | 2 +- qcom/ravelin-idp-overlay.dts | 2 +- ...ravelin-idp-wcn3950-amoled-rcm-overlay.dts | 2 +- qcom/ravelin-idp-wcn3988-4gb-overlay.dts | 2 +- qcom/ravelin-qrd-4gb-overlay.dts | 2 +- qcom/ravelin-qrd-overlay.dts | 2 +- qcom/ravelin-sg-atp.dts | 11 +++++++++ qcom/ravelin-sg-atp.dtsi | 1 + qcom/ravelin-sg-idp-wcn3950-amoled-rcm.dts | 10 ++++++++ qcom/ravelin-sg-idp-wcn3950-amoled-rcm.dtsi | 2 ++ qcom/ravelin-sg-idp-wcn3988-4gb.dts | 10 ++++++++ qcom/ravelin-sg-idp-wcn3988-4gb.dtsi | 1 + qcom/ravelin-sg-idp.dts | 12 ++++++++++ qcom/ravelin-sg-idp.dtsi | 1 + qcom/ravelin-sg-qrd-4gb.dts | 11 +++++++++ qcom/ravelin-sg-qrd-4gb.dtsi | 2 ++ qcom/ravelin-sg-qrd.dts | 12 ++++++++++ qcom/ravelin-sg-qrd.dtsi | 1 + qcom/ravelin-sg.dts | 10 ++++++++ qcom/ravelin-sg.dtsi | 8 +++++++ qcom/ravelin-vm.dtsi | 2 +- qcom/ravelinp-sg-atp.dts | 11 +++++++++ qcom/ravelinp-sg-atp.dtsi | 1 + qcom/ravelinp-sg-idp-wcn3950-amoled-rcm.dts | 10 ++++++++ qcom/ravelinp-sg-idp-wcn3950-amoled-rcm.dtsi | 2 ++ qcom/ravelinp-sg-idp-wcn3988-4gb.dts | 10 ++++++++ qcom/ravelinp-sg-idp-wcn3988-4gb.dtsi | 1 + qcom/ravelinp-sg-idp.dts | 12 ++++++++++ qcom/ravelinp-sg-idp.dtsi | 1 + qcom/ravelinp-sg-qrd-4gb.dts | 11 +++++++++ qcom/ravelinp-sg-qrd-4gb.dtsi | 2 ++ qcom/ravelinp-sg-qrd.dts | 12 ++++++++++ qcom/ravelinp-sg-qrd.dtsi | 1 + qcom/ravelinp-sg.dts | 10 ++++++++ qcom/ravelinp-sg.dtsi | 9 +++++++ 36 files changed, 210 insertions(+), 13 deletions(-) create mode 100644 qcom/ravelin-sg-atp.dts create mode 100644 qcom/ravelin-sg-atp.dtsi create mode 100644 qcom/ravelin-sg-idp-wcn3950-amoled-rcm.dts create mode 100644 qcom/ravelin-sg-idp-wcn3950-amoled-rcm.dtsi create mode 100644 qcom/ravelin-sg-idp-wcn3988-4gb.dts create mode 100644 qcom/ravelin-sg-idp-wcn3988-4gb.dtsi create mode 100644 qcom/ravelin-sg-idp.dts create mode 100644 qcom/ravelin-sg-idp.dtsi create mode 100644 qcom/ravelin-sg-qrd-4gb.dts create mode 100644 qcom/ravelin-sg-qrd-4gb.dtsi create mode 100644 qcom/ravelin-sg-qrd.dts create mode 100644 qcom/ravelin-sg-qrd.dtsi create mode 100644 qcom/ravelin-sg.dts create mode 100644 qcom/ravelin-sg.dtsi create mode 100644 qcom/ravelinp-sg-atp.dts create mode 100644 qcom/ravelinp-sg-atp.dtsi create mode 100644 qcom/ravelinp-sg-idp-wcn3950-amoled-rcm.dts create mode 100644 qcom/ravelinp-sg-idp-wcn3950-amoled-rcm.dtsi create mode 100644 qcom/ravelinp-sg-idp-wcn3988-4gb.dts create mode 100644 qcom/ravelinp-sg-idp-wcn3988-4gb.dtsi create mode 100644 qcom/ravelinp-sg-idp.dts create mode 100644 qcom/ravelinp-sg-idp.dtsi create mode 100644 qcom/ravelinp-sg-qrd-4gb.dts create mode 100644 qcom/ravelinp-sg-qrd-4gb.dtsi create mode 100644 qcom/ravelinp-sg-qrd.dts create mode 100644 qcom/ravelinp-sg-qrd.dtsi create mode 100644 qcom/ravelinp-sg.dts create mode 100644 qcom/ravelinp-sg.dtsi diff --git a/qcom/Makefile b/qcom/Makefile index 34aab2c4..8104f99f 100644 --- a/qcom/Makefile +++ b/qcom/Makefile @@ -570,12 +570,12 @@ dtbo-$(CONFIG_ARCH_RAVELIN) += ravelin-rumi-overlay.dtbo \ montague-apache-overlay.dtbo ravelin-rumi-overlay.dtbo-base := ravelin.dtb montague.dtb -ravelin-atp-overlay.dtbo-base := ravelin.dtb ravelinp.dtb montague.dtb montaguep.dtb -ravelin-idp-overlay.dtbo-base := ravelin.dtb ravelinp.dtb montague.dtb montaguep.dtb -ravelin-idp-wcn3988-4gb-overlay.dtbo-base := ravelin-4gb.dtb ravelinp-4gb.dtb -ravelin-idp-wcn3950-amoled-rcm-overlay.dtbo-base := ravelin.dtb ravelinp.dtb montague.dtb montaguep.dtb -ravelin-qrd-overlay.dtbo-base := ravelin.dtb ravelinp.dtb montague.dtb montaguep.dtb -ravelin-qrd-4gb-overlay.dtbo-base := ravelin-4gb.dtb ravelinp-4gb.dtb montague.dtb montaguep.dtb +ravelin-atp-overlay.dtbo-base := ravelin.dtb ravelinp.dtb ravelin-sg.dtb ravelinp-sg.dtb montague.dtb montaguep.dtb +ravelin-idp-overlay.dtbo-base := ravelin.dtb ravelinp.dtb ravelin-sg.dtb ravelinp-sg.dtb montague.dtb montaguep.dtb +ravelin-idp-wcn3988-4gb-overlay.dtbo-base := ravelin-4gb.dtb ravelinp-4gb.dtb ravelin-sg.dtb ravelinp-sg.dtb +ravelin-idp-wcn3950-amoled-rcm-overlay.dtbo-base := ravelin.dtb ravelinp.dtb ravelin-sg.dtb ravelinp-sg.dtb montague.dtb montaguep.dtb +ravelin-qrd-overlay.dtbo-base := ravelin.dtb ravelinp.dtb ravelin-sg.dtb ravelinp-sg.dtb montague.dtb montaguep.dtb +ravelin-qrd-4gb-overlay.dtbo-base := ravelin-4gb.dtb ravelinp-4gb.dtb ravelin-sg.dtb ravelinp-sg.dtb montague.dtb montaguep.dtb montague-rumi-overlay.dtbo-base := montague.dtb montaguep.dtb montague-hsp-overlay.dtbo-base := montague.dtb montaguep.dtb montague-moselle-overlay.dtbo-base := montague-4gb.dtb montaguep-4gb.dtb montague.dtb montaguep.dtb @@ -599,6 +599,18 @@ dtb-$(CONFIG_ARCH_RAVELIN) += ravelin-rumi.dtb \ ravelinp-idp-wcn3950-amoled-rcm.dtb \ ravelinp-qrd.dtb \ ravelinp-qrd-4gb.dtb \ + ravelin-sg-atp.dtb \ + ravelin-sg-idp.dtb \ + ravelin-sg-idp-wcn3950-amoled-rcm.dtb \ + ravelin-sg-idp-wcn3988-4gb.dtb \ + ravelin-sg-qrd.dtb \ + ravelin-sg-qrd-4gb.dtb \ + ravelinp-sg-atp.dtb \ + ravelinp-sg-idp.dtb \ + ravelinp-sg-idp-wcn3950-amoled-rcm.dtb \ + ravelinp-sg-idp-wcn3988-4gb.dtb \ + ravelinp-sg-qrd.dtb \ + ravelinp-sg-qrd-4gb.dtb \ montague-rumi.dtb \ montague-hsp.dtb \ montague-moselle.dtb \ diff --git a/qcom/ravelin-atp-overlay.dts b/qcom/ravelin-atp-overlay.dts index 84ada1b2..d6cdb97a 100644 --- a/qcom/ravelin-atp-overlay.dts +++ b/qcom/ravelin-atp-overlay.dts @@ -6,6 +6,6 @@ / { model = "Qualcomm Technologies, Inc. Ravelin ATP"; compatible = "qcom,ravelin-atp", "qcom,ravelin", "qcom,atp"; - qcom,msm-id = <568 0x10000>, <602 0x10000>; + qcom,msm-id = <568 0x10000>, <602 0x10000>, <653 0x10000>, <654 0x10000>; qcom,board-id = <33 0>; }; diff --git a/qcom/ravelin-idp-overlay.dts b/qcom/ravelin-idp-overlay.dts index 136f0877..86682b09 100644 --- a/qcom/ravelin-idp-overlay.dts +++ b/qcom/ravelin-idp-overlay.dts @@ -7,6 +7,6 @@ / { model = "Qualcomm Technologies, Inc. Ravelin IDP"; compatible = "qcom,ravelin-idp", "qcom,ravelin", "qcom,idp"; - qcom,msm-id = <568 0x10000>, <602 0x10000>; + qcom,msm-id = <568 0x10000>, <602 0x10000>, <653 0x10000>, <654 0x10000>; qcom,board-id = <34 0>; }; diff --git a/qcom/ravelin-idp-wcn3950-amoled-rcm-overlay.dts b/qcom/ravelin-idp-wcn3950-amoled-rcm-overlay.dts index 3ea7cf33..05966701 100644 --- a/qcom/ravelin-idp-wcn3950-amoled-rcm-overlay.dts +++ b/qcom/ravelin-idp-wcn3950-amoled-rcm-overlay.dts @@ -6,6 +6,6 @@ / { model = "Qualcomm Technologies, Inc. Ravelin WCN3950 IDP + AMOLED + RCM"; compatible = "qcom,ravelin-idp", "qcom,ravelin", "qcom,idp"; - qcom,msm-id = <568 0x10000>, <602 0x10000>; + qcom,msm-id = <568 0x10000>, <602 0x10000>, <653 0x10000>, <654 0x10000>; qcom,board-id = <34 2>; }; diff --git a/qcom/ravelin-idp-wcn3988-4gb-overlay.dts b/qcom/ravelin-idp-wcn3988-4gb-overlay.dts index a84c229a..3a8e0680 100644 --- a/qcom/ravelin-idp-wcn3988-4gb-overlay.dts +++ b/qcom/ravelin-idp-wcn3988-4gb-overlay.dts @@ -6,6 +6,6 @@ / { model = "Qualcomm Technologies, Inc. Ravelin IDP 4GB DDR + WCN3988"; compatible = "qcom,ravelin-idp", "qcom,ravelin", "qcom,idp"; - qcom,msm-id = <568 0x10000>, <602 0x10000>; + qcom,msm-id = <568 0x10000>, <602 0x10000>, <653 0x10000>, <654 0x10000>; qcom,board-id = <34 0x601>; }; diff --git a/qcom/ravelin-qrd-4gb-overlay.dts b/qcom/ravelin-qrd-4gb-overlay.dts index 75e7f3bf..dcd3077c 100644 --- a/qcom/ravelin-qrd-4gb-overlay.dts +++ b/qcom/ravelin-qrd-4gb-overlay.dts @@ -6,6 +6,6 @@ / { model = "Qualcomm Technologies, Inc. Ravelin QRD 4GB DDR"; compatible = "qcom,ravelin-qrd", "qcom,ravelin", "qcom,qrd"; - qcom,msm-id = <568 0x10000>, <602 0x10000>; + qcom,msm-id = <568 0x10000>, <602 0x10000>, <653 0x10000>, <654 0x10000>; qcom,board-id = <0x1000B 0x600>; }; diff --git a/qcom/ravelin-qrd-overlay.dts b/qcom/ravelin-qrd-overlay.dts index 4b24645b..7054b71c 100644 --- a/qcom/ravelin-qrd-overlay.dts +++ b/qcom/ravelin-qrd-overlay.dts @@ -6,7 +6,7 @@ / { model = "Qualcomm Technologies, Inc. Ravelin QRD"; compatible = "qcom,ravelin-qrd", "qcom,ravelin", "qcom,qrd"; - qcom,msm-id = <568 0x10000>, <602 0x10000>, <581 0x10000>, <582 0x10000>; + qcom,msm-id = <568 0x10000>, <602 0x10000>, <581 0x10000>, <582 0x10000>, <653 0x10000>, <654 0x10000>; qcom,board-id = <0x1000B 0>; }; diff --git a/qcom/ravelin-sg-atp.dts b/qcom/ravelin-sg-atp.dts new file mode 100644 index 00000000..10f6310c --- /dev/null +++ b/qcom/ravelin-sg-atp.dts @@ -0,0 +1,11 @@ +/dts-v1/; + +#include "ravelin-sg.dtsi" +#include "ravelin-sg-atp.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. Ravelin SG ATP"; + compatible = "qcom,ravelin-atp", "qcom,ravelin", "qcom,atp"; + qcom,board-id = <33 0>; +}; + diff --git a/qcom/ravelin-sg-atp.dtsi b/qcom/ravelin-sg-atp.dtsi new file mode 100644 index 00000000..947022eb --- /dev/null +++ b/qcom/ravelin-sg-atp.dtsi @@ -0,0 +1 @@ +#include "ravelin-atp.dtsi" diff --git a/qcom/ravelin-sg-idp-wcn3950-amoled-rcm.dts b/qcom/ravelin-sg-idp-wcn3950-amoled-rcm.dts new file mode 100644 index 00000000..55bc856f --- /dev/null +++ b/qcom/ravelin-sg-idp-wcn3950-amoled-rcm.dts @@ -0,0 +1,10 @@ +/dts-v1/; + +#include "ravelin-sg.dtsi" +#include "ravelin-sg-idp-wcn3950-amoled-rcm.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. Ravelin SG WCN3950 IDP + AMOLED + RCM"; + compatible = "qcom,ravelin-idp", "qcom,ravelin", "qcom,idp"; + qcom,board-id = <34 2>; +}; diff --git a/qcom/ravelin-sg-idp-wcn3950-amoled-rcm.dtsi b/qcom/ravelin-sg-idp-wcn3950-amoled-rcm.dtsi new file mode 100644 index 00000000..faea2552 --- /dev/null +++ b/qcom/ravelin-sg-idp-wcn3950-amoled-rcm.dtsi @@ -0,0 +1,2 @@ +#include "ravelin-idp-wcn3950-amoled-rcm.dtsi" + diff --git a/qcom/ravelin-sg-idp-wcn3988-4gb.dts b/qcom/ravelin-sg-idp-wcn3988-4gb.dts new file mode 100644 index 00000000..34e4a49a --- /dev/null +++ b/qcom/ravelin-sg-idp-wcn3988-4gb.dts @@ -0,0 +1,10 @@ +/dts-v1/; + +#include "ravelin-4gb.dtsi" +#include "ravelin-sg-idp-wcn3988-4gb.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. Ravelin SG IDP 4GB DDR + WCN3988"; + compatible = "qcom,ravelin-idp", "qcom,ravelin", "qcom,idp"; + qcom,board-id = <34 0x601>; +}; diff --git a/qcom/ravelin-sg-idp-wcn3988-4gb.dtsi b/qcom/ravelin-sg-idp-wcn3988-4gb.dtsi new file mode 100644 index 00000000..56b1d7b7 --- /dev/null +++ b/qcom/ravelin-sg-idp-wcn3988-4gb.dtsi @@ -0,0 +1 @@ +#include "ravelin-idp-wcn3988-4gb.dtsi" diff --git a/qcom/ravelin-sg-idp.dts b/qcom/ravelin-sg-idp.dts new file mode 100644 index 00000000..37a67377 --- /dev/null +++ b/qcom/ravelin-sg-idp.dts @@ -0,0 +1,12 @@ +/dts-v1/; + +#include "ravelin-sg.dtsi" +#include "ravelin-adrastea.dtsi" +#include "ravelin-sg-idp.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. Ravelin SG IDP"; + compatible = "qcom,ravelin-idp", "qcom,ravelin", "qcom,idp"; + qcom,board-id = <34 0>; +}; + diff --git a/qcom/ravelin-sg-idp.dtsi b/qcom/ravelin-sg-idp.dtsi new file mode 100644 index 00000000..b71ee48e --- /dev/null +++ b/qcom/ravelin-sg-idp.dtsi @@ -0,0 +1 @@ +#include "ravelin-idp.dtsi" diff --git a/qcom/ravelin-sg-qrd-4gb.dts b/qcom/ravelin-sg-qrd-4gb.dts new file mode 100644 index 00000000..66a6f53b --- /dev/null +++ b/qcom/ravelin-sg-qrd-4gb.dts @@ -0,0 +1,11 @@ +/dts-v1/; + +#include "ravelin-4gb.dtsi" +#include "ravelin-sg-qrd-4gb.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. Ravelin SG QRD 4GB DDR"; + compatible = "qcom,ravelin-qrd", "qcom,ravelin", "qcom,qrd"; + qcom,board-id = <0x1000B 0x600>; +}; + diff --git a/qcom/ravelin-sg-qrd-4gb.dtsi b/qcom/ravelin-sg-qrd-4gb.dtsi new file mode 100644 index 00000000..4f723176 --- /dev/null +++ b/qcom/ravelin-sg-qrd-4gb.dtsi @@ -0,0 +1,2 @@ +#include "ravelin-qrd-4gb.dtsi" + diff --git a/qcom/ravelin-sg-qrd.dts b/qcom/ravelin-sg-qrd.dts new file mode 100644 index 00000000..beee1b23 --- /dev/null +++ b/qcom/ravelin-sg-qrd.dts @@ -0,0 +1,12 @@ +/dts-v1/; + +#include "ravelin-sg.dtsi" +#include "ravelin-sg-qrd.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. Ravelin SG QRD"; + compatible = "qcom,ravelin-qrd", "qcom,ravelin", "qcom,qrd"; + qcom,board-id = <0x1000B 0>; +}; + + diff --git a/qcom/ravelin-sg-qrd.dtsi b/qcom/ravelin-sg-qrd.dtsi new file mode 100644 index 00000000..76ba1b70 --- /dev/null +++ b/qcom/ravelin-sg-qrd.dtsi @@ -0,0 +1 @@ +#include "ravelin-qrd.dtsi" diff --git a/qcom/ravelin-sg.dts b/qcom/ravelin-sg.dts new file mode 100644 index 00000000..487a7111 --- /dev/null +++ b/qcom/ravelin-sg.dts @@ -0,0 +1,10 @@ +/dts-v1/; + +#include "ravelin-sg.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. Ravelin SG SoC"; + compatible = "qcom,ravelin"; + qcom,board-id = <0 0>; +}; + diff --git a/qcom/ravelin-sg.dtsi b/qcom/ravelin-sg.dtsi new file mode 100644 index 00000000..d8e9c7c9 --- /dev/null +++ b/qcom/ravelin-sg.dtsi @@ -0,0 +1,8 @@ +#include "ravelin.dtsi" + +/ { + + model = "Qualcomm Technologies, Inc. Ravelin SG"; + compatible = "qcom,ravelin"; + qcom,msm-id = <653 0x10000>; +}; diff --git a/qcom/ravelin-vm.dtsi b/qcom/ravelin-vm.dtsi index 7b5d6ddf..78b03630 100644 --- a/qcom/ravelin-vm.dtsi +++ b/qcom/ravelin-vm.dtsi @@ -1,7 +1,7 @@ #include "waipio-vm.dtsi" / { - qcom,msm-id = <568 0x10000>, <602 0x10000>, <581 0x10000>, <582 0x10000>; + qcom,msm-id = <568 0x10000>, <602 0x10000>, <581 0x10000>, <582 0x10000>, <653 0x10000>, <654 0x10000>; interrupt-parent = <&vgic>; gunyah-vsock { diff --git a/qcom/ravelinp-sg-atp.dts b/qcom/ravelinp-sg-atp.dts new file mode 100644 index 00000000..8194f742 --- /dev/null +++ b/qcom/ravelinp-sg-atp.dts @@ -0,0 +1,11 @@ +/dts-v1/; + +#include "ravelinp-sg.dtsi" +#include "ravelinp-sg-atp.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. RavelinP SG ATP"; + compatible = "qcom,ravelinp-atp", "qcom,ravelinp", "qcom,atp"; + qcom,board-id = <33 0>; +}; + diff --git a/qcom/ravelinp-sg-atp.dtsi b/qcom/ravelinp-sg-atp.dtsi new file mode 100644 index 00000000..37901ea9 --- /dev/null +++ b/qcom/ravelinp-sg-atp.dtsi @@ -0,0 +1 @@ +#include "ravelin-sg-atp.dtsi" diff --git a/qcom/ravelinp-sg-idp-wcn3950-amoled-rcm.dts b/qcom/ravelinp-sg-idp-wcn3950-amoled-rcm.dts new file mode 100644 index 00000000..5f0ec084 --- /dev/null +++ b/qcom/ravelinp-sg-idp-wcn3950-amoled-rcm.dts @@ -0,0 +1,10 @@ +/dts-v1/; + +#include "ravelinp-sg.dtsi" +#include "ravelinp-sg-idp-wcn3950-amoled-rcm.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. RavelinP SG WCN3950 IDP + AMOLED + RCM"; + compatible = "qcom,ravelinp-idp", "qcom,ravelinp", "qcom,idp"; + qcom,board-id = <34 2>; +}; diff --git a/qcom/ravelinp-sg-idp-wcn3950-amoled-rcm.dtsi b/qcom/ravelinp-sg-idp-wcn3950-amoled-rcm.dtsi new file mode 100644 index 00000000..adb42f71 --- /dev/null +++ b/qcom/ravelinp-sg-idp-wcn3950-amoled-rcm.dtsi @@ -0,0 +1,2 @@ +#include "ravelin-sg-idp-wcn3950-amoled-rcm.dtsi" + diff --git a/qcom/ravelinp-sg-idp-wcn3988-4gb.dts b/qcom/ravelinp-sg-idp-wcn3988-4gb.dts new file mode 100644 index 00000000..715d58aa --- /dev/null +++ b/qcom/ravelinp-sg-idp-wcn3988-4gb.dts @@ -0,0 +1,10 @@ +/dts-v1/; + +#include "ravelinp-4gb.dtsi" +#include "ravelinp-sg-idp-wcn3988-4gb.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. RavelinP SG IDP 4GB DDR + WCN3988"; + compatible = "qcom,ravelinp-idp", "qcom,ravelinp", "qcom,idp"; + qcom,board-id = <34 0x601>; +}; diff --git a/qcom/ravelinp-sg-idp-wcn3988-4gb.dtsi b/qcom/ravelinp-sg-idp-wcn3988-4gb.dtsi new file mode 100644 index 00000000..65943132 --- /dev/null +++ b/qcom/ravelinp-sg-idp-wcn3988-4gb.dtsi @@ -0,0 +1 @@ +#include "ravelin-sg-idp-wcn3988-4gb.dtsi" diff --git a/qcom/ravelinp-sg-idp.dts b/qcom/ravelinp-sg-idp.dts new file mode 100644 index 00000000..131bf299 --- /dev/null +++ b/qcom/ravelinp-sg-idp.dts @@ -0,0 +1,12 @@ +/dts-v1/; + +#include "ravelinp-sg.dtsi" +#include "ravelin-adrastea.dtsi" +#include "ravelinp-sg-idp.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. RavelinP SG IDP"; + compatible = "qcom,ravelinp-idp", "qcom,ravelinp", "qcom,idp"; + qcom,board-id = <34 0>; +}; + diff --git a/qcom/ravelinp-sg-idp.dtsi b/qcom/ravelinp-sg-idp.dtsi new file mode 100644 index 00000000..bd3e56dd --- /dev/null +++ b/qcom/ravelinp-sg-idp.dtsi @@ -0,0 +1 @@ +#include "ravelin-sg-idp.dtsi" diff --git a/qcom/ravelinp-sg-qrd-4gb.dts b/qcom/ravelinp-sg-qrd-4gb.dts new file mode 100644 index 00000000..5214f92b --- /dev/null +++ b/qcom/ravelinp-sg-qrd-4gb.dts @@ -0,0 +1,11 @@ +/dts-v1/; + +#include "ravelinp-4gb.dtsi" +#include "ravelinp-sg-qrd-4gb.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. RavelinP SG QRD 4GB DDR"; + compatible = "qcom,ravelinp-qrd", "qcom,ravelinp", "qcom,qrd"; + qcom,board-id = <0x1000B 0x600>; +}; + diff --git a/qcom/ravelinp-sg-qrd-4gb.dtsi b/qcom/ravelinp-sg-qrd-4gb.dtsi new file mode 100644 index 00000000..31255b9d --- /dev/null +++ b/qcom/ravelinp-sg-qrd-4gb.dtsi @@ -0,0 +1,2 @@ +#include "ravelin-sg-qrd-4gb.dtsi" + diff --git a/qcom/ravelinp-sg-qrd.dts b/qcom/ravelinp-sg-qrd.dts new file mode 100644 index 00000000..b244c04e --- /dev/null +++ b/qcom/ravelinp-sg-qrd.dts @@ -0,0 +1,12 @@ +/dts-v1/; + +#include "ravelinp-sg.dtsi" +#include "ravelinp-sg-qrd.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. RavelinP SG QRD"; + compatible = "qcom,ravelinp-qrd", "qcom,ravelinp", "qcom,qrd"; + qcom,board-id = <0x1000B 0>; +}; + + diff --git a/qcom/ravelinp-sg-qrd.dtsi b/qcom/ravelinp-sg-qrd.dtsi new file mode 100644 index 00000000..e4d15c46 --- /dev/null +++ b/qcom/ravelinp-sg-qrd.dtsi @@ -0,0 +1 @@ +#include "ravelin-sg-qrd.dtsi" diff --git a/qcom/ravelinp-sg.dts b/qcom/ravelinp-sg.dts new file mode 100644 index 00000000..00b6a710 --- /dev/null +++ b/qcom/ravelinp-sg.dts @@ -0,0 +1,10 @@ +/dts-v1/; + +#include "ravelinp-sg.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. RavelinP SG SoC"; + compatible = "qcom,ravelinp"; + qcom,board-id = <0 0>; +}; + diff --git a/qcom/ravelinp-sg.dtsi b/qcom/ravelinp-sg.dtsi new file mode 100644 index 00000000..9bd127bd --- /dev/null +++ b/qcom/ravelinp-sg.dtsi @@ -0,0 +1,9 @@ +#include "ravelin-sg.dtsi" + +/ { + + model = "Qualcomm Technologies, Inc. RavelinP SG"; + compatible = "qcom,ravelinp"; + qcom,msm-id = <654 0x10000>; +}; + From 402aacf5c5d8c8614a1df2abe7b214f3a742a098 Mon Sep 17 00:00:00 2001 From: Harshitha Sai Neelati Date: Mon, 4 Mar 2024 16:07:22 +0530 Subject: [PATCH 18/34] ARM: dts: msm: Update GPU model for Ravelin gaming variants Update GPU model for Ravelin gaming variants. Change-Id: Idc7a6639d24373283c504257335b5a244609201f --- qcom/ravelin-sg.dtsi | 5 +++++ qcom/ravelinp-sg.dtsi | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/qcom/ravelin-sg.dtsi b/qcom/ravelin-sg.dtsi index d8e9c7c9..a99dc41c 100644 --- a/qcom/ravelin-sg.dtsi +++ b/qcom/ravelin-sg.dtsi @@ -6,3 +6,8 @@ compatible = "qcom,ravelin"; qcom,msm-id = <653 0x10000>; }; + +&msm_gpu { + /delete-property/qcom,gpu-model; + qcom,gpu-model = "AdrenoA12v1"; +}; diff --git a/qcom/ravelinp-sg.dtsi b/qcom/ravelinp-sg.dtsi index 9bd127bd..81294df0 100644 --- a/qcom/ravelinp-sg.dtsi +++ b/qcom/ravelinp-sg.dtsi @@ -7,3 +7,7 @@ qcom,msm-id = <654 0x10000>; }; +&msm_gpu { + /delete-property/qcom,gpu-model; + qcom,gpu-model = "AdrenoA12v1"; +}; From 776bbf2e58acff66adaecc45106462d6b2d5c12b Mon Sep 17 00:00:00 2001 From: Mohan Date: Tue, 6 Feb 2024 10:24:08 +0530 Subject: [PATCH 19/34] ARM: dts: msm: Add dt variants for montague HSP variant The change add dts support for QPS615 subtype for montague HSP variant. Change-Id: Ia0dc8329196dfde67ea7fdfee5a330d230744210 --- qcom/montague-idp-qps615.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qcom/montague-idp-qps615.dtsi b/qcom/montague-idp-qps615.dtsi index b71ee48e..ef6d65e3 100644 --- a/qcom/montague-idp-qps615.dtsi +++ b/qcom/montague-idp-qps615.dtsi @@ -1 +1 @@ -#include "ravelin-idp.dtsi" +#include "montague-hsp.dtsi" From 255f221f464f370b77d9604b27b90f5645aa0290 Mon Sep 17 00:00:00 2001 From: Sushrut Shree Trivedi Date: Mon, 19 Feb 2024 16:14:26 +0530 Subject: [PATCH 20/34] ARM: dts: msm: Add I2C node for PCIe switch QPS615 Adding I2C node for QPS615 switch. Change-Id: Ic91e5e315e17233e57abe84e782b66cf6e0606df --- bindings/pci/pci-msm.txt | 63 +++++++++++++++++++++++++++++++++++ qcom/montague-idp-qps615.dtsi | 36 ++++++++++++++++++++ 2 files changed, 99 insertions(+) diff --git a/bindings/pci/pci-msm.txt b/bindings/pci/pci-msm.txt index 4a15c167..21872544 100644 --- a/bindings/pci/pci-msm.txt +++ b/bindings/pci/pci-msm.txt @@ -598,3 +598,66 @@ Example qcom,iommu-cfg = <0x3> /* SMMU PRESENT. SET S1 BYPASS */ qcom,iommu-range = <0x0 0x10000000 0x0 0x40000000>; }; + +============== +i2c child node +============== + +- compatible: + Usage: required + Value type: + Definition: Compatible list, contains + - "qcom,pcie-i2c-ntn3" for NTN3 switch attached to Root port 0 + +- reg: + Usage: required + Value type: + Definition: i2c slave id + +- gpio-config-reg: + Usage: optional + Value type: + Definition: Slave GPIO configuration register address + +- ep-reset-reg: + Usage: optional + Value type: + Definition: Slave endpoint reset register address + +- ep-reset-gpio-mask: + Usage: optional + Value type: + Definition: Slave GPIO number as 32-bit mask + +- dump-regs: + Usage: optional + Value Type: Array of + Definition: List of slave registers to dump by i2c read + +- version-reg: + Usage: optional + Value type: + Definition: Register to find ntn3 switch version + +- force-i2c-setting: + Usage: optional + Value type: + Definition: If force-i2c-setting flag is set + then de_emphasis settings are updated + irrespective of the chip version via i2c_writes +======= +Example +======= + +&i2c_5 { + pcie_i2c_ctrl: pcie_i2c_ctrl { + compatible = "qcom,pcie-i2c-ntn3"; + reg = <0x77>; + gpio-config-reg = <0x801208>; + ep-reset-reg = <0x801210>; + ep-reset-gpio-mask = <0xf>; + dump-regs = <0x801330 0x801350 0x801370>; + version-reg = <0x800000>; + force-i2c-setting; + }; +}; diff --git a/qcom/montague-idp-qps615.dtsi b/qcom/montague-idp-qps615.dtsi index ef6d65e3..c7ab38b7 100644 --- a/qcom/montague-idp-qps615.dtsi +++ b/qcom/montague-idp-qps615.dtsi @@ -1 +1,37 @@ #include "montague-hsp.dtsi" + +&qupv3_se0_i2c { + status = "ok"; + + pcie0_i2c_ctrl: pcie0_i2c_ctrl { + compatible = "qcom,pcie-i2c-ntn3"; + rc-index = <0x0>; + reg = <0x77>; + gpio-config-reg = <0x801208>; + ep-reset-reg = <0x801210>; + ep-reset-gpio-mask = <0xc>; + version-reg = <0x800000>; + dump-regs = <0x801330 0x801350 0x801370>; + reg_update = <0x82c030 0x1 + 0x828000 0x3 + 0x82bd00 0x8 + 0x82c030 0x2 + 0x828000 0x3 + 0x82bd00 0x8 + 0x82c030 0x8 + 0x828000 0x1 + 0x82bd00 0x8 + 0x82c01c 0x10 + 0x82c030 0xf + 0x828000 0xf + 0x82b268 0x2>; + /*FOM for preset caluclation*/ + switch_reg_update = <0x82c02c 0x00000007 + 0x824a10 0x00000001 + 0x82c030 0x00000008 + 0x828000 0x00000001 + 0x82b074 0x00000020 + 0x82b2bc 0x00000001>; + }; +}; + From 695c23e12e9d678f7d9b6b67d57149f4d06f42bd Mon Sep 17 00:00:00 2001 From: Sushrut Shree Trivedi Date: Mon, 19 Feb 2024 16:28:58 +0530 Subject: [PATCH 21/34] ARM: dts: msm: Add PCIE0 node Adding PCIE0 node to relevant IoT dtsi. Change-Id: If6e4f8a7e819e8403cd6df7732de7981c59a180f --- qcom/montague-idp-qps615.dtsi | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/qcom/montague-idp-qps615.dtsi b/qcom/montague-idp-qps615.dtsi index c7ab38b7..fee6b27a 100644 --- a/qcom/montague-idp-qps615.dtsi +++ b/qcom/montague-idp-qps615.dtsi @@ -35,3 +35,18 @@ }; }; +&pcie0 { + + pcie-i2c-phandle = <&qupv3_se0_i2c>; + qcom,boot-option = <0x2>; + iommu-map = <0x0 &apps_smmu 0x1400 0x1>, + <0x100 &apps_smmu 0x1401 0x1>, + <0x208 &apps_smmu 0x1404 0x1>, + <0x210 &apps_smmu 0x1405 0x1>, + <0x218 &apps_smmu 0x1406 0x1>, + <0x300 &apps_smmu 0x1407 0x1>, + <0x400 &apps_smmu 0x1410 0x1>, + <0x500 &apps_smmu 0x1411 0x1>, + <0x501 &apps_smmu 0x1412 0x1>; +}; + From b3e38184a934e232c783543387ece5434b7db3a8 Mon Sep 17 00:00:00 2001 From: Sushrut Shree Trivedi Date: Mon, 19 Feb 2024 16:56:23 +0530 Subject: [PATCH 22/34] ARM: dts: qcom: PCIe REFCLK always on This is a work around to avoid issue in L1ss for EP's connected to pcie switch. Update phy settings to keep REFCLK always on for PCIE0. Change-Id: Ib37b29cd268c0b00853176dc227a6667e5440416 --- qcom/montague-idp-qps615.dtsi | 82 +++++++++++++++++++++++++++++++++++ 1 file changed, 82 insertions(+) diff --git a/qcom/montague-idp-qps615.dtsi b/qcom/montague-idp-qps615.dtsi index fee6b27a..ee257ee4 100644 --- a/qcom/montague-idp-qps615.dtsi +++ b/qcom/montague-idp-qps615.dtsi @@ -48,5 +48,87 @@ <0x400 &apps_smmu 0x1410 0x1>, <0x500 &apps_smmu 0x1411 0x1>, <0x501 &apps_smmu 0x1412 0x1>; + + qcom,phy-sequence = <0x0240 0x03 0x0 + 0x0094 0x08 0x0 + 0x0154 0x34 0x0 + 0x016c 0x08 0x0 + 0x0058 0x0f 0x0 + 0x00a4 0x42 0x0 + 0x0110 0x24 0x0 + 0x011c 0x03 0x0 + 0x0118 0xb4 0x0 + 0x010c 0x02 0x0 + 0x01bc 0x11 0x0 + 0x00bc 0x82 0x0 + 0x00d4 0x03 0x0 + 0x00d0 0x55 0x0 + 0x00cc 0x55 0x0 + 0x00b0 0x1a 0x0 + 0x00ac 0x0a 0x0 + 0x00c4 0x68 0x0 + 0x00e0 0x02 0x0 + 0x00dc 0xaa 0x0 + 0x00d8 0xab 0x0 + 0x00b8 0x34 0x0 + 0x00b4 0x14 0x0 + 0x0158 0x01 0x0 + 0x0074 0x06 0x0 + 0x007c 0x16 0x0 + 0x0084 0x36 0x0 + 0x0078 0x06 0x0 + 0x0080 0x16 0x0 + 0x0088 0x36 0x0 + 0x01b0 0x1e 0x0 + 0x01ac 0xca 0x0 + 0x01b8 0x18 0x0 + 0x01b4 0xa2 0x0 + 0x0050 0x07 0x0 + 0x0010 0x01 0x0 + 0x001c 0x31 0x0 + 0x0020 0x01 0x0 + 0x0024 0xde 0x0 + 0x0028 0x07 0x0 + 0x0030 0x4c 0x0 + 0x0034 0x06 0x0 + 0x0ee4 0x20 0x0 + 0x0e84 0x75 0x0 + 0x0e90 0x3f 0x0 + 0x115c 0x7f 0x0 + 0x1160 0xff 0x0 + 0x1164 0xbf 0x0 + 0x1168 0x3f 0x0 + 0x116c 0xd8 0x0 + 0x1170 0xdc 0x0 + 0x1174 0xdc 0x0 + 0x1178 0x5c 0x0 + 0x117c 0x34 0x0 + 0x1180 0xa6 0x0 + 0x1190 0x34 0x0 + 0x1194 0x38 0x0 + 0x10d8 0x0f 0x0 + 0x0e3c 0x12 0x0 + 0x0e40 0x01 0x0 + 0x10dc 0x00 0x0 + 0x104c 0x08 0x0 + 0x1050 0x08 0x0 + 0x1044 0xf0 0x0 + 0x11a4 0x38 0x0 + 0x10cc 0xf0 0x0 + 0x10f4 0x07 0x0 + 0x1008 0x09 0x0 + 0x1014 0x05 0x0 + 0x0694 0x00 0x0 + 0x0654 0x00 0x0 + 0x06a8 0x0f 0x0 + 0x0048 0x90 0x0 + 0x0620 0xc1 0x0 + 0x0624 0x40 0x0 + 0x0388 0x77 0x0 + 0x0398 0x0b 0x0 + 0x02dc 0x05 0x0 + 0x0200 0x00 0x0 + 0x0244 0x03 0x0>; + }; From 7306b326a695fcb74888182a6ba99e43adbfbb7d Mon Sep 17 00:00:00 2001 From: Sushrut Shree Trivedi Date: Mon, 19 Feb 2024 18:20:27 +0530 Subject: [PATCH 23/34] ARM: dts: msm: removing "config-recovery" and "drv-supported" for qps615 Config recovery should be taken care by individual EP so, this property is not needed for qps615 switch. Removing this property from pcie0 instance. DRV feature is not supported for qps615 switch so, removing this property from pcie0 instance. Adding back deleted properties to all board level overlay files. Change-Id: Ibb1cf4200ca046583508a5ea1b3a9964923aa60b --- qcom/montague-adrastea-overlay.dts | 7 +++++++ qcom/montague-hsp-overlay.dts | 8 ++++++++ qcom/montague-moselle-overlay.dts | 8 ++++++++ qcom/montague-rcm-overlay.dts | 8 ++++++++ qcom/montague-wsa-overlay.dts | 8 ++++++++ qcom/montague-wsd-overlay.dts | 8 ++++++++ qcom/montague.dtsi | 8 ++++++++ 7 files changed, 55 insertions(+) diff --git a/qcom/montague-adrastea-overlay.dts b/qcom/montague-adrastea-overlay.dts index 72826f47..1fc1ed8e 100644 --- a/qcom/montague-adrastea-overlay.dts +++ b/qcom/montague-adrastea-overlay.dts @@ -9,3 +9,10 @@ qcom,msm-id = <581 0x10000>, <582 0x10000>; qcom,board-id = <0x10022 0x0>; }; + +&pcie0 { + + qcom,config-recovery; + qcom,drv-supported; + +}; diff --git a/qcom/montague-hsp-overlay.dts b/qcom/montague-hsp-overlay.dts index bc4c623c..74385209 100644 --- a/qcom/montague-hsp-overlay.dts +++ b/qcom/montague-hsp-overlay.dts @@ -16,3 +16,11 @@ reg = <0x0 0x82a00000 0x0 0x0>; }; }; + +&pcie0 { + + qcom,config-recovery; + qcom,drv-supported; + +}; + diff --git a/qcom/montague-moselle-overlay.dts b/qcom/montague-moselle-overlay.dts index a48e707b..9cbc9913 100644 --- a/qcom/montague-moselle-overlay.dts +++ b/qcom/montague-moselle-overlay.dts @@ -10,3 +10,11 @@ qcom,board-id = <0x10022 3>; }; +&pcie0 { + + qcom,config-recovery; + qcom,drv-supported; + +}; + + diff --git a/qcom/montague-rcm-overlay.dts b/qcom/montague-rcm-overlay.dts index 17f42b74..b49c1e6c 100644 --- a/qcom/montague-rcm-overlay.dts +++ b/qcom/montague-rcm-overlay.dts @@ -10,3 +10,11 @@ qcom,board-id = <0x10022 0x5>; }; +&pcie0 { + + qcom,config-recovery; + qcom,drv-supported; + +}; + + diff --git a/qcom/montague-wsa-overlay.dts b/qcom/montague-wsa-overlay.dts index ec1001c3..3c0a500d 100644 --- a/qcom/montague-wsa-overlay.dts +++ b/qcom/montague-wsa-overlay.dts @@ -9,3 +9,11 @@ qcom,msm-id = <581 0x10000>, <582 0x10000>; qcom,board-id = <0x10022 0x7>; }; + +&pcie0 { + + qcom,config-recovery; + qcom,drv-supported; + +}; + diff --git a/qcom/montague-wsd-overlay.dts b/qcom/montague-wsd-overlay.dts index 046235ab..7e488833 100644 --- a/qcom/montague-wsd-overlay.dts +++ b/qcom/montague-wsd-overlay.dts @@ -9,3 +9,11 @@ qcom,msm-id = <581 0x10000>, <582 0x10000>; qcom,board-id = <0x10022 0x6>; }; + +&pcie0 { + + qcom,config-recovery; + qcom,drv-supported; + +}; + diff --git a/qcom/montague.dtsi b/qcom/montague.dtsi index dde07419..5657f097 100644 --- a/qcom/montague.dtsi +++ b/qcom/montague.dtsi @@ -31,3 +31,11 @@ qcom,low-latency; }; }; + +&pcie0 { + +/delete-property/ qcom,config-recovery; +/delete-property/ qcom,drv-supported; + +}; + From e86eaafd26234a7f48f413f94a5ca669c73ddaa2 Mon Sep 17 00:00:00 2001 From: Sushrut Shree Trivedi Date: Mon, 11 Mar 2024 15:16:14 +0530 Subject: [PATCH 24/34] ARM: dts: msm: Add child nodes for PCIe0 Adding child nodes for QPS615 ports. Change-Id: Iff5ea0a06e2689db4dd148a8c9e3d1c0c56146ca --- qcom/montague-idp-qps615.dtsi | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/qcom/montague-idp-qps615.dtsi b/qcom/montague-idp-qps615.dtsi index ee257ee4..ad213c59 100644 --- a/qcom/montague-idp-qps615.dtsi +++ b/qcom/montague-idp-qps615.dtsi @@ -132,3 +132,28 @@ }; +&pcie0_rp { + #address-cells = <5>; + #size-cells = <0>; + + /* BDF 1.0.0 */ + pcie0_bus1_dev0_fn0: pcie0_bus1_dev0_fn0 { + reg = <0 0 0 0 0>; + + /* BDF 2.1.0 */ + pcie0_bus2_dev1_fn0: pcie0_bus2_dev1_fn0 { + reg = <0x800 0x0 0x0 0x0 0x0>; + }; + + /* BDF 2.2.0 */ + pcie0_bus2_dev2_fn0: pcie0_bus2_dev2_fn0 { + reg = <0x1000 0x0 0x0 0x0 0x0>; + }; + + /* BDF 2.3.0 */ + pcie0_bus2_dev3_fn0: pcie0_bus2_dev3_fn0 { + reg = <0x1800 0x0 0x0 0x0 0x0>; + }; + }; +}; + From 9a4c12f56684b6129e1b8dcb07111bbb1a7bbe09 Mon Sep 17 00:00:00 2001 From: Uttkarsh Aggarwal Date: Tue, 26 Mar 2024 14:00:36 +0530 Subject: [PATCH 25/34] ARM: dts: msm: Skip thaw during hibernate for USB For the targets where hibernate is supported, clocks and regulators are turned off for the controller and phy via Glue driver msm. If the controller core tries to access the registers during thaw, it will crash with unclocked access. Change-Id: I439546cbe00c6bc561537c37ab79a5d4d243dc47 --- qcom/neo-usb.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/qcom/neo-usb.dtsi b/qcom/neo-usb.dtsi index 5a1d3c09..0e8ac35e 100644 --- a/qcom/neo-usb.dtsi +++ b/qcom/neo-usb.dtsi @@ -37,6 +37,7 @@ qcom,core-clk-rate = <133333333>; qcom,core-clk-rate-hs = <66666667>; + qcom,hibernate-skip-thaw; qcom,pm-qos-latency = <2>; From 8219e00481b3ba6f9d98481ce886dab3877b0658 Mon Sep 17 00:00:00 2001 From: Swetha Chikkaboraiah Date: Tue, 1 Mar 2022 15:09:00 +0530 Subject: [PATCH 26/34] ARM: dts: qcom: Add ParrotPRO SKU soc id support Add ParrotPRO SKU soc id support in device tree. Change-Id: Ifdc24bf2db97048706d2f655be063b5c57e19799 --- qcom/parrot-atp-overlay.dts | 3 ++- qcom/parrot-idp-4gb-overlay.dts | 2 +- qcom/parrot-idp-nopmi-overlay.dts | 3 ++- qcom/parrot-idp-overlay.dts | 3 ++- qcom/parrot-idp-pm8350b-overlay.dts | 3 ++- qcom/parrot-idp-wcn3990-4gb-overlay.dts | 2 +- qcom/parrot-idp-wcn3990-amoled-rcm-4gb-overlay.dts | 2 +- qcom/parrot-idp-wcn3990-amoled-rcm-overlay.dts | 3 ++- qcom/parrot-idp-wcn3990-overlay.dts | 3 ++- qcom/parrot-idp-wcn6750-amoled-4gb-overlay.dts | 2 +- qcom/parrot-idp-wcn6750-amoled-overlay.dts | 2 +- qcom/parrot-idp-wcn6750-amoled-rcm-4gb-overlay.dts | 2 +- qcom/parrot-idp-wcn6750-amoled-rcm-overlay.dts | 3 ++- qcom/parrot-qrd-4gb-overlay.dts | 2 +- qcom/parrot-qrd-nopmi-overlay.dts | 3 ++- qcom/parrot-qrd-overlay.dts | 3 ++- qcom/parrot-qrd-pm8350b-overlay.dts | 3 ++- qcom/parrot-qrd-wcn6750-4gb-overlay.dts | 2 +- qcom/parrot-qrd-wcn6750-overlay.dts | 3 ++- qcom/parrot-rumi-overlay.dts | 2 +- qcom/parrot-vm.dtsi | 3 ++- qcom/parrot.dtsi | 2 +- 22 files changed, 34 insertions(+), 22 deletions(-) diff --git a/qcom/parrot-atp-overlay.dts b/qcom/parrot-atp-overlay.dts index eefb1d51..46452ca7 100644 --- a/qcom/parrot-atp-overlay.dts +++ b/qcom/parrot-atp-overlay.dts @@ -8,6 +8,7 @@ model = "Qualcomm Technologies, Inc. Parrot ATP"; compatible = "qcom,parrot-atp", "qcom,parrot", "qcom,atp"; qcom,msm-id = <537 0x10000>, <583 0x10000>, <613 0x10000>, <631 0x10000>, - <633 0x10000>, <634 0x10000>, <638 0x10000>; + <633 0x10000>, <634 0x10000>, <638 0x10000>, + <663 0x10000>; qcom,board-id = <33 0>; }; diff --git a/qcom/parrot-idp-4gb-overlay.dts b/qcom/parrot-idp-4gb-overlay.dts index 3c95466f..de962c1f 100644 --- a/qcom/parrot-idp-4gb-overlay.dts +++ b/qcom/parrot-idp-4gb-overlay.dts @@ -8,6 +8,6 @@ / { model = "Qualcomm Technologies, Inc. Parrot IDP 4GB DDR"; compatible = "qcom,parrot-idp", "qcom,parrot", "qcom,idp"; - qcom,msm-id = <537 0x10000>; + qcom,msm-id = <537 0x10000>, <663 0x10000>; qcom,board-id = <34 0x600>; }; diff --git a/qcom/parrot-idp-nopmi-overlay.dts b/qcom/parrot-idp-nopmi-overlay.dts index 19440173..b0ffaf59 100644 --- a/qcom/parrot-idp-nopmi-overlay.dts +++ b/qcom/parrot-idp-nopmi-overlay.dts @@ -8,7 +8,8 @@ model = "Qualcomm Technologies, Inc. Parrot IDP"; compatible = "qcom,parrot-idp", "qcom,parrot", "qcom,idp"; qcom,msm-id = <537 0x10000>, <583 0x10000>, <613 0x10000>, <631 0x10000>, - <633 0x10000>, <634 0x10000>, <638 0x10000>; + <633 0x10000>, <634 0x10000>, <638 0x10000>, + <663 0x10000>; qcom,board-id = <34 0>; qcom,pmic-id-size = <9>; qcom,pmic-id = <0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0>; diff --git a/qcom/parrot-idp-overlay.dts b/qcom/parrot-idp-overlay.dts index 286bfacc..d8fe21d9 100644 --- a/qcom/parrot-idp-overlay.dts +++ b/qcom/parrot-idp-overlay.dts @@ -9,6 +9,7 @@ model = "Qualcomm Technologies, Inc. Parrot IDP"; compatible = "qcom,parrot-idp", "qcom,parrot", "qcom,idp"; qcom,msm-id = <537 0x10000>, <583 0x10000>, <613 0x10000>, <631 0x10000>, - <633 0x10000>, <634 0x10000>, <638 0x10000>; + <633 0x10000>, <634 0x10000>, <638 0x10000>, + <663 0x10000>; qcom,board-id = <34 0>; }; diff --git a/qcom/parrot-idp-pm8350b-overlay.dts b/qcom/parrot-idp-pm8350b-overlay.dts index e51c09d4..c6256fcc 100644 --- a/qcom/parrot-idp-pm8350b-overlay.dts +++ b/qcom/parrot-idp-pm8350b-overlay.dts @@ -9,6 +9,7 @@ model = "Qualcomm Technologies, Inc. Parrot IDP"; compatible = "qcom,parrot-idp", "qcom,parrot", "qcom,idp"; qcom,msm-id = <537 0x10000>, <583 0x10000>, <613 0x10000>, <631 0x10000>, - <633 0x10000>, <634 0x10000>, <638 0x10000>; + <633 0x10000>, <634 0x10000>, <638 0x10000>, + <663 0x10000>; qcom,board-id = <34 0>; }; diff --git a/qcom/parrot-idp-wcn3990-4gb-overlay.dts b/qcom/parrot-idp-wcn3990-4gb-overlay.dts index 78846626..959375a5 100644 --- a/qcom/parrot-idp-wcn3990-4gb-overlay.dts +++ b/qcom/parrot-idp-wcn3990-4gb-overlay.dts @@ -8,6 +8,6 @@ / { model = "Qualcomm Technologies, Inc. Parrot IDP 4GB DDR + WCN3990"; compatible = "qcom,parrot-idp", "qcom,parrot", "qcom,idp"; - qcom,msm-id = <537 0x10000>; + qcom,msm-id = <537 0x10000>, <663 0x10000>; qcom,board-id = <34 0x601>; }; diff --git a/qcom/parrot-idp-wcn3990-amoled-rcm-4gb-overlay.dts b/qcom/parrot-idp-wcn3990-amoled-rcm-4gb-overlay.dts index 01d5851c..a23e0be0 100644 --- a/qcom/parrot-idp-wcn3990-amoled-rcm-4gb-overlay.dts +++ b/qcom/parrot-idp-wcn3990-amoled-rcm-4gb-overlay.dts @@ -8,6 +8,6 @@ / { model = "Qualcomm Technologies, Inc. Parrot WCN3990 IDP 4GB DDR + AMOLED + RCM"; compatible = "qcom,parrot-idp", "qcom,parrot", "qcom,idp"; - qcom,msm-id = <537 0x10000>; + qcom,msm-id = <537 0x10000>, <663 0x10000>; qcom,board-id = <34 0x603>; }; diff --git a/qcom/parrot-idp-wcn3990-amoled-rcm-overlay.dts b/qcom/parrot-idp-wcn3990-amoled-rcm-overlay.dts index 22012a4a..68fac8db 100644 --- a/qcom/parrot-idp-wcn3990-amoled-rcm-overlay.dts +++ b/qcom/parrot-idp-wcn3990-amoled-rcm-overlay.dts @@ -9,6 +9,7 @@ model = "Qualcomm Technologies, Inc. Parrot WCN3990 IDP + AMOLED + RCM"; compatible = "qcom,parrot-idp", "qcom,parrot", "qcom,idp"; qcom,msm-id = <537 0x10000>, <583 0x10000>, <613 0x10000>, <631 0x10000>, - <633 0x10000>, <634 0x10000>, <638 0x10000>; + <633 0x10000>, <634 0x10000>, <638 0x10000>, + <663 0x10000>; qcom,board-id = <34 3>; }; diff --git a/qcom/parrot-idp-wcn3990-overlay.dts b/qcom/parrot-idp-wcn3990-overlay.dts index 198a07fa..5089bb18 100644 --- a/qcom/parrot-idp-wcn3990-overlay.dts +++ b/qcom/parrot-idp-wcn3990-overlay.dts @@ -8,6 +8,7 @@ model = "Qualcomm Technologies, Inc. Parrot IDP + WCN3990"; compatible = "qcom,parrot-idp", "qcom,parrot", "qcom,idp"; qcom,msm-id = <537 0x10000>, <583 0x10000>, <613 0x10000>, <631 0x10000>, - <633 0x10000>, <634 0x10000>, <638 0x10000>; + <633 0x10000>, <634 0x10000>, <638 0x10000>, + <663 0x10000>; qcom,board-id = <34 1>; }; diff --git a/qcom/parrot-idp-wcn6750-amoled-4gb-overlay.dts b/qcom/parrot-idp-wcn6750-amoled-4gb-overlay.dts index c47c0026..11a6ac1d 100644 --- a/qcom/parrot-idp-wcn6750-amoled-4gb-overlay.dts +++ b/qcom/parrot-idp-wcn6750-amoled-4gb-overlay.dts @@ -8,6 +8,6 @@ / { model = "Qualcomm Technologies, Inc. Parrot WCN6750 IDP 4GB DDR + AMOLED"; compatible = "qcom,parrot-idp", "qcom,parrot", "qcom,idp"; - qcom,msm-id = <537 0x10000>; + qcom,msm-id = <537 0x10000>, <663 0x10000>; qcom,board-id = <34 0x604>; }; diff --git a/qcom/parrot-idp-wcn6750-amoled-overlay.dts b/qcom/parrot-idp-wcn6750-amoled-overlay.dts index 2b676b64..39f695ee 100644 --- a/qcom/parrot-idp-wcn6750-amoled-overlay.dts +++ b/qcom/parrot-idp-wcn6750-amoled-overlay.dts @@ -9,6 +9,6 @@ model = "Qualcomm Technologies, Inc. Parrot WCN6750 IDP + AMOLED"; compatible = "qcom,parrot-idp", "qcom,parrot", "qcom,idp"; qcom,msm-id = <537 0x10000>, <583 0x10000>, <613 0x10000>, <631 0x10000>, - <633 0x10000>, <634 0x10000>, <638 0x10000>; + <633 0x10000>, <634 0x10000>, <638 0x10000>, <663 0x10000>; qcom,board-id = <34 4>; }; diff --git a/qcom/parrot-idp-wcn6750-amoled-rcm-4gb-overlay.dts b/qcom/parrot-idp-wcn6750-amoled-rcm-4gb-overlay.dts index 32619f65..cac79b45 100644 --- a/qcom/parrot-idp-wcn6750-amoled-rcm-4gb-overlay.dts +++ b/qcom/parrot-idp-wcn6750-amoled-rcm-4gb-overlay.dts @@ -8,6 +8,6 @@ / { model = "Qualcomm Technologies, Inc. Parrot WCN6750 IDP 4GB DDR + AMOLED + RCM"; compatible = "qcom,parrot-idp", "qcom,parrot", "qcom,idp"; - qcom,msm-id = <537 0x10000>; + qcom,msm-id = <537 0x10000>, <663 0x10000>; qcom,board-id = <34 0x602>; }; diff --git a/qcom/parrot-idp-wcn6750-amoled-rcm-overlay.dts b/qcom/parrot-idp-wcn6750-amoled-rcm-overlay.dts index 5d03ebaf..d6a713c5 100644 --- a/qcom/parrot-idp-wcn6750-amoled-rcm-overlay.dts +++ b/qcom/parrot-idp-wcn6750-amoled-rcm-overlay.dts @@ -9,6 +9,7 @@ model = "Qualcomm Technologies, Inc. Parrot WCN6750 IDP + AMOLED + RCM"; compatible = "qcom,parrot-idp", "qcom,parrot", "qcom,idp"; qcom,msm-id = <537 0x10000>, <583 0x10000>, <613 0x10000>, <631 0x10000>, - <633 0x10000>, <634 0x10000>, <638 0x10000>; + <633 0x10000>, <634 0x10000>, <638 0x10000>, + <663 0x10000>; qcom,board-id = <34 2>; }; diff --git a/qcom/parrot-qrd-4gb-overlay.dts b/qcom/parrot-qrd-4gb-overlay.dts index c07c4f5d..a683184b 100644 --- a/qcom/parrot-qrd-4gb-overlay.dts +++ b/qcom/parrot-qrd-4gb-overlay.dts @@ -8,6 +8,6 @@ / { model = "Qualcomm Technologies, Inc. Parrot QRD 4GB DDR"; compatible = "qcom,parrot-qrd", "qcom,parrot", "qcom,qrd"; - qcom,msm-id = <537 0x10000>; + qcom,msm-id = <537 0x10000>, <663 0x10000>; qcom,board-id = <0x1000B 0x600>; }; diff --git a/qcom/parrot-qrd-nopmi-overlay.dts b/qcom/parrot-qrd-nopmi-overlay.dts index 47d8f417..bce367a6 100644 --- a/qcom/parrot-qrd-nopmi-overlay.dts +++ b/qcom/parrot-qrd-nopmi-overlay.dts @@ -8,7 +8,8 @@ model = "Qualcomm Technologies, Inc. Parrot QRD"; compatible = "qcom,parrot-qrd", "qcom,parrot", "qcom,qrd"; qcom,msm-id = <537 0x10000>, <583 0x10000>, <613 0x10000>, <631 0x10000>, - <633 0x10000>, <634 0x10000>, <638 0x10000>; + <633 0x10000>, <634 0x10000>, <638 0x10000>, + <663 0x10000>; qcom,board-id = <0x1000B 0>; qcom,pmic-id-size = <9>; qcom,pmic-id = <0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0>; diff --git a/qcom/parrot-qrd-overlay.dts b/qcom/parrot-qrd-overlay.dts index 205cd044..ca55d8d7 100644 --- a/qcom/parrot-qrd-overlay.dts +++ b/qcom/parrot-qrd-overlay.dts @@ -9,6 +9,7 @@ model = "Qualcomm Technologies, Inc. Parrot QRD"; compatible = "qcom,parrot-qrd", "qcom,parrot", "qcom,qrd"; qcom,msm-id = <537 0x10000>, <583 0x10000>, <613 0x10000>, <631 0x10000>, - <633 0x10000>, <634 0x10000>, <638 0x10000>; + <633 0x10000>, <634 0x10000>, <638 0x10000>, + <663 0x10000>; qcom,board-id = <0x1000B 0>; }; diff --git a/qcom/parrot-qrd-pm8350b-overlay.dts b/qcom/parrot-qrd-pm8350b-overlay.dts index 7a37c941..033f3844 100644 --- a/qcom/parrot-qrd-pm8350b-overlay.dts +++ b/qcom/parrot-qrd-pm8350b-overlay.dts @@ -9,6 +9,7 @@ model = "Qualcomm Technologies, Inc. Parrot QRD"; compatible = "qcom,parrot-qrd", "qcom,parrot", "qcom,qrd"; qcom,msm-id = <537 0x10000>, <583 0x10000>, <613 0x10000>, <631 0x10000>, - <633 0x10000>, <634 0x10000>, <638 0x10000>; + <633 0x10000>, <634 0x10000>, <638 0x10000>, + <663 0x10000>; qcom,board-id = <0x1000B 0>; }; diff --git a/qcom/parrot-qrd-wcn6750-4gb-overlay.dts b/qcom/parrot-qrd-wcn6750-4gb-overlay.dts index ce311d7c..02bb068c 100644 --- a/qcom/parrot-qrd-wcn6750-4gb-overlay.dts +++ b/qcom/parrot-qrd-wcn6750-4gb-overlay.dts @@ -8,6 +8,6 @@ / { model = "Qualcomm Technologies, Inc. Parrot WCN6750 QRD 4GB DDR"; compatible = "qcom,parrot-qrd", "qcom,parrot", "qcom,qrd"; - qcom,msm-id = <537 0x10000>; + qcom,msm-id = <537 0x10000>, <663 0x10000>; qcom,board-id = <0x1000B 0x601>; }; diff --git a/qcom/parrot-qrd-wcn6750-overlay.dts b/qcom/parrot-qrd-wcn6750-overlay.dts index babcc1ed..1a34c9d4 100644 --- a/qcom/parrot-qrd-wcn6750-overlay.dts +++ b/qcom/parrot-qrd-wcn6750-overlay.dts @@ -9,6 +9,7 @@ model = "Qualcomm Technologies, Inc. Parrot WCN6750 QRD"; compatible = "qcom,parrot-qrd", "qcom,parrot", "qcom,qrd"; qcom,msm-id = <537 0x10000>, <583 0x10000>, <613 0x10000>, <631 0x10000>, - <633 0x10000>, <634 0x10000>, <638 0x10000>; + <633 0x10000>, <634 0x10000>, <638 0x10000>, + <663 0x10000>; qcom,board-id = <0x1000B 1>; }; diff --git a/qcom/parrot-rumi-overlay.dts b/qcom/parrot-rumi-overlay.dts index 32e02fef..d775db88 100644 --- a/qcom/parrot-rumi-overlay.dts +++ b/qcom/parrot-rumi-overlay.dts @@ -7,6 +7,6 @@ / { model = "Qualcomm Technologies, Inc. Parrot RUMI"; compatible = "qcom,parrot-rumi", "qcom,parrot", "qcom,rumi"; - qcom,msm-id = <537 0x10000>; + qcom,msm-id = <537 0x10000>, <663 0x10000>; qcom,board-id = <0x1000F 0>; }; diff --git a/qcom/parrot-vm.dtsi b/qcom/parrot-vm.dtsi index b7e099b1..f673197d 100644 --- a/qcom/parrot-vm.dtsi +++ b/qcom/parrot-vm.dtsi @@ -2,7 +2,8 @@ / { qcom,msm-id = <537 0x10000>, <583 0x10000>, <613 0x10000>, <631 0x10000>, - <633 0x10000>, <634 0x10000>, <638 0x10000>; + <633 0x10000>, <634 0x10000>, <638 0x10000>, + <663 0x10000>; interrupt-parent = <&vgic>; gunyah-vsock { diff --git a/qcom/parrot.dtsi b/qcom/parrot.dtsi index de4dd6a4..5cc3eeda 100644 --- a/qcom/parrot.dtsi +++ b/qcom/parrot.dtsi @@ -16,7 +16,7 @@ / { model = "Qualcomm Technologies, Inc. Parrot"; compatible = "qcom,parrot"; - qcom,msm-id = <537 0x10000>, <613 0x10000>; + qcom,msm-id = <537 0x10000>, <613 0x10000>, <663 0x10000>; interrupt-parent = <&intc>; #address-cells = <2>; From 67ecb5a90c6a33ece78a7fb780c31261a855a388 Mon Sep 17 00:00:00 2001 From: Kartikey Arora Date: Thu, 18 Apr 2024 01:06:57 +0530 Subject: [PATCH 27/34] ARM: dts: msm: Add wlan node for qca6755 parrot Add dtsi entries for wlan node for qca6755 parrot. Change-Id: Iba0fdd01f0a33a3d8cea57f6ac3c4523ba96d6b5 --- bindings/cnss/icnss.txt | 1 + qcom/parrot-wcn6755.dtsi | 158 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 159 insertions(+) create mode 100644 qcom/parrot-wcn6755.dtsi diff --git a/bindings/cnss/icnss.txt b/bindings/cnss/icnss.txt index 77db7afc..75456104 100644 --- a/bindings/cnss/icnss.txt +++ b/bindings/cnss/icnss.txt @@ -40,6 +40,7 @@ Optional properties: - qcom,vreg_ol_cpr: Specifies voltage regulator used for OL CPR vote - qcom,pon-gpio-control: Boolean context flag to enable PMIC GPIO based power sequence trigger via SPMI + - wcn-hw-version: Parameter to differentiate between different WCN HW Versions WLAN SMP2P sub nodes diff --git a/qcom/parrot-wcn6755.dtsi b/qcom/parrot-wcn6755.dtsi new file mode 100644 index 00000000..9c64edb7 --- /dev/null +++ b/qcom/parrot-wcn6755.dtsi @@ -0,0 +1,158 @@ +#include + +&soc { + bluetooth: bt_wcn6750 { + compatible = "qcom,wcn6750-bt"; + pinctrl-names = "default"; + pinctrl-0 = <&bt_en_sleep>; + qcom,bt-reset-gpio = <&tlmm 35 0>; /* BT_EN */ + qcom,bt-sw-ctrl-gpio = <&tlmm 61 0>; /* SW_CTRL */ + qcom,wl-reset-gpio = <&tlmm 36 0>; /* WL_EN */ + tsens = "quiet-therm"; + + qcom,bt-vdd-io-supply = <&L22B>; /* IO */ + qcom,bt-vdd-aon-supply = <&S7B>; + qcom,bt-vdd-dig-supply = <&S7B>; /* BT_CX_MX */ + qcom,bt-vdd-rfacmn-supply = <&S7B>; + qcom,bt-vdd-rfa-0p8-supply = <&S7B>; + qcom,bt-vdd-rfa1-supply = <&S8E>; /*RFA 1p7*/ + qcom,bt-vdd-rfa2-supply = <&S8B>; /*RFA 1p2*/ + qcom,bt-vdd-ipa-2p2-supply = <&S9B>; /*IPA 2p2*/ + //qcom,bt-vdd-asd-supply = <&L11C>; + + /* max voltage are set to regulator max voltage supported */ + qcom,bt-vdd-io-config = <1800000 2000000 0 1>; + qcom,bt-vdd-aon-config = <824000 1174000 0 1>; + qcom,bt-vdd-dig-config = <824000 1174000 0 1>; + qcom,bt-vdd-rfacmn-config = <824000 1174000 0 1>; + qcom,bt-vdd-rfa-0p8-config = <824000 1174000 0 1>; + qcom,bt-vdd-rfa1-config = <1872000 2040000 0 1>; + qcom,bt-vdd-rfa2-config = <1256000 1654000 0 1>; + qcom,bt-vdd-ipa-2p2-config = <2200000 2208000 0 1>; + //qcom,bt-vdd-asd-config = <2800000 3544000 0 1>; + }; + + qcom,smp2p-wpss { + smp2p_wlan_2_in: qcom,smp2p-wlan-2-in { + qcom,entry-name = "wlan_soc_wake"; + interrupt-controller; + #interrupt-cells = <2>; + }; + + smp2p_wlan_2_out: qcom,smp2p-wlan-2-out { + qcom,entry-name = "wlan_soc_wake"; + #qcom,smem-state-cells = <1>; + }; + + smp2p_wlan_3_out: qcom,smp2p-wlan-3-out { + qcom,entry-name = "wlan_ep_power_save"; + #qcom,smem-state-cells = <1>; + }; + }; + + wpss_pas: remoteproc-wpss@8a00000 { + firmware-name = "qca6755/wpss.mdt"; + }; + + icnss2: qcom,wcn6750 { + compatible = "qcom,wcn6750"; + reg = <0x17210040 0x0>, + <0xb0000000 0x10000>; + reg-names = "msi_addr", "smmu_iova_ipa"; + qcom,rproc-handle = <&wpss_pas>; + iommus = <&apps_smmu 0x1c00 0x1>; + interrupts = , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + ; + + qcom,iommu-dma = "fastmap"; + qcom,iommu-faults = "stall-disable", "HUPCF", "non-fatal"; + qcom,iommu-dma-addr-pool = <0xa0000000 0x10000000>; + qcom,iommu-geometry = <0xa0000000 0x10010000>; + dma-coherent; + qcom,fw-prefix; + qcom,wlan; + tsens = "quiet-therm"; + wcn-hw-version = "qca6755"; + qcom,wlan-msa-fixed-region = <&wlan_fw_mem>; + vdd-cx-mx-supply = <&S7B>; + qcom,vdd-cx-mx-config = <880000 1120000 0 0 1>; + vdd-1.8-xo-supply = <&S8E>; + qcom,vdd-1.8-xo-config = <1872000 2040000 0 0 0>; + vdd-1.3-rfa-supply = <&S8B>; + qcom,vdd-1.3-rfa-config = <1256000 1500000 0 0 0>; + + qcom,smem-states = <&smp2p_wlan_1_out 0>, + <&smp2p_wlan_2_out 0>, + <&smp2p_wlan_3_out 0>; + qcom,smem-state-names = "wlan-smp2p-out", + "wlan-soc-wake-smp2p-out", + "wlan-ep-powersave-smp2p-out"; + + mboxes = <&qmp_aop 0>; + qcom,vreg_ol_cpr ="s7b"; + + icnss_cdev_apss: qcom,icnss_cdev1 { + #cooling-cells = <2>; + }; + + icnss_cdev_wpss: qcom,icnss_cdev2 { + #cooling-cells = <2>; + }; + + qcom,smp2p_map_wlan_1_in { + interrupts-extended = <&smp2p_wlan_1_in 0 0>, + <&smp2p_wlan_1_in 1 0>; + interrupt-names = "qcom,smp2p-force-fatal-error", + "qcom,smp2p-early-crash-ind"; + }; + + qcom,smp2p_map_wlan_2_in { + interrupts-extended = <&smp2p_wlan_2_in 0 0>; + interrupt-names = "qcom,smp2p-soc-wake-ack"; + }; + }; +}; + +&qupv3_se2_i2c { + status = "ok"; + nq@64 { + compatible = "rtc6226"; + reg = <0x64>; + fmint-gpio = <&tlmm 105 0>; + vdd-supply = <&L5E>; + rtc6226,vdd-supply-voltage = <2800000 2800000>; + rtc6226,vdd-load = <15000>; + vio-supply = <&L22B>; + rtc6226,vio-supply-voltage = <1800000 1800000>; + }; +}; From 508261d026ffde48036df6e98840eaa751317223 Mon Sep 17 00:00:00 2001 From: Aman Kumar Sharma Date: Fri, 17 May 2024 01:58:18 -0700 Subject: [PATCH 28/34] Revert "ARM: dts: msm: Skip thaw during hibernate for USB" This reverts commit 9a4c12f56684b6129e1b8dcb07111bbb1a7bbe09. Reason for revert: Aurora.LE.1.1:Usb connect and disconnect failing through Alpaca. Change-Id: I910f619735bffb6edde0b2f1b2081d54d377404e --- qcom/neo-usb.dtsi | 1 - 1 file changed, 1 deletion(-) diff --git a/qcom/neo-usb.dtsi b/qcom/neo-usb.dtsi index 0e8ac35e..5a1d3c09 100644 --- a/qcom/neo-usb.dtsi +++ b/qcom/neo-usb.dtsi @@ -37,7 +37,6 @@ qcom,core-clk-rate = <133333333>; qcom,core-clk-rate-hs = <66666667>; - qcom,hibernate-skip-thaw; qcom,pm-qos-latency = <2>; From d0d76000f19a78bec7dc08a52c4e3ca5b906784b Mon Sep 17 00:00:00 2001 From: Seshu Madhavi Puppala Date: Sat, 25 May 2024 14:44:46 +0530 Subject: [PATCH 29/34] ARM: dts: msm: Add crypto node for neo Test: Crypto driver probe successful. Change-Id: Id0ae0580d6c83fe4208756433fca0ced1589347b --- qcom/neo.dtsi | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/qcom/neo.dtsi b/qcom/neo.dtsi index ad5ce926..68179727 100644 --- a/qcom/neo.dtsi +++ b/qcom/neo.dtsi @@ -1030,6 +1030,10 @@ qcom,target-dev = <&qcom_ddr_dcvs_hw>; }; + crypto_node { + compatible = "qcom,crypto"; + }; + sdhc_1: sdhci@7C4000 { status = "disabled"; From e914c445c2abefb51143e3d50f2455e240cd79b2 Mon Sep 17 00:00:00 2001 From: Seshu Madhavi Puppala Date: Sat, 25 May 2024 15:00:48 +0530 Subject: [PATCH 30/34] dt-bindings: soc: qcom: add qcom,crypto compatible Add qcom,crypto compatible name support. Change-Id: I114403086eff3b954771b030b0cabfca74bbff96 --- bindings/soc/qcom/qcom,crypto.txt | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 bindings/soc/qcom/qcom,crypto.txt diff --git a/bindings/soc/qcom/qcom,crypto.txt b/bindings/soc/qcom/qcom,crypto.txt new file mode 100644 index 00000000..3d468a88 --- /dev/null +++ b/bindings/soc/qcom/qcom,crypto.txt @@ -0,0 +1,17 @@ +QTI Microdump Collector Driver + +This driver registers for Hibernate Power Management ops +and notifys TZ on Hibernate exit. + +- compatible: + Usage: required + Value type: + Definition: must be "qcom,crypto" + += EXAMPLE + +&soc { + crypto_node { + compatible = "qcom,crypto"; + }; +}; From f3d0974ae0c8968787e40020d9058eba3754efd9 Mon Sep 17 00:00:00 2001 From: Swetha Chikkaboraiah Date: Tue, 16 Apr 2024 20:16:07 +0530 Subject: [PATCH 31/34] ARM: dts: msm: Add support for new WCN Card for Parrot Add dt support for new WCN Card for Parrot SOC. Change-Id: I5a4853a4d0dd06503154a5cdb80da419cb7f0b4e --- qcom/Makefile | 35 +++++++++++++++++-- .../parrot-idp-wcn6755-amoled-rcm-overlay.dts | 15 ++++++++ qcom/parrot-idp-wcn6755-amoled-rcm.dts | 12 +++++++ qcom/parrot-idp-wcn6755-nopmi-overlay.dts | 16 +++++++++ qcom/parrot-idp-wcn6755-nopmi.dts | 13 +++++++ qcom/parrot-idp-wcn6755-overlay.dts | 15 ++++++++ qcom/parrot-idp-wcn6755-pm8350b-overlay.dts | 15 ++++++++ qcom/parrot-idp-wcn6755-pm8350b.dts | 12 +++++++ qcom/parrot-idp-wcn6755.dts | 12 +++++++ qcom/parrot-qrd-wcn6755-overlay.dts | 15 ++++++++ qcom/parrot-qrd-wcn6755.dts | 12 +++++++ qcom/parrot-sg-idp-wcn6755-amoled-rcm.dts | 12 +++++++ qcom/parrot-sg-idp-wcn6755-nopmi.dts | 13 +++++++ qcom/parrot-sg-idp-wcn6755-pm8350b.dts | 12 +++++++ qcom/parrot-sg-idp-wcn6755.dts | 12 +++++++ qcom/parrot-sg-qrd-wcn6755.dts | 12 +++++++ qcom/parrot-vm-idp-wcn6750-amoled-rcm.dts | 2 +- qcom/parrot-vm-idp.dts | 2 +- qcom/parrot-vm-qrd-wcn6750.dts | 2 +- qcom/parrotp-idp-wcn6755-amoled-rcm.dts | 12 +++++++ qcom/parrotp-idp-wcn6755-nopmi.dts | 13 +++++++ qcom/parrotp-idp-wcn6755-pm8350b.dts | 12 +++++++ qcom/parrotp-idp-wcn6755.dts | 12 +++++++ qcom/parrotp-qrd-wcn6755.dts | 12 +++++++ qcom/parrotp-sg-idp-wcn6755-amoled-rcm.dts | 12 +++++++ qcom/parrotp-sg-idp-wcn6755-nopmi.dts | 13 +++++++ qcom/parrotp-sg-idp-wcn6755-pm8350b.dts | 12 +++++++ qcom/parrotp-sg-idp-wcn6755.dts | 12 +++++++ qcom/parrotp-sg-qrd-wcn6755.dts | 12 +++++++ 29 files changed, 356 insertions(+), 5 deletions(-) create mode 100644 qcom/parrot-idp-wcn6755-amoled-rcm-overlay.dts create mode 100644 qcom/parrot-idp-wcn6755-amoled-rcm.dts create mode 100644 qcom/parrot-idp-wcn6755-nopmi-overlay.dts create mode 100644 qcom/parrot-idp-wcn6755-nopmi.dts create mode 100644 qcom/parrot-idp-wcn6755-overlay.dts create mode 100644 qcom/parrot-idp-wcn6755-pm8350b-overlay.dts create mode 100644 qcom/parrot-idp-wcn6755-pm8350b.dts create mode 100644 qcom/parrot-idp-wcn6755.dts create mode 100644 qcom/parrot-qrd-wcn6755-overlay.dts create mode 100644 qcom/parrot-qrd-wcn6755.dts create mode 100644 qcom/parrot-sg-idp-wcn6755-amoled-rcm.dts create mode 100644 qcom/parrot-sg-idp-wcn6755-nopmi.dts create mode 100644 qcom/parrot-sg-idp-wcn6755-pm8350b.dts create mode 100644 qcom/parrot-sg-idp-wcn6755.dts create mode 100644 qcom/parrot-sg-qrd-wcn6755.dts create mode 100644 qcom/parrotp-idp-wcn6755-amoled-rcm.dts create mode 100644 qcom/parrotp-idp-wcn6755-nopmi.dts create mode 100644 qcom/parrotp-idp-wcn6755-pm8350b.dts create mode 100644 qcom/parrotp-idp-wcn6755.dts create mode 100644 qcom/parrotp-qrd-wcn6755.dts create mode 100644 qcom/parrotp-sg-idp-wcn6755-amoled-rcm.dts create mode 100644 qcom/parrotp-sg-idp-wcn6755-nopmi.dts create mode 100644 qcom/parrotp-sg-idp-wcn6755-pm8350b.dts create mode 100644 qcom/parrotp-sg-idp-wcn6755.dts create mode 100644 qcom/parrotp-sg-qrd-wcn6755.dts diff --git a/qcom/Makefile b/qcom/Makefile index 8104f99f..80db1dc1 100644 --- a/qcom/Makefile +++ b/qcom/Makefile @@ -422,7 +422,13 @@ dtbo-$(CONFIG_ARCH_PARROT) += parrot-rumi-overlay.dtbo \ parrot-qrd-wcn6750-overlay.dtbo \ parrot-qrd-wcn6750-4gb-overlay.dtbo \ parrot-qrd-nopmi-overlay.dtbo \ - parrot-qrd-pm8350b-overlay.dtbo + parrot-qrd-pm8350b-overlay.dtbo \ + parrot-idp-wcn6755-amoled-rcm-overlay.dtbo \ + parrot-idp-wcn6755-overlay.dtbo \ + parrot-qrd-wcn6755-overlay.dtbo \ + parrot-idp-wcn6755-pm8350b-overlay.dtbo \ + parrot-idp-wcn6755-nopmi-overlay.dtbo + parrot-rumi-overlay.dtbo-base := parrot.dtb parrot-atp-overlay.dtbo-base := parrot.dtb parrotp.dtb parrot-sg.dtb parrotp-sg.dtb @@ -444,6 +450,11 @@ parrot-qrd-wcn6750-overlay.dtbo-base := parrot.dtb parrotp.dtb parrot-sg.dtb par parrot-qrd-wcn6750-4gb-overlay.dtbo-base := parrot-4gb.dtb parrot-qrd-nopmi-overlay.dtbo-base := parrot.dtb parrotp.dtb parrot-sg.dtb parrotp-sg.dtb parrot-qrd-pm8350b-overlay.dtbo-base := parrot.dtb parrotp.dtb parrot-sg.dtb parrotp-sg.dtb +parrot-idp-wcn6755-amoled-rcm-overlay.dtbo-base := parrot.dtb parrotp.dtb parrot-sg.dtb parrotp-sg.dtb +parrot-idp-wcn6755-overlay.dtbo-base := parrot.dtb parrotp.dtb parrot-sg.dtb parrotp-sg.dtb +parrot-qrd-wcn6755-overlay.dtbo-base := parrot.dtb parrotp.dtb parrot-sg.dtb parrotp-sg.dtb +parrot-idp-wcn6755-pm8350b-overlay.dtbo-base := parrot.dtb parrotp.dtb parrot-sg.dtb parrotp-sg.dtb +parrot-idp-wcn6755-nopmi-overlay.dtbo-base := parrot.dtb parrotp.dtb parrot-sg.dtb parrotp-sg.dtb else dtb-$(CONFIG_ARCH_PARROT) += parrot-rumi.dtb \ parrot-atp.dtb \ @@ -500,7 +511,27 @@ dtb-$(CONFIG_ARCH_PARROT) += parrot-rumi.dtb \ parrotp-sg-qrd.dtb \ parrotp-sg-qrd-wcn6750.dtb \ parrotp-sg-qrd-nopmi.dtb \ - parrotp-sg-qrd-pm8350b.dtb + parrotp-sg-qrd-pm8350b.dtb \ + parrot-idp-wcn6755-amoled-rcm.dtb \ + parrot-idp-wcn6755.dtb \ + parrot-qrd-wcn6755.dtb \ + parrot-idp-wcn6755-pm8350b.dtb \ + parrot-idp-wcn6755-nopmi.dtb \ + parrot-sg-idp-wcn6755-nopmi.dtb \ + parrot-sg-idp-wcn6755-amoled-rcm.dtb \ + parrot-sg-qrd-wcn6755.dtb \ + parrot-sg-idp-wcn6755.dtb \ + parrot-sg-idp-wcn6755-pm8350b.dtb \ + parrotp-sg-qrd-wcn6755.dtb \ + parrotp-sg-idp-wcn6755-nopmi.dtb \ + parrotp-sg-idp-wcn6755.dtb \ + parrotp-sg-idp-wcn6755-pm8350b.dtb \ + parrotp-sg-idp-wcn6755-amoled-rcm.dtb \ + parrotp-idp-wcn6755-amoled-rcm.dtb \ + parrotp-idp-wcn6755-pm8350b.dtb \ + parrotp-idp-wcn6755-nopmi.dtb \ + parrotp-idp-wcn6755.dtb \ + parrotp-qrd-wcn6755.dtb endif ifeq ($(CONFIG_BUILD_ARM64_DT_OVERLAY),y) diff --git a/qcom/parrot-idp-wcn6755-amoled-rcm-overlay.dts b/qcom/parrot-idp-wcn6755-amoled-rcm-overlay.dts new file mode 100644 index 00000000..f90c0eca --- /dev/null +++ b/qcom/parrot-idp-wcn6755-amoled-rcm-overlay.dts @@ -0,0 +1,15 @@ +/dts-v1/; +/plugin/; + +#include "parrot-wcn6755.dtsi" +#include "parrot-idp-wcn6750-amoled-rcm.dtsi" +#include "parrot-idp-pm7250b.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. Parrot WCN6755 IDP + AMOLED + RCM"; + compatible = "qcom,parrot-idp", "qcom,parrot", "qcom,idp"; + qcom,msm-id = <537 0x10000>, <583 0x10000>, <613 0x10000>, <631 0x10000>, + <633 0x10000>, <634 0x10000>, <638 0x10000>, + <663 0x10000>; + qcom,board-id = <34 6>; +}; diff --git a/qcom/parrot-idp-wcn6755-amoled-rcm.dts b/qcom/parrot-idp-wcn6755-amoled-rcm.dts new file mode 100644 index 00000000..a1c864de --- /dev/null +++ b/qcom/parrot-idp-wcn6755-amoled-rcm.dts @@ -0,0 +1,12 @@ +/dts-v1/; + +#include "parrot.dtsi" +#include "parrot-wcn6755.dtsi" +#include "parrot-idp-wcn6750-amoled-rcm.dtsi" +#include "parrot-idp-pm7250b.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. Parrot WCN6755 IDP + AMOLED + RCM"; + compatible = "qcom,parrot-idp", "qcom,parrot", "qcom,idp"; + qcom,board-id = <34 6>; +}; diff --git a/qcom/parrot-idp-wcn6755-nopmi-overlay.dts b/qcom/parrot-idp-wcn6755-nopmi-overlay.dts new file mode 100644 index 00000000..d2e1a0f9 --- /dev/null +++ b/qcom/parrot-idp-wcn6755-nopmi-overlay.dts @@ -0,0 +1,16 @@ +/dts-v1/; +/plugin/; + +#include "parrot-wcn6755.dtsi" +#include "parrot-idp.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. Parrot IDP + WCN6755"; + compatible = "qcom,parrot-idp", "qcom,parrot", "qcom,idp"; + qcom,msm-id = <537 0x10000>, <583 0x10000>, <613 0x10000>, <631 0x10000>, + <633 0x10000>, <634 0x10000>, <638 0x10000>, + <663 0x10000>; + qcom,board-id = <34 5>; + qcom,pmic-id-size = <9>; + qcom,pmic-id = <0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0>; +}; diff --git a/qcom/parrot-idp-wcn6755-nopmi.dts b/qcom/parrot-idp-wcn6755-nopmi.dts new file mode 100644 index 00000000..c9273e2d --- /dev/null +++ b/qcom/parrot-idp-wcn6755-nopmi.dts @@ -0,0 +1,13 @@ +/dts-v1/; + +#include "parrot.dtsi" +#include "parrot-wcn6755.dtsi" +#include "parrot-idp.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. Parrot IDP + WCN6755"; + compatible = "qcom,parrot-idp", "qcom,parrot", "qcom,idp"; + qcom,board-id = <34 5>; + qcom,pmic-id-size = <9>; + qcom,pmic-id = <0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0>; +}; diff --git a/qcom/parrot-idp-wcn6755-overlay.dts b/qcom/parrot-idp-wcn6755-overlay.dts new file mode 100644 index 00000000..9bb4e968 --- /dev/null +++ b/qcom/parrot-idp-wcn6755-overlay.dts @@ -0,0 +1,15 @@ +/dts-v1/; +/plugin/; + +#include "parrot-wcn6755.dtsi" +#include "parrot-idp.dtsi" +#include "parrot-idp-pm7250b.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. Parrot WCN6755 IDP"; + compatible = "qcom,parrot-idp", "qcom,parrot", "qcom,idp"; + qcom,msm-id = <537 0x10000>, <583 0x10000>, <613 0x10000>, <631 0x10000>, + <633 0x10000>, <634 0x10000>, <638 0x10000>, + <663 0x10000>; + qcom,board-id = <34 5>; +}; diff --git a/qcom/parrot-idp-wcn6755-pm8350b-overlay.dts b/qcom/parrot-idp-wcn6755-pm8350b-overlay.dts new file mode 100644 index 00000000..15a8bfa1 --- /dev/null +++ b/qcom/parrot-idp-wcn6755-pm8350b-overlay.dts @@ -0,0 +1,15 @@ +/dts-v1/; +/plugin/; + +#include "parrot-wcn6755.dtsi" +#include "parrot-idp.dtsi" +#include "parrot-idp-pm8350b.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. Parrot IDP + WCN6755"; + compatible = "qcom,parrot-idp", "qcom,parrot", "qcom,idp"; + qcom,msm-id = <537 0x10000>, <583 0x10000>, <613 0x10000>, <631 0x10000>, + <633 0x10000>, <634 0x10000>, <638 0x10000>, + <663 0x10000>; + qcom,board-id = <34 5>; +}; diff --git a/qcom/parrot-idp-wcn6755-pm8350b.dts b/qcom/parrot-idp-wcn6755-pm8350b.dts new file mode 100644 index 00000000..8aca36b7 --- /dev/null +++ b/qcom/parrot-idp-wcn6755-pm8350b.dts @@ -0,0 +1,12 @@ +/dts-v1/; + +#include "parrot.dtsi" +#include "parrot-wcn6755.dtsi" +#include "parrot-idp.dtsi" +#include "parrot-idp-pm8350b.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. Parrot IDP + WCN6755"; + compatible = "qcom,parrot-idp", "qcom,parrot", "qcom,idp"; + qcom,board-id = <34 5>; +}; diff --git a/qcom/parrot-idp-wcn6755.dts b/qcom/parrot-idp-wcn6755.dts new file mode 100644 index 00000000..c92e8dc2 --- /dev/null +++ b/qcom/parrot-idp-wcn6755.dts @@ -0,0 +1,12 @@ +/dts-v1/; + +#include "parrot.dtsi" +#include "parrot-wcn6755.dtsi" +#include "parrot-idp.dtsi" +#include "parrot-idp-pm7250b.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. Parrot WCN6755 IDP"; + compatible = "qcom,parrot-idp", "qcom,parrot", "qcom,idp"; + qcom,board-id = <34 5>; +}; diff --git a/qcom/parrot-qrd-wcn6755-overlay.dts b/qcom/parrot-qrd-wcn6755-overlay.dts new file mode 100644 index 00000000..4858db33 --- /dev/null +++ b/qcom/parrot-qrd-wcn6755-overlay.dts @@ -0,0 +1,15 @@ +/dts-v1/; +/plugin/; + +#include "parrot-wcn6755.dtsi" +#include "parrot-qrd-wcn6750.dtsi" +#include "parrot-qrd-pm7250b.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. Parrot WCN6755 QRD"; + compatible = "qcom,parrot-qrd", "qcom,parrot", "qcom,qrd"; + qcom,msm-id = <537 0x10000>, <583 0x10000>, <613 0x10000>, <631 0x10000>, + <633 0x10000>, <634 0x10000>, <638 0x10000>, + <663 0x10000>; + qcom,board-id = <0x1000B 2>; +}; diff --git a/qcom/parrot-qrd-wcn6755.dts b/qcom/parrot-qrd-wcn6755.dts new file mode 100644 index 00000000..7760cc53 --- /dev/null +++ b/qcom/parrot-qrd-wcn6755.dts @@ -0,0 +1,12 @@ +/dts-v1/; + +#include "parrot.dtsi" +#include "parrot-wcn6755.dtsi" +#include "parrot-qrd-wcn6750.dtsi" +#include "parrot-qrd-pm7250b.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. Parrot WCN6755 QRD"; + compatible = "qcom,parrot-qrd", "qcom,parrot", "qcom,qrd"; + qcom,board-id = <0x1000B 2>; +}; diff --git a/qcom/parrot-sg-idp-wcn6755-amoled-rcm.dts b/qcom/parrot-sg-idp-wcn6755-amoled-rcm.dts new file mode 100644 index 00000000..52b51317 --- /dev/null +++ b/qcom/parrot-sg-idp-wcn6755-amoled-rcm.dts @@ -0,0 +1,12 @@ +/dts-v1/; + +#include "parrot-sg.dtsi" +#include "parrot-wcn6755.dtsi" +#include "parrot-sg-idp-wcn6750-amoled-rcm.dtsi" +#include "parrot-idp-pm7250b.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. Parrot SG WCN6755 IDP + AMOLED + RCM"; + compatible = "qcom,parrot-idp", "qcom,parrot", "qcom,idp"; + qcom,board-id = <34 6>; +}; diff --git a/qcom/parrot-sg-idp-wcn6755-nopmi.dts b/qcom/parrot-sg-idp-wcn6755-nopmi.dts new file mode 100644 index 00000000..06ad1c00 --- /dev/null +++ b/qcom/parrot-sg-idp-wcn6755-nopmi.dts @@ -0,0 +1,13 @@ +/dts-v1/; + +#include "parrot-sg.dtsi" +#include "parrot-wcn6755.dtsi" +#include "parrot-sg-idp.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. Parrot SG IDP + WCN6755"; + compatible = "qcom,parrot-idp", "qcom,parrot", "qcom,idp"; + qcom,board-id = <34 5>; + qcom,pmic-id-size = <9>; + qcom,pmic-id = <0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0>; +}; diff --git a/qcom/parrot-sg-idp-wcn6755-pm8350b.dts b/qcom/parrot-sg-idp-wcn6755-pm8350b.dts new file mode 100644 index 00000000..a8a7053f --- /dev/null +++ b/qcom/parrot-sg-idp-wcn6755-pm8350b.dts @@ -0,0 +1,12 @@ +/dts-v1/; + +#include "parrot-sg.dtsi" +#include "parrot-wcn6755.dtsi" +#include "parrot-sg-idp.dtsi" +#include "parrot-idp-pm8350b.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. Parrot SG IDP + WCN6755"; + compatible = "qcom,parrot-idp", "qcom,parrot", "qcom,idp"; + qcom,board-id = <34 5>; +}; diff --git a/qcom/parrot-sg-idp-wcn6755.dts b/qcom/parrot-sg-idp-wcn6755.dts new file mode 100644 index 00000000..f847e1ac --- /dev/null +++ b/qcom/parrot-sg-idp-wcn6755.dts @@ -0,0 +1,12 @@ +/dts-v1/; + +#include "parrot-sg.dtsi" +#include "parrot-wcn6755.dtsi" +#include "parrot-sg-idp.dtsi" +#include "parrot-idp-pm7250b.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. Parrot SG IDP + WCN6755"; + compatible = "qcom,parrot-idp", "qcom,parrot", "qcom,idp"; + qcom,board-id = <34 5>; +}; diff --git a/qcom/parrot-sg-qrd-wcn6755.dts b/qcom/parrot-sg-qrd-wcn6755.dts new file mode 100644 index 00000000..40294973 --- /dev/null +++ b/qcom/parrot-sg-qrd-wcn6755.dts @@ -0,0 +1,12 @@ +/dts-v1/; + +#include "parrot-sg.dtsi" +#include "parrot-wcn6755.dtsi" +#include "parrot-sg-qrd-wcn6750.dtsi" +#include "parrot-qrd-pm7250b.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. Parrot SG WCN6755 QRD"; + compatible = "qcom,parrot-qrd", "qcom,parrot", "qcom,qrd"; + qcom,board-id = <0x1000B 2>; +}; diff --git a/qcom/parrot-vm-idp-wcn6750-amoled-rcm.dts b/qcom/parrot-vm-idp-wcn6750-amoled-rcm.dts index 3ab61d1f..26d166b9 100644 --- a/qcom/parrot-vm-idp-wcn6750-amoled-rcm.dts +++ b/qcom/parrot-vm-idp-wcn6750-amoled-rcm.dts @@ -6,5 +6,5 @@ / { model = "Qualcomm Technologies, Inc. Parrot WCN6750 VM IDP + AMOLED + RCM"; compatible = "qcom,parrot-idp", "qcom,parrot", "qcom,idp"; - qcom,board-id = <34 2>; + qcom,board-id = <34 2>, <34 6>; }; diff --git a/qcom/parrot-vm-idp.dts b/qcom/parrot-vm-idp.dts index 140bc36b..b5140f25 100644 --- a/qcom/parrot-vm-idp.dts +++ b/qcom/parrot-vm-idp.dts @@ -6,5 +6,5 @@ / { model = "Qualcomm Technologies, Inc. Parrot SVM IDP"; compatible = "qcom,parrot-idp", "qcom,parrot", "qcom,idp"; - qcom,board-id = <34 0>; + qcom,board-id = <34 0>, <34 5>; }; diff --git a/qcom/parrot-vm-qrd-wcn6750.dts b/qcom/parrot-vm-qrd-wcn6750.dts index 35474550..d05001e9 100644 --- a/qcom/parrot-vm-qrd-wcn6750.dts +++ b/qcom/parrot-vm-qrd-wcn6750.dts @@ -6,5 +6,5 @@ / { model = "Qualcomm Technologies, Inc. Parrot SVM QRD + WCN6750"; compatible = "qcom,parrot-qrd", "qcom,parrot", "qcom,qrd"; - qcom,board-id = <0x1000B 1>; + qcom,board-id = <0x1000B 1>, <0x1000B 2>; }; diff --git a/qcom/parrotp-idp-wcn6755-amoled-rcm.dts b/qcom/parrotp-idp-wcn6755-amoled-rcm.dts new file mode 100644 index 00000000..6da2db4a --- /dev/null +++ b/qcom/parrotp-idp-wcn6755-amoled-rcm.dts @@ -0,0 +1,12 @@ +/dts-v1/; + +#include "parrotp.dtsi" +#include "parrot-wcn6755.dtsi" +#include "parrotp-idp-wcn6750-amoled-rcm.dtsi" +#include "parrot-idp-pm7250b.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. ParrotP WCN6755 IDP + AMOLED + RCM"; + compatible = "qcom,parrotp-idp", "qcom,parrotp", "qcom,idp"; + qcom,board-id = <34 6>; +}; diff --git a/qcom/parrotp-idp-wcn6755-nopmi.dts b/qcom/parrotp-idp-wcn6755-nopmi.dts new file mode 100644 index 00000000..6c8f8aef --- /dev/null +++ b/qcom/parrotp-idp-wcn6755-nopmi.dts @@ -0,0 +1,13 @@ +/dts-v1/; + +#include "parrotp.dtsi" +#include "parrot-wcn6755.dtsi" +#include "parrotp-idp.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. ParrotP IDP + WCN6755"; + compatible = "qcom,parrotp-idp", "qcom,parrotp", "qcom,idp"; + qcom,board-id = <34 5>; + qcom,pmic-id-size = <9>; + qcom,pmic-id = <0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0>; +}; diff --git a/qcom/parrotp-idp-wcn6755-pm8350b.dts b/qcom/parrotp-idp-wcn6755-pm8350b.dts new file mode 100644 index 00000000..d6844720 --- /dev/null +++ b/qcom/parrotp-idp-wcn6755-pm8350b.dts @@ -0,0 +1,12 @@ +/dts-v1/; + +#include "parrotp.dtsi" +#include "parrot-wcn6755.dtsi" +#include "parrotp-idp.dtsi" +#include "parrot-idp-pm8350b.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. ParrotP IDP + WCN6755"; + compatible = "qcom,parrotp-idp", "qcom,parrotp", "qcom,idp"; + qcom,board-id = <34 5>; +}; diff --git a/qcom/parrotp-idp-wcn6755.dts b/qcom/parrotp-idp-wcn6755.dts new file mode 100644 index 00000000..0440cd4a --- /dev/null +++ b/qcom/parrotp-idp-wcn6755.dts @@ -0,0 +1,12 @@ +/dts-v1/; + +#include "parrotp.dtsi" +#include "parrot-wcn6755.dtsi" +#include "parrotp-idp.dtsi" +#include "parrot-idp-pm7250b.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. ParrotP IDP + WCN6755"; + compatible = "qcom,parrotp-idp", "qcom,parrotp", "qcom,idp"; + qcom,board-id = <34 5>; +}; diff --git a/qcom/parrotp-qrd-wcn6755.dts b/qcom/parrotp-qrd-wcn6755.dts new file mode 100644 index 00000000..6e3cd525 --- /dev/null +++ b/qcom/parrotp-qrd-wcn6755.dts @@ -0,0 +1,12 @@ +/dts-v1/; + +#include "parrotp.dtsi" +#include "parrot-wcn6755.dtsi" +#include "parrotp-qrd-wcn6750.dtsi" +#include "parrot-qrd-pm7250b.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. ParrotP WCN6755 QRD"; + compatible = "qcom,parrotp-qrd", "qcom,parrotp", "qcom,qrd"; + qcom,board-id = <0x1000B 2>; +}; diff --git a/qcom/parrotp-sg-idp-wcn6755-amoled-rcm.dts b/qcom/parrotp-sg-idp-wcn6755-amoled-rcm.dts new file mode 100644 index 00000000..bc7ec4a4 --- /dev/null +++ b/qcom/parrotp-sg-idp-wcn6755-amoled-rcm.dts @@ -0,0 +1,12 @@ +/dts-v1/; + +#include "parrotp-sg.dtsi" +#include "parrot-wcn6755.dtsi" +#include "parrotp-sg-idp-wcn6750-amoled-rcm.dtsi" +#include "parrot-idp-pm7250b.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. ParrotP SG WCN6755 IDP + AMOLED + RCM"; + compatible = "qcom,parrotp-idp", "qcom,parrotp", "qcom,idp"; + qcom,board-id = <34 6>; +}; diff --git a/qcom/parrotp-sg-idp-wcn6755-nopmi.dts b/qcom/parrotp-sg-idp-wcn6755-nopmi.dts new file mode 100644 index 00000000..20ee9a45 --- /dev/null +++ b/qcom/parrotp-sg-idp-wcn6755-nopmi.dts @@ -0,0 +1,13 @@ +/dts-v1/; + +#include "parrotp-sg.dtsi" +#include "parrot-wcn6755.dtsi" +#include "parrotp-sg-idp.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. ParrotP SG IDP + WCN6755"; + compatible = "qcom,parrotp-idp", "qcom,parrotp", "qcom,idp"; + qcom,board-id = <34 5>; + qcom,pmic-id-size = <9>; + qcom,pmic-id = <0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0>; +}; diff --git a/qcom/parrotp-sg-idp-wcn6755-pm8350b.dts b/qcom/parrotp-sg-idp-wcn6755-pm8350b.dts new file mode 100644 index 00000000..03a4db76 --- /dev/null +++ b/qcom/parrotp-sg-idp-wcn6755-pm8350b.dts @@ -0,0 +1,12 @@ +/dts-v1/; + +#include "parrotp-sg.dtsi" +#include "parrot-wcn6755.dtsi" +#include "parrotp-sg-idp.dtsi" +#include "parrot-idp-pm8350b.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. ParrotP SG IDP + WCN6755"; + compatible = "qcom,parrotp-idp", "qcom,parrotp", "qcom,idp"; + qcom,board-id = <34 5>; +}; diff --git a/qcom/parrotp-sg-idp-wcn6755.dts b/qcom/parrotp-sg-idp-wcn6755.dts new file mode 100644 index 00000000..b0138663 --- /dev/null +++ b/qcom/parrotp-sg-idp-wcn6755.dts @@ -0,0 +1,12 @@ +/dts-v1/; + +#include "parrotp-sg.dtsi" +#include "parrot-wcn6755.dtsi" +#include "parrotp-sg-idp.dtsi" +#include "parrot-idp-pm7250b.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. ParrotP SG IDP + WCN6755"; + compatible = "qcom,parrotp-idp", "qcom,parrotp", "qcom,idp"; + qcom,board-id = <34 5>; +}; diff --git a/qcom/parrotp-sg-qrd-wcn6755.dts b/qcom/parrotp-sg-qrd-wcn6755.dts new file mode 100644 index 00000000..5277c8f3 --- /dev/null +++ b/qcom/parrotp-sg-qrd-wcn6755.dts @@ -0,0 +1,12 @@ +/dts-v1/; + +#include "parrotp-sg.dtsi" +#include "parrot-wcn6755.dtsi" +#include "parrotp-sg-qrd-wcn6750.dtsi" +#include "parrot-qrd-pm7250b.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. ParrotP SG WCN6755 QRD"; + compatible = "qcom,parrotp-qrd", "qcom,parrotp", "qcom,qrd"; + qcom,board-id = <0x1000B 2>; +}; From 71954d497e6a3c4f9f1903469e0724a2c0261916 Mon Sep 17 00:00:00 2001 From: Kalpak Kawadkar Date: Wed, 5 Jun 2024 09:44:30 +0530 Subject: [PATCH 32/34] ARM: dts: msm: Remove perf-lock support on ANORAK platform Remove perf-lock support on ANORAK platform, as it is not supported on CPUCP. Change-Id: I370e621b657dc5212e11e0fa8cbe8332022cb89b --- qcom/anorak.dtsi | 1 - 1 file changed, 1 deletion(-) diff --git a/qcom/anorak.dtsi b/qcom/anorak.dtsi index 3609b287..4f9f0aab 100644 --- a/qcom/anorak.dtsi +++ b/qcom/anorak.dtsi @@ -554,7 +554,6 @@ clock-names = "xo", "alternate"; qcom,lut-row-size = <4>; qcom,skip-enable-check; - qcom,perf-lock-support; interrupts = , ; interrupt-names = "dcvsh0_int", "dcvsh1_int"; From e171e0df75a030fddb20b65d1e7469e45d6a6348 Mon Sep 17 00:00:00 2001 From: Swetha Chikkaboraiah Date: Tue, 16 Apr 2024 20:16:07 +0530 Subject: [PATCH 33/34] ARM: dts: msm: Add support for new WCN Card for Parrot Add dt support for new WCN Card for Parrot SOC. Change-Id: I5a4853a4d0dd06503154a5cdb80da419cb7f0b4e (cherry picked from commit f3d0974ae0c8968787e40020d9058eba3754efd9) --- qcom/Makefile | 35 +++++++++++++++++-- .../parrot-idp-wcn6755-amoled-rcm-overlay.dts | 15 ++++++++ qcom/parrot-idp-wcn6755-amoled-rcm.dts | 12 +++++++ qcom/parrot-idp-wcn6755-nopmi-overlay.dts | 16 +++++++++ qcom/parrot-idp-wcn6755-nopmi.dts | 13 +++++++ qcom/parrot-idp-wcn6755-overlay.dts | 15 ++++++++ qcom/parrot-idp-wcn6755-pm8350b-overlay.dts | 15 ++++++++ qcom/parrot-idp-wcn6755-pm8350b.dts | 12 +++++++ qcom/parrot-idp-wcn6755.dts | 12 +++++++ qcom/parrot-qrd-wcn6755-overlay.dts | 15 ++++++++ qcom/parrot-qrd-wcn6755.dts | 12 +++++++ qcom/parrot-sg-idp-wcn6755-amoled-rcm.dts | 12 +++++++ qcom/parrot-sg-idp-wcn6755-nopmi.dts | 13 +++++++ qcom/parrot-sg-idp-wcn6755-pm8350b.dts | 12 +++++++ qcom/parrot-sg-idp-wcn6755.dts | 12 +++++++ qcom/parrot-sg-qrd-wcn6755.dts | 12 +++++++ qcom/parrot-vm-idp-wcn6750-amoled-rcm.dts | 2 +- qcom/parrot-vm-idp.dts | 2 +- qcom/parrot-vm-qrd-wcn6750.dts | 2 +- qcom/parrotp-idp-wcn6755-amoled-rcm.dts | 12 +++++++ qcom/parrotp-idp-wcn6755-nopmi.dts | 13 +++++++ qcom/parrotp-idp-wcn6755-pm8350b.dts | 12 +++++++ qcom/parrotp-idp-wcn6755.dts | 12 +++++++ qcom/parrotp-qrd-wcn6755.dts | 12 +++++++ qcom/parrotp-sg-idp-wcn6755-amoled-rcm.dts | 12 +++++++ qcom/parrotp-sg-idp-wcn6755-nopmi.dts | 13 +++++++ qcom/parrotp-sg-idp-wcn6755-pm8350b.dts | 12 +++++++ qcom/parrotp-sg-idp-wcn6755.dts | 12 +++++++ qcom/parrotp-sg-qrd-wcn6755.dts | 12 +++++++ 29 files changed, 356 insertions(+), 5 deletions(-) create mode 100644 qcom/parrot-idp-wcn6755-amoled-rcm-overlay.dts create mode 100644 qcom/parrot-idp-wcn6755-amoled-rcm.dts create mode 100644 qcom/parrot-idp-wcn6755-nopmi-overlay.dts create mode 100644 qcom/parrot-idp-wcn6755-nopmi.dts create mode 100644 qcom/parrot-idp-wcn6755-overlay.dts create mode 100644 qcom/parrot-idp-wcn6755-pm8350b-overlay.dts create mode 100644 qcom/parrot-idp-wcn6755-pm8350b.dts create mode 100644 qcom/parrot-idp-wcn6755.dts create mode 100644 qcom/parrot-qrd-wcn6755-overlay.dts create mode 100644 qcom/parrot-qrd-wcn6755.dts create mode 100644 qcom/parrot-sg-idp-wcn6755-amoled-rcm.dts create mode 100644 qcom/parrot-sg-idp-wcn6755-nopmi.dts create mode 100644 qcom/parrot-sg-idp-wcn6755-pm8350b.dts create mode 100644 qcom/parrot-sg-idp-wcn6755.dts create mode 100644 qcom/parrot-sg-qrd-wcn6755.dts create mode 100644 qcom/parrotp-idp-wcn6755-amoled-rcm.dts create mode 100644 qcom/parrotp-idp-wcn6755-nopmi.dts create mode 100644 qcom/parrotp-idp-wcn6755-pm8350b.dts create mode 100644 qcom/parrotp-idp-wcn6755.dts create mode 100644 qcom/parrotp-qrd-wcn6755.dts create mode 100644 qcom/parrotp-sg-idp-wcn6755-amoled-rcm.dts create mode 100644 qcom/parrotp-sg-idp-wcn6755-nopmi.dts create mode 100644 qcom/parrotp-sg-idp-wcn6755-pm8350b.dts create mode 100644 qcom/parrotp-sg-idp-wcn6755.dts create mode 100644 qcom/parrotp-sg-qrd-wcn6755.dts diff --git a/qcom/Makefile b/qcom/Makefile index 8104f99f..80db1dc1 100644 --- a/qcom/Makefile +++ b/qcom/Makefile @@ -422,7 +422,13 @@ dtbo-$(CONFIG_ARCH_PARROT) += parrot-rumi-overlay.dtbo \ parrot-qrd-wcn6750-overlay.dtbo \ parrot-qrd-wcn6750-4gb-overlay.dtbo \ parrot-qrd-nopmi-overlay.dtbo \ - parrot-qrd-pm8350b-overlay.dtbo + parrot-qrd-pm8350b-overlay.dtbo \ + parrot-idp-wcn6755-amoled-rcm-overlay.dtbo \ + parrot-idp-wcn6755-overlay.dtbo \ + parrot-qrd-wcn6755-overlay.dtbo \ + parrot-idp-wcn6755-pm8350b-overlay.dtbo \ + parrot-idp-wcn6755-nopmi-overlay.dtbo + parrot-rumi-overlay.dtbo-base := parrot.dtb parrot-atp-overlay.dtbo-base := parrot.dtb parrotp.dtb parrot-sg.dtb parrotp-sg.dtb @@ -444,6 +450,11 @@ parrot-qrd-wcn6750-overlay.dtbo-base := parrot.dtb parrotp.dtb parrot-sg.dtb par parrot-qrd-wcn6750-4gb-overlay.dtbo-base := parrot-4gb.dtb parrot-qrd-nopmi-overlay.dtbo-base := parrot.dtb parrotp.dtb parrot-sg.dtb parrotp-sg.dtb parrot-qrd-pm8350b-overlay.dtbo-base := parrot.dtb parrotp.dtb parrot-sg.dtb parrotp-sg.dtb +parrot-idp-wcn6755-amoled-rcm-overlay.dtbo-base := parrot.dtb parrotp.dtb parrot-sg.dtb parrotp-sg.dtb +parrot-idp-wcn6755-overlay.dtbo-base := parrot.dtb parrotp.dtb parrot-sg.dtb parrotp-sg.dtb +parrot-qrd-wcn6755-overlay.dtbo-base := parrot.dtb parrotp.dtb parrot-sg.dtb parrotp-sg.dtb +parrot-idp-wcn6755-pm8350b-overlay.dtbo-base := parrot.dtb parrotp.dtb parrot-sg.dtb parrotp-sg.dtb +parrot-idp-wcn6755-nopmi-overlay.dtbo-base := parrot.dtb parrotp.dtb parrot-sg.dtb parrotp-sg.dtb else dtb-$(CONFIG_ARCH_PARROT) += parrot-rumi.dtb \ parrot-atp.dtb \ @@ -500,7 +511,27 @@ dtb-$(CONFIG_ARCH_PARROT) += parrot-rumi.dtb \ parrotp-sg-qrd.dtb \ parrotp-sg-qrd-wcn6750.dtb \ parrotp-sg-qrd-nopmi.dtb \ - parrotp-sg-qrd-pm8350b.dtb + parrotp-sg-qrd-pm8350b.dtb \ + parrot-idp-wcn6755-amoled-rcm.dtb \ + parrot-idp-wcn6755.dtb \ + parrot-qrd-wcn6755.dtb \ + parrot-idp-wcn6755-pm8350b.dtb \ + parrot-idp-wcn6755-nopmi.dtb \ + parrot-sg-idp-wcn6755-nopmi.dtb \ + parrot-sg-idp-wcn6755-amoled-rcm.dtb \ + parrot-sg-qrd-wcn6755.dtb \ + parrot-sg-idp-wcn6755.dtb \ + parrot-sg-idp-wcn6755-pm8350b.dtb \ + parrotp-sg-qrd-wcn6755.dtb \ + parrotp-sg-idp-wcn6755-nopmi.dtb \ + parrotp-sg-idp-wcn6755.dtb \ + parrotp-sg-idp-wcn6755-pm8350b.dtb \ + parrotp-sg-idp-wcn6755-amoled-rcm.dtb \ + parrotp-idp-wcn6755-amoled-rcm.dtb \ + parrotp-idp-wcn6755-pm8350b.dtb \ + parrotp-idp-wcn6755-nopmi.dtb \ + parrotp-idp-wcn6755.dtb \ + parrotp-qrd-wcn6755.dtb endif ifeq ($(CONFIG_BUILD_ARM64_DT_OVERLAY),y) diff --git a/qcom/parrot-idp-wcn6755-amoled-rcm-overlay.dts b/qcom/parrot-idp-wcn6755-amoled-rcm-overlay.dts new file mode 100644 index 00000000..f90c0eca --- /dev/null +++ b/qcom/parrot-idp-wcn6755-amoled-rcm-overlay.dts @@ -0,0 +1,15 @@ +/dts-v1/; +/plugin/; + +#include "parrot-wcn6755.dtsi" +#include "parrot-idp-wcn6750-amoled-rcm.dtsi" +#include "parrot-idp-pm7250b.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. Parrot WCN6755 IDP + AMOLED + RCM"; + compatible = "qcom,parrot-idp", "qcom,parrot", "qcom,idp"; + qcom,msm-id = <537 0x10000>, <583 0x10000>, <613 0x10000>, <631 0x10000>, + <633 0x10000>, <634 0x10000>, <638 0x10000>, + <663 0x10000>; + qcom,board-id = <34 6>; +}; diff --git a/qcom/parrot-idp-wcn6755-amoled-rcm.dts b/qcom/parrot-idp-wcn6755-amoled-rcm.dts new file mode 100644 index 00000000..a1c864de --- /dev/null +++ b/qcom/parrot-idp-wcn6755-amoled-rcm.dts @@ -0,0 +1,12 @@ +/dts-v1/; + +#include "parrot.dtsi" +#include "parrot-wcn6755.dtsi" +#include "parrot-idp-wcn6750-amoled-rcm.dtsi" +#include "parrot-idp-pm7250b.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. Parrot WCN6755 IDP + AMOLED + RCM"; + compatible = "qcom,parrot-idp", "qcom,parrot", "qcom,idp"; + qcom,board-id = <34 6>; +}; diff --git a/qcom/parrot-idp-wcn6755-nopmi-overlay.dts b/qcom/parrot-idp-wcn6755-nopmi-overlay.dts new file mode 100644 index 00000000..d2e1a0f9 --- /dev/null +++ b/qcom/parrot-idp-wcn6755-nopmi-overlay.dts @@ -0,0 +1,16 @@ +/dts-v1/; +/plugin/; + +#include "parrot-wcn6755.dtsi" +#include "parrot-idp.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. Parrot IDP + WCN6755"; + compatible = "qcom,parrot-idp", "qcom,parrot", "qcom,idp"; + qcom,msm-id = <537 0x10000>, <583 0x10000>, <613 0x10000>, <631 0x10000>, + <633 0x10000>, <634 0x10000>, <638 0x10000>, + <663 0x10000>; + qcom,board-id = <34 5>; + qcom,pmic-id-size = <9>; + qcom,pmic-id = <0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0>; +}; diff --git a/qcom/parrot-idp-wcn6755-nopmi.dts b/qcom/parrot-idp-wcn6755-nopmi.dts new file mode 100644 index 00000000..c9273e2d --- /dev/null +++ b/qcom/parrot-idp-wcn6755-nopmi.dts @@ -0,0 +1,13 @@ +/dts-v1/; + +#include "parrot.dtsi" +#include "parrot-wcn6755.dtsi" +#include "parrot-idp.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. Parrot IDP + WCN6755"; + compatible = "qcom,parrot-idp", "qcom,parrot", "qcom,idp"; + qcom,board-id = <34 5>; + qcom,pmic-id-size = <9>; + qcom,pmic-id = <0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0>; +}; diff --git a/qcom/parrot-idp-wcn6755-overlay.dts b/qcom/parrot-idp-wcn6755-overlay.dts new file mode 100644 index 00000000..9bb4e968 --- /dev/null +++ b/qcom/parrot-idp-wcn6755-overlay.dts @@ -0,0 +1,15 @@ +/dts-v1/; +/plugin/; + +#include "parrot-wcn6755.dtsi" +#include "parrot-idp.dtsi" +#include "parrot-idp-pm7250b.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. Parrot WCN6755 IDP"; + compatible = "qcom,parrot-idp", "qcom,parrot", "qcom,idp"; + qcom,msm-id = <537 0x10000>, <583 0x10000>, <613 0x10000>, <631 0x10000>, + <633 0x10000>, <634 0x10000>, <638 0x10000>, + <663 0x10000>; + qcom,board-id = <34 5>; +}; diff --git a/qcom/parrot-idp-wcn6755-pm8350b-overlay.dts b/qcom/parrot-idp-wcn6755-pm8350b-overlay.dts new file mode 100644 index 00000000..15a8bfa1 --- /dev/null +++ b/qcom/parrot-idp-wcn6755-pm8350b-overlay.dts @@ -0,0 +1,15 @@ +/dts-v1/; +/plugin/; + +#include "parrot-wcn6755.dtsi" +#include "parrot-idp.dtsi" +#include "parrot-idp-pm8350b.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. Parrot IDP + WCN6755"; + compatible = "qcom,parrot-idp", "qcom,parrot", "qcom,idp"; + qcom,msm-id = <537 0x10000>, <583 0x10000>, <613 0x10000>, <631 0x10000>, + <633 0x10000>, <634 0x10000>, <638 0x10000>, + <663 0x10000>; + qcom,board-id = <34 5>; +}; diff --git a/qcom/parrot-idp-wcn6755-pm8350b.dts b/qcom/parrot-idp-wcn6755-pm8350b.dts new file mode 100644 index 00000000..8aca36b7 --- /dev/null +++ b/qcom/parrot-idp-wcn6755-pm8350b.dts @@ -0,0 +1,12 @@ +/dts-v1/; + +#include "parrot.dtsi" +#include "parrot-wcn6755.dtsi" +#include "parrot-idp.dtsi" +#include "parrot-idp-pm8350b.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. Parrot IDP + WCN6755"; + compatible = "qcom,parrot-idp", "qcom,parrot", "qcom,idp"; + qcom,board-id = <34 5>; +}; diff --git a/qcom/parrot-idp-wcn6755.dts b/qcom/parrot-idp-wcn6755.dts new file mode 100644 index 00000000..c92e8dc2 --- /dev/null +++ b/qcom/parrot-idp-wcn6755.dts @@ -0,0 +1,12 @@ +/dts-v1/; + +#include "parrot.dtsi" +#include "parrot-wcn6755.dtsi" +#include "parrot-idp.dtsi" +#include "parrot-idp-pm7250b.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. Parrot WCN6755 IDP"; + compatible = "qcom,parrot-idp", "qcom,parrot", "qcom,idp"; + qcom,board-id = <34 5>; +}; diff --git a/qcom/parrot-qrd-wcn6755-overlay.dts b/qcom/parrot-qrd-wcn6755-overlay.dts new file mode 100644 index 00000000..4858db33 --- /dev/null +++ b/qcom/parrot-qrd-wcn6755-overlay.dts @@ -0,0 +1,15 @@ +/dts-v1/; +/plugin/; + +#include "parrot-wcn6755.dtsi" +#include "parrot-qrd-wcn6750.dtsi" +#include "parrot-qrd-pm7250b.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. Parrot WCN6755 QRD"; + compatible = "qcom,parrot-qrd", "qcom,parrot", "qcom,qrd"; + qcom,msm-id = <537 0x10000>, <583 0x10000>, <613 0x10000>, <631 0x10000>, + <633 0x10000>, <634 0x10000>, <638 0x10000>, + <663 0x10000>; + qcom,board-id = <0x1000B 2>; +}; diff --git a/qcom/parrot-qrd-wcn6755.dts b/qcom/parrot-qrd-wcn6755.dts new file mode 100644 index 00000000..7760cc53 --- /dev/null +++ b/qcom/parrot-qrd-wcn6755.dts @@ -0,0 +1,12 @@ +/dts-v1/; + +#include "parrot.dtsi" +#include "parrot-wcn6755.dtsi" +#include "parrot-qrd-wcn6750.dtsi" +#include "parrot-qrd-pm7250b.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. Parrot WCN6755 QRD"; + compatible = "qcom,parrot-qrd", "qcom,parrot", "qcom,qrd"; + qcom,board-id = <0x1000B 2>; +}; diff --git a/qcom/parrot-sg-idp-wcn6755-amoled-rcm.dts b/qcom/parrot-sg-idp-wcn6755-amoled-rcm.dts new file mode 100644 index 00000000..52b51317 --- /dev/null +++ b/qcom/parrot-sg-idp-wcn6755-amoled-rcm.dts @@ -0,0 +1,12 @@ +/dts-v1/; + +#include "parrot-sg.dtsi" +#include "parrot-wcn6755.dtsi" +#include "parrot-sg-idp-wcn6750-amoled-rcm.dtsi" +#include "parrot-idp-pm7250b.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. Parrot SG WCN6755 IDP + AMOLED + RCM"; + compatible = "qcom,parrot-idp", "qcom,parrot", "qcom,idp"; + qcom,board-id = <34 6>; +}; diff --git a/qcom/parrot-sg-idp-wcn6755-nopmi.dts b/qcom/parrot-sg-idp-wcn6755-nopmi.dts new file mode 100644 index 00000000..06ad1c00 --- /dev/null +++ b/qcom/parrot-sg-idp-wcn6755-nopmi.dts @@ -0,0 +1,13 @@ +/dts-v1/; + +#include "parrot-sg.dtsi" +#include "parrot-wcn6755.dtsi" +#include "parrot-sg-idp.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. Parrot SG IDP + WCN6755"; + compatible = "qcom,parrot-idp", "qcom,parrot", "qcom,idp"; + qcom,board-id = <34 5>; + qcom,pmic-id-size = <9>; + qcom,pmic-id = <0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0>; +}; diff --git a/qcom/parrot-sg-idp-wcn6755-pm8350b.dts b/qcom/parrot-sg-idp-wcn6755-pm8350b.dts new file mode 100644 index 00000000..a8a7053f --- /dev/null +++ b/qcom/parrot-sg-idp-wcn6755-pm8350b.dts @@ -0,0 +1,12 @@ +/dts-v1/; + +#include "parrot-sg.dtsi" +#include "parrot-wcn6755.dtsi" +#include "parrot-sg-idp.dtsi" +#include "parrot-idp-pm8350b.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. Parrot SG IDP + WCN6755"; + compatible = "qcom,parrot-idp", "qcom,parrot", "qcom,idp"; + qcom,board-id = <34 5>; +}; diff --git a/qcom/parrot-sg-idp-wcn6755.dts b/qcom/parrot-sg-idp-wcn6755.dts new file mode 100644 index 00000000..f847e1ac --- /dev/null +++ b/qcom/parrot-sg-idp-wcn6755.dts @@ -0,0 +1,12 @@ +/dts-v1/; + +#include "parrot-sg.dtsi" +#include "parrot-wcn6755.dtsi" +#include "parrot-sg-idp.dtsi" +#include "parrot-idp-pm7250b.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. Parrot SG IDP + WCN6755"; + compatible = "qcom,parrot-idp", "qcom,parrot", "qcom,idp"; + qcom,board-id = <34 5>; +}; diff --git a/qcom/parrot-sg-qrd-wcn6755.dts b/qcom/parrot-sg-qrd-wcn6755.dts new file mode 100644 index 00000000..40294973 --- /dev/null +++ b/qcom/parrot-sg-qrd-wcn6755.dts @@ -0,0 +1,12 @@ +/dts-v1/; + +#include "parrot-sg.dtsi" +#include "parrot-wcn6755.dtsi" +#include "parrot-sg-qrd-wcn6750.dtsi" +#include "parrot-qrd-pm7250b.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. Parrot SG WCN6755 QRD"; + compatible = "qcom,parrot-qrd", "qcom,parrot", "qcom,qrd"; + qcom,board-id = <0x1000B 2>; +}; diff --git a/qcom/parrot-vm-idp-wcn6750-amoled-rcm.dts b/qcom/parrot-vm-idp-wcn6750-amoled-rcm.dts index 3ab61d1f..26d166b9 100644 --- a/qcom/parrot-vm-idp-wcn6750-amoled-rcm.dts +++ b/qcom/parrot-vm-idp-wcn6750-amoled-rcm.dts @@ -6,5 +6,5 @@ / { model = "Qualcomm Technologies, Inc. Parrot WCN6750 VM IDP + AMOLED + RCM"; compatible = "qcom,parrot-idp", "qcom,parrot", "qcom,idp"; - qcom,board-id = <34 2>; + qcom,board-id = <34 2>, <34 6>; }; diff --git a/qcom/parrot-vm-idp.dts b/qcom/parrot-vm-idp.dts index 140bc36b..b5140f25 100644 --- a/qcom/parrot-vm-idp.dts +++ b/qcom/parrot-vm-idp.dts @@ -6,5 +6,5 @@ / { model = "Qualcomm Technologies, Inc. Parrot SVM IDP"; compatible = "qcom,parrot-idp", "qcom,parrot", "qcom,idp"; - qcom,board-id = <34 0>; + qcom,board-id = <34 0>, <34 5>; }; diff --git a/qcom/parrot-vm-qrd-wcn6750.dts b/qcom/parrot-vm-qrd-wcn6750.dts index 35474550..d05001e9 100644 --- a/qcom/parrot-vm-qrd-wcn6750.dts +++ b/qcom/parrot-vm-qrd-wcn6750.dts @@ -6,5 +6,5 @@ / { model = "Qualcomm Technologies, Inc. Parrot SVM QRD + WCN6750"; compatible = "qcom,parrot-qrd", "qcom,parrot", "qcom,qrd"; - qcom,board-id = <0x1000B 1>; + qcom,board-id = <0x1000B 1>, <0x1000B 2>; }; diff --git a/qcom/parrotp-idp-wcn6755-amoled-rcm.dts b/qcom/parrotp-idp-wcn6755-amoled-rcm.dts new file mode 100644 index 00000000..6da2db4a --- /dev/null +++ b/qcom/parrotp-idp-wcn6755-amoled-rcm.dts @@ -0,0 +1,12 @@ +/dts-v1/; + +#include "parrotp.dtsi" +#include "parrot-wcn6755.dtsi" +#include "parrotp-idp-wcn6750-amoled-rcm.dtsi" +#include "parrot-idp-pm7250b.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. ParrotP WCN6755 IDP + AMOLED + RCM"; + compatible = "qcom,parrotp-idp", "qcom,parrotp", "qcom,idp"; + qcom,board-id = <34 6>; +}; diff --git a/qcom/parrotp-idp-wcn6755-nopmi.dts b/qcom/parrotp-idp-wcn6755-nopmi.dts new file mode 100644 index 00000000..6c8f8aef --- /dev/null +++ b/qcom/parrotp-idp-wcn6755-nopmi.dts @@ -0,0 +1,13 @@ +/dts-v1/; + +#include "parrotp.dtsi" +#include "parrot-wcn6755.dtsi" +#include "parrotp-idp.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. ParrotP IDP + WCN6755"; + compatible = "qcom,parrotp-idp", "qcom,parrotp", "qcom,idp"; + qcom,board-id = <34 5>; + qcom,pmic-id-size = <9>; + qcom,pmic-id = <0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0>; +}; diff --git a/qcom/parrotp-idp-wcn6755-pm8350b.dts b/qcom/parrotp-idp-wcn6755-pm8350b.dts new file mode 100644 index 00000000..d6844720 --- /dev/null +++ b/qcom/parrotp-idp-wcn6755-pm8350b.dts @@ -0,0 +1,12 @@ +/dts-v1/; + +#include "parrotp.dtsi" +#include "parrot-wcn6755.dtsi" +#include "parrotp-idp.dtsi" +#include "parrot-idp-pm8350b.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. ParrotP IDP + WCN6755"; + compatible = "qcom,parrotp-idp", "qcom,parrotp", "qcom,idp"; + qcom,board-id = <34 5>; +}; diff --git a/qcom/parrotp-idp-wcn6755.dts b/qcom/parrotp-idp-wcn6755.dts new file mode 100644 index 00000000..0440cd4a --- /dev/null +++ b/qcom/parrotp-idp-wcn6755.dts @@ -0,0 +1,12 @@ +/dts-v1/; + +#include "parrotp.dtsi" +#include "parrot-wcn6755.dtsi" +#include "parrotp-idp.dtsi" +#include "parrot-idp-pm7250b.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. ParrotP IDP + WCN6755"; + compatible = "qcom,parrotp-idp", "qcom,parrotp", "qcom,idp"; + qcom,board-id = <34 5>; +}; diff --git a/qcom/parrotp-qrd-wcn6755.dts b/qcom/parrotp-qrd-wcn6755.dts new file mode 100644 index 00000000..6e3cd525 --- /dev/null +++ b/qcom/parrotp-qrd-wcn6755.dts @@ -0,0 +1,12 @@ +/dts-v1/; + +#include "parrotp.dtsi" +#include "parrot-wcn6755.dtsi" +#include "parrotp-qrd-wcn6750.dtsi" +#include "parrot-qrd-pm7250b.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. ParrotP WCN6755 QRD"; + compatible = "qcom,parrotp-qrd", "qcom,parrotp", "qcom,qrd"; + qcom,board-id = <0x1000B 2>; +}; diff --git a/qcom/parrotp-sg-idp-wcn6755-amoled-rcm.dts b/qcom/parrotp-sg-idp-wcn6755-amoled-rcm.dts new file mode 100644 index 00000000..bc7ec4a4 --- /dev/null +++ b/qcom/parrotp-sg-idp-wcn6755-amoled-rcm.dts @@ -0,0 +1,12 @@ +/dts-v1/; + +#include "parrotp-sg.dtsi" +#include "parrot-wcn6755.dtsi" +#include "parrotp-sg-idp-wcn6750-amoled-rcm.dtsi" +#include "parrot-idp-pm7250b.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. ParrotP SG WCN6755 IDP + AMOLED + RCM"; + compatible = "qcom,parrotp-idp", "qcom,parrotp", "qcom,idp"; + qcom,board-id = <34 6>; +}; diff --git a/qcom/parrotp-sg-idp-wcn6755-nopmi.dts b/qcom/parrotp-sg-idp-wcn6755-nopmi.dts new file mode 100644 index 00000000..20ee9a45 --- /dev/null +++ b/qcom/parrotp-sg-idp-wcn6755-nopmi.dts @@ -0,0 +1,13 @@ +/dts-v1/; + +#include "parrotp-sg.dtsi" +#include "parrot-wcn6755.dtsi" +#include "parrotp-sg-idp.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. ParrotP SG IDP + WCN6755"; + compatible = "qcom,parrotp-idp", "qcom,parrotp", "qcom,idp"; + qcom,board-id = <34 5>; + qcom,pmic-id-size = <9>; + qcom,pmic-id = <0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0>; +}; diff --git a/qcom/parrotp-sg-idp-wcn6755-pm8350b.dts b/qcom/parrotp-sg-idp-wcn6755-pm8350b.dts new file mode 100644 index 00000000..03a4db76 --- /dev/null +++ b/qcom/parrotp-sg-idp-wcn6755-pm8350b.dts @@ -0,0 +1,12 @@ +/dts-v1/; + +#include "parrotp-sg.dtsi" +#include "parrot-wcn6755.dtsi" +#include "parrotp-sg-idp.dtsi" +#include "parrot-idp-pm8350b.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. ParrotP SG IDP + WCN6755"; + compatible = "qcom,parrotp-idp", "qcom,parrotp", "qcom,idp"; + qcom,board-id = <34 5>; +}; diff --git a/qcom/parrotp-sg-idp-wcn6755.dts b/qcom/parrotp-sg-idp-wcn6755.dts new file mode 100644 index 00000000..b0138663 --- /dev/null +++ b/qcom/parrotp-sg-idp-wcn6755.dts @@ -0,0 +1,12 @@ +/dts-v1/; + +#include "parrotp-sg.dtsi" +#include "parrot-wcn6755.dtsi" +#include "parrotp-sg-idp.dtsi" +#include "parrot-idp-pm7250b.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. ParrotP SG IDP + WCN6755"; + compatible = "qcom,parrotp-idp", "qcom,parrotp", "qcom,idp"; + qcom,board-id = <34 5>; +}; diff --git a/qcom/parrotp-sg-qrd-wcn6755.dts b/qcom/parrotp-sg-qrd-wcn6755.dts new file mode 100644 index 00000000..5277c8f3 --- /dev/null +++ b/qcom/parrotp-sg-qrd-wcn6755.dts @@ -0,0 +1,12 @@ +/dts-v1/; + +#include "parrotp-sg.dtsi" +#include "parrot-wcn6755.dtsi" +#include "parrotp-sg-qrd-wcn6750.dtsi" +#include "parrot-qrd-pm7250b.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. ParrotP SG WCN6755 QRD"; + compatible = "qcom,parrotp-qrd", "qcom,parrotp", "qcom,qrd"; + qcom,board-id = <0x1000B 2>; +}; From 4053d7736583de6b3d6b2b14c737f17da4c37be4 Mon Sep 17 00:00:00 2001 From: Lijuan Gao Date: Mon, 24 Jun 2024 13:50:59 +0800 Subject: [PATCH 34/34] ARM: dts: msm: Add initial DT for AnorakP QXR HMT UFS Refgen + 4K display Add device tree support for AnorakP QXR Hamilton(HMT) UFS Refgen + 4K display. Change-Id: I605f3ce98cbcfbb4b44d49241a855cc5a1371a05 --- qcom/Makefile | 2 ++ qcom/anorak-qxr-4kdisp-hmt-ufs-ref-overlay.dts | 2 +- qcom/anorakp-qxr-4kdisp-hmt-ufs-ref-overlay.dts | 11 +++++++++++ 3 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 qcom/anorakp-qxr-4kdisp-hmt-ufs-ref-overlay.dts diff --git a/qcom/Makefile b/qcom/Makefile index 80db1dc1..f2339655 100644 --- a/qcom/Makefile +++ b/qcom/Makefile @@ -696,6 +696,7 @@ dtbo-$(CONFIG_ARCH_ANORAK) += anorak-rumi-overlay.dtbo \ anorak-idp-hmt-overlay.dtbo \ anorak-qxr-hmt-ufs-ref-overlay.dtbo \ anorak-qxr-4kdisp-hmt-ufs-ref-overlay.dtbo \ + anorakp-qxr-4kdisp-hmt-ufs-ref-overlay.dtbo \ anorak-qxr-hmt-overlay.dtbo \ anorak-idp-sd-overlay.dtbo \ anorak-idp-top-hmt-overlay.dtbo \ @@ -710,6 +711,7 @@ anorak-atp-overlay.dtbo-base := anorak.dtb anorakp.dtb anorak-idp-hmt-overlay.dtbo-base := anorak.dtb anorakp.dtb anorak-qxr-hmt-ufs-ref-overlay.dtbo-base := anorak.dtb anorakp.dtb anorak-qxr-4kdisp-hmt-ufs-ref-overlay.dtbo-base := anorak.dtb anorakp.dtb +anorakp-qxr-4kdisp-hmt-ufs-ref-overlay.dtbo-base := anorak.dtb anorakp.dtb anorak-qxr-hmt-overlay.dtbo-base := anorak.dtb anorakp.dtb anorak-idp-sd-overlay.dtbo-base := anorak.dtb anorakp.dtb anorak-idp-top-hmt-overlay.dtbo-base := anorak.dtb anorakp.dtb diff --git a/qcom/anorak-qxr-4kdisp-hmt-ufs-ref-overlay.dts b/qcom/anorak-qxr-4kdisp-hmt-ufs-ref-overlay.dts index 374e87ac..268030c6 100644 --- a/qcom/anorak-qxr-4kdisp-hmt-ufs-ref-overlay.dts +++ b/qcom/anorak-qxr-4kdisp-hmt-ufs-ref-overlay.dts @@ -6,6 +6,6 @@ / { model = "Qualcomm Technologies, Inc. Anorak QXR HMT UFS REF + 4K Display"; compatible = "qcom,anorak-qxr", "qcom,anorak"; - qcom,msm-id = <549 0x10000>,<649 0x10000>; + qcom,msm-id = <549 0x10000>; qcom,board-id = <0x10126 0x3>; }; diff --git a/qcom/anorakp-qxr-4kdisp-hmt-ufs-ref-overlay.dts b/qcom/anorakp-qxr-4kdisp-hmt-ufs-ref-overlay.dts new file mode 100644 index 00000000..569f7c22 --- /dev/null +++ b/qcom/anorakp-qxr-4kdisp-hmt-ufs-ref-overlay.dts @@ -0,0 +1,11 @@ +/dts-v1/; +/plugin/; + +#include "anorakp-qxr-4kdisp-hmt-ufs-ref.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. AnorakP QXR HMT UFS REF + 4K Display"; + compatible = "qcom,anorakp-qxr", "qcom,anorakp"; + qcom,msm-id = <649 0x10000>; + qcom,board-id = <0x10126 0x3>; +};