Message ID | 20230922003533.107835-2-matti.lehtimaki@gmail.com (mailing list archive) |
---|---|
State | Accepted |
Commit | bd837be0ff3879209df6fb85cf9e22fd1ba7f79b |
Headers | show |
Series | Add rpm-master-stats nodes for MSM8226 and MSM8974 | expand |
On Freitag, 22. September 2023 02:35:32 CEST Matti Lehtimäki wrote: > Add rpm-master-stats node for MSM8226 and the required RPM MSG RAM > slices for memory access. > > Signed-off-by: Matti Lehtimäki <matti.lehtimaki@gmail.com> Makes sense from what I can see in msm-3.10 msm8226-v2-pm.dtsi and the driver code. Reviewed-by: Luca Weiss <luca@z3ntu.xyz> > --- > arch/arm/boot/dts/qcom/qcom-msm8226.dtsi | 32 ++++++++++++++++++++++++ > 1 file changed, 32 insertions(+) > > diff --git a/arch/arm/boot/dts/qcom/qcom-msm8226.dtsi > b/arch/arm/boot/dts/qcom/qcom-msm8226.dtsi index 44f3f0127fd7..98cc5ea637e1 > 100644 > --- a/arch/arm/boot/dts/qcom/qcom-msm8226.dtsi > +++ b/arch/arm/boot/dts/qcom/qcom-msm8226.dtsi > @@ -56,6 +56,18 @@ pmu { > rpm: remoteproc { > compatible = "qcom,msm8226-rpm-proc", "qcom,rpm-proc"; > > + master-stats { > + compatible = "qcom,rpm-master-stats"; > + qcom,rpm-msg-ram = <&apss_master_stats>, > + <&mpss_master_stats>, > + <&lpss_master_stats>, > + <&pronto_master_stats>; > + qcom,master-names = "APSS", > + "MPSS", > + "LPSS", > + "PRONTO"; > + }; > + > smd-edge { > interrupts = <GIC_SPI 168 IRQ_TYPE_EDGE_RISING>; > qcom,ipc = <&apcs 8 0>; > @@ -742,6 +754,26 @@ sram@fc190000 { > rpm_msg_ram: sram@fc428000 { > compatible = "qcom,rpm-msg-ram"; > reg = <0xfc428000 0x4000>; > + > + #address-cells = <1>; > + #size-cells = <1>; > + ranges = <0 0xfc428000 0x4000>; > + > + apss_master_stats: sram@150 { > + reg = <0x150 0x14>; > + }; > + > + mpss_master_stats: sram@b50 { > + reg = <0xb50 0x14>; > + }; > + > + lpss_master_stats: sram@1550 { > + reg = <0x1550 0x14>; > + }; > + > + pronto_master_stats: sram@1f50 { > + reg = <0x1f50 0x14>; > + }; > }; > > tcsr_mutex: hwlock@fd484000 {
diff --git a/arch/arm/boot/dts/qcom/qcom-msm8226.dtsi b/arch/arm/boot/dts/qcom/qcom-msm8226.dtsi index 44f3f0127fd7..98cc5ea637e1 100644 --- a/arch/arm/boot/dts/qcom/qcom-msm8226.dtsi +++ b/arch/arm/boot/dts/qcom/qcom-msm8226.dtsi @@ -56,6 +56,18 @@ pmu { rpm: remoteproc { compatible = "qcom,msm8226-rpm-proc", "qcom,rpm-proc"; + master-stats { + compatible = "qcom,rpm-master-stats"; + qcom,rpm-msg-ram = <&apss_master_stats>, + <&mpss_master_stats>, + <&lpss_master_stats>, + <&pronto_master_stats>; + qcom,master-names = "APSS", + "MPSS", + "LPSS", + "PRONTO"; + }; + smd-edge { interrupts = <GIC_SPI 168 IRQ_TYPE_EDGE_RISING>; qcom,ipc = <&apcs 8 0>; @@ -742,6 +754,26 @@ sram@fc190000 { rpm_msg_ram: sram@fc428000 { compatible = "qcom,rpm-msg-ram"; reg = <0xfc428000 0x4000>; + + #address-cells = <1>; + #size-cells = <1>; + ranges = <0 0xfc428000 0x4000>; + + apss_master_stats: sram@150 { + reg = <0x150 0x14>; + }; + + mpss_master_stats: sram@b50 { + reg = <0xb50 0x14>; + }; + + lpss_master_stats: sram@1550 { + reg = <0x1550 0x14>; + }; + + pronto_master_stats: sram@1f50 { + reg = <0x1f50 0x14>; + }; }; tcsr_mutex: hwlock@fd484000 {
Add rpm-master-stats node for MSM8226 and the required RPM MSG RAM slices for memory access. Signed-off-by: Matti Lehtimäki <matti.lehtimaki@gmail.com> --- arch/arm/boot/dts/qcom/qcom-msm8226.dtsi | 32 ++++++++++++++++++++++++ 1 file changed, 32 insertions(+)