From f45fc97a8a2b4c62ec8478aa6bea02ca38d7d5e2 Mon Sep 17 00:00:00 2001 From: Yue Ma Date: Fri, 22 May 2020 14:25:03 -0700 Subject: [PATCH] ARM: dts: msm: Enable CNSS PM domain support for Lahaina Enable use-pm-domain to let CNSS driver use PM domain ops for Lahaina. Also update missing binding document. Change-Id: I6bd1503d2ad612054e1951f7c2f15948224f4f09 --- bindings/cnss/cnss-wlan.txt | 8 ++++++++ qcom/lahaina.dtsi | 1 + 2 files changed, 9 insertions(+) diff --git a/bindings/cnss/cnss-wlan.txt b/bindings/cnss/cnss-wlan.txt index 6dcde8ad4264..b9afd01aae80 100644 --- a/bindings/cnss/cnss-wlan.txt +++ b/bindings/cnss/cnss-wlan.txt @@ -69,6 +69,14 @@ 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 + - cnss-daemon-support: Boolean property to decide whether cnss_daemon + userspace QMI client is supported. + - use-nv-mac: Boolean property to indicate whether NV MAC is used or not. + - qcom,set-wlaon-pwr-ctrl: Boolean property to indicate if set + WLAON_QFPROM_PWR_CTRL_REG register during power on + and off sequences. + - use-pm-domain: Boolean property to indicate if driver needs to use PM + domain or not. - qcom,wlan-cbc-enabled: boolean property to control cold boot calibration - interconnects: Interconnect framework setup for bus configuration - qcom,bus-bw-cfg-num: Number of bus bandwidth voting cases diff --git a/qcom/lahaina.dtsi b/qcom/lahaina.dtsi index b1aecf09e4ed..be0c78872ac8 100644 --- a/qcom/lahaina.dtsi +++ b/qcom/lahaina.dtsi @@ -5326,6 +5326,7 @@ qcom,wlan-cbc-enabled; /* RPMH_PDC_WLAN_RF_TCS<6>_CMD<2> offset */ qcom,tcs_offset_int_pow_amp_vreg = <0x4D0>; + use-pm-domain; vdd-wlan-aon-supply = <&S2E>; qcom,vdd-wlan-aon-config = <950000 952000 0 0 1>;