Add support for ICSSG on AM64x EVM
MD Danish Anwar
reviewerv2 cover Add support for ICSSG on AM64x EVM
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/[email protected]/
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
Signature · 1 line
2.34.1
MD Danish Anwar
reviewerPATCH v2 1/2 dt-bindings: net: Add compatible for AM64x in ICSSG
Add compatible for AM64x in icssg-prueth dt bindings. AM64x supports ICSSG similar to AM65x SR2.0.
--- Documentation/devicetree/bindings/net/ti,icssg-prueth.yaml | 1 + 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/net/ti,icssg-prueth.yaml +1 -0
@@ -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:
Signature · 1 line
2.34.1
MD Danish Anwar
reviewerPATCH v2 2/2 net: ti: icssg-prueth: Add AM64x icssg support
In reply to MD Danish AnwarAdd 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
--- drivers/net/ethernet/ti/icssg/icssg_prueth.c | 5 +++++ 1 file changed, 5 insertions(+)
drivers/net/ethernet/ti/icssg/icssg_prueth.c +5 -0
@@ -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);
Signature · 1 line
2.34.1
This series was applied to netdev/net-next.git (main) by Paolo Abeni <[email protected]>:
Hello:
This series was applied to netdev/net-next.git (main) by Paolo Abeni <[email protected]>:
Quoted 11 lines · 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!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html