From a96e57b9f9d14741ce2cb1f16a3184ac6d54fdfb Mon Sep 17 00:00:00 2001 From: Naman Padhiar Date: Fri, 8 Mar 2024 17:52:32 +0530 Subject: [PATCH 1/3] ARM: dts: msm: Add WLAN support for MTP with 3.5mm audio MTP with 3.5mm support has specific major version in board ID. Add that board ID in WLAN Peach V8 DTS file to enable WLAN support for devices which has 3.5mm audio jack, V8 power grid and Peach as WLAN attachment. Change-Id: Id5ae07b7e560cc7997bd133bff6bc32a637900bb CRs-Fixed: 3759656 --- sun-peach-cnss-v8.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sun-peach-cnss-v8.dts b/sun-peach-cnss-v8.dts index 7ccf9533..353c2270 100644 --- a/sun-peach-cnss-v8.dts +++ b/sun-peach-cnss-v8.dts @@ -15,5 +15,5 @@ qcom,msm-id = <618 0x10000>, <618 0x20000>, <639 0x10000>, <639 0x20000>; qcom,board-id = <0x50001 0>, <0x40008 0>, <0x3000B 0>, <0x2000B 0>, - <0x30008 0>, <0x40001 0>, <0x30015 0>; + <0x30008 0>, <0x40001 0>, <0x30015 0>, <0x60008 0>; }; From 14aa024938dce3372994f924bfb767df80b1330f Mon Sep 17 00:00:00 2001 From: Namita Nair Date: Mon, 8 Apr 2024 13:51:09 -0700 Subject: [PATCH 2/3] ARM: dts: msm: Update WLAN SNOC voting Currently the WLAN SNOC voting is set based on PCIe SN4 BCM width as 16.The PCIe port width has been updated to 8 for sun devices. Hence, this change will bring in the corresponding WLAN SNOC voting to support the new width. Change-Id: I6129bff9067d9654b7eb08777bb19d5a9e05c450 CRs-Fixed: 3775975 --- sun-kiwi-cnss-v8.dtsi | 16 ++++++++-------- sun-kiwi-cnss.dtsi | 16 ++++++++-------- sun-peach-cnss-v8.dtsi | 16 ++++++++-------- sun-peach-cnss.dtsi | 16 ++++++++-------- 4 files changed, 32 insertions(+), 32 deletions(-) diff --git a/sun-kiwi-cnss-v8.dtsi b/sun-kiwi-cnss-v8.dtsi index 24ac36f4..562a418e 100644 --- a/sun-kiwi-cnss-v8.dtsi +++ b/sun-kiwi-cnss-v8.dtsi @@ -119,21 +119,21 @@ /** ICC Path 1 **/ <0 0>, /* no vote */ /* idle: 0-18 Mbps snoc/anoc: 100 Mhz */ - <2250 1600000>, + <2250 800000>, /* low: 18-60 Mbps snoc/anoc: 100 Mhz */ - <7500 1600000>, + <7500 800000>, /* medium: 60-240 Mbps snoc/anoc: 100 Mhz */ - <30000 1600000>, + <30000 800000>, /* high: 240-1200 Mbps snoc/anoc: 100 Mhz */ - <100000 1600000>, + <100000 800000>, /* very high: > 1200 Mbps snoc/anoc: 403 Mhz */ - <175000 6448000>, + <175000 3224000>, /* ultra high: DBS mode snoc/anoc: 403 Mhz */ - <312500 6448000>, + <312500 3224000>, /* super high: DBS mode snoc/anoc: 533 Mhz */ - <587500 8528000>, + <587500 4264000>, /* low (latency critical): 18-60 Mbps snoc/anoc: 200 Mhz */ - <7500 3200000>, + <7500 1600000>, /** ICC Path 2 **/ <0 0>, diff --git a/sun-kiwi-cnss.dtsi b/sun-kiwi-cnss.dtsi index 95700676..0398fda9 100644 --- a/sun-kiwi-cnss.dtsi +++ b/sun-kiwi-cnss.dtsi @@ -119,21 +119,21 @@ /** ICC Path 1 **/ <0 0>, /* no vote */ /* idle: 0-18 Mbps snoc/anoc: 100 Mhz */ - <2250 1600000>, + <2250 800000>, /* low: 18-60 Mbps snoc/anoc: 100 Mhz */ - <7500 1600000>, + <7500 800000>, /* medium: 60-240 Mbps snoc/anoc: 100 Mhz */ - <30000 1600000>, + <30000 800000>, /* high: 240-1200 Mbps snoc/anoc: 100 Mhz */ - <100000 1600000>, + <100000 800000>, /* very high: > 1200 Mbps snoc/anoc: 403 Mhz */ - <175000 6448000>, + <175000 3224000>, /* ultra high: DBS mode snoc/anoc: 403 Mhz */ - <312500 6448000>, + <312500 3224000>, /* super high: DBS mode snoc/anoc: 533 Mhz */ - <587500 8528000>, + <587500 4264000>, /* low (latency critical): 18-60 Mbps snoc/anoc: 200 Mhz */ - <7500 3200000>, + <7500 1600000>, /** ICC Path 2 **/ <0 0>, diff --git a/sun-peach-cnss-v8.dtsi b/sun-peach-cnss-v8.dtsi index ae7e212f..5b719d7f 100644 --- a/sun-peach-cnss-v8.dtsi +++ b/sun-peach-cnss-v8.dtsi @@ -135,21 +135,21 @@ /** ICC Path 1 **/ <0 0>, /* no vote */ /* idle: 0-18 Mbps snoc/anoc: 100 Mhz */ - <2250 1600000>, + <2250 800000>, /* low: 18-60 Mbps snoc/anoc: 100 Mhz */ - <7500 1600000>, + <7500 800000>, /* medium: 60-240 Mbps snoc/anoc: 100 Mhz */ - <30000 1600000>, + <30000 800000>, /* high: 240-1200 Mbps snoc/anoc: 100 Mhz */ - <100000 1600000>, + <100000 800000>, /* very high: > 1200 Mbps snoc/anoc: 403 Mhz */ - <175000 6448000>, + <175000 3224000>, /* ultra high: DBS mode snoc/anoc: 403 Mhz */ - <312500 6448000>, + <312500 3224000>, /* super high: DBS mode snoc/anoc: 533 Mhz */ - <587500 8528000>, + <587500 4264000>, /* low (latency critical): 18-60 Mbps snoc/anoc: 200 Mhz */ - <7500 3200000>, + <7500 1600000>, /** ICC Path 2 **/ <0 0>, diff --git a/sun-peach-cnss.dtsi b/sun-peach-cnss.dtsi index 3b6cf455..7f625f18 100644 --- a/sun-peach-cnss.dtsi +++ b/sun-peach-cnss.dtsi @@ -134,21 +134,21 @@ /** ICC Path 1 **/ <0 0>, /* no vote */ /* idle: 0-18 Mbps snoc/anoc: 100 Mhz */ - <2250 1600000>, + <2250 800000>, /* low: 18-60 Mbps snoc/anoc: 100 Mhz */ - <7500 1600000>, + <7500 800000>, /* medium: 60-240 Mbps snoc/anoc: 100 Mhz */ - <30000 1600000>, + <30000 800000>, /* high: 240-1200 Mbps snoc/anoc: 100 Mhz */ - <100000 1600000>, + <100000 800000>, /* very high: > 1200 Mbps snoc/anoc: 403 Mhz */ - <175000 6448000>, + <175000 3224000>, /* ultra high: DBS mode snoc/anoc: 403 Mhz */ - <312500 6448000>, + <312500 3224000>, /* super high: DBS mode snoc/anoc: 533 Mhz */ - <587500 8528000>, + <587500 4264000>, /* low (latency critical): 18-60 Mbps snoc/anoc: 200 Mhz */ - <7500 3200000>, + <7500 1600000>, /** ICC Path 2 **/ <0 0>, From 5a546e7a752a037eb0610fb9f7a9178ecca6b68b Mon Sep 17 00:00:00 2001 From: VijayaRamarao Mellempudi Date: Thu, 4 Apr 2024 16:16:15 -0700 Subject: [PATCH 3/3] ARM: dts: msm: new MSM-ID to support for different packagings Add new MSM-ID for SUN target Change-Id: I389a71bebb380d7670565ee76f950bcaed2f6b46 CRs-Fixed: 3782806 --- sun-kiwi-cnss-v8.dts | 4 +++- sun-kiwi-cnss.dts | 4 +++- sun-peach-cnss-v8.dts | 4 +++- sun-peach-cnss.dts | 4 +++- 4 files changed, 12 insertions(+), 4 deletions(-) diff --git a/sun-kiwi-cnss-v8.dts b/sun-kiwi-cnss-v8.dts index 7835a955..c82ec0c3 100644 --- a/sun-kiwi-cnss-v8.dts +++ b/sun-kiwi-cnss-v8.dts @@ -13,6 +13,8 @@ model = "Qualcomm Technologies, Inc. Sun SoCs"; compatible = "qcom,sun", "qcom,sunp"; qcom,msm-id = <618 0x10000>, <618 0x20000>, - <639 0x10000>, <639 0x20000>; + <639 0x10000>, <639 0x20000>, + <0x100026a 0x10000>, <0x100026a 0x20000>, + <0x100027f 0x10000>, <0x100027f 0x20000>; qcom,board-id = <0x60001 0>, <0x50008 0>, <0x20015 0>; }; diff --git a/sun-kiwi-cnss.dts b/sun-kiwi-cnss.dts index f6dbcccc..988a317a 100644 --- a/sun-kiwi-cnss.dts +++ b/sun-kiwi-cnss.dts @@ -12,6 +12,8 @@ / { model = "Qualcomm Technologies, Inc. Sun SoCs"; compatible = "qcom,sun", "qcom,sunp", "qcom,sun-mtp", "qcom,sun-cdp"; - qcom,msm-id = <618 0x10000>, <618 0x20000>, <639 0x10000>, <639 0x20000>; + qcom,msm-id = <618 0x10000>, <618 0x20000>, <639 0x10000>, <639 0x20000>, + <0x100026a 0x10000>, <0x100026a 0x20000>, + <0x100027f 0x10000>, <0x100027f 0x20000>; qcom,board-id = <0x20001 0>, <0x20008 0>, <0x40015 0>; }; diff --git a/sun-peach-cnss-v8.dts b/sun-peach-cnss-v8.dts index 353c2270..523e3ca8 100644 --- a/sun-peach-cnss-v8.dts +++ b/sun-peach-cnss-v8.dts @@ -13,7 +13,9 @@ model = "Qualcomm Technologies, Inc. Sun SoCs"; compatible = "qcom,sun", "qcom,sunp"; qcom,msm-id = <618 0x10000>, <618 0x20000>, - <639 0x10000>, <639 0x20000>; + <639 0x10000>, <639 0x20000>, + <0x100026a 0x10000>, <0x100026a 0x20000>, + <0x100027f 0x10000>, <0x100027f 0x20000>; qcom,board-id = <0x50001 0>, <0x40008 0>, <0x3000B 0>, <0x2000B 0>, <0x30008 0>, <0x40001 0>, <0x30015 0>, <0x60008 0>; }; diff --git a/sun-peach-cnss.dts b/sun-peach-cnss.dts index 0719d84c..9a61c4bb 100644 --- a/sun-peach-cnss.dts +++ b/sun-peach-cnss.dts @@ -13,6 +13,8 @@ model = "Qualcomm Technologies, Inc. Sun SoCs"; compatible = "qcom,sun", "qcom,sunp"; qcom,msm-id = <618 0x10000>, <618 0x20000>, - <639 0x10000>, <639 0x20000>; + <639 0x10000>, <639 0x20000>, + <0x100026a 0x10000>, <0x100026a 0x20000>, + <0x100027f 0x10000>, <0x100027f 0x20000>; qcom,board-id = <1 0>, <8 0>, <0x1000B 0>, <0x15 0>; };