linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] arm64: dts: qcom: qdu1000: add IMEM
@ 2023-05-22 15:12 Komal Bajaj
  2023-05-22 15:12 ` [PATCH 1/2] dt-bindings: sram: qcom,imem: document qdu1000 Komal Bajaj
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Komal Bajaj @ 2023-05-22 15:12 UTC (permalink / raw)
  To: Andy Gross, Bjorn Andersson, Konrad Dybcio, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley
  Cc: Komal Bajaj, linux-arm-msm, devicetree, linux-kernel

Add IMEM on QDU1000 and QRU1000 SoCs.

Komal Bajaj (2):
  dt-bindings: sram: qcom,imem: document qdu1000
  arm64: dts: qcom: qdu1000: Add IMEM and PIL info region

 .../devicetree/bindings/sram/qcom,imem.yaml         |  1 +
 arch/arm64/boot/dts/qcom/qdu1000.dtsi               | 13 +++++++++++++
 2 files changed, 14 insertions(+)

-- 
2.17.1


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

* [PATCH 1/2] dt-bindings: sram: qcom,imem: document qdu1000
  2023-05-22 15:12 [PATCH 0/2] arm64: dts: qcom: qdu1000: add IMEM Komal Bajaj
@ 2023-05-22 15:12 ` Komal Bajaj
  2023-05-22 17:29   ` Conor Dooley
  2023-05-22 15:12 ` [PATCH 2/2] arm64: dts: qcom: qdu1000: Add IMEM and PIL info region Komal Bajaj
  2023-06-13 22:30 ` (subset) [PATCH 0/2] arm64: dts: qcom: qdu1000: add IMEM Bjorn Andersson
  2 siblings, 1 reply; 6+ messages in thread
From: Komal Bajaj @ 2023-05-22 15:12 UTC (permalink / raw)
  To: Andy Gross, Bjorn Andersson, Konrad Dybcio, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley
  Cc: Komal Bajaj, linux-arm-msm, devicetree, linux-kernel

Add compatible for QDU1000 and QRU1000 SoCs IMEM.

Signed-off-by: Komal Bajaj <quic_kbajaj@quicinc.com>
---
 Documentation/devicetree/bindings/sram/qcom,imem.yaml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Documentation/devicetree/bindings/sram/qcom,imem.yaml b/Documentation/devicetree/bindings/sram/qcom,imem.yaml
index 0548e8e0d30b..ecfaae4b132f 100644
--- a/Documentation/devicetree/bindings/sram/qcom,imem.yaml
+++ b/Documentation/devicetree/bindings/sram/qcom,imem.yaml
@@ -20,6 +20,7 @@ properties:
           - qcom,apq8064-imem
           - qcom,msm8974-imem
           - qcom,qcs404-imem
+          - qcom,qdu1000-imem
           - qcom,sc7180-imem
           - qcom,sc7280-imem
           - qcom,sdm630-imem
--
2.17.1


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

* [PATCH 2/2] arm64: dts: qcom: qdu1000: Add IMEM and PIL info region
  2023-05-22 15:12 [PATCH 0/2] arm64: dts: qcom: qdu1000: add IMEM Komal Bajaj
  2023-05-22 15:12 ` [PATCH 1/2] dt-bindings: sram: qcom,imem: document qdu1000 Komal Bajaj
@ 2023-05-22 15:12 ` Komal Bajaj
  2023-05-22 16:41   ` Konrad Dybcio
  2023-06-13 22:30 ` (subset) [PATCH 0/2] arm64: dts: qcom: qdu1000: add IMEM Bjorn Andersson
  2 siblings, 1 reply; 6+ messages in thread
From: Komal Bajaj @ 2023-05-22 15:12 UTC (permalink / raw)
  To: Andy Gross, Bjorn Andersson, Konrad Dybcio, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley
  Cc: Komal Bajaj, linux-arm-msm, devicetree, linux-kernel

Add a simple-mfd representing IMEM on QDU1000 and define the PIL
relocation info region, so that post mortem tools will be able
to locate the loaded remoteprocs.

Signed-off-by: Komal Bajaj <quic_kbajaj@quicinc.com>
---
 arch/arm64/boot/dts/qcom/qdu1000.dtsi | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/qdu1000.dtsi b/arch/arm64/boot/dts/qcom/qdu1000.dtsi
index 734438113bba..4b52bebdbeeb 100644
--- a/arch/arm64/boot/dts/qcom/qdu1000.dtsi
+++ b/arch/arm64/boot/dts/qcom/qdu1000.dtsi
@@ -1102,6 +1102,19 @@
 			};
 		};

+		sram@14680000 {
+			compatible = "qcom,qdu1000-imem", "syscon", "simple-mfd";
+			reg = <0 0x14680000 0 0x1000>;
+			ranges = <0 0 0x14680000 0x1000>;
+			#address-cells = <1>;
+			#size-cells = <1>;
+
+			pil-reloc@94c {
+				compatible = "qcom,pil-reloc-info";
+				reg = <0x94c 0xc8>;
+			};
+		};
+
 		apps_smmu: iommu@15000000 {
 			compatible = "qcom,qdu1000-smmu-500", "arm,mmu-500";
 			reg = <0x0 0x15000000 0x0 0x100000>;
--
2.17.1


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

* Re: [PATCH 2/2] arm64: dts: qcom: qdu1000: Add IMEM and PIL info region
  2023-05-22 15:12 ` [PATCH 2/2] arm64: dts: qcom: qdu1000: Add IMEM and PIL info region Komal Bajaj
