devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: neil.armstrong@linaro.org
To: Konrad Dybcio <konradybcio@kernel.org>,
	Bjorn Andersson <andersson@kernel.org>,
	Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>,
	cros-qcom-dts-watchers@chromium.org,
	Sai Prakash Ranjan <quic_saipraka@quicinc.com>
Cc: Marijn Suijten <marijn.suijten@somainline.org>,
	linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org,
	Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Subject: Re: [PATCH 10/10] arm64: dts: qcom: sm8650: Explicitly describe the IPA IMEM slice
Date: Wed, 4 Jun 2025 10:00:23 +0200	[thread overview]
Message-ID: <5af110d8-105b-4bea-9af2-1ed8949daff6@linaro.org> (raw)
In-Reply-To: <20250523-topic-ipa_mem_dts-v1-10-f7aa94fac1ab@oss.qualcomm.com>

On 23/05/2025 01:18, Konrad Dybcio wrote:
> From: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
> 
> As part of stepping away from crazy hardcoding in the driver, move
> define the slice explicitly and pass it to the IPA node.
> 
> Signed-off-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
> ---
>   arch/arm64/boot/dts/qcom/sm8650.dtsi | 16 ++++++++++++++++
>   1 file changed, 16 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/qcom/sm8650.dtsi b/arch/arm64/boot/dts/qcom/sm8650.dtsi
> index 495ea9bfd008500dd2c9f46ceca94cf5f972beca..7b80d281cac4349ffc2adac0650e07329da461aa 100644
> --- a/arch/arm64/boot/dts/qcom/sm8650.dtsi
> +++ b/arch/arm64/boot/dts/qcom/sm8650.dtsi
> @@ -4344,6 +4344,8 @@ &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>,
>   			qcom,smem-state-names = "ipa-clock-enabled-valid",
>   						"ipa-clock-enabled";
>   
> +			sram = <&ipa_modem_tables>;
> +
>   			status = "disabled";
>   		};
>   
> @@ -6637,6 +6639,20 @@ funnel_apss_out_funnel_in1: endpoint {
>   			};
>   		};
>   
> +		sram@14680000 {
> +			compatible = "qcom,sm8350-imem", "syscon", "simple-mfd";
> +			reg = <0 0x14680000 0 0x2c000>;
> +
> +			#address-cells = <1>;
> +			#size-cells = <1>;
> +
> +			ranges = <0 0 0x14680000 0x2c000>;
> +
> +			ipa_modem_tables: modem-tables@8000 {
> +				reg = <0x8000 0x2000>;
> +			};
> +		};
> +
>   		apps_smmu: iommu@15000000 {
>   			compatible = "qcom,sm8650-smmu-500", "qcom,smmu-500", "arm,mmu-500";
>   			reg = <0 0x15000000 0 0x100000>;
> 

Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>

  parent reply	other threads:[~2025-06-04  8:00 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-05-22 23:18 [PATCH 00/10] Grab IPA IMEM slice through DT, part 2 Konrad Dybcio
2025-05-22 23:18 ` [PATCH 01/10] dt-bindings: sram: qcom,imem: Add a number of missing compatibles Konrad Dybcio
2025-05-29  9:28   ` Krzysztof Kozlowski
2025-05-22 23:18 ` [PATCH 02/10] arm64: dts: qcom: sdm845: Expand IMEM region Konrad Dybcio
2025-05-23 10:40   ` Dmitry Baryshkov
2025-05-23 18:12     ` Konrad Dybcio
2025-05-23 18:18       ` Dmitry Baryshkov
2025-05-22 23:18 ` [PATCH 03/10] arm64: dts: qcom: sc7180: " Konrad Dybcio
2025-05-23 18:18   ` Dmitry Baryshkov
2025-05-22 23:18 ` [PATCH 04/10] arm64: dts: qcom: sc7180: Explicitly describe the IPA IMEM slice Konrad Dybcio
2025-05-23 17:28   ` Dmitry Baryshkov
2025-09-01 16:40   ` Bjorn Andersson
2025-05-22 23:18 ` [PATCH 05/10] arm64: dts: qcom: sc7280: " Konrad Dybcio
2025-05-23 17:29   ` Dmitry Baryshkov
2025-05-23 17:33   ` Dmitry Baryshkov
2025-05-22 23:18 ` [PATCH 06/10] arm64: dts: qcom: sdm845: " Konrad Dybcio
2025-05-23 17:34   ` Dmitry Baryshkov
2025-05-22 23:18 ` [PATCH 07/10] arm64: dts: qcom: sm6350: " Konrad Dybcio
2025-05-23 17:34   ` Dmitry Baryshkov
2025-05-22 23:18 ` [PATCH 08/10] arm64: dts: qcom: sm8350: " Konrad Dybcio
2025-05-23 17:34   ` Dmitry Baryshkov
2025-05-22 23:18 ` [PATCH 09/10] arm64: dts: qcom: sm8550: " Konrad Dybcio
2025-05-23 17:36   ` Dmitry Baryshkov
2025-06-04  8:00   ` neil.armstrong
2025-05-22 23:18 ` [PATCH 10/10] arm64: dts: qcom: sm8650: " Konrad Dybcio
2025-05-23 17:37   ` Dmitry Baryshkov
2025-06-04  8:00   ` neil.armstrong [this message]
2025-05-23  5:51 ` [PATCH 00/10] Grab IPA IMEM slice through DT, part 2 Dmitry Baryshkov
2025-06-18  4:09 ` Bjorn Andersson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5af110d8-105b-4bea-9af2-1ed8949daff6@linaro.org \
    --to=neil.armstrong@linaro.org \
    --cc=andersson@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=cros-qcom-dts-watchers@chromium.org \
    --cc=devicetree@vger.kernel.org \
    --cc=konrad.dybcio@oss.qualcomm.com \
    --cc=konradybcio@kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=marijn.suijten@somainline.org \
    --cc=quic_saipraka@quicinc.com \
    --cc=robh@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).