Linux ARM-MSM sub-architecture
 help / color / mirror / Atom feed
* [PATCH v2 0/2] arm64: dts: qcom: qdu1000: Update reserved memory region
@ 2023-07-05 11:06 Komal Bajaj
  2023-07-05 11:06 ` [PATCH v2 1/2] arm64: dts: qcom: qdu1000-idp: " Komal Bajaj
  2023-07-05 11:06 ` [PATCH v2 2/2] arm64: dts: qcom: qru1000-idp: " Komal Bajaj
  0 siblings, 2 replies; 6+ messages in thread
From: Komal Bajaj @ 2023-07-05 11:06 UTC (permalink / raw)
  To: agross, andersson, konrad.dybcio, robh+dt, krzysztof.kozlowski+dt,
	conor+dt
  Cc: linux-arm-msm, devicetree, linux-kernel, Komal Bajaj

Update reserved memory region for QDU1000 and QRU1000 SoCs.

Changes in v2:
 - Changed the node name.
 - Dropped unnecessary properties.

Komal Bajaj (2):
  arm64: dts: qcom: qdu1000-idp: Update reserved memory region
  arm64: dts: qcom: qru1000-idp: Update reserved memory region

 arch/arm64/boot/dts/qcom/qdu1000-idp.dts | 22 ++++++++++++++++++++++
 arch/arm64/boot/dts/qcom/qru1000-idp.dts | 12 ++++++++++++
 2 files changed, 34 insertions(+)

-- 
2.40.1


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

* [PATCH v2 1/2] arm64: dts: qcom: qdu1000-idp: Update reserved memory region
  2023-07-05 11:06 [PATCH v2 0/2] arm64: dts: qcom: qdu1000: Update reserved memory region Komal Bajaj
@ 2023-07-05 11:06 ` Komal Bajaj
  2023-07-05 14:21   ` Krzysztof Kozlowski
  2023-07-05 11:06 ` [PATCH v2 2/2] arm64: dts: qcom: qru1000-idp: " Komal Bajaj
  1 sibling, 1 reply; 6+ messages in thread
From: Komal Bajaj @ 2023-07-05 11:06 UTC (permalink / raw)
  To: agross, andersson, konrad.dybcio, robh+dt, krzysztof.kozlowski+dt,
	conor+dt
  Cc: linux-arm-msm, devicetree, linux-kernel, Komal Bajaj

Add missing reserved regions as described in QDU1000 memory map.

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

diff --git a/arch/arm64/boot/dts/qcom/qdu1000-idp.dts b/arch/arm64/boot/dts/qcom/qdu1000-idp.dts
index 1d22f87fd238..47e5e31dde23 100644
--- a/arch/arm64/boot/dts/qcom/qdu1000-idp.dts
+++ b/arch/arm64/boot/dts/qcom/qdu1000-idp.dts
@@ -448,6 +448,28 @@ &qupv3_id_0 {
 	status = "okay";
 };

+&reserved_memory{
+	ecc_meta_data_mem: memory@e0000000{
+		reg = <0x0 0xe0000000 0x0 0x20000000>;
+		no-map;
+	};
+
+	harq_buffer_mem: memory@800000000{
+		reg = <0x8 0x0 0x0 0x80000000>;
+		no-map;
+	};
+
+	tenx_sp_buffer_mem: memory@880000000{
+		reg = <0x8 0x80000000 0x0 0x50000000>;
+		no-map;
+	};
+
+	fapi_buffer_mem: memory@8d0000000{
+		reg = <0x8 0xd0000000 0x0 0x20000000>;
+		no-map;
+	};
+};
+
 &sdhc {
 	pinctrl-0 = <&sdc_on_state>;
 	pinctrl-1 = <&sdc_off_state>;
--
2.40.1


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

* [PATCH v2 2/2] arm64: dts: qcom: qru1000-idp: Update reserved memory region
  2023-07-05 11:06 [PATCH v2 0/2] arm64: dts: qcom: qdu1000: Update reserved memory region Komal Bajaj
  2023-07-05 11:06 ` [PATCH v2 1/2] arm64: dts: qcom: qdu1000-idp: " Komal Bajaj
