From 3fd626f9273ab1f24e81bc4b8088e479317bad36 Mon Sep 17 00:00:00 2001 From: Odelu Kukatla Date: Mon, 10 Aug 2020 23:21:22 +0530 Subject: [PATCH 1/2] dt-bindings: interconnect: update interconnect bindings Update the interconnect device bindings. These devices can be used to describe any RPM and NoC based interconnect devices. Change-Id: Icbeefc5dcbe0b1f8d0db8d429c7db3a4da20b71c --- bindings/interconnect/qcom,holi.txt | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/bindings/interconnect/qcom,holi.txt b/bindings/interconnect/qcom,holi.txt index fd3e2dc116d8..262c285a12f0 100644 --- a/bindings/interconnect/qcom,holi.txt +++ b/bindings/interconnect/qcom,holi.txt @@ -15,6 +15,12 @@ reg : specifies the physical base address and size of registers clocks : list of phandles and specifiers to all interconnect bus clocks clock-names : clock names should include both "bus" and "bus_a" +The following are optional properties: + +qcom,util-factor : Parameter that represents the DDR utilization factor + to be used in aggregation scheme. It is represented as + actual util-factor * 100. + Examples: soc { @@ -22,6 +28,7 @@ soc { system_noc: interconnect@1880000 { reg = <0x1880000 0x5f080>; compatible = "qcom,holi-system_noc"; + qcom,util-factor = <142>; #interconnect-cells = <1>; clock-names = "bus", "bus_a"; clocks = <&rpmcc RPM_SMD_SNOC_CLK>, From 294896609493f97a3f51a06e5c86964d83e433de Mon Sep 17 00:00:00 2001 From: Odelu Kukatla Date: Mon, 10 Aug 2020 23:27:03 +0530 Subject: [PATCH 2/2] ARM: dts: msm: Add utility factor for Holi Utility factor needs to be applied for aggregated bandwidth so as to run the bus clock at required frequency. Change-Id: Ia7c4369203b1ebb1db4f3ee3d5ce7a01bada45ce --- qcom/holi.dtsi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/qcom/holi.dtsi b/qcom/holi.dtsi index abc5b1fd17df..6a95d4316ce8 100644 --- a/qcom/holi.dtsi +++ b/qcom/holi.dtsi @@ -960,6 +960,7 @@ reg = <0x01899000 0x6000>; compatible = "qcom,holi-mmnrt_virt"; #interconnect-cells = <1>; + qcom,util-factor = <142>; clock-names = "bus", "bus_a"; clocks = <&rpmcc RPM_SMD_MMNRT_CLK>, <&rpmcc RPM_SMD_MMNRT_A_CLK>; @@ -969,6 +970,7 @@ reg = <0x0189f000 0x1000>; compatible = "qcom,holi-mmrt_virt"; #interconnect-cells = <1>; + qcom,util-factor = <142>; clock-names = "bus", "bus_a"; clocks = <&rpmcc RPM_SMD_MMRT_CLK>, <&rpmcc RPM_SMD_MMRT_A_CLK>; @@ -987,6 +989,7 @@ reg = <0x04480000 0x80000>; compatible = "qcom,holi-bimc"; #interconnect-cells = <1>; + qcom,util-factor = <151>; clock-names = "bus", "bus_a"; clocks = <&rpmcc RPM_SMD_BIMC_CLK>, <&rpmcc RPM_SMD_BIMC_A_CLK>;