diff mbox series

[2/2] soc: ti: pruss: Enable support for ICSSG subsystems on K3 AM64x SoCs

Message ID 20210623165032.31223-3-s-anna@ti.com
State Accepted
Commit 22ea87ef3f22742cf2d3dcd31379be3b5612e282
Headers show
Series Add AM64x SoC support to PRUSS platform driver | expand

Commit Message

Suman Anna June 23, 2021, 4:50 p.m. UTC
The K3 AM64x family of SoCs have a similar version of the PRU-ICSS (ICSSG)
processor subsystem present on K3 J721E and K3 AM65x SR2.0 SoCs. These SoCs
contain typically two ICSSG instances named ICSSG0 and ICSSG1. The two
ICSSGs are identical to each other for the most part with minor SoC
integration differences and capabilities. SGMII mode is not supported at
all on these SoCs (unlike specific instances on AM65x, J721E). The ICSSG1
also has limited pins connected on some sub-modules compared to ICSSG0.

There is no change in the Interrupt Controller w.r.t either of AM65x or
J721E SoCs. All other integration aspects are also very similar to the
existing SoCs.

The existing pruss platform driver has been updated to support these
similar ICSSG instances through a new AM64x specific compatible.

Signed-off-by: Suman Anna <s-anna@ti.com>
---
 drivers/soc/ti/pruss.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Grygorii Strashko June 23, 2021, 5:48 p.m. UTC | #1
On 23/06/2021 19:50, Suman Anna wrote:
> The K3 AM64x family of SoCs have a similar version of the PRU-ICSS (ICSSG)
> processor subsystem present on K3 J721E and K3 AM65x SR2.0 SoCs. These SoCs
> contain typically two ICSSG instances named ICSSG0 and ICSSG1. The two
> ICSSGs are identical to each other for the most part with minor SoC
> integration differences and capabilities. SGMII mode is not supported at
> all on these SoCs (unlike specific instances on AM65x, J721E). The ICSSG1
> also has limited pins connected on some sub-modules compared to ICSSG0.
> 
> There is no change in the Interrupt Controller w.r.t either of AM65x or
> J721E SoCs. All other integration aspects are also very similar to the
> existing SoCs.
> 
> The existing pruss platform driver has been updated to support these
> similar ICSSG instances through a new AM64x specific compatible.
> 
> Signed-off-by: Suman Anna <s-anna@ti.com>
> ---
>   drivers/soc/ti/pruss.c | 1 +
>   1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/soc/ti/pruss.c b/drivers/soc/ti/pruss.c
> index afc8aae68035..b36779309e49 100644
> --- a/drivers/soc/ti/pruss.c
> +++ b/drivers/soc/ti/pruss.c
> @@ -338,6 +338,7 @@ static const struct of_device_id pruss_of_match[] = {
>   	{ .compatible = "ti,k2g-pruss" },
>   	{ .compatible = "ti,am654-icssg", .data = &am65x_j721e_pruss_data, },
>   	{ .compatible = "ti,j721e-icssg", .data = &am65x_j721e_pruss_data, },
> +	{ .compatible = "ti,am642-icssg", .data = &am65x_j721e_pruss_data, },
>   	{},
>   };
>   MODULE_DEVICE_TABLE(of, pruss_of_match);
> 

Reviewed-by: Grygorii Strashko <grygorii.strashko@ti.com>
diff mbox series

Patch

diff --git a/drivers/soc/ti/pruss.c b/drivers/soc/ti/pruss.c
index afc8aae68035..b36779309e49 100644
--- a/drivers/soc/ti/pruss.c
+++ b/drivers/soc/ti/pruss.c
@@ -338,6 +338,7 @@  static const struct of_device_id pruss_of_match[] = {
 	{ .compatible = "ti,k2g-pruss" },
 	{ .compatible = "ti,am654-icssg", .data = &am65x_j721e_pruss_data, },
 	{ .compatible = "ti,j721e-icssg", .data = &am65x_j721e_pruss_data, },
+	{ .compatible = "ti,am642-icssg", .data = &am65x_j721e_pruss_data, },
 	{},
 };
 MODULE_DEVICE_TABLE(of, pruss_of_match);