All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] arm64: dts: qcom: eliza: Add CPU and LLCC BWMONs
@ 2026-07-08 12:29 Abel Vesa
  2026-07-08 13:22 ` Dmitry Baryshkov
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Abel Vesa @ 2026-07-08 12:29 UTC (permalink / raw)
  To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley
  Cc: linux-arm-msm, devicetree, linux-kernel, Abel Vesa

Describe the CPU and LLCC bandwidth monitor nodes for Eliza, together
with the corresponding OPP tables.

Signed-off-by: Abel Vesa <abel.vesa@oss.qualcomm.com>
---
The bindings are updated here:
https://lore.kernel.org/all/20260708-bindings-llcc-bwmon-eliza-v1-1-3c7dbcbae87a@oss.qualcomm.com/
---
 arch/arm64/boot/dts/qcom/eliza.dtsi | 96 +++++++++++++++++++++++++++++++++++++
 1 file changed, 96 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/eliza.dtsi b/arch/arm64/boot/dts/qcom/eliza.dtsi
index 977de44b816e..ff9f2973a5ea 100644
--- a/arch/arm64/boot/dts/qcom/eliza.dtsi
+++ b/arch/arm64/boot/dts/qcom/eliza.dtsi
@@ -3616,6 +3616,102 @@ cpufreq_hw: cpufreq@17d91000 {
 			#clock-cells = <1>;
 		};
 
+		pmu@24091000 {
+			compatible = "qcom,eliza-llcc-bwmon", "qcom,sc7280-llcc-bwmon";
+			reg = <0x0 0x24091000 0x0 0x1000>;
+
+			interrupts = <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH>;
+
+			interconnects = <&mc_virt MASTER_LLCC QCOM_ICC_TAG_ACTIVE_ONLY
+					 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ACTIVE_ONLY>;
+
+			operating-points-v2 = <&llcc_bwmon_opp_table>;
+
+			llcc_bwmon_opp_table: opp-table {
+				compatible = "operating-points-v2";
+
+				opp-0 {
+					opp-peak-kBps = <2188800>;
+				};
+
+				opp-1 {
+					opp-peak-kBps = <5414400>;
+				};
+
+				opp-2 {
+					opp-peak-kBps = <6220800>;
+				};
+
+				opp-3 {
+					opp-peak-kBps = <6835200>;
+				};
+
+				opp-4 {
+					opp-peak-kBps = <8371200>;
+				};
+
+				opp-5 {
+					opp-peak-kBps = <10944000>;
+				};
+
+				opp-6 {
+					opp-peak-kBps = <12748800>;
+				};
+
+				opp-7 {
+					opp-peak-kBps = <14745600>;
+				};
+
+				opp-8 {
+					opp-peak-kBps = <16896000>;
+				};
+			};
+		};
+
+		pmu@240b7400 {
+			compatible = "qcom,eliza-cpu-bwmon", "qcom,sdm845-bwmon";
+			reg = <0x0 0x240b7400 0x0 0x600>;
+
+			interrupts = <GIC_SPI 581 IRQ_TYPE_LEVEL_HIGH>;
+
+			interconnects = <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ACTIVE_ONLY
+					 &gem_noc SLAVE_LLCC QCOM_ICC_TAG_ACTIVE_ONLY>;
+
+			operating-points-v2 = <&cpu_bwmon_opp_table>;
+
+			cpu_bwmon_opp_table: opp-table {
+				compatible = "operating-points-v2";
+
+				opp-0 {
+					opp-peak-kBps = <307200>;
+				};
+
+				opp-1 {
+					opp-peak-kBps = <5600000>;
+				};
+
+				opp-2 {
+					opp-peak-kBps = <8528000>;
+				};
+
+				opp-3 {
+					opp-peak-kBps = <11120000>;
+				};
+
+				opp-4 {
+					opp-peak-kBps = <14000000>;
+				};
+
+				opp-5 {
+					opp-peak-kBps = <14928000>;
+				};
+
+				opp-6 {
+					opp-peak-kBps = <17056000>;
+				};
+			};
+		};
+
 		gem_noc: interconnect@24100000 {
 			compatible = "qcom,eliza-gem-noc";
 			reg = <0x0 0x24100000 0x0 0x163080>;

---
base-commit: 5c73cd9f0819c1c44e373e3dabb68318b1de1a12
change-id: 20260708-dts-qcom-eliza-add-bwmon-f1228925caa4

Best regards,
--  
Abel Vesa <abel.vesa@oss.qualcomm.com>


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [PATCH] arm64: dts: qcom: eliza: Add CPU and LLCC BWMONs
  2026-07-08 12:29 [PATCH] arm64: dts: qcom: eliza: Add CPU and LLCC BWMONs Abel Vesa
@ 2026-07-08 13:22 ` Dmitry Baryshkov
  2026-07-08 13:41 ` Konrad Dybcio
  2026-07-09 19:32 ` Bjorn Andersson
  2 siblings, 0 replies; 6+ messages in thread
