* [PATCH 0/4] TI K3 R5F and C71x support on J721S2
@ 2021-11-22 12:27 Hari Nagalla
2021-11-22 12:27 ` [PATCH 1/4] dt-bindings: remoteproc: k3-r5f: Update bindings for J721S2 SoCs Hari Nagalla
` (5 more replies)
0 siblings, 6 replies; 9+ messages in thread
From: Hari Nagalla @ 2021-11-22 12:27 UTC (permalink / raw)
To: bjorn.andersson, mathieu.poirier, robh+dt
Cc: devicetree, linux-remoteproc, linux-kernel, linux-arm-kernel,
a-govindraju
Hi All,
The following series enhances the K3 R5F and DSP remoteproc drivers to
add support for the R5F clusters and C71x DSP on the newer TI K3 J721S2
SoC family. The J721S2 SoCs have 3 R5FSS clusters, one in MCU voltage
domain and the other two in MAIN voltage domain. There are also 2 C71x
DSP subsystems in MAIN voltage domain. The R5FSS is similar to the R5FSS
in J7200 SoCs, while the C71x DSPs are similar to the C71x DSP on J721e
SoCs.
See J721S2 Technical Reference Manual (SPRUJ28 – NOVEMBER 2021)
for further details: http://www.ti.com/lit/pdf/spruj28
Regards
Hari
Hari Nagalla (4):
dt-bindings: remoteproc: k3-r5f: Update bindings for J721S2 SoCs
dt-bindings: remoteproc: k3-dsp: Update bindings for J721S2 SoCs
remoteproc: k3-dsp: Extend support for C71x DSPs on J721S2 SoCs
remoteproc: k3-r5: Extend support for R5F clusters on J721S2 SoCs
.../devicetree/bindings/remoteproc/ti,k3-dsp-rproc.yaml | 3 +++
.../devicetree/bindings/remoteproc/ti,k3-r5f-rproc.yaml | 8 +++++---
drivers/remoteproc/ti_k3_dsp_remoteproc.c | 1 +
drivers/remoteproc/ti_k3_r5_remoteproc.c | 5 +++--
4 files changed, 12 insertions(+), 5 deletions(-)
--
2.17.1
^ permalink raw reply [flat|nested] 9+ messages in thread
* [PATCH 1/4] dt-bindings: remoteproc: k3-r5f: Update bindings for J721S2 SoCs
2021-11-22 12:27 [PATCH 0/4] TI K3 R5F and C71x support on J721S2 Hari Nagalla
@ 2021-11-22 12:27 ` Hari Nagalla
2021-11-30 20:52 ` Rob Herring
2021-11-22 12:27 ` [PATCH 2/4] dt-bindings: remoteproc: k3-dsp: " Hari Nagalla
` (4 subsequent siblings)
5 siblings, 1 reply; 9+ messages in thread
From: Hari Nagalla @ 2021-11-22 12:27 UTC (permalink / raw)
To: bjorn.andersson, mathieu.poirier, robh+dt
Cc: devicetree, linux-remoteproc, linux-kernel, linux-arm-kernel,
a-govindraju
The TI K3 J721S2 SoCs have three dual-core Arm R5F clusters/subsystems,
with 2 R5F cores each, one in MCU voltage domain and the other two in
MAIN voltage domain.
These clusters are similar to J7200 R5F clusters. Compatible info is
updated for intuitively matching to the new J721S2 SoCs.
Signed-off-by: Hari Nagalla <hnagalla@ti.com>
---
.../devicetree/bindings/remoteproc/ti,k3-r5f-rproc.yaml | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/Documentation/devicetree/bindings/remoteproc/ti,k3-r5f-rproc.yaml b/Documentation/devicetree/bindings/remoteproc/ti,k3-r5f-rproc.yaml
index eeef255c4045..36e095cbde4c 100644
--- a/Documentation/devicetree/bindings/remoteproc/ti,k3-r5f-rproc.yaml
+++ b/Documentation/devicetree/bindings/remoteproc/ti,k3-r5f-rproc.yaml
@@ -38,6 +38,7 @@ properties:
- ti,j721e-r5fss
- ti,j7200-r5fss
- ti,am64-r5fss
+ - ti,j721s2-r5fss
power-domains:
description: |
@@ -64,9 +65,9 @@ properties:
description: |
Configuration Mode for the Dual R5F cores within the R5F cluster.
Should be either a value of 1 (LockStep mode) or 0 (Split mode) on
- most SoCs (AM65x, J721E, J7200), default is LockStep mode if omitted;
- and should be either a value of 0 (Split mode) or 2 (Single-CPU mode)
- on AM64x SoCs, default is Split mode if omitted.
+ most SoCs (AM65x, J721E, J7200, J721s2), default is LockStep mode if
+ omitted; and should be either a value of 0 (Split mode) or 2
+ (Single-CPU mode) on AM64x SoCs, default is Split mode if omitted.
# R5F Processor Child Nodes:
# ==========================
@@ -104,6 +105,7 @@ patternProperties:
- ti,j721e-r5f
- ti,j7200-r5f
- ti,am64-r5f
+ - ti,j721s2-r5f
reg:
items:
--
2.17.1
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [PATCH 2/4] dt-bindings: remoteproc: k3-dsp: Update bindings for J721S2 SoCs
2021-11-22 12:27 [PATCH 0/4] TI K3 R5F and C71x support on J721S2 Hari Nagalla
2021-11-22 12:27 ` [PATCH 1/4] dt-bindings: remoteproc: k3-r5f: Update bindings for J721S2 SoCs Hari Nagalla
@ 2021-11-22 12:27 ` Hari Nagalla
2021-11-30 20:52 ` Rob Herring
2021-11-22 12:27 ` [PATCH 3/4] remoteproc: k3-dsp: Extend support for C71x DSPs on " Hari Nagalla
` (3 subsequent siblings)
5 siblings, 1 reply; 9+ messages in thread
From: Hari Nagalla @ 2021-11-22 12:27 UTC (permalink / raw)
To: bjorn.andersson, mathieu.poirier, robh+dt
Cc: devicetree, linux-remoteproc, linux-kernel, linux-arm-kernel,
a-govindraju
The TI K3 J721S2 SoCs have two TMS320C71x DSP subsystems, and does not
have any TMS320C66x DSP subsystems. The C71x DSP subsystem in J721S2
SoCs is a similar to the C71x DSP on J721e with some minor core IP updates.
Compatible info is updated for intuitvely matching to the new J721S2
SoCs.
Signed-off-by: Hari Nagalla <hnagalla@ti.com>
---
.../devicetree/bindings/remoteproc/ti,k3-dsp-rproc.yaml | 3 +++
1 file changed, 3 insertions(+)
diff --git a/Documentation/devicetree/bindings/remoteproc/ti,k3-dsp-rproc.yaml b/Documentation/devicetree/bindings/remoteproc/ti,k3-dsp-rproc.yaml
index 5ec6505ac408..7b56497eec4d 100644
--- a/Documentation/devicetree/bindings/remoteproc/ti,k3-dsp-rproc.yaml
+++ b/Documentation/devicetree/bindings/remoteproc/ti,k3-dsp-rproc.yaml
@@ -33,9 +33,11 @@ properties:
enum:
- ti,j721e-c66-dsp
- ti,j721e-c71-dsp
+ - ti,j721s2-c71-dsp
description:
Use "ti,j721e-c66-dsp" for C66x DSPs on K3 J721E SoCs
Use "ti,j721e-c71-dsp" for C71x DSPs on K3 J721E SoCs
+ Use "ti,j721s2-c71-dsp" for C71x DSPs on K3 J721S2 SoCs
resets:
description: |
@@ -106,6 +108,7 @@ else:
compatible:
enum:
- ti,j721e-c71-dsp
+ - ti,j721s2-c71-dsp
then:
properties:
reg:
--
2.17.1
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [PATCH 3/4] remoteproc: k3-dsp: Extend support for C71x DSPs on J721S2 SoCs
2021-11-22 12:27 [PATCH 0/4] TI K3 R5F and C71x support on J721S2 Hari Nagalla
2021-11-22 12:27 ` [PATCH 1/4] dt-bindings: remoteproc: k3-r5f: Update bindings for J721S2 SoCs Hari Nagalla
2021-11-22 12:27 ` [PATCH 2/4] dt-bindings: remoteproc: k3-dsp: " Hari Nagalla
@ 2021-11-22 12:27 ` Hari Nagalla
2021-11-22 12:27 ` [PATCH 4/4] remoteproc: k3-r5: Extend support for R5F clusters " Hari Nagalla
` (2 subsequent siblings)
5 siblings, 0 replies; 9+ messages in thread
From: Hari Nagalla @ 2021-11-22 12:27 UTC (permalink / raw)
To: bjorn.andersson, mathieu.poirier, robh+dt
Cc: devicetree, linux-remoteproc, linux-kernel, linux-arm-kernel,
a-govindraju
The K3 J721S2 SoCs have two C71x DSP subsystems in MAIN voltage domain,
and there are no C66x DSP subsystems on these SoCs. The C71x DSP subsystem
is a slighly updated version of the C71x DSP subsystem on J721e. The
C71x DSPs are 64 bit machine with fixed and floating point DSP
operations.
Extend support to the C71x DSPs with J721S2 compatible strings.
Signed-off-by: Hari Nagalla <hnagalla@ti.com>
---
drivers/remoteproc/ti_k3_dsp_remoteproc.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/remoteproc/ti_k3_dsp_remoteproc.c b/drivers/remoteproc/ti_k3_dsp_remoteproc.c
index c352fa277c8d..939c5d90b562 100644
--- a/drivers/remoteproc/ti_k3_dsp_remoteproc.c
+++ b/drivers/remoteproc/ti_k3_dsp_remoteproc.c
@@ -767,6 +767,7 @@ static const struct k3_dsp_dev_data c71_data = {
static const struct of_device_id k3_dsp_of_match[] = {
{ .compatible = "ti,j721e-c66-dsp", .data = &c66_data, },
{ .compatible = "ti,j721e-c71-dsp", .data = &c71_data, },
+ { .compatible = "ti,j721s2-c71-dsp", .data = &c71_data, },
{ /* sentinel */ },
};
MODULE_DEVICE_TABLE(of, k3_dsp_of_match);
--
2.17.1
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [PATCH 4/4] remoteproc: k3-r5: Extend support for R5F clusters on J721S2 SoCs
2021-11-22 12:27 [PATCH 0/4] TI K3 R5F and C71x support on J721S2 Hari Nagalla
` (2 preceding siblings ...)
2021-11-22 12:27 ` [PATCH 3/4] remoteproc: k3-dsp: Extend support for C71x DSPs on " Hari Nagalla
@ 2021-11-22 12:27 ` Hari Nagalla
2021-11-29 17:17 ` [PATCH 0/4] TI K3 R5F and C71x support on J721S2 Mathieu Poirier
2021-12-01 16:55 ` Mathieu Poirier
5 siblings, 0 replies; 9+ messages in thread
From: Hari Nagalla @ 2021-11-22 12:27 UTC (permalink / raw)
To: bjorn.andersson, mathieu.poirier, robh+dt
Cc: devicetree, linux-remoteproc, linux-kernel, linux-arm-kernel,
a-govindraju
The K3 J721S2 SoCs have three dual-core R5F subsystems, one in MCU voltage
domain and the other two in MAIN voltage domain. These R5F clusters are
similar to the R5F clusters in J7200 SoCs.
Compatible Info is updated to support J721S2 SoCs.
Signed-off-by: Hari Nagalla <hnagalla@ti.com>
---
drivers/remoteproc/ti_k3_r5_remoteproc.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/drivers/remoteproc/ti_k3_r5_remoteproc.c b/drivers/remoteproc/ti_k3_r5_remoteproc.c
index 6499302d00c3..969531c05b13 100644
--- a/drivers/remoteproc/ti_k3_r5_remoteproc.c
+++ b/drivers/remoteproc/ti_k3_r5_remoteproc.c
@@ -1535,7 +1535,7 @@ static const struct k3_r5_soc_data am65_j721e_soc_data = {
.single_cpu_mode = false,
};
-static const struct k3_r5_soc_data j7200_soc_data = {
+static const struct k3_r5_soc_data j7200_j721s2_soc_data = {
.tcm_is_double = true,
.tcm_ecc_autoinit = true,
.single_cpu_mode = false,
@@ -1550,8 +1550,9 @@ static const struct k3_r5_soc_data am64_soc_data = {
static const struct of_device_id k3_r5_of_match[] = {
{ .compatible = "ti,am654-r5fss", .data = &am65_j721e_soc_data, },
{ .compatible = "ti,j721e-r5fss", .data = &am65_j721e_soc_data, },
- { .compatible = "ti,j7200-r5fss", .data = &j7200_soc_data, },
+ { .compatible = "ti,j7200-r5fss", .data = &j7200_j721s2_soc_data, },
{ .compatible = "ti,am64-r5fss", .data = &am64_soc_data, },
+ { .compatible = "ti,j721s2-r5fss", .data = &j7200_j721s2_soc_data, },
{ /* sentinel */ },
};
MODULE_DEVICE_TABLE(of, k3_r5_of_match);
--
2.17.1
^ permalink raw reply related [flat|nested] 9+ messages in thread
* Re: [PATCH 0/4] TI K3 R5F and C71x support on J721S2
2021-11-22 12:27 [PATCH 0/4] TI K3 R5F and C71x support on J721S2 Hari Nagalla
` (3 preceding siblings ...)
2021-11-22 12:27 ` [PATCH 4/4] remoteproc: k3-r5: Extend support for R5F clusters " Hari Nagalla
@ 2021-11-29 17:17 ` Mathieu Poirier
2021-12-01 16:55 ` Mathieu Poirier
5 siblings, 0 replies; 9+ messages in thread
From: Mathieu Poirier @ 2021-11-29 17:17 UTC (permalink / raw)
To: Hari Nagalla
Cc: bjorn.andersson, robh+dt, devicetree, linux-remoteproc,
linux-kernel, linux-arm-kernel, a-govindraju
Good morning Hari,
On Mon, Nov 22, 2021 at 06:27:22AM -0600, Hari Nagalla wrote:
> Hi All,
>
> The following series enhances the K3 R5F and DSP remoteproc drivers to
> add support for the R5F clusters and C71x DSP on the newer TI K3 J721S2
> SoC family. The J721S2 SoCs have 3 R5FSS clusters, one in MCU voltage
> domain and the other two in MAIN voltage domain. There are also 2 C71x
> DSP subsystems in MAIN voltage domain. The R5FSS is similar to the R5FSS
> in J7200 SoCs, while the C71x DSPs are similar to the C71x DSP on J721e
> SoCs.
>
> See J721S2 Technical Reference Manual (SPRUJ28 – NOVEMBER 2021)
> for further details: http://www.ti.com/lit/pdf/spruj28
>
> Regards
> Hari
>
> Hari Nagalla (4):
> dt-bindings: remoteproc: k3-r5f: Update bindings for J721S2 SoCs
> dt-bindings: remoteproc: k3-dsp: Update bindings for J721S2 SoCs
> remoteproc: k3-dsp: Extend support for C71x DSPs on J721S2 SoCs
> remoteproc: k3-r5: Extend support for R5F clusters on J721S2 SoCs
>
> .../devicetree/bindings/remoteproc/ti,k3-dsp-rproc.yaml | 3 +++
> .../devicetree/bindings/remoteproc/ti,k3-r5f-rproc.yaml | 8 +++++---
> drivers/remoteproc/ti_k3_dsp_remoteproc.c | 1 +
> drivers/remoteproc/ti_k3_r5_remoteproc.c | 5 +++--
For all 4 patches:
Reviewed-by: Mathieu Poirier <mathieu.poirier@linaro.org>
It was a holiday last week in the US so I'll give more time for Rob to review this (should
he want to) before publishing.
Thanks,
Mathieu
> 4 files changed, 12 insertions(+), 5 deletions(-)
>
> --
> 2.17.1
>
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH 1/4] dt-bindings: remoteproc: k3-r5f: Update bindings for J721S2 SoCs
2021-11-22 12:27 ` [PATCH 1/4] dt-bindings: remoteproc: k3-r5f: Update bindings for J721S2 SoCs Hari Nagalla
@ 2021-11-30 20:52 ` Rob Herring
0 siblings, 0 replies; 9+ messages in thread
From: Rob Herring @ 2021-11-30 20:52 UTC (permalink / raw)
To: Hari Nagalla
Cc: linux-arm-kernel, a-govindraju, bjorn.andersson, devicetree,
linux-kernel, linux-remoteproc, mathieu.poirier, robh+dt
On Mon, 22 Nov 2021 06:27:23 -0600, Hari Nagalla wrote:
> The TI K3 J721S2 SoCs have three dual-core Arm R5F clusters/subsystems,
> with 2 R5F cores each, one in MCU voltage domain and the other two in
> MAIN voltage domain.
>
> These clusters are similar to J7200 R5F clusters. Compatible info is
> updated for intuitively matching to the new J721S2 SoCs.
>
> Signed-off-by: Hari Nagalla <hnagalla@ti.com>
> ---
> .../devicetree/bindings/remoteproc/ti,k3-r5f-rproc.yaml | 8 +++++---
> 1 file changed, 5 insertions(+), 3 deletions(-)
>
Acked-by: Rob Herring <robh@kernel.org>
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH 2/4] dt-bindings: remoteproc: k3-dsp: Update bindings for J721S2 SoCs
2021-11-22 12:27 ` [PATCH 2/4] dt-bindings: remoteproc: k3-dsp: " Hari Nagalla
@ 2021-11-30 20:52 ` Rob Herring
0 siblings, 0 replies; 9+ messages in thread
From: Rob Herring @ 2021-11-30 20:52 UTC (permalink / raw)
To: Hari Nagalla
Cc: linux-arm-kernel, devicetree, bjorn.andersson, linux-remoteproc,
robh+dt, linux-kernel, mathieu.poirier, a-govindraju
On Mon, 22 Nov 2021 06:27:24 -0600, Hari Nagalla wrote:
> The TI K3 J721S2 SoCs have two TMS320C71x DSP subsystems, and does not
> have any TMS320C66x DSP subsystems. The C71x DSP subsystem in J721S2
> SoCs is a similar to the C71x DSP on J721e with some minor core IP updates.
>
> Compatible info is updated for intuitvely matching to the new J721S2
> SoCs.
>
> Signed-off-by: Hari Nagalla <hnagalla@ti.com>
> ---
> .../devicetree/bindings/remoteproc/ti,k3-dsp-rproc.yaml | 3 +++
> 1 file changed, 3 insertions(+)
>
Acked-by: Rob Herring <robh@kernel.org>
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH 0/4] TI K3 R5F and C71x support on J721S2
2021-11-22 12:27 [PATCH 0/4] TI K3 R5F and C71x support on J721S2 Hari Nagalla
` (4 preceding siblings ...)
2021-11-29 17:17 ` [PATCH 0/4] TI K3 R5F and C71x support on J721S2 Mathieu Poirier
@ 2021-12-01 16:55 ` Mathieu Poirier
5 siblings, 0 replies; 9+ messages in thread
From: Mathieu Poirier @ 2021-12-01 16:55 UTC (permalink / raw)
To: Hari Nagalla
Cc: bjorn.andersson, robh+dt, devicetree, linux-remoteproc,
linux-kernel, linux-arm-kernel, a-govindraju
On Mon, Nov 22, 2021 at 06:27:22AM -0600, Hari Nagalla wrote:
> Hi All,
>
> The following series enhances the K3 R5F and DSP remoteproc drivers to
> add support for the R5F clusters and C71x DSP on the newer TI K3 J721S2
> SoC family. The J721S2 SoCs have 3 R5FSS clusters, one in MCU voltage
> domain and the other two in MAIN voltage domain. There are also 2 C71x
> DSP subsystems in MAIN voltage domain. The R5FSS is similar to the R5FSS
> in J7200 SoCs, while the C71x DSPs are similar to the C71x DSP on J721e
> SoCs.
>
> See J721S2 Technical Reference Manual (SPRUJ28 – NOVEMBER 2021)
> for further details: http://www.ti.com/lit/pdf/spruj28
>
> Regards
> Hari
>
> Hari Nagalla (4):
> dt-bindings: remoteproc: k3-r5f: Update bindings for J721S2 SoCs
> dt-bindings: remoteproc: k3-dsp: Update bindings for J721S2 SoCs
> remoteproc: k3-dsp: Extend support for C71x DSPs on J721S2 SoCs
> remoteproc: k3-r5: Extend support for R5F clusters on J721S2 SoCs
>
> .../devicetree/bindings/remoteproc/ti,k3-dsp-rproc.yaml | 3 +++
> .../devicetree/bindings/remoteproc/ti,k3-r5f-rproc.yaml | 8 +++++---
> drivers/remoteproc/ti_k3_dsp_remoteproc.c | 1 +
> drivers/remoteproc/ti_k3_r5_remoteproc.c | 5 +++--
> 4 files changed, 12 insertions(+), 5 deletions(-)
I have applied this set.
Thanks,
Mathieu
>
> --
> 2.17.1
>
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2021-12-01 16:55 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-22 12:27 [PATCH 0/4] TI K3 R5F and C71x support on J721S2 Hari Nagalla
2021-11-22 12:27 ` [PATCH 1/4] dt-bindings: remoteproc: k3-r5f: Update bindings for J721S2 SoCs Hari Nagalla
2021-11-30 20:52 ` Rob Herring
2021-11-22 12:27 ` [PATCH 2/4] dt-bindings: remoteproc: k3-dsp: " Hari Nagalla
2021-11-30 20:52 ` Rob Herring
2021-11-22 12:27 ` [PATCH 3/4] remoteproc: k3-dsp: Extend support for C71x DSPs on " Hari Nagalla
2021-11-22 12:27 ` [PATCH 4/4] remoteproc: k3-r5: Extend support for R5F clusters " Hari Nagalla
2021-11-29 17:17 ` [PATCH 0/4] TI K3 R5F and C71x support on J721S2 Mathieu Poirier
2021-12-01 16:55 ` Mathieu Poirier
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).