* [PATCH net-next v2 0/2] Add support for ICSSG on AM64x EVM
@ 2023-09-11 5:43 MD Danish Anwar
2023-09-11 5:43 ` [PATCH net-next v2 1/2] dt-bindings: net: Add compatible for AM64x in ICSSG MD Danish Anwar
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: MD Danish Anwar @ 2023-09-11 5:43 UTC (permalink / raw)
To: Andrew Lunn, Roger Quadros, MD Danish Anwar, Conor Dooley,
Krzysztof Kozlowski, Rob Herring, Paolo Abeni, Jakub Kicinski,
Eric Dumazet, David S. Miller, Vignesh Raghavendra, Simon Horman
Cc: linux-kernel, devicetree, netdev, srk, r-gunasekaran
This series adds support for ICSSG driver on AM64x EVM.
First patch of the series adds compatible for AM64x EVM in icssg-prueth
dt binding. Second patch adds support for AM64x compatible in the ICSSG
driver.
This series addresses comments on [v1] (which was posted as RFC).
This series is based on the latest net-next/main. This series has no
dependency.
Changes from v1 to v2:
*) Made the compatible list in patch 1 alphanumerically ordered as asked
by Krzysztof.
*) Dropped the RFC tag.
*) Added RB tags of Andrew and Roger.
[v1] https://lore.kernel.org/all/20230830113724.1228624-1-danishanwar@ti.com/
Thanks and Regards,
Md Danish Anwar
MD Danish Anwar (2):
dt-bindings: net: Add compatible for AM64x in ICSSG
net: ti: icssg-prueth: Add AM64x icssg support
Documentation/devicetree/bindings/net/ti,icssg-prueth.yaml | 1 +
drivers/net/ethernet/ti/icssg/icssg_prueth.c | 5 +++++
2 files changed, 6 insertions(+)
base-commit: 73be7fb14e83d24383f840a22f24d3ed222ca319
--
2.34.1
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH net-next v2 1/2] dt-bindings: net: Add compatible for AM64x in ICSSG
2023-09-11 5:43 [PATCH net-next v2 0/2] Add support for ICSSG on AM64x EVM MD Danish Anwar
@ 2023-09-11 5:43 ` MD Danish Anwar
2023-09-11 5:43 ` [PATCH net-next v2 2/2] net: ti: icssg-prueth: Add AM64x icssg support MD Danish Anwar
2023-09-12 8:30 ` [PATCH net-next v2 0/2] Add support for ICSSG on AM64x EVM patchwork-bot+netdevbpf
2 siblings, 0 replies; 4+ messages in thread
From: MD Danish Anwar @ 2023-09-11 5:43 UTC (permalink / raw)
To: Andrew Lunn, Roger Quadros, MD Danish Anwar, Conor Dooley,
Krzysztof Kozlowski, Rob Herring, Paolo Abeni, Jakub Kicinski,
Eric Dumazet, David S. Miller, Vignesh Raghavendra, Simon Horman
Cc: linux-kernel, devicetree, netdev, srk, r-gunasekaran,
Krzysztof Kozlowski, Roger Quadros
Add compatible for AM64x in icssg-prueth dt bindings. AM64x supports
ICSSG similar to AM65x SR2.0.
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Roger Quadros <rogerq@kernel.org>
Signed-off-by: MD Danish Anwar <danishanwar@ti.com>
---
Documentation/devicetree/bindings/net/ti,icssg-prueth.yaml | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/net/ti,icssg-prueth.yaml b/Documentation/devicetree/bindings/net/ti,icssg-prueth.yaml
index 311c570165f9..836d2d60e87d 100644
--- a/Documentation/devicetree/bindings/net/ti,icssg-prueth.yaml
+++ b/Documentation/devicetree/bindings/net/ti,icssg-prueth.yaml
@@ -19,6 +19,7 @@ allOf:
properties:
compatible:
enum:
+ - ti,am642-icssg-prueth # for AM64x SoC family
- ti,am654-icssg-prueth # for AM65x SoC family
sram:
--
2.34.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH net-next v2 2/2] net: ti: icssg-prueth: Add AM64x icssg support
2023-09-11 5:43 [PATCH net-next v2 0/2] Add support for ICSSG on AM64x EVM MD Danish Anwar
2023-09-11 5:43 ` [PATCH net-next v2 1/2] dt-bindings: net: Add compatible for AM64x in ICSSG MD Danish Anwar
@ 2023-09-11 5:43 ` MD Danish Anwar
2023-09-12 8:30 ` [PATCH net-next v2 0/2] Add support for ICSSG on AM64x EVM patchwork-bot+netdevbpf
2 siblings, 0 replies; 4+ messages in thread
From: MD Danish Anwar @ 2023-09-11 5:43 UTC (permalink / raw)
To: Andrew Lunn, Roger Quadros, MD Danish Anwar, Conor Dooley,
Krzysztof Kozlowski, Rob Herring, Paolo Abeni, Jakub Kicinski,
Eric Dumazet, David S. Miller, Vignesh Raghavendra, Simon Horman
Cc: linux-kernel, devicetree, netdev, srk, r-gunasekaran,
Roger Quadros
Add AM64x ICSSG support which is similar to am65x SR2.0, but required:
- all ring configured in exposed ring mode
- always fill both original and buffer fields in cppi5 desc
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Roger Quadros <rogerq@kernel.org>
Signed-off-by: MD Danish Anwar <danishanwar@ti.com>
---
drivers/net/ethernet/ti/icssg/icssg_prueth.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/drivers/net/ethernet/ti/icssg/icssg_prueth.c b/drivers/net/ethernet/ti/icssg/icssg_prueth.c
index 410612f43cbd..92b13057d4de 100644
--- a/drivers/net/ethernet/ti/icssg/icssg_prueth.c
+++ b/drivers/net/ethernet/ti/icssg/icssg_prueth.c
@@ -2313,8 +2313,13 @@ static const struct prueth_pdata am654_icssg_pdata = {
.quirk_10m_link_issue = 1,
};
+static const struct prueth_pdata am64x_icssg_pdata = {
+ .fdqring_mode = K3_RINGACC_RING_MODE_RING,
+};
+
static const struct of_device_id prueth_dt_match[] = {
{ .compatible = "ti,am654-icssg-prueth", .data = &am654_icssg_pdata },
+ { .compatible = "ti,am642-icssg-prueth", .data = &am64x_icssg_pdata },
{ /* sentinel */ }
};
MODULE_DEVICE_TABLE(of, prueth_dt_match);
--
2.34.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH net-next v2 0/2] Add support for ICSSG on AM64x EVM
2023-09-11 5:43 [PATCH net-next v2 0/2] Add support for ICSSG on AM64x EVM MD Danish Anwar
2023-09-11 5:43 ` [PATCH net-next v2 1/2] dt-bindings: net: Add compatible for AM64x in ICSSG MD Danish Anwar
2023-09-11 5:43 ` [PATCH net-next v2 2/2] net: ti: icssg-prueth: Add AM64x icssg support MD Danish Anwar
@ 2023-09-12 8:30 ` patchwork-bot+netdevbpf
2 siblings, 0 replies; 4+ messages in thread
From: patchwork-bot+netdevbpf @ 2023-09-12 8:30 UTC (permalink / raw)
To: MD Danish Anwar
Cc: andrew, rogerq, conor+dt, krzysztof.kozlowski+dt, robh+dt, pabeni,
kuba, edumazet, davem, vigneshr, horms, linux-kernel, devicetree,
netdev, srk, r-gunasekaran
Hello:
This series was applied to netdev/net-next.git (main)
by Paolo Abeni <pabeni@redhat.com>:
On Mon, 11 Sep 2023 11:13:06 +0530 you wrote:
> This series adds support for ICSSG driver on AM64x EVM.
>
> First patch of the series adds compatible for AM64x EVM in icssg-prueth
> dt binding. Second patch adds support for AM64x compatible in the ICSSG
> driver.
>
> This series addresses comments on [v1] (which was posted as RFC).
> This series is based on the latest net-next/main. This series has no
> dependency.
>
> [...]
Here is the summary with links:
- [net-next,v2,1/2] dt-bindings: net: Add compatible for AM64x in ICSSG
https://git.kernel.org/netdev/net-next/c/0caab0a46d06
- [net-next,v2,2/2] net: ti: icssg-prueth: Add AM64x icssg support
https://git.kernel.org/netdev/net-next/c/b256e13378a9
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2023-09-12 8:30 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-11 5:43 [PATCH net-next v2 0/2] Add support for ICSSG on AM64x EVM MD Danish Anwar
2023-09-11 5:43 ` [PATCH net-next v2 1/2] dt-bindings: net: Add compatible for AM64x in ICSSG MD Danish Anwar
2023-09-11 5:43 ` [PATCH net-next v2 2/2] net: ti: icssg-prueth: Add AM64x icssg support MD Danish Anwar
2023-09-12 8:30 ` [PATCH net-next v2 0/2] Add support for ICSSG on AM64x EVM patchwork-bot+netdevbpf
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).