@ 2023-05-22 16:41   ` Konrad Dybcio
  0 siblings, 0 replies; 6+ messages in thread
From: Konrad Dybcio @ 2023-05-22 16:41 UTC (permalink / raw)
  To: Komal Bajaj, Andy Gross, Bjorn Andersson, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley
  Cc: linux-arm-msm, devicetree, linux-kernel



On 22.05.2023 17:12, Komal Bajaj wrote:
> Add a simple-mfd representing IMEM on QDU1000 and define the PIL
> relocation info region, so that post mortem tools will be able
> to locate the loaded remoteprocs.
> 
> Signed-off-by: Komal Bajaj <quic_kbajaj@quicinc.com>
> ---
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>

Konrad
>  arch/arm64/boot/dts/qcom/qdu1000.dtsi | 13 +++++++++++++
>  1 file changed, 13 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/qcom/qdu1000.dtsi b/arch/arm64/boot/dts/qcom/qdu1000.dtsi
> index 734438113bba..4b52bebdbeeb 100644
> --- a/arch/arm64/boot/dts/qcom/qdu1000.dtsi
> +++ b/arch/arm64/boot/dts/qcom/qdu1000.dtsi
> @@ -1102,6 +1102,19 @@
>  			};
>  		};
> 
> +		sram@14680000 {
> +			compatible = "qcom,qdu1000-imem", "syscon", "simple-mfd";
> +			reg = <0 0x14680000 0 0x1000>;
> +			ranges = <0 0 0x14680000 0x1000>;
> +			#address-cells = <1>;
> +			#size-cells = <1>;
> +
> +			pil-reloc@94c {
> +				compatible = "qcom,pil-reloc-info";
> +				reg = <0x94c 0xc8>;
> +			};
> +		};
> +
>  		apps_smmu: iommu@15000000 {
>  			compatible = "qcom,qdu1000-smmu-500", "arm,mmu-500";
>  			reg = <0x0 0x15000000 0x0 0x100000>;
> --
> 2.17.1
> 

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

* Re: [PATCH 1/2] dt-bindings: sram: qcom,imem: document qdu1000
  2023-05-22 15:12 ` [PATCH 1/2] dt-bindings: sram: qcom,imem: document qdu1000 Komal Bajaj
@ 2023-05-22 17:29   ` Conor Dooley
  0 siblings, 0 replies; 6+ messages in thread
From: Conor Dooley @ 2023-05-22 17:29 UTC (permalink / raw)
  To: Komal Bajaj
  Cc: Andy Gross, Bjorn Andersson, Konrad Dybcio, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, linux-arm-msm, devicetree,
	linux-kernel

[-- Attachment #1: Type: text/plain, Size: 249 bytes --]

On Mon, May 22, 2023 at 08:42:05PM +0530, Komal Bajaj wrote:
> Add compatible for QDU1000 and QRU1000 SoCs IMEM.
> 
> Signed-off-by: Komal Bajaj <quic_kbajaj@quicinc.com>

Acked-by: Conor Dooley <conor.dooley@microchip.com>

Thanks,
Conor.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

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

* Re: (subset) [PATCH 0/2] arm64: dts: qcom: qdu1000: add IMEM
  2023-05-22 15:12 [PATCH 0/2] arm64: dts: qcom: qdu1000: add IMEM Komal Bajaj
  2023-05-22 15:12 ` [PATCH 1/2] dt-bindings: sram: qcom,imem: document qdu1000 Komal Bajaj
  2023-05-22 15:12 ` [PATCH 2/2] arm64: dts: qcom: qdu1000: Add IMEM and PIL info region Komal Bajaj
@ 2023-06-13 22:30 ` Bjorn Andersson
  2 siblings, 0 replies; 6+ messages in thread
From: Bjorn Andersson @ 2023-06-13 22:30 UTC (permalink / raw)
  To: Rob Herring, Andy Gross, Conor Dooley, Krzysztof Kozlowski,
	Konrad Dybcio, Komal Bajaj
  Cc: devicetree, linux-arm-msm, linux-kernel

On Mon, 22 May 2023 20:42:04 +0530, Komal Bajaj wrote:
> Add IMEM on QDU1000 and QRU1000 SoCs.
> 
> Komal Bajaj (2):
>   dt-bindings: sram: qcom,imem: document qdu1000
>   arm64: dts: qcom: qdu1000: Add IMEM and PIL info region
> 
> .../devicetree/bindings/sram/qcom,imem.yaml         |  1 +
>  arch/arm64/boot/dts/qcom/qdu1000.dtsi               | 13 +++++++++++++
>  2 files changed, 14 insertions(+)
> 
> [...]

Applied, thanks!

[2/2] arm64: dts: qcom: qdu1000: Add IMEM and PIL info region
      commit: 21c9c7af1b37f3b38960f6abaf1b0b43f9db2467

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

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

end of thread, other threads:[~2023-06-13 22:29 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-22 15:12 [PATCH 0/2] arm64: dts: qcom: qdu1000: add IMEM Komal Bajaj
2023-05-22 15:12 ` [PATCH 1/2] dt-bindings: sram: qcom,imem: document qdu1000 Komal Bajaj
2023-05-22 17:29   ` Conor Dooley
2023-05-22 15:12 ` [PATCH 2/2] arm64: dts: qcom: qdu1000: Add IMEM and PIL info region Komal Bajaj
2023-05-22 16:41   ` Konrad Dybcio
2023-06-13 22:30 ` (subset) [PATCH 0/2] arm64: dts: qcom: qdu1000: add IMEM Bjorn Andersson

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).