From 57102e5703b89aa0ba1e2b067316109507f26731 Mon Sep 17 00:00:00 2001 From: Manikandan Mohan Date: Mon, 1 Jun 2020 14:14:36 -0700 Subject: [PATCH 1/2] ARM: dts: msm: Add WLAN cold boot calibration control property Add CNSS platform driver property to control cold boot calibration. Change-Id: If97d4f882a6cd183915d37ae77dbc801873e1eba --- bindings/cnss/cnss-wlan.txt | 2 ++ qcom/lahaina.dtsi | 1 + 2 files changed, 3 insertions(+) diff --git a/bindings/cnss/cnss-wlan.txt b/bindings/cnss/cnss-wlan.txt index cdb6899fa92a..45902d02ef47 100644 --- a/bindings/cnss/cnss-wlan.txt +++ b/bindings/cnss/cnss-wlan.txt @@ -69,6 +69,8 @@ Optional properties: - qcom,mhi: phandle to indicate the device which needs MHI support. - qcom,cap-tsf-gpio: WLAN_TSF_CAPTURED GPIO signal specified by the chip specifications, should be drived depending on products + - qcom,wlan-cbc-enabled: boolean property to control cold boot calibration + Example: diff --git a/qcom/lahaina.dtsi b/qcom/lahaina.dtsi index 5bd22ed18698..e02408c69eee 100644 --- a/qcom/lahaina.dtsi +++ b/qcom/lahaina.dtsi @@ -5129,6 +5129,7 @@ pinctrl-1 = <&cnss_wlan_en_sleep>; qcom,wlan-rc-num = <0>; qcom,wlan-ramdump-dynamic = <0x420000>; + qcom,wlan-cbc-enabled; vdd-wlan-aon-supply = <&S2E>; qcom,vdd-wlan-aon-config = <950000 952000 0 0 1>; From 9549dff52c12bd2ce87cafe5416effde2797e5c4 Mon Sep 17 00:00:00 2001 From: Manikandan Mohan Date: Mon, 1 Jun 2020 16:53:12 -0700 Subject: [PATCH 2/2] ARM: dts: msm: Enable cnss daemon support Enable cnss daemon support in platform driver Change-Id: I8ea310cd6e31fd1c3877d0001e45e0b15b7220b9 --- qcom/lahaina.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/qcom/lahaina.dtsi b/qcom/lahaina.dtsi index e02408c69eee..9d685fd54b1d 100644 --- a/qcom/lahaina.dtsi +++ b/qcom/lahaina.dtsi @@ -5144,6 +5144,8 @@ wlan-ant-switch-supply = <&L7E>; qcom,wlan-ant-switch-config = <2800000 2800000 0 0 0>; + cnss-daemon-support; + mhi,max-channels = <30>; mhi,timeout = <10000>; mhi,buffer-len = <0x8000>;