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

Commit cb5f0d53 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: Add static rules to throttle CPU on 8916"

parents dd88ecf0 166c1269
Loading
Loading
Loading
Loading
+43 −1
Original line number Diff line number Diff line
@@ -10,8 +10,44 @@
 * GNU General Public License for more details.
 */

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

&soc {
	ad_hoc_bus: ad-hoc-bus { };

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

		rule0 {
			qcom,src-nodes = <&mas_apss>;
			qcom,src-field = <FLD_IB>;
			qcom,src-op = <OP_LE>;
			qcom,thresh = <1600000>;
			qcom,mode = <THROTTLE_ON>;
			qcom,dest-node = <&mas_apss>;
			qcom,dest-bw = <600000>;
		};


		rule1 {
			qcom,src-nodes = <&mas_apss>;
			qcom,src-field = <FLD_IB>;
			qcom,src-op = <OP_LE>;
			qcom,thresh = <3200000>;
			qcom,mode = <THROTTLE_ON>;
			qcom,dest-node = <&mas_apss>;
			qcom,dest-bw = <1200000>;
		};

		rule2 {
			qcom,src-nodes = <&mas_apss>;
			qcom,src-field = <FLD_IB>;
			qcom,src-op = <OP_GT>;
			qcom,thresh = <3200000>;
			qcom,mode = <THROTTLE_OFF>;
			qcom,dest-node = <&mas_apss>;
		};
	};
};

&ad_hoc_bus {
@@ -339,6 +375,9 @@
		qcom,prio-lvl = <0>;
		qcom,prio-rd = <0>;
		qcom,prio-wr = <0>;
		qcom,ws = <10000>;
		qcom,gp = <5000>;
		qcom,thmp = <50>;
		qom,buswidth = <8>;
	};

@@ -382,6 +421,9 @@
		qcom,prio-rd = <0>;
		qcom,prio-wr = <0>;
		qom,buswidth = <8>;
		qcom,ws = <10000>;
		qcom,gp = <5000>;
		qcom,thmp = <50>;
	};

	bimc_snoc_mas: bimc-snoc-mas {