From 5f06aec02f99b7e016e1bdef9d843c3ecba8d0af Mon Sep 17 00:00:00 2001 From: Amir Vajid Date: Sat, 5 Jan 2019 12:51:40 -0800 Subject: [PATCH] dt-bindings: devfreq: Add DT bindings to configure byte MID match This patch adds DT bindings for configuring the byte MID Match in BWMON driver. Change-Id: Ie39df60c96bb79d36d2638b810755356ff57dd09 --- bindings/devfreq/bimc-bwmon.txt | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/bindings/devfreq/bimc-bwmon.txt b/bindings/devfreq/bimc-bwmon.txt index f21260767f7b..6ab47ea27855 100644 --- a/bindings/devfreq/bimc-bwmon.txt +++ b/bindings/devfreq/bimc-bwmon.txt @@ -17,6 +17,10 @@ Required properties: - qcom,target-dev: The DT device that corresponds to this master port - qcom,hw-timer-hz: Hardware sampling rate in Hz. This field must be specified for "qcom,bimc-bwmon4" +Optional properties: +- qcom,byte-mid-match: Byte count MID match value +- qcom,byte-mid-mask: Byte count MID mask value + Example: qcom,cpu-bwmon { compatible = "qcom,bimc-bwmon"; @@ -26,4 +30,7 @@ Example: qcom,mport = <0>; qcom,target-dev = <&cpubw>; qcom,hw-timer-hz = <19200000>; + qcom,byte-mid-match = <0x1e00>; + qcom,byte-mid-mask = <0x1e00>; + };