From 1fe7ddc0f0290889dad0209d191f5a99c0539636 Mon Sep 17 00:00:00 2001 From: Chaitanya Pratapa Date: Mon, 20 Apr 2020 18:44:45 -0700 Subject: [PATCH] ARM: dts: msm: Enable uC HOLB monitor feature Enable the uC HOLB monitor feature. Change-Id: Ie3badbe4b0e45b8dfbd906ccaa0003a6b4971bb9 --- bindings/platform/msm/ipa.txt | 5 +++++ qcom/lahaina.dtsi | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/bindings/platform/msm/ipa.txt b/bindings/platform/msm/ipa.txt index 33b9910a7dd4..eb5cb3408fbd 100644 --- a/bindings/platform/msm/ipa.txt +++ b/bindings/platform/msm/ipa.txt @@ -28,6 +28,11 @@ Optional: if set to zero then the feature is disabled. - qcom,tx-napi: Enable usage of NAPI in the TX data path. - qcom,lan-rx-napi: Enable NAPI in the LAN RX data path. +- qcom,ipa-uc-holb-monitor: Enable uC HOLB monitor feature. +- qcom,ipa-holb-monitor-poll-period: Poll period for HOLB monitor feature. +- qcom,holb-monitor-max-cnt-wlan: Max stuck count for HOLB on WLAN channel. +- qcom,holb-monitor-max-cnt-usb: Max stuck count for HOLB on USB channel. +- qcom,holb-monitor-max-cnt-11ad: Max stuck count for HOLB on 11AD channel. - qcom,wan-rx-ring-size: size of WAN rx ring, default is 192 - qcom,lan-rx-ring-size: size of LAN rx ring, default is 192 - qcom,arm-smmu: SMMU is present and ARM SMMU driver is used diff --git a/qcom/lahaina.dtsi b/qcom/lahaina.dtsi index b24c4720dd7e..abee8b19e584 100644 --- a/qcom/lahaina.dtsi +++ b/qcom/lahaina.dtsi @@ -4341,6 +4341,11 @@ qcom,lan-rx-napi; qcom,wan-use-skb-page; qcom,rmnet-ctl-enable; + qcom,ipa-uc-holb-monitor; + qcom,ipa-holb-monitor-poll-period = <5>; + qcom,ipa-holb-monitor-max-cnt-wlan = <10>; + qcom,ipa-holb-monitor-max-cnt-usb = <10>; + qcom,ipa-holb-monitor-max-cnt-11ad = <10>; qcom,tx-wrapper-cache-max-size = <400>; clock-names = "core_clk"; clocks = <&clock_rpmh RPMH_IPA_CLK>;