Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6b9938de authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "ARM: dts: msm: Introduce static limiting rules for msm8992"

parents 5cab75e0 bc92c3ee
Loading
Loading
Loading
Loading
+34 −0
Original line number Diff line number Diff line
@@ -11,6 +11,7 @@
 */

#include <dt-bindings/msm/msm-bus-ids.h>
#include <dt-bindings/msm/msm-bus-rule-ops.h>

&soc {
	ad_hoc_bus: ad-hoc-bus@fc460000 {
@@ -1467,6 +1468,39 @@
		};
	};

	static-rules {
		compatible = "qcom,msm-bus-static-bw-rules";

		rule0 {
			qcom,src-nodes = <&mas_apps_proc>;
			qcom,src-field = <FLD_CLK>;
			qcom,src-op = <OP_LE>;
			qcom,thresh = <250000>;
			qcom,mode = <THROTTLE_ON>;
			qcom,dest-node = <&mas_apps_proc>;
			qcom,dest-bw = <600000>;
		};

		rule1 {
			qcom,src-nodes = <&mas_apps_proc>;
			qcom,src-field = <FLD_CLK>;
			qcom,src-op = <OP_LE>;
			qcom,thresh = <307000>;
			qcom,mode = <THROTTLE_ON>;
			qcom,dest-node = <&mas_apps_proc>;
			qcom,dest-bw = <900000>;
		};

		rule2 {
			qcom,src-nodes = <&mas_apps_proc>;
			qcom,src-field = <FLD_CLK>;
			qcom,src-op = <OP_GT>;
			qcom,thresh = <307000>;
			qcom,mode = <THROTTLE_OFF>;
			qcom,dest-node = <&mas_apps_proc>;
		};
	};

	devfreq_spdm_cpu {
		compatible = "qcom,devfreq_spdm";
		qcom,msm-bus,name = "devfreq_spdm";