* [PATCH 1/3] arm64: dts: ti: k3-am62-main: Fix the reg-range for dma-controller
2024-04-05 8:52 [PATCH 0/3] Fix reg ranges for dma-controller node Jayesh Choudhary
@ 2024-04-05 8:52 ` Jayesh Choudhary
2024-04-10 10:06 ` Kumar, Udit
2024-04-05 8:52 ` [PATCH 2/3] arm64: dts: ti: k3-am62a-main: " Jayesh Choudhary
2024-04-05 8:52 ` [PATCH 3/3] arm64: dts: ti: k3-am62p-main: " Jayesh Choudhary
2 siblings, 1 reply; 6+ messages in thread
From: Jayesh Choudhary @ 2024-04-05 8:52 UTC (permalink / raw)
To: nm, vigneshr, bb, devicetree, j-choudhary
Cc: kristo, robh, krzk+dt, conor+dt, linux-kernel, linux-arm-kernel
The TX Channel Realtime Registers region 'tchanrt' is 128KB and Ring
Realtime Registers region 'ringrt' is 2MB as shown in memory map in
the TRM[0]. So fix ranges for those reg-regions.
[0]: <https://www.ti.com/lit/pdf/spruiv7>
Fixes: c37c58fdeb8a ("arm64: dts: ti: k3-am62: Add more peripheral nodes")
Signed-off-by: Jayesh Choudhary <j-choudhary@ti.com>
---
arch/arm64/boot/dts/ti/k3-am62-main.dtsi | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm64/boot/dts/ti/k3-am62-main.dtsi b/arch/arm64/boot/dts/ti/k3-am62-main.dtsi
index e9cffca073ef..e10cc9fc0b10 100644
--- a/arch/arm64/boot/dts/ti/k3-am62-main.dtsi
+++ b/arch/arm64/boot/dts/ti/k3-am62-main.dtsi
@@ -141,8 +141,8 @@ main_pktdma: dma-controller@485c0000 {
compatible = "ti,am64-dmss-pktdma";
reg = <0x00 0x485c0000 0x00 0x100>,
<0x00 0x4a800000 0x00 0x20000>,
- <0x00 0x4aa00000 0x00 0x40000>,
- <0x00 0x4b800000 0x00 0x400000>,
+ <0x00 0x4aa00000 0x00 0x20000>,
+ <0x00 0x4b800000 0x00 0x200000>,
<0x00 0x485e0000 0x00 0x10000>,
<0x00 0x484a0000 0x00 0x2000>,
<0x00 0x484c0000 0x00 0x2000>,
--
2.25.1
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply related [flat|nested] 6+ messages in thread* Re: [PATCH 1/3] arm64: dts: ti: k3-am62-main: Fix the reg-range for dma-controller
2024-04-05 8:52 ` [PATCH 1/3] arm64: dts: ti: k3-am62-main: Fix the reg-range for dma-controller Jayesh Choudhary
@ 2024-04-10 10:06 ` Kumar, Udit
2024-04-10 11:53 ` Jayesh Choudhary
0 siblings, 1 reply; 6+ messages in thread
From: Kumar, Udit @ 2024-04-10 10:06 UTC (permalink / raw)
To: Jayesh Choudhary, nm, vigneshr, bb, devicetree
Cc: kristo, robh, krzk+dt, conor+dt, linux-kernel, linux-arm-kernel,
u-kumar1
Thanks for this fix Jayesh
On 4/5/2024 2:22 PM, Jayesh Choudhary wrote:
> The TX Channel Realtime Registers region 'tchanrt' is 128KB and Ring
> Realtime Registers region 'ringrt' is 2MB as shown in memory map in
> the TRM[0]. So fix ranges for those reg-regions.
Minor one, but it will be better to say that you are fixing these
register ranges for PKTDMA .
Something like that
For PKTDMA, The TX Channel Realtime Registers region 'tchanrt' ....
Also, it will help reviewer if you can mention which section in TRM[0],
holding memory map .
If you are doing v2 then please take care of above in commit message.
rest for whole series
LGTM
> [0]: <https://www.ti.com/lit/pdf/spruiv7>
>
> Fixes: c37c58fdeb8a ("arm64: dts: ti: k3-am62: Add more peripheral nodes")
> Signed-off-by: Jayesh Choudhary <j-choudhary@ti.com>
> ---
> arch/arm64/boot/dts/ti/k3-am62-main.dtsi | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/arch/arm64/boot/dts/ti/k3-am62-main.dtsi b/arch/arm64/boot/dts/ti/k3-am62-main.dtsi
> index e9cffca073ef..e10cc9fc0b10 100644
> --- a/arch/arm64/boot/dts/ti/k3-am62-main.dtsi
> +++ b/arch/arm64/boot/dts/ti/k3-am62-main.dtsi
> @@ -141,8 +141,8 @@ main_pktdma: dma-controller@485c0000 {
> compatible = "ti,am64-dmss-pktdma";
> reg = <0x00 0x485c0000 0x00 0x100>,
> <0x00 0x4a800000 0x00 0x20000>,
> - <0x00 0x4aa00000 0x00 0x40000>,
> - <0x00 0x4b800000 0x00 0x400000>,
> + <0x00 0x4aa00000 0x00 0x20000>,
> + <0x00 0x4b800000 0x00 0x200000>,
> <0x00 0x485e0000 0x00 0x10000>,
> <0x00 0x484a0000 0x00 0x2000>,
> <0x00 0x484c0000 0x00 0x2000>,
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: [PATCH 1/3] arm64: dts: ti: k3-am62-main: Fix the reg-range for dma-controller
2024-04-10 10:06 ` Kumar, Udit
@ 2024-04-10 11:53 ` Jayesh Choudhary
0 siblings, 0 replies; 6+ messages in thread
From: Jayesh Choudhary @ 2024-04-10 11:53 UTC (permalink / raw)
To: Kumar, Udit, nm, vigneshr, bb, devicetree
Cc: kristo, robh, krzk+dt, conor+dt, linux-kernel, linux-arm-kernel
Hello Udit,
On 10/04/24 15:36, Kumar, Udit wrote:
> Thanks for this fix Jayesh
>
> On 4/5/2024 2:22 PM, Jayesh Choudhary wrote:
>> The TX Channel Realtime Registers region 'tchanrt' is 128KB and Ring
>> Realtime Registers region 'ringrt' is 2MB as shown in memory map in
>> the TRM[0]. So fix ranges for those reg-regions.
>
> Minor one, but it will be better to say that you are fixing these
> register ranges for PKTDMA .
>
> Something like that
The cover-letter[0] for the series does mention that the changes are for
DMASS0_PKTDMA_RINGRT and DMASS0_PKTDMA_TCHANRT with the current and
correct region size.
It also mentions the section and the Table from where we can check them.
{*** section for Main Memory Map (Table 2-1)}
[0]: https://lore.kernel.org/all/20240405085208.32227-1-j-choudhary@ti.com/
It was same check across all platform so added in cover letter.
But I will add that in each patch.
Thanks,
Jayesh
>
> For PKTDMA, The TX Channel Realtime Registers region 'tchanrt' ....
>
> Also, it will help reviewer if you can mention which section in TRM[0],
> holding memory map .
>
> If you are doing v2 then please take care of above in commit message.
>
> rest for whole series
>
> LGTM
>
>
>
>> [0]: <https://www.ti.com/lit/pdf/spruiv7>
>>
>> Fixes: c37c58fdeb8a ("arm64: dts: ti: k3-am62: Add more peripheral
>> nodes")
>> Signed-off-by: Jayesh Choudhary <j-choudhary@ti.com>
>> ---
>> arch/arm64/boot/dts/ti/k3-am62-main.dtsi | 4 ++--
>> 1 file changed, 2 insertions(+), 2 deletions(-)
>>
>> diff --git a/arch/arm64/boot/dts/ti/k3-am62-main.dtsi
>> b/arch/arm64/boot/dts/ti/k3-am62-main.dtsi
>> index e9cffca073ef..e10cc9fc0b10 100644
>> --- a/arch/arm64/boot/dts/ti/k3-am62-main.dtsi
>> +++ b/arch/arm64/boot/dts/ti/k3-am62-main.dtsi
>> @@ -141,8 +141,8 @@ main_pktdma: dma-controller@485c0000 {
>> compatible = "ti,am64-dmss-pktdma";
>> reg = <0x00 0x485c0000 0x00 0x100>,
>> <0x00 0x4a800000 0x00 0x20000>,
>> - <0x00 0x4aa00000 0x00 0x40000>,
>> - <0x00 0x4b800000 0x00 0x400000>,
>> + <0x00 0x4aa00000 0x00 0x20000>,
>> + <0x00 0x4b800000 0x00 0x200000>,
>> <0x00 0x485e0000 0x00 0x10000>,
>> <0x00 0x484a0000 0x00 0x2000>,
>> <0x00 0x484c0000 0x00 0x2000>,
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH 2/3] arm64: dts: ti: k3-am62a-main: Fix the reg-range for dma-controller
2024-04-05 8:52 [PATCH 0/3] Fix reg ranges for dma-controller node Jayesh Choudhary
2024-04-05 8:52 ` [PATCH 1/3] arm64: dts: ti: k3-am62-main: Fix the reg-range for dma-controller Jayesh Choudhary
@ 2024-04-05 8:52 ` Jayesh Choudhary
2024-04-05 8:52 ` [PATCH 3/3] arm64: dts: ti: k3-am62p-main: " Jayesh Choudhary
2 siblings, 0 replies; 6+ messages in thread
From: Jayesh Choudhary @ 2024-04-05 8:52 UTC (permalink / raw)
To: nm, vigneshr, bb, devicetree, j-choudhary
Cc: kristo, robh, krzk+dt, conor+dt, linux-kernel, linux-arm-kernel
The TX Channel Realtime Registers region 'tchanrt' is 128KB and Ring
Realtime Registers region 'ringrt' is 2MB as shown in memory map in
the TRM[0]. So fix ranges for those reg-regions.
[0]: <https://www.ti.com/lit/pdf/spruj16>
Fixes: 3dad70def7ff ("arm64: dts: ti: k3-am62a-main: Add more peripheral nodes")
Signed-off-by: Jayesh Choudhary <j-choudhary@ti.com>
---
arch/arm64/boot/dts/ti/k3-am62a-main.dtsi | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm64/boot/dts/ti/k3-am62a-main.dtsi b/arch/arm64/boot/dts/ti/k3-am62a-main.dtsi
index aa1e057082f0..5a4cb0536c6f 100644
--- a/arch/arm64/boot/dts/ti/k3-am62a-main.dtsi
+++ b/arch/arm64/boot/dts/ti/k3-am62a-main.dtsi
@@ -120,8 +120,8 @@ main_pktdma: dma-controller@485c0000 {
compatible = "ti,am64-dmss-pktdma";
reg = <0x00 0x485c0000 0x00 0x100>,
<0x00 0x4a800000 0x00 0x20000>,
- <0x00 0x4aa00000 0x00 0x40000>,
- <0x00 0x4b800000 0x00 0x400000>,
+ <0x00 0x4aa00000 0x00 0x20000>,
+ <0x00 0x4b800000 0x00 0x200000>,
<0x00 0x485e0000 0x00 0x10000>,
<0x00 0x484a0000 0x00 0x2000>,
<0x00 0x484c0000 0x00 0x2000>,
--
2.25.1
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply related [flat|nested] 6+ messages in thread* [PATCH 3/3] arm64: dts: ti: k3-am62p-main: Fix the reg-range for dma-controller
2024-04-05 8:52 [PATCH 0/3] Fix reg ranges for dma-controller node Jayesh Choudhary
2024-04-05 8:52 ` [PATCH 1/3] arm64: dts: ti: k3-am62-main: Fix the reg-range for dma-controller Jayesh Choudhary
2024-04-05 8:52 ` [PATCH 2/3] arm64: dts: ti: k3-am62a-main: " Jayesh Choudhary
@ 2024-04-05 8:52 ` Jayesh Choudhary
2 siblings, 0 replies; 6+ messages in thread
From: Jayesh Choudhary @ 2024-04-05 8:52 UTC (permalink / raw)
To: nm, vigneshr, bb, devicetree, j-choudhary
Cc: kristo, robh, krzk+dt, conor+dt, linux-kernel, linux-arm-kernel
The TX Channel Realtime Registers region 'tchanrt' is 128KB and Ring
Realtime Registers region 'ringrt' is 2MB as shown in memory map in
the TRM[0]. So fix ranges for those reg-regions.
[0]: <https://www.ti.com/lit/pdf/spruj83>
Fixes: b5080c7c1f7e ("arm64: dts: ti: k3-am62p: Add nodes for more IPs")
Signed-off-by: Jayesh Choudhary <j-choudhary@ti.com>
---
arch/arm64/boot/dts/ti/k3-am62p-main.dtsi | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm64/boot/dts/ti/k3-am62p-main.dtsi b/arch/arm64/boot/dts/ti/k3-am62p-main.dtsi
index 7337a9e13535..514c201bd5c9 100644
--- a/arch/arm64/boot/dts/ti/k3-am62p-main.dtsi
+++ b/arch/arm64/boot/dts/ti/k3-am62p-main.dtsi
@@ -123,8 +123,8 @@ main_pktdma: dma-controller@485c0000 {
compatible = "ti,am64-dmss-pktdma";
reg = <0x00 0x485c0000 0x00 0x100>,
<0x00 0x4a800000 0x00 0x20000>,
- <0x00 0x4aa00000 0x00 0x40000>,
- <0x00 0x4b800000 0x00 0x400000>,
+ <0x00 0x4aa00000 0x00 0x20000>,
+ <0x00 0x4b800000 0x00 0x200000>,
<0x00 0x485e0000 0x00 0x10000>,
<0x00 0x484a0000 0x00 0x2000>,
<0x00 0x484c0000 0x00 0x2000>,
--
2.25.1
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply related [flat|nested] 6+ messages in thread