From: Dmitry Baryshkov @ 2026-07-08 13:22 UTC (permalink / raw)
  To: Abel Vesa
  Cc: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, linux-arm-msm, devicetree, linux-kernel

On Wed, Jul 08, 2026 at 03:29:23PM +0300, Abel Vesa wrote:
> Describe the CPU and LLCC bandwidth monitor nodes for Eliza, together
> with the corresponding OPP tables.
> 
> Signed-off-by: Abel Vesa <abel.vesa@oss.qualcomm.com>
> ---
> The bindings are updated here:
> https://lore.kernel.org/all/20260708-bindings-llcc-bwmon-eliza-v1-1-3c7dbcbae87a@oss.qualcomm.com/
> ---
>  arch/arm64/boot/dts/qcom/eliza.dtsi | 96 +++++++++++++++++++++++++++++++++++++
>  1 file changed, 96 insertions(+)
> 

Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>


-- 
With best wishes
Dmitry

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] arm64: dts: qcom: eliza: Add CPU and LLCC BWMONs
  2026-07-08 12:29 [PATCH] arm64: dts: qcom: eliza: Add CPU and LLCC BWMONs Abel Vesa
  2026-07-08 13:22 ` Dmitry Baryshkov
@ 2026-07-08 13:41 ` Konrad Dybcio
  2026-07-09 19:32 ` Bjorn Andersson
  2 siblings, 0 replies; 6+ messages in thread
From: Konrad Dybcio @ 2026-07-08 13:41 UTC (permalink / raw)
  To: Abel Vesa, Bjorn Andersson, Konrad Dybcio, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley
  Cc: linux-arm-msm, devicetree, linux-kernel

On 7/8/26 2:29 PM, Abel Vesa wrote:
> Describe the CPU and LLCC bandwidth monitor nodes for Eliza, together
> with the corresponding OPP tables.
> 
> Signed-off-by: Abel Vesa <abel.vesa@oss.qualcomm.com>
> ---

Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>

Konrad

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] arm64: dts: qcom: eliza: Add CPU and LLCC BWMONs
  2026-07-08 12:29 [PATCH] arm64: dts: qcom: eliza: Add CPU and LLCC BWMONs Abel Vesa
  2026-07-08 13:22 ` Dmitry Baryshkov
  2026-07-08 13:41 ` Konrad Dybcio
@ 2026-07-09 19:32 ` Bjorn Andersson
  2026-07-14 22:18   ` Rob Herring
  2 siblings, 1 reply; 6+ messages in thread
From: Bjorn Andersson @ 2026-07-09 19:32 UTC (permalink / raw)
  To: Konrad Dybcio, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Abel Vesa
  Cc: linux-arm-msm, devicetree, linux-kernel


On Wed, 08 Jul 2026 15:29:23 +0300, Abel Vesa wrote:
> Describe the CPU and LLCC bandwidth monitor nodes for Eliza, together
> with the corresponding OPP tables.
> 
> 

Applied, thanks!

[1/1] arm64: dts: qcom: eliza: Add CPU and LLCC BWMONs
      commit: 4e967cad02bce8983c4e826cd13ef0e730692832

Best regards,
-- 
Bjorn Andersson <andersson@kernel.org>

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] arm64: dts: qcom: eliza: Add CPU and LLCC BWMONs
  2026-07-09 19:32 ` Bjorn Andersson
@ 2026-07-14 22:18   ` Rob Herring
  2026-07-15 17:16     ` Bjorn Andersson
  0 siblings, 1 reply; 6+ messages in thread
From: Rob Herring @ 2026-07-14 22:18 UTC (permalink / raw)
  To: Bjorn Andersson
  Cc: Konrad Dybcio, Krzysztof Kozlowski, Conor Dooley, Abel Vesa,
	linux-arm-msm, devicetree, linux-kernel

On Thu, Jul 9, 2026 at 2:32 PM Bjorn Andersson <andersson@kernel.org> wrote:
>
>
> On Wed, 08 Jul 2026 15:29:23 +0300, Abel Vesa wrote:
> > Describe the CPU and LLCC bandwidth monitor nodes for Eliza, together
> > with the corresponding OPP tables.
> >
> >
>
> Applied, thanks!
>
> [1/1] arm64: dts: qcom: eliza: Add CPU and LLCC BWMONs
>       commit: 4e967cad02bce8983c4e826cd13ef0e730692832

Either wait for the binding to be applied or apply the binding with
this if it is a binding only change with no driver changes so that we
can have fewer intermittent warnings. It didn't help that it was not a
series.

I'm applying the binding.

Rob

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] arm64: dts: qcom: eliza: Add CPU and LLCC BWMONs
  2026-07-14 22:18   ` Rob Herring
@ 2026-07-15 17:16     ` Bjorn Andersson
  0 siblings, 0 replies; 6+ messages in thread
From: Bjorn Andersson @ 2026-07-15 17:16 UTC (permalink / raw)
  To: Rob Herring
  Cc: Konrad Dybcio, Krzysztof Kozlowski, Conor Dooley, Abel Vesa,
	linux-arm-msm, devicetree, linux-kernel

On Tue, Jul 14, 2026 at 05:18:28PM -0500, Rob Herring wrote:
> On Thu, Jul 9, 2026 at 2:32 PM Bjorn Andersson <andersson@kernel.org> wrote:
> >
> >
> > On Wed, 08 Jul 2026 15:29:23 +0300, Abel Vesa wrote:
> > > Describe the CPU and LLCC bandwidth monitor nodes for Eliza, together
> > > with the corresponding OPP tables.
> > >
> > >
> >
> > Applied, thanks!
> >
> > [1/1] arm64: dts: qcom: eliza: Add CPU and LLCC BWMONs
> >       commit: 4e967cad02bce8983c4e826cd13ef0e730692832
> 
> Either wait for the binding to be applied or apply the binding with
> this if it is a binding only change with no driver changes so that we
> can have fewer intermittent warnings.

My bad, I always dtbs_check against the linux-next processed-schema
before pushing out. I'm trying to figure out why that didn't catch this
and the missing Shikra bindings :(

> It didn't help that it was not a series.
> 

That would have been helpful...

> I'm applying the binding.
> 

Thank you!

Regards,
Bjorn

> Rob

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2026-07-15 17:16 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-08 12:29 [PATCH] arm64: dts: qcom: eliza: Add CPU and LLCC BWMONs Abel Vesa
2026-07-08 13:22 ` Dmitry Baryshkov
2026-07-08 13:41 ` Konrad Dybcio
2026-07-09 19:32 ` Bjorn Andersson
2026-07-14 22:18   ` Rob Herring
2026-07-15 17:16     ` Bjorn Andersson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.