@ 2023-07-05 11:06 ` Komal Bajaj
  1 sibling, 0 replies; 6+ messages in thread
From: Komal Bajaj @ 2023-07-05 11:06 UTC (permalink / raw)
  To: agross, andersson, konrad.dybcio, robh+dt, krzysztof.kozlowski+dt,
	conor+dt
  Cc: linux-arm-msm, devicetree, linux-kernel, Komal Bajaj

Add missing reserved regions as described in QRU1000 memory map.

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

diff --git a/arch/arm64/boot/dts/qcom/qru1000-idp.dts b/arch/arm64/boot/dts/qcom/qru1000-idp.dts
index 2cc893ae4d10..31d1185ef8a4 100644
--- a/arch/arm64/boot/dts/qcom/qru1000-idp.dts
+++ b/arch/arm64/boot/dts/qcom/qru1000-idp.dts
@@ -448,6 +448,18 @@ &qupv3_id_0 {
 	status = "okay";
 };

+&reserved_memory {
+	ecc_meta_data_mem: memory@f0000000 {
+		reg = <0x0 0xf0000000 0x0 0x10000000>;
+		no-map;
+	};
+
+	tenx_sp_mem: memory@800000000 {
+		reg = <0x8 0x0 0x0 0x80000000>;
+		no-map;
+	};
+};
+
 &uart7 {
 	status = "okay";
 };
--
2.40.1


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

* Re: [PATCH v2 1/2] arm64: dts: qcom: qdu1000-idp: Update reserved memory region
  2023-07-05 11:06 ` [PATCH v2 1/2] arm64: dts: qcom: qdu1000-idp: " Komal Bajaj
@ 2023-07-05 14:21   ` Krzysztof Kozlowski
  2023-07-05 14:33     ` Dmitry Baryshkov
  2023-07-06 12:45     ` Komal Bajaj
  0 siblings, 2 replies; 6+ messages in thread
From: Krzysztof Kozlowski @ 2023-07-05 14:21 UTC (permalink / raw)
  To: Komal Bajaj, agross, andersson, konrad.dybcio, robh+dt,
	krzysztof.kozlowski+dt, conor+dt
  Cc: linux-arm-msm, devicetree, linux-kernel

On 05/07/2023 13:06, Komal Bajaj wrote:
> Add missing reserved regions as described in QDU1000 memory map.
> 
> Signed-off-by: Komal Bajaj <quic_kbajaj@quicinc.com>
> ---
>  arch/arm64/boot/dts/qcom/qdu1000-idp.dts | 22 ++++++++++++++++++++++
>  1 file changed, 22 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/qcom/qdu1000-idp.dts b/arch/arm64/boot/dts/qcom/qdu1000-idp.dts
> index 1d22f87fd238..47e5e31dde23 100644
> --- a/arch/arm64/boot/dts/qcom/qdu1000-idp.dts
> +++ b/arch/arm64/boot/dts/qcom/qdu1000-idp.dts
> @@ -448,6 +448,28 @@ &qupv3_id_0 {
>  	status = "okay";
>  };
> 
> +&reserved_memory{
> +	ecc_meta_data_mem: memory@e0000000{

Missing spaces before '{'. I was correcting this already:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=66b14154e278807811d67de9fb0d5cc76638d07b
so it seems I need to keep doing the same.

Anyway, the names should follow purpose, not "memory". See link from Konrad.


Best regards,
Krzysztof


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

* Re: [PATCH v2 1/2] arm64: dts: qcom: qdu1000-idp: Update reserved memory region
  2023-07-05 14:21   ` Krzysztof Kozlowski
@ 2023-07-05 14:33     ` Dmitry Baryshkov
  2023-07-06 12:45     ` Komal Bajaj
  1 sibling, 0 replies; 6+ messages in thread
From: Dmitry Baryshkov @ 2023-07-05 14:33 UTC (permalink / raw)
  To: Krzysztof Kozlowski
  Cc: Komal Bajaj, agross, andersson, konrad.dybcio, robh+dt,
	krzysztof.kozlowski+dt, conor+dt, linux-arm-msm, devicetree,
	linux-kernel

On Wed, 5 Jul 2023 at 17:24, Krzysztof Kozlowski
<krzysztof.kozlowski@linaro.org> wrote:
>
> On 05/07/2023 13:06, Komal Bajaj wrote:
> > Add missing reserved regions as described in QDU1000 memory map.
> >
> > Signed-off-by: Komal Bajaj <quic_kbajaj@quicinc.com>
> > ---
> >  arch/arm64/boot/dts/qcom/qdu1000-idp.dts | 22 ++++++++++++++++++++++
> >  1 file changed, 22 insertions(+)
> >
> > diff --git a/arch/arm64/boot/dts/qcom/qdu1000-idp.dts b/arch/arm64/boot/dts/qcom/qdu1000-idp.dts
> > index 1d22f87fd238..47e5e31dde23 100644
> > --- a/arch/arm64/boot/dts/qcom/qdu1000-idp.dts
> > +++ b/arch/arm64/boot/dts/qcom/qdu1000-idp.dts
> > @@ -448,6 +448,28 @@ &qupv3_id_0 {
> >       status = "okay";
> >  };
> >
> > +&reserved_memory{
> > +     ecc_meta_data_mem: memory@e0000000{
>
> Missing spaces before '{'. I was correcting this already:
> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=66b14154e278807811d67de9fb0d5cc76638d07b
> so it seems I need to keep doing the same.
>
> Anyway, the names should follow purpose, not "memory". See link from Konrad.

Yes, mea culpa. Please excuse me for the suggestion, I was looking at
the older device tree files.

>
>
> Best regards,
> Krzysztof
>


-- 
With best wishes
Dmitry

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

* Re: [PATCH v2 1/2] arm64: dts: qcom: qdu1000-idp: Update reserved memory region
  2023-07-05 14:21   ` Krzysztof Kozlowski
  2023-07-05 14:33     ` Dmitry Baryshkov
@ 2023-07-06 12:45     ` Komal Bajaj
  1 sibling, 0 replies; 6+ messages in thread
From: Komal Bajaj @ 2023-07-06 12:45 UTC (permalink / raw)
  To: Krzysztof Kozlowski, agross, andersson, konrad.dybcio, robh+dt,
	krzysztof.kozlowski+dt, conor+dt
  Cc: linux-arm-msm, devicetree, linux-kernel



On 7/5/2023 7:51 PM, Krzysztof Kozlowski wrote:
> On 05/07/2023 13:06, Komal Bajaj wrote:
>> Add missing reserved regions as described in QDU1000 memory map.
>>
>> Signed-off-by: Komal Bajaj <quic_kbajaj@quicinc.com>
>> ---
>>   arch/arm64/boot/dts/qcom/qdu1000-idp.dts | 22 ++++++++++++++++++++++
>>   1 file changed, 22 insertions(+)
>>
>> diff --git a/arch/arm64/boot/dts/qcom/qdu1000-idp.dts b/arch/arm64/boot/dts/qcom/qdu1000-idp.dts
>> index 1d22f87fd238..47e5e31dde23 100644
>> --- a/arch/arm64/boot/dts/qcom/qdu1000-idp.dts
>> +++ b/arch/arm64/boot/dts/qcom/qdu1000-idp.dts
>> @@ -448,6 +448,28 @@ &qupv3_id_0 {
>>   	status = "okay";
>>   };
>>
>> +&reserved_memory{
>> +	ecc_meta_data_mem: memory@e0000000{
> Missing spaces before '{'. I was correcting this already:
> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=66b14154e278807811d67de9fb0d5cc76638d07b
> so it seems I need to keep doing the same.
>
> Anyway, the names should follow purpose, not "memory". See link from Konrad.

Sure, will correct it in the next patch set.

>
>
> Best regards,
> Krzysztof
>


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

end of thread, other threads:[~2023-07-06 12:46 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-05 11:06 [PATCH v2 0/2] arm64: dts: qcom: qdu1000: Update reserved memory region Komal Bajaj
2023-07-05 11:06 ` [PATCH v2 1/2] arm64: dts: qcom: qdu1000-idp: " Komal Bajaj
2023-07-05 14:21   ` Krzysztof Kozlowski
2023-07-05 14:33     ` Dmitry Baryshkov
2023-07-06 12:45     ` Komal Bajaj
2023-07-05 11:06 ` [PATCH v2 2/2] arm64: dts: qcom: qru1000-idp: " Komal Bajaj

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox