From 8d5d093c90df2effd311561a6dcd8193f4a36cd0 Mon Sep 17 00:00:00 2001 From: Anaadi Mishra Date: Mon, 27 Jan 2025 14:50:36 +0530 Subject: [PATCH 1/7] ARM: dts: msm: Update the tuna gcc and display clock controller nodes Update the gcc and display clock controllers removing the tuna 1.0 to align with the latest clock plan updates for Tuna. Change-Id: Ib8e9245fc2c1ca90ad3cf8ad614bbe3061bafaeb Signed-off-by: Anaadi Mishra --- qcom/tuna.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qcom/tuna.dtsi b/qcom/tuna.dtsi index 9f46b027..a5f9cd88 100644 --- a/qcom/tuna.dtsi +++ b/qcom/tuna.dtsi @@ -1847,7 +1847,7 @@ }; dispcc: clock-controller@af00000 { - compatible = "qcom,tuna-dispcc-v1", "syscon"; + compatible = "qcom,tuna-dispcc", "syscon"; reg = <0xaf00000 0x20000>; reg-name = "cc_base"; vdd_mm-supply = <&VDD_MM_LEVEL>; @@ -1885,7 +1885,7 @@ }; gcc: clock-controller@100000 { - compatible = "qcom,tuna-gcc-v1", "syscon"; + compatible = "qcom,tuna-gcc", "syscon"; reg = <0x100000 0x1f4200>; reg-name = "cc_base"; vdd_cx-supply = <&VDD_CX_LEVEL>; From 10e9827b933e6890af63cab35eb6d0c99426b96c Mon Sep 17 00:00:00 2001 From: Uttkarsh Aggarwal Date: Tue, 11 Feb 2025 15:00:16 +0530 Subject: [PATCH 2/7] ARM: dts: msm: Removing wcd node from kera qrd In this change removing wcd node from qrd platform because in qrd we have Tambora not Harmonium. Change-Id: Iac222e0d201e9126523d2540cddeb8db5a758e9f Signed-off-by: Uttkarsh Aggarwal --- qcom/kera-qrd.dtsi | 2 -- 1 file changed, 2 deletions(-) diff --git a/qcom/kera-qrd.dtsi b/qcom/kera-qrd.dtsi index 97e04abe..0090f052 100644 --- a/qcom/kera-qrd.dtsi +++ b/qcom/kera-qrd.dtsi @@ -166,6 +166,4 @@ ssusb_redriver = <&redriver>; - qcom,wcd_usbss = <&wcd_usbss>; - }; From 0bff45c93bfedd9d8becba1b8c1e6577379a7863 Mon Sep 17 00:00:00 2001 From: Shudan Liu Date: Thu, 13 Feb 2025 13:36:30 +0800 Subject: [PATCH 3/7] ARM: dts: qcom: add sun le target Add sun le target on bazel file. Change-Id: If36563ad405f199a36f8bf4a020960c77ebba3eb Signed-off-by: Shudan Liu --- qcom/platform_map.bzl | 54 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) diff --git a/qcom/platform_map.bzl b/qcom/platform_map.bzl index 2e9155e2..91a4156e 100644 --- a/qcom/platform_map.bzl +++ b/qcom/platform_map.bzl @@ -73,6 +73,60 @@ _platform_map = { ], "binary_compatible_with": ["tuna", "kera"], }, + "sun-le": { + "dtb_list": [ + # keep sorted + {"name": "sun.dtb"}, + { + "name": "sunp.dtb", + "apq": True, + }, + { + "name": "sunp-v2.dtb", + "apq": True, + }, + {"name": "sun-v2.dtb"}, + {"name": "sun-tp.dtb"}, + {"name": "sun-tp-v2.dtb"}, + { + "name": "sunp-tp.dtb", + "apq": True, + }, + { + "name": "sunp-tp-v2.dtb", + "apq": True, + }, + ], + "dtbo_list": [ + # keep sorted + {"name": "sun-atp-overlay.dtbo"}, + {"name": "sun-cdp-kiwi-overlay.dtbo"}, + {"name": "sun-cdp-kiwi-v8-overlay.dtbo"}, + {"name": "sun-cdp-nfc-overlay.dtbo"}, + {"name": "sun-cdp-no-display-overlay.dtbo"}, + {"name": "sun-cdp-overlay.dtbo"}, + {"name": "sun-cdp-v8-overlay.dtbo"}, + {"name": "sun-mtp-3.5mm-kiwi-v8-overlay.dtbo"}, + {"name": "sun-mtp-3.5mm-overlay.dtbo"}, + {"name": "sun-mtp-kiwi-overlay.dtbo"}, + {"name": "sun-mtp-kiwi-v8-overlay.dtbo"}, + {"name": "sun-mtp-nfc-overlay.dtbo"}, + {"name": "sun-mtp-overlay.dtbo"}, + {"name": "sun-mtp-qmp1000-overlay.dtbo"}, + {"name": "sun-mtp-qmp1000-v8-overlay.dtbo"}, + {"name": "sun-mtp-v8-overlay.dtbo"}, + {"name": "sun-qrd-sku1-overlay.dtbo"}, + {"name": "sun-qrd-sku1-v8-overlay.dtbo"}, + {"name": "sun-qrd-sku2-v8-overlay.dtbo"}, + {"name": "sun-rcm-kiwi-overlay.dtbo"}, + {"name": "sun-rcm-kiwi-v8-overlay.dtbo"}, + {"name": "sun-rcm-overlay.dtbo"}, + {"name": "sun-rcm-v8-overlay.dtbo"}, + {"name": "sunp-hdk-overlay.dtbo"}, + {"name": "sun-rumi-overlay.dtbo"}, + ], + "binary_compatible_with": ["tuna", "kera"], + }, "tuna": { "dtb_list": [ {"name": "tuna.dtb"}, From 183620f22fc827ae3f71864fccc7ee0b9418ef7c Mon Sep 17 00:00:00 2001 From: Manish Pandey Date: Thu, 6 Feb 2025 18:59:24 +0530 Subject: [PATCH 4/7] ARM: dts: qcom: Update ufs device tree property for sun Replace `qcom,storage-boost` with `qcom,enforce-high-irq-cpus`. Change-Id: I9d7aecb46f2c28f27e74d600723164bcab8d830c Signed-off-by: Manish Pandey --- qcom/sun.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qcom/sun.dtsi b/qcom/sun.dtsi index 614654ca..d99fb590 100644 --- a/qcom/sun.dtsi +++ b/qcom/sun.dtsi @@ -1,6 +1,6 @@ // SPDX-License-Identifier: BSD-3-Clause /* - * Copyright (c) 2023-2024, Qualcomm Innovation Center, Inc. All rights reserved. + * Copyright (c) 2023-2025, Qualcomm Innovation Center, Inc. All rights reserved. */ #include @@ -2491,7 +2491,7 @@ qcom,bypass-pbl-rst-wa; qcom,max-cpus = <8>; - qcom,storage-boost; + qcom,enforce-high-irq-cpus; msi-parent = <&gic_its 0x60>; From bd55757e4b32e37c717df60530946d0b0f42ba6f Mon Sep 17 00:00:00 2001 From: Viken Dadhaniya Date: Sat, 24 Aug 2024 17:06:20 +0530 Subject: [PATCH 5/7] ARM: dts: msm: Change iommu-dma to atomic from fastmap for Monaco Fix the memory mapping error for non dma-coherent target Monaco when iommu-dma is used as "fastmap" by changing it to "atomic". Hence, Change iommu-dma to atomic setting. Change-Id: Ic21cbd4d5e9e429dd6aa577652d0ccb1a9acc99c Signed-off-by: Viken Dadhaniya --- qcom/monaco-qupv3.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qcom/monaco-qupv3.dtsi b/qcom/monaco-qupv3.dtsi index f1eea377..530a3949 100644 --- a/qcom/monaco-qupv3.dtsi +++ b/qcom/monaco-qupv3.dtsi @@ -54,7 +54,7 @@ iommus = <&apps_smmu 0xe3 0x0>; qcom,iommu-dma-addr-pool = <0x40000000 0xc0000000>; qcom,iommu-geometry = <0x40000000 0x10000000>; - qcom,iommu-dma = "fastmap"; + qcom,iommu-dma = "atomic"; ranges; status = "ok"; From 93a260589df980098ef943843d9e3a7b931e87da Mon Sep 17 00:00:00 2001 From: Uttkarsh Aggarwal Date: Fri, 21 Feb 2025 14:53:28 +0530 Subject: [PATCH 6/7] ARM: dts: msm: add qcom,pm-qos-latency for tuna It will help for USB KPI. Change-Id: Icc2cc1cd63998625b2ed9dd99a81b45ed3971c15 Signed-off-by: Uttkarsh Aggarwal --- qcom/tuna-usb.dtsi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/qcom/tuna-usb.dtsi b/qcom/tuna-usb.dtsi index 387e9109..d4403455 100644 --- a/qcom/tuna-usb.dtsi +++ b/qcom/tuna-usb.dtsi @@ -1,6 +1,6 @@ // SPDX-License-Identifier: BSD-3-Clause /* - * Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved. + * Copyright (c) 2024-2025 Qualcomm Innovation Center, Inc. All rights reserved. */ #include @@ -47,6 +47,7 @@ qcom,core-clk-rate = <200000000>; qcom,core-clk-rate-hs = <66666667>; qcom,core-clk-rate-disconnected = <133333333>; + qcom,pm-qos-latency = <2>; interconnect-names = "usb-ddr", "usb-ipa", "ddr-usb"; interconnects = <&aggre1_noc MASTER_USB3_0 &mc_virt SLAVE_EBI1>, From b1860f49b1f912587e655e396b6287a15d1e3b0e Mon Sep 17 00:00:00 2001 From: Uttkarsh Aggarwal Date: Mon, 24 Feb 2025 14:18:16 +0530 Subject: [PATCH 7/7] ARM: dts: msm: add qcom,pm-qos-latency for sun It will help for USB KPI. Change-Id: I4b4ba5cc7aca95952a91bbd21f5d1cc2ab020ca2 Signed-off-by: Uttkarsh Aggarwal --- qcom/sun-usb.dtsi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/qcom/sun-usb.dtsi b/qcom/sun-usb.dtsi index 2e4c642a..f7e39b08 100644 --- a/qcom/sun-usb.dtsi +++ b/qcom/sun-usb.dtsi @@ -1,6 +1,6 @@ // SPDX-License-Identifier: BSD-3-Clause /* - * Copyright (c) 2023-2024 Qualcomm Innovation Center, Inc. All rights reserved. + * Copyright (c) 2023-2025 Qualcomm Innovation Center, Inc. All rights reserved. */ #include @@ -44,6 +44,7 @@ qcom,core-clk-rate = <200000000>; qcom,core-clk-rate-hs = <66666667>; qcom,core-clk-rate-disconnected = <133333333>; + qcom,pm-qos-latency = <2>; interconnect-names = "usb-ddr", "usb-ipa", "ddr-usb"; interconnects = <&aggre1_noc MASTER_USB3_0 &mc_virt SLAVE_EBI1>,