Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Merge branch 'add-support-for-icssg-on-am64x-evm'

MD Danish Anwar says:

====================
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/20230830113724.1228624-1-danishanwar@ti.com/
====================

Link: https://lore.kernel.org/r/20230911054308.2163076-1-danishanwar@ti.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>

+6
+1
Documentation/devicetree/bindings/net/ti,icssg-prueth.yaml
··· 19 19 properties: 20 20 compatible: 21 21 enum: 22 + - ti,am642-icssg-prueth # for AM64x SoC family 22 23 - ti,am654-icssg-prueth # for AM65x SoC family 23 24 24 25 sram:
+5
drivers/net/ethernet/ti/icssg/icssg_prueth.c
··· 2313 2313 .quirk_10m_link_issue = 1, 2314 2314 }; 2315 2315 2316 + static const struct prueth_pdata am64x_icssg_pdata = { 2317 + .fdqring_mode = K3_RINGACC_RING_MODE_RING, 2318 + }; 2319 + 2316 2320 static const struct of_device_id prueth_dt_match[] = { 2317 2321 { .compatible = "ti,am654-icssg-prueth", .data = &am654_icssg_pdata }, 2322 + { .compatible = "ti,am642-icssg-prueth", .data = &am64x_icssg_pdata }, 2318 2323 { /* sentinel */ } 2319 2324 }; 2320 2325 MODULE_DEVICE_TABLE(of, prueth_dt